sarla_sim | R Documentation |
Simulate a random walk with trends
sarla_sim(
sigma_p = 0.2,
sigma_o = 0.1,
Nages = 7,
Nyears = 22,
beta = 0.5,
sigma_p_X0 = sigma_p,
gamma_y_sd = 0,
delta_c_sd = 0,
eta_c_sd = 0
)
sigma_p |
double setting process error sd. 0.2 by default. |
sigma_o |
double setting observation error sd. 0.1 by default. |
Nages |
integer setting the number of ages. 7 by default. |
Nyears |
integer setting the number of years. 22 by default. |
beta |
double setting the degree of autocorrelation. 0.5 by default. |
sigma_p_X0 |
double setting the sd of variation in starting values.
Defaults to equivalent to |
gamma_y_sd |
double setting the sd of year variation. Default is 0. |
delta_c_sd |
double setting the sd of cohort effect variation. Defaults to 0. |
eta_c_sd |
double setting the sd of the initial size cohort effect. Defaults to 0. |
list of simulated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.