cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. ET on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

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