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
🐍 Python: write to text fileDear All, below is a Stata-Python interface question. I need to write to a file opened in Stata fr…
_= invalid name r(198)Hi, I'm just getting back into Stata after a long illness, so I could use some help. I'm trying to r…
st_store() and stata() when using moptimize(): IV qregHi, I have a Mata function that creates a column vector (called yd below), passes it to Stata as a t…
Marginal effect in an Ordered probit model with discrete variablesDear Statalist Team, I have an ordered probit regression, where the outcome variable contains 4 pos…
Stata syntaxes on Early Childhood Development Index measures*(dofile/commandos)Hi everyone Can you help me a student out with some commandos? I need help coverting those SPSS sy…
Subscribe to:
Post Comments (Atom)
0 Response to model specification and implications of time invariant variables with mixed
Post a Comment