Dear Stata experts,
I am trying to analyze the mediating effect of my variables and am stuck with problems.
Here are my variables:
- Dependent variable: binary variable
- Independent variable: categorical variable (average weekly work hours; 4 categories)
- Mediator variable: ordinal variable (level of individual income; 3 categories)
- A bunch of control variables
I am doing a logistic regression analysis and want to find if "income" mediates the relationship between work hours and my dependent variable.
Since my variables are not continuous, I need to apply different codes but I am struggling with finding the proper ones.
Could you help me fix this?
Much appreciated in advance.
I am trying to analyze the mediating effect of my variables and am stuck with problems.
Here are my variables:
- Dependent variable: binary variable
- Independent variable: categorical variable (average weekly work hours; 4 categories)
- Mediator variable: ordinal variable (level of individual income; 3 categories)
- A bunch of control variables
I am doing a logistic regression analysis and want to find if "income" mediates the relationship between work hours and my dependent variable.
Since my variables are not continuous, I need to apply different codes but I am struggling with finding the proper ones.
Could you help me fix this?
Much appreciated in advance.
Comment