Closed KentSLDES closed 1 year ago
There is no function "joint" in the package. If you could provide me with a more detailed description of what you were trying to do, I may be able to help.
I am trying to join two models to test the mediation influence. I have parents' wellbeing as an independent variable (continuous variable), parenting skills patterns as the mediation variable (categorical variable), and children's behaviors as outcome (continuous variable). the model 1 is multinominal logistic regression: parenting ~ wellbeing. the model 2 is liner regression: behaviors ~ wellbeing + parenting. I want to use a joint function to combine these two. is there any suggestion?
You could try
mlogit_imp(list(parenting ~ wellbeing,
behaviors ~ wellbeing + parenting),
data = <...>, n.iter = <...>)
When behaviors
is coded as a numeric variable, JointAI will automatically choose a linear model for this variable.
It said could not find the function "joint"