cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

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

How to do Paired T-Test with Before/After Data and Multiple Variables For Multiple Subjects

Hello there,

I am doing a project where I need to compare morning and afternoon

protein concentrations for some 600 proteins in samples from 5 individuals. I am using JMP Pro 18 Student Edition to do this. Lately, I am attempting to perform a paired T-test for all the proteins' concentrations in the morning and afternoon for each subject (1-5). I am not quite sure how to organize the data to get the software to do what I want it to do, and am looking for some guidance. Any help would be appreciated, this is my first time using JMP and doing a comparison like this. Attached I have an example of what the data looks like. I am open to all suggestions, and thank you for taking the time to read this!

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to do Paired T-Test with Before/After Data and Multiple Variables For Multiple Subjects

You need to use the Matched Pairs platform

     Analyze=>Specialized Modeling=>Matched Pairs

Use your Morining and Afternoon columns as your Y, Paired Response

Use your Subject Time column as the By variable

 

Go to

     Help=>JMP Online Help=>Matched Pairs

To get documentation and examples

Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: How to do Paired T-Test with Before/After Data and Multiple Variables For Multiple Subjects

Here is the structure of the data that I suggest.  It will allow you to take advantage of using row exclusion and By group processing to get your Paired t-Tests using the Fit Y by X platform

txnelson_0-1756759763323.png

 

Jim

Re: How to do Paired T-Test with Before/After Data and Multiple Variables For Multiple Subjects

Thank you so much for the suggestion! How might I actually perform this paired t-test, stepwise, if you would be so kind as to help me?  I am not quite sure where the variables would be assigned. No worries if you cannot, and thank you again.

txnelson
Super User

Re: How to do Paired T-Test with Before/After Data and Multiple Variables For Multiple Subjects

You need to use the Matched Pairs platform

     Analyze=>Specialized Modeling=>Matched Pairs

Use your Morining and Afternoon columns as your Y, Paired Response

Use your Subject Time column as the By variable

 

Go to

     Help=>JMP Online Help=>Matched Pairs

To get documentation and examples

Jim

Recommended Articles