cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
jeekhoff
Level I

How do I compare differences between LS-means

Is there a way to compare the differences between the LS-means of several groups? In other words, how can I detect differences between the differences in different groups? If I run a linear model on my original data, I can use multiple comparisons to get the difference between the LS-mean of each group and the standard errors of those differences. Can I go a step further and do another test to see, for example, if the difference in the LS-means of groups A and B is different than the difference in the LS-means of group C and D?

2 REPLIES 2
ron_horne
Super User (Alumni)

Re: How do I compare differences between LS-means

Hi @jeekhoff 

my approach to this would be to use the groups as an ordinal variable and order the categories by their LS means. Once you have that in a model, you can use custom tests to compare all sorts combination of the coefficients (differences between categories)

ron_horne_0-1634572628048.png

let us know if it works

Re: How do I compare differences between LS-means

Yes, you want to sue a contrast. See this section of JMP Help for Fit Least Squares that you are using to get the LS Means.