Hi folks,
I am interested in simulating "migration" and "no migration" models for two of my datasets(2 pops). I performed "reg_step" function as mentioned in the help scripts and it works fine for all except one of my data files when I run "no migration" model. I get fine plots for all parameters(N1,N2,NeA) except for Tev.
RUN INFORMATION
---------------------------
Number of geneological trees created: 1000000
Populational tree topology:
- Single topology
Efective population size:
- Prior distribution (Ne1): uniform(10,15000)
- Prior distribution (Ne2): uniform(10,3000)
- Prior distribution (NeAnc1): uniform(10,100000)
Time events:
- Prior distribution (tev1): uniform(50,5000)
Migration rates:
- mig1: No migration
- mig2: No migration
Mutation rates (Microsatelites):
- HiperPrior distribution: normal(0.0001,0,1e-05,0)
Mutation rates (Sequence data):
- No mutation -
Recombination rates (Microsatelites):
- No recombination -
Recombination rates (Sequence data):
- No recombination -
I get 11 parameters and 15 summary stats in the output. Before doing the regression step, I modified the script as
# Plot line for splitting time and save it in a .eps file
abc.reg.tev <- makepd4(target,abc.rej[,6],abc.rej[,12:26],tol=1,rej=F,transf="none",bb=c(mintev,maxtev))
plot(locfit(~abc.reg.tev$x,weight=abc.reg.tev$wt,xlim=c(mintev,maxtev)),main="prior (black) and posterior (blue) distributions",xlab="tev",col="blue")
plot(locfit(~priors[,6],xlim=c(mintev,maxtev)),col="black",add=T)
dev.copy2eps(file="tev_reg.eps", horizontal=F)
print("tev done.")
Please find attached the .pri, .rej. trg file and the Tev plot (doesnt show prior distribution) which I get after running the regression step.
Could anyone suggest what might be the problem here?
Thanks in advance,