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
Constructing a Panel form entry and exit variablesHi, I currently have a database of all Australian legislators since the 20th century. The data is f…
panel data questionHi how I want my individual country observations not to generate multiple country graphs but show on…
When to use pweightHi, I am using cmxtmixlogit to check the relationship between Y (action chosen by subject) and X (p…
Wrangling date plus time variableI have some data where the date and time is all together in one string variable. I originally tried …
New Package: FLEXMAT: Create Tables and matrices with flexibilityI have published a new package -- flexmat -- on the SSC. To install Code: ssc install flexmat Descr…
Subscribe to:
Post Comments (Atom)
0 Response to Using gsem with ordered categorical mediators
Post a Comment