Description Usage Arguments Details
Test the variance of a random effect
1 | testvar(ovar, xx, yy, dset, DID, obs, dvv, ctrl = defaultctrl)
|
ovar |
the outcome variable in quotes. |
xx |
string set of fixed variables separated by comma (program assumes two intercept). |
yy |
string set of random variables separated by comma (program assumes no intercept in the usual sense); last item on the list is tested (the first two arguments are the same here, but they do not have to be; there might be more items in the fixed part. |
dset |
the dataset. |
DID |
the dyad ID in quotes. |
obs |
the observation ID variable in quotes. This is a unique number for each dyad-measurement. |
dvv |
the distinguishing variable in quotes. |
ctrl |
an lmeControl object. Defaults to msMaxIter=10000, MaxIter=100000, msMaxEval=10000, returnObject=TRUE, niterEM=10000, nlmStepMax=1000. |
Example call: testvar("AConflict","man,woman,MTime,WTime","man,woman,WTime,MTime",kashy_ppp,"DYADID","obsid", "GenderS").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.