Description Usage Arguments Examples
summary.tuts_BFS(x,...)
prints summaries of tuts_BFS objects.
1 2 |
x |
A tuts_BFS object. |
... |
A list of optional parameters.burn: burn-in parameter ranging from 0 to 0.7, the default value is 0.CI: confidence interval, default is set to 0.99. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Generate actual and observed time series as a sum of 2 sine functions:
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 Bayesian Frequency Selection model with cross validation of the model:
BFS=tubfs(y=y,ti.mu=ti.mu,ti.sd=ti.sd,freqs='internal',n.sim=n.sim,n.chains=2, CV=TRUE)
# Generate summary results:
summary(BFS) # Optional parameters: CI, burn.
summary(BFS,burn=0.2) # Results after 20% of burn-in.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.