cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
Gabriel
Level III

Normal quantile transformation

Hi all,

I would like to do a normal quantile transformation for my data, because it is not normally distributed and I cannot do a 3-way ANOVA on it.

I read a suggestion to do the normal quantile transformation and then run the 3-way ANOVA on this.

First, is this appropriate?

Second, can I do this analysis in JMP?

Gabriel Mulero
1 ACCEPTED SOLUTION

Accepted Solutions
SamGardner
Level VII

Re: Normal quantile transformation

You can also do normal quantile transformation using the Distribution platform.  For large tables this can be faster than using column formulas.

SamGardner_0-1656696951894.png

 

 

View solution in original post

4 REPLIES 4

Re: Normal quantile transformation

Transformations can be very helpful. You might try using the Box-Cox Transformation built into Fit Least Squares, which can easily perform the 3-way ANOVA. I suggest you try this general solution first before resorting to the more specialized solution that might not be necessary.

 

See the JMP Help about this transformation.

Gabriel
Level III

Re: Normal quantile transformation

Thanks, Mark. I have a couple more questions regarding your response. 

First, the link attached shows that the Box-Cox transformation is only appropriate for positive Y responses. Some of the data in my current work are negative values. What then could be done?

 

Also, for the ones that are all positive values, when I get the box-cox transformation section, what exactly do I deduce from this? Reading from the link, it says we can save transformed data. So when I save transformed data, is this what I use going forward for the Tukey test for significant differences?

 

Gabriel Mulero
peng_liu
Staff

Re: Normal quantile transformation

I think what you are asking about is related to Van der Waerden test 

Though the test was developed for one-way ANOVA, but I think it should work for three-way ANOVA as well, given the null hypothesis is that none of the effects are significant (main and interactions). I am not sure it still work if your hypotheses are sequential.

To actually do it, you need ranks of the observations, then map the ranks to normal quantiles. See the following code snip to see the steps.

Names Default To Here( 1 );
dt=Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "Height Rank", Formula( Col Rank( :height, <<tie( "average" ) ) ) );
New Column( "Normal Quantile Transform", Formula( normal quantile(:Height Rank/(nrow(dt)+1) ) ) );
dt << Oneway( Y( :Normal Quantile Transform ), X( :sex ), Means( 1 ) );

 

SamGardner
Level VII

Re: Normal quantile transformation

You can also do normal quantile transformation using the Distribution platform.  For large tables this can be faster than using column formulas.

SamGardner_0-1656696951894.png