cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
MG85
Level I

Model Odds ratios order

Hello,

     does anyone know how to change the order for odds ratios calculation in a Nominal Logistic model?

Currently odds ratio are calculeted for No versus Yes and I would like to flip it to Yes vs No as it becomes easier to undestand for people who is not really familiar with this.

Any idea on how to change it?

Thanks

Marcello

 

 

2 REPLIES 2
txnelson
Super User

Re: Model Odds ratios order

I am running JMP 17  on Windows and it appears that the Odds Ratio order is dependent upon the Alphabetic order of the data.  Data whose values of the Y variable were "No" and "Yes"  was calculated "Yes vs. No".  The same data, with the data changed to "2No" and "1Yes" was calculated "2No vs. 1Yes"

txnelson_0-1682167196640.png

I ran the JSL from the Statistics Index example for Odds Ratios, just changing the values for the Sex column in the Big Class data table from "F" to "Yes" and then to "1Yes" and for "M" to "no" and then to "2No"

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
Fit Model(
	Y( :sex ),
	Effects( :height ),
	Personality( "Nominal Logistic" ),
	Run( Odds Ratios( 1 ) )
);
Jim

Re: Model Odds ratios order

This platform respects the Value Order column property. You can define this property as another way to tell JMP which ratio you want.