Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixe...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Apr 1, 2016 7:03 AM
(2724 views)

If I choose the mixed model personality then select a dichotomous dependent variable it jumps out of the mixed model personality. I can run "nominal Logistic" regression, but that no longer gives me the estimates for the random effects.

7 REPLIES 7

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

No, the mixed model personality in JMP Pro supports only normally distributed dependent variables.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Great, thanks for the reply.

Jeff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Hi again,

Well, now that I’ve solved my other problem I want to come back to this one (logistic Mixed Model).

Because I was unable to run the logistic mixed model I thought I should use, I ran two other analyses.

In one analysis I used Nominal Logistic Personality using the Fit Model Dialogue, and in the other I switched the dichotomous dependent variable to a continuous variable.

The fixed effects are very similar across analyses, and lead to the same conclusions, although the mixed model gives the added information of the random effects of the within-subjects factor.

So, my question is whether one solution is clearly off limits (e.g., forcing the dichotomous variable to be treated a continuous), or whether the added advantage of having information on the random effects outweighs the risks introduced by forcing the DV to be continuous. All of this is in the context in which the fixed effects don’t change much (conclusions don’t change) across the two analyses.

Thanks again, Jeff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Treating a dichotomous response variable as a continuous one on a 0-1 scale leads to a so-called "linear probability model" in literature. A key criticism concerns the fitted probabilities lying outside the probability limits (0,1) .

Without seeing your analyses I could only offer my general comments on your findings "The fixed effects are very similar across analyses, and lead to the same conclusions": (1) The coefficients from a logistic regression represent the log odd ratios, while the coefficients from a linear regression model are the marginal effects. They usually are not the same or even close in magnitude; (2) Random-effect models often yields more efficient estimates, so the conclusion about the statistical significance of a fixed effect can be different.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Hi again,

and thank you again for all of your help.

I’ve attached the data file that I’m working with.

There is only one script saved, which was created using the Repeated Measure add in, but is the same analysis that comes out using the mixed model dialogue with the DV treated as continuous.

So, if you run the saved script with the data as they are you get a random effects model, and although the variable itself is defined as nominal, there results are identical to those in which the DV is defined as continuous (does that simply mean that JMP is making a mistake and running the analysis treating the dichotomous DV as continuous?).

If you then switch the personality to nominal logistic the results change, but as you can see the pattern of results (e.g. p values and conclusions) remains the same.

Recommendations?

Thank you again.

Best, Jeff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

The add-in you referred to supports continuous response variables only--"*This A**dd-In generates the linear mixed-effects (random- and fixed-effect) model terms for one-way or full factorial repeated-measures designs involving a continuous response variable (categorical responses are not supported at this time)*" https://community.jmp.com/docs/DOC-6993

So the Add-in does the analysis by treating your numerical nominal variable as continuous on a [0, 1] scale, That is why you find the results identical to the results from the Mixed Model personality.

RE: "If you then switch the personality to nominal logistic the results change, but as you can see the pattern of results (e.g. p values and conclusions) remains the same."

I do see in this data the same significance pattern of p-values in the Fixed effect Test report from Mixed Models and in the Effect LR Tests report, but it is not always the case. Also, see my comments about the difference between the LPM and logistic regression in my previous reply.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Can I use a dichotomous dependent variable in a mixed model (e.g., logistic mixed model)?

Thank you again for your very clear and fast assistance. Best, Jeff