BookmarkSubscribe
Choose Language Hide Translation Bar
rahulsmils
Community Trekker

Sorting bivariate plots by P-value

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 !

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Sorting bivariate plots by P-value

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 1
txnelson
Super User

Re: Sorting bivariate plots by P-value

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