Description Usage Arguments Value Examples
Calculates the ratio of the slope variance to the within-subjects error variance
1 | get_var_ratio(object, ...)
|
object |
An object created by |
... |
Optional arguments. |
Returns the ratio of the total slope variance to the within-subject error as a numeric vector.
1 2 3 4 5 6 7 8 9 10 11 12 | paras <- study_parameters(n1 = 11,
n2 = 10,
n3 = 3,
T_end = 10,
sigma_subject_intercept = 1.2,
sigma_subject_slope = 0.2,
sigma_cluster_intercept = 0,
sigma_cluster_slope = 0.2,
sigma_error = 1.2,
cohend = -0.8)
get_var_ratio(paras)
|
[1] 0.05555556
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.