cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar

Partial Correlation

I have four variables pp, ph, ngl & yield. Suppose I want to find out Partial Correlation between NGL and yield after removing the linear effect of PP and PH. In Base SAS I can find out by using the following given code.

/*BASE SAS Code*/
proc corr;
var ngl yld;
partial pp ph;
run;

But In JMP, When i go to Analyze -> Multivariate Methods -> Multivariate. I selected all the variables and click OK. From Hotspot button I get Partial correlation of all the variables with respect to all other variables. See below the output of JMP.

Partial Corr
pp ph ngl yld
pp . 0.1315 0.2028 0.2825
ph 0.1315 . -0.0309 0.2686
ngl 0.2028 -0.0309 . 0.1920
yld 0.2825 0.2686 0.1920 .

partialed with respect to all other variables

But I want to get partial correlation between ngl & yield after adjusting for pp & ph.

Please reply.
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
mpb
mpb
Level VII

Re: Partial Correlation

Unless I misunderstand your question, from your output the partial correlation between ngl and yield after adjusting for pp and ph is 0.1920.

View solution in original post

2 REPLIES 2
mpb
mpb
Level VII

Re: Partial Correlation

Unless I misunderstand your question, from your output the partial correlation between ngl and yield after adjusting for pp and ph is 0.1920.

Re: Partial Correlation

Thanks for the solution. Yes I checked it with BASE SAS result.