turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Partial Correlation

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Oct 21, 2010 2:45 AM
(2866 views)

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.

/*BASE SAS Code*/

proc corr;

var ngl yld;

partial pp ph;

run;

But In JMP, When i go to

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

Please reply.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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