BookmarkSubscribeRSS Feed
SidKh
Calcite | Level 5

Hello all,

 

 

Can some one explain the following question?

 

The following LOGISTIC procedure output analyzes the relationship between a binary response and an ordinal predictor variable, wrist_size Using reference cell coding, the analyst selects Large (L) as the reference level.

      

 

                                  Analysis of Maximum likelihood estimates

Parameter         DF          Estimate    standard error     Wald Chi-sq      Pr>Chisq

Intercept            1            -1.0415      0.4749                  4.8101            0 .0283

wrist_size  M     1            1.1234       0.4989                  5.0697            0.0243

wrist_size S      1             1.6078      0.5478                  8.6133             0.0033

 

What is the estimated logit for a person with large wrist size?

 

 

 

 

 

 

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20

Always a good idea to post your code. Gives us a lot of information and makes it easier to help you.

 

You can get the desired quantity by using the ESTIMATE Statement like this

 

estimate 'Coef for wrist_size L' wrist_size -1 -1;

 

SidKh
Calcite | Level 5

The answer to the question is -1.0415 , the value of intercept which is a bit confusing.

Can someone explain this?

Ksharp
Super User

According to SAS documentation about parameterization method.

x.png

There is not a column of Large (L), which means its parameter should be zero. Therefore, its logit = parameter estimator of intercept.

 

PaigeMiller
Diamond | Level 26

@Ksharp provides some important information regarding how SAS handles categorical (CLASS) variables in its modeling. One level will always have a coefficient of zero, making the true value of the coefficient for this level = zero + intercept (for a simple one-way design), while the other variables will have a coefficient = (coefficient shown) + intercept (for a simple one-way design).

 

A better way to estimate the effect of CLASS variables in SAS is to use the LSMEANS command, and then this problem goes away. Each level (even the one with the zero coefficient) is shown with the math above computed for you.

 

If I may be so bold, you have entitled two recent posts "Statistics", and "Statistics" is a very very very very broad topic, and not a good title. You would be wise to provide more meaningful (and not so broad) title such as "Coefficients in PROC LOGISTIC".

--
Paige Miller

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1114 views
  • 1 like
  • 4 in conversation