Description Usage Arguments Examples
summary.tuts_ar1(x,...)
Prints summary of a tuts_ar1 object.
1 2 |
x |
A tuts_ar1 object. |
... |
list of optional parameters. The list contains burn-in parameter ranging from 0 to 0.5, with the default value burn=0, and the credible interval parameter ranging between 0.5 and 1, with the default CI=0.99. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Import or simulate the data (simulation is chosen for illustrative purposes):
DATA=simtuts(N=50,Harmonics=c(10,30,0), sin.ampl=c(10,10, 0), cos.ampl=c(0,0,0),
trend=0,y.sd=3, ti.sd=1)
y=DATA$observed$y.obs
ti.mu=DATA$observed$ti.obs.tnorm
ti.sd= rep(1, length(ti.mu))
# Run the tuar1 model fitting with cross validation:
n.sim=1000
TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim, CV=TRUE)
# Generate summary results (optional parameters are listed in brackets):
summary(TUAR1) # Summary tables (CI, burn).
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.