| create.Tau2 | R Documentation |
It creates variance component of the heterogeneity of the random effects by decomposing the variance component into matrices of correlation and standard deviations.
create.Tau2(
RAM,
no.var,
Tau1.labels = seq(no.var),
RE.type = c("Diag", "CSymm", "HCSymm", "Symm", "Zero", "User"),
level = c("single", "between", "within"),
RE.User = NULL,
Transform = c("expLog", "sqSD"),
RE.startvalues = 0.05
)
RAM |
The RAM model for testing. |
no.var |
If |
Tau1.labels |
Parameter labels in |
RE.type |
Either |
level |
whether it is for single-level, between-, or within-level analyses. The only difference are the names of the matrices. |
RE.User |
It represents the |
Transform |
Either |
RE.startvalues |
Starting values for the variances. |
A list of MxMatrix-class. The variance component is computed
in Tau2.
Mike W.-L. Cheung <mikewlcheung@nus.edu.sg>
osmasem, create.V,
create.vechsR
T0 <- create.Tau2(no.var=4, RE.type="Diag", Transform="expLog", RE.startvalues=0.05)
T0
T1 <- create.Tau2(no.var=4, Tau1.labels=c("a", "b", "c", "d"))
T1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.