BookmarkSubscribeRSS Feed
ABiostatistician
Calcite | Level 5

My logistic regression model has a binomial response and 3 categorical predictors, A, B and C.

  • A is binary
  • B is ternary
  • C is ternary

The observations are clustered under a factor R. There are 50 clusters based on R. Because of this clustering structure, I am using PROC GENMOD in SAS with the REPEATED statement. Thus, I am using generalized estimating equations to estimate the regression coefficients.


When I ask for the Type-3 analysis in the MODEL statement, I can use the default score test or the Wald test. Unfortunately, they give very different P-values.


Here are the P-values from the score test.

  • A 0.2625
  • B 0.0481
  • C 0.0823

Here are the P-values from the Wald test.

  • A 0.1705
  • B <.0001
  • C 0.0338

I want to determine if B and C are significant predictors of the response, but these contrasting Type-3 results confuse me.

My questions:

1) Which test should I use to evaluate the significance of the predictors?

2) Could these contrasting results be a sign that the model is invalid for my data set? If so, are there other ways to check the validity of my model?

1 REPLY 1
Ksharp
Super User

According to documentation. Wald test is based on Normal distribution approximation ( which usually unbias), while Score test is based on Likelihood (bias).

When you have a big data, both of them are going to have the same value .but if your data is small , they are going to be different .

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 ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1880 views
  • 0 likes
  • 2 in conversation