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
Anja_W
Level III

Encoding of categorical variables

Hi everyone,

 

I'm interested in an *easy* recoding of categorical variables in JMP. Depending on the variables I want to do this to be able to specify which levels should be compared to each other. If I include all levels in the model I want to get p-values for exactly the differences I want to see or I want to do a model selection and just include certain differences of levels. In these cases the result depends on the specific encoding of the categorical variable.

In some cases I want a dummy encoding or Reverse Helmert etc. I know how to do this by hand, but it would be nice if there is a more convenient way. 

 

I already found this, but it just covers dummy encoding:

Solved: In JMP, how do you adjust the parameterization of categorical variables in a reg... - JMP Us...

 

Any help would be highly appreciated!

1 REPLY 1
MRB3855
Super User

Re: Encoding of categorical variables

Not sure if this is helpful...but you can make any comparison of interest via Custom Test. Unless I'm missing something, from the sound of your needs there is no need to recode.

Here is a recent discussion.

https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatm...

 

And here is JMP help:

Custom Test (jmp.com)