Subscribe Bookmark RSS Feed

Sorting bivariate plots by P-value

rahulsmils

Community Trekker

Joined:

Sep 23, 2016

I seek another advice on plotting and sorting multiple bivariate plots.

I am creating a bivariate fit of about 40 y variables to 10 different x variables[ each y and x pair has separate figure].

 

I do a linear fit on each one of them [regression] which is simple part.

Subsequently, I wish to arrange the plots in order of increasing p-value of the fit, in a journal so the plots with the best fit/correlation appear first.

Any suggestions to accomplish this will help.

 

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson

Super User

Joined:

Jun 22, 2012

Solution

Go to 

     Analyze==>Screening==Response Screening

Run the platform.  It generates a data table with all of the p-values.

Sort the p-values, descending

Then select all of the rows that you want to plot out in order 

Finally, go to the embedded script "Fit Selected Items, and run the script.  It will put all of the analyses into new window, sorted as you want

Jim
1 REPLY
txnelson

Super User

Joined:

Jun 22, 2012

Solution

Go to 

     Analyze==>Screening==Response Screening

Run the platform.  It generates a data table with all of the p-values.

Sort the p-values, descending

Then select all of the rows that you want to plot out in order 

Finally, go to the embedded script "Fit Selected Items, and run the script.  It will put all of the analyses into new window, sorted as you want

Jim