Hi all,
I've been trying to better understand the covariance structure to select for a multilevel logistic model that includes two random intercepts and a random slope. The data are not repeated measures and the DV is binary. Essentially, the model is:
melogit dv i.iv1 c.iv2 c.iv3 || clustera: || clusterb: iv1
The random slope (iv1) is a binary variable. I'd like to better understand if the best choice is covariance(unstructured) or the default (independent). Reading Rabe-Hesketh & Skrondal as well as some forum posts, it seems that unstructured may be best because of the number of random parameters, but I'm not quite sure. Is it appropriate to run models with both covariance structures and use lrtest to determine which is preferred?
EDIT: Apologies - the title states "random slopes." It should read "random slope"
Related Posts with covariance structure for melogit model with random slopes
Graph like this!Dear All, How can I can draw a graph like thisArray which can be found here https://stats.stackexcha…
Screen dataI guess this is a simple question. This is a monthly dataset. Permno is an unique code for firms. …
compute mean of other observationsHi, Suppose I have the following observations. I would like to calculate the sales average for each…
Help with connecting variables based on id #'sHi All, I am working with a smaller dataset of approximately 500 observations in Stata 15.1. I am i…
structural equation of survival modelsHello, I know in STATA15, people could use gsem to deal with structural equation of survival models …
Subscribe to:
Post Comments (Atom)
0 Response to covariance structure for melogit model with random slopes
Post a Comment