Hi all,
I've read through some other forum posts similar to this topic, but didn't think they were clearly mapped onto the situation I'm facing. I am analyzing psychotherapy data where some variables are collected only at intake and others (distress) are collected every single session. Data all come from US university counseling centers, so I'm curious about type of institution (specifically, if the institution is an HSI or not). So, I'm looking into a multilevel model with data nested by session, client, therapist, and counseling center.
My struggles are the following:
(a) Am I specifying the model correctly with time-invariant variables (e.g., gender and HSI-status)?:
mixed distress c.session c.social_support i.gender i.HSI_status || center: || therapist: || client:, mle
(b) When I add the time invariant variables (gender, HSI_status, social_support) to the model, it drastically reduces the number of observations noted in my output - goes from 194,000 observations (in a model without the time-invariant variables) to just under 12,000. I'm guessing this is due to the time-invariant variables, but I'm not certain what the implications of this reduction in observations is and if it is something I should be correcting for in another way.
(c) I'm also wondering about the interpretation of the time-invariant variables. I have one continuous (social_support) and two categorical (gender and HSI_status) - are these interpreted as a typical fixed effect (i.e., coefficient represents the difference between groups for the categorical predictors and the linear relationship for the continuous predictor)?
Thanks very much for your help.
Related Posts with model specification and implications of time invariant variables with mixed
Latent profile analysis with continuous indicators and local independenceHello Stata users! I am doing a Latent Profile Analysis with continuous indicators (gsem, lclass op…
Crossed effects multilevel modelsHi, I collected data from an experience sampling study over 14 days, where participants belonged to…
change label in y-axis/x-axis?Dear All, I have the following code (please ssc install coefplot) and graph: Code: webuse grunfeld,…
Adding quantity of particular product from all importers and one particular exporterDear all, I have a dataset with information about products (numeric), their quantity, the importer …
Regression discontinuity of binary outcomes with rdplot/rdrobust/rdbwselect and/or rd*Hi I’m using Stata/SE 15.1 and am able to run all example do files included in the rdplot/rdrobust/r…
Subscribe to:
Post Comments (Atom)
0 Response to model specification and implications of time invariant variables with mixed
Post a Comment