Hi,
I want to run a mediation analysis looking at the direct and indirect effect of adolescent personality (three separate but related measures of personality) on all-cause mortality in adulthood. I have a range of mediators I want to include, most of which are continuous variables. However, I have several ordered categorical mediators, including highest qualification and self-reported health. I know gsem allows me to run ordered logit models for the effect of personality on these ordered categorical mediators. However, does the command treat them as continuous when mortality is the outcome and they are independent variables? Is it possible to include them as dummy variables when they are acting as independent variables?
Thanks,
Rose
Related Posts with Using gsem with ordered categorical mediators
Binary Variable for all years in panel dataHello, I will preface by saying the data i am using is confidential so i cannot share the whole file…
Three way interaction marginsplot?Hi all I am running a threeway interaction model using mixed and was wondering how best to go about …
About Random Survival Forest Analysis using Stata Good morning at the Stata Forum! Random Survival Forest is specifically suitable for exploratory an…
Multilevel - Mixed-Effects Model SpecificationDear Collegues I would like to ask your help to correctly run the code for a multilevel approach. …
Importing several csv files in stata at onceHi! I have a lot of csv files that I would like to import to stata the easiest way possible. Is it p…
Subscribe to:
Post Comments (Atom)
0 Response to Using gsem with ordered categorical mediators
Post a Comment