testPrecession(dat,nsim=1000,gen=1,rho=NULL,esinw=NULL,output=T,genplot=T,verbose=T)
When nsim is > 0, the function will output the correlation coefficients for each simulation.
The astronomically-tuned data series under evaluation should consist of two columns: time in kiloyears & data value. Note that time must be positive. The default astronomical solutions used for the astrochronologic testing come from Laskar et al. (2004).
When reporting a p-value for your result, it is important to consider the number of simulations used. A factor of 10 is appropriate, such that for 1000 simulations one would report a minimum p-value of "p<0.01", 10000="" and="" for="" simulations="" one="" would="" report="" a="" minimum="" p-value="" of="" "p<0.001".<="" p="">
Please be aware that the kernel density estimate plots, which summarize the simulations, represent 'smoothed' models. Due to the smoothing bandwidth, they can sometimes give the impression of simulation values that are larger or smaller than actually present. However, the reported p-value does not suffer from these issues.
J. Laskar, P. Robutel, F. Joutel, M. Gastineau, A.C.M. Correia, and B. Levrard, B., 2004, A long term numerical solution for the insolation quantities of the Earth: Astron. Astrophys., Volume 428, 261-285.
### as a test series, use the three dominant precession terms from Berger et al. (1992)
ex<-cycles(start=0,end=1000,dt=2)
### now conduct astrochronologic testing
res1=testPrecession(ex)
### if you plan to run testPrecession repeatedly, it is advisable to download the astronomical
### solution and construct esinw first
ex2<-getLaskar()
ex3<-etp(tmin=0,tmax=1000,dt=2,eWt=0,oWt=0,pWt=1,esinw=TRUE,solution=ex2,standardize=FALSE)
### now conduct astrochronologic testing
res2<-testPrecession(ex,esinw=ex3)
Run the code above in your browser using DataLab