Yes, each row (individual) will get a result from the formula for the odds.
Yes, you can use the mean odds. Use Table > Summary or Analyze > Tabulate to get the results for each group or subgroup.
The hand calculation is as you say Pr(group A) divided by Pr(not group A) or whatever. The odds ratio would be the ratio of the odds under different conditions (treated, untreated).
I am performing a multinomial logistic regression for an outcome variable with three levels. I have been trying to figure out how to find the odds ratios and finally came across this previous answer from you.
How do I save the probability formulas?
Thank you in advance.
Click the red triangle at the top of the platform and select Save > Save Probability Formula.
Thank you for the prompt response.
Alternative to saving the probability formulas and calculating the odds ratios myself, I had independently saw at the bottom of the parameter estimates data display on my multinomial logistic model that is says "for log odds of Outcome A/Outcome C, Outcome B/Outcome C" where Outcome C is my reference outcome. Is it possible that I can just calculate the odds ratio by transforming this data into a data table, inserting a new column with the formula exp(Estimate)?
I found a separate post that references this as well --> https://community.jmp.com/t5/Discussions/Logistic-regression-with-multiple-outcome-variables/m-p/110...
It seems almost too easy to be true.
Thank you again.
It is not true. That way is also not easy at all. It is more difficult than using the Save command. The parameter estimates are not estimates of the odds or odds ratios. That note is just a re-statement of the logistic regression problem. You have the linear predictor on the right side of the model equation and the logit function on the left side. The note that you see at the bottom of the Parameter Estimates table is just a record of what logits were used with the linear predictors.
If you save this table of estimates, then you have to create a column formula to compute the logit value for each row. Then you have to add another column formula for each response level to back-predict the probabilities. That is what the Save > Save Probabilities command does for you.
I checked our learning assets but found no tutorials about nominal logistic regression. (See items from selecting Learning JMP on the JMP home page menu.) I then checked our YouTube account and found this tutorial about Multiple Logistic Regression. There is also Logistic Regression Introduction with Tutorial in JMP on YouTube. It covers logistic regression more thoroughly but only for the outcome. It does not cover multi-nomial logistic regression.
We offer this training course, which covers this topic: Analyzing Discrete Responses. We cover the origin, use, and interpretation of such models as well as how to preform this regression in JMP.
You can't do logistic regression with multiple dependent variables in one run of logistic. But perhaps you have ONE dependent variable - behavior of gibbon - with multiple levels? How is "behavior" operationalized? Is the data something like this:
Case ID Num People Behavior
1 3 A
2 2 B
3 5 A
4 2 C
etc.? Or does each gibbon engage in multiple behaviors? Or is each gibbon engaged in multiple cases? (in that case, you'd need some form of multi-level model, probably with GLIMMIX?
It is like you have laid out. The gibbon only does one behavior at a time, but it has several behaviors it can do, such as feed, travel, vocalize, groom, etc. What I am trying to do is see how the number of people present affects the likelihood of the gibbon doing a certain behavior e.g. does the gibbon reduce time spent feeding when more people are present. The logistic regression tells gives me a p value for the entire model, so I can see that number of people does affect gibbon behavior, but what I would like to do is see which individual behaviors are driving the model - I'd like some sort of stats with p values that show me which behaviors are actually changing. All I am doing now is looking at the output figure and describing how the behaviors change. Here is what the output looks like. I tried to insert the figure, but it wasn't working. I have figured out though, that I cannot do the odds ratio test because my response (behavior) has more than 2 variables.
Logistic Fit of Behavior By total humans
Whole Model Test
Observations (or Sum Wgts)
Mean -Log p
Mean Abs Dev
total humans[Groom Recipient]
total humans[Not Visible]
Intercept[Rest - Sleep]
total humans[Rest - Sleep]
Intercept[Rest - Still]
total humans[Rest - Still]
total humans[Self groom]
For log odds of Drink/Vocalize, Feed/Vocalize, Groom/Vocalize, Groom Recipient/Vocalize, Hang/Vocalize, Not Visible/Vocalize, Other/Vocalize, Rest - Sleep/Vocalize, Rest - Still/Vocalize, Self groom/Vocalize, Travel/Vocalize
There are no labels assigned to this post.