Description Usage Arguments Details Value See Also Examples
Fit a trend to a time series of posterior estimates. Ends up being similar to bootstrapping.
1 | post_trend(x, Y, nSamp = 100)
|
x |
time step |
Y |
matrix of posterior samples. Each column is a time step, each row is a sample of the posterior |
nSamp |
number of times each set of posterior samples should be resampled to fit trend. I.e., number of bootstrap iterations. |
Uses Kendall's Tau and accounts for serial correlation in the time series (up to ARMA(2,2)). Uses Kendall::Kendall. Accounts for ties.
A named numeric vector of length 3, containing Kendall's Tau, the associated Z statistic, and the p-value
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.