Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5965343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:36:57+00:00 2026-05-22T19:36:57+00:00

As you know, with an option CORRB , you can let logistic regression or

  • 0

As you know, with an option CORRB, you can let logistic regression or linear regression in SAS to output a correlations of estimates matrix. Interestingly, I am not sure how to read this matrix. I have two variables which are clearly strongly positive correlated. From PROC CORR, I can see the pearson correlation coefficient of these two variables is 0.7+. But the estimates matrix from both logitistic regression and linear regression give me -0.7. The strengh of the correlation is about similar but the sign is reversed. Anyone can explain it? Many thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:36:58+00:00Added an answer on May 22, 2026 at 7:36 pm

    You are reading the values correctly, they just mean different things. PROC CORR gives you the correlation of the variables, while CORRB is the correlation of the coefficients of these variables in the model.

    Here is an intuitive explanation of why positively correlated predictors will have negatively correlated coefficients. Suppose y = a + b1*x1 + b2*x2 + eps. If you increase b1 a little from its best value obtained from the regression, then the predicted value for y will also increase (for positive x1) and will make the overall fit worse. One way to compensate for that and move the predicted values closer to the observed ones is to decrease b2: since high values of x1 are associated with high values of x2, you will get back close to the original fit. This shows that the uncertainty in b2 is negatively correlated with the uncertainty in b1: increasing one while decreasing the other will lead to similar fits.

    It might be instructive to look at the extreme case of perfect correlation: x2=x1. Then the following will give you exactly the same predictions:

    y = 1 + 2*x + 3*x
    y = 1 + 3*x + 2*x
    y = 1 + 9*x + (-4)*x
    etc
    

    So b2 = 5-b1 and the coefficients have a perfect negative correlation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know from here that I can pass an ignore option in the jQuery.validate
I know that IntelliJ has an option to select all the code in a
Does anyone know what the -FC option does in g++? I have it in
I´d like to know what is the best option to develop an auction site
I want to know if Netbeans has some option or setting that will allow
Anybody know what the best to use to read a XmlEnumAttribute Option 1: With
I know about Options->Fonts and Colors. But there is no option for F# strings(i
I'd like to know, which option is the most expensive in terms of bandwith
Does someone know how to write a program in C with the verbose option
i'm bit stumped to know how to achieve favourite option i.e. i have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.