Description Usage Arguments Value
simulate N between-subjects studies and estimate N*m estimated treatment effects
1 2 | simulate_treatment_effects(N = 1000, m = 10, n = 30, k = 2, phi = 0.2,
tau = 1, sigma = 1, plot_treatment_effects = FALSE)
|
N |
number of multi-case simulations |
m |
number of cases within a simulation |
k |
order of the study, i.e. (AB)^k |
phi |
first-order autocorrelation |
tau |
the standard deviation of individual effects |
sigma |
the inter-case residual variance |
maximum |
number of observations in a case |
(N, m) matrix of estimated treatment effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.