cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Jogger560
Level II

Change the default -1 1 coding of categorical variable to 0 1 coding

Dear JMP community, 

 

I found that when fitting a multiple linear regression (y ~ X1 + X2, X1 is a continuous and X2 is a categorical variable), by default JMP defines the dummy variable X2 as -1 1. Is there a way to change it to 0 1, which will be the same as the default dummy variable coding as R? Thanks!

10 REPLIES 10
MRB3855
Super User

Re: Change the default -1 1 coding of categorical variable to 0 1 coding

Hi @statman : Indeed, I don't disagree with what Mark wrote wrt continuous variables. But, that is not relevant for categorical factors. 

https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/nominal-factors.shtml#

 

 

 

Recommended Articles