BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MaryA_Marion
Lapis Lazuli | Level 10

I have been asked to use proc autoreg to compute the durbin watson statistic for a logistic regression problem. How to do?

Thank you.  Mary

 

proc autoreg data=silica;
model y = exp(-(A B C)) / nlag=?;

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

There is no Durbin-Watson test for binomial data.  However, you could consider fitting a GEE model in PROC GENMOD and using TYPE=AR or MDEP(1) to examine the estimated correlation between adjacent observations.

View solution in original post

4 REPLIES 4
PGStats
Opal | Level 21

proc autoreg doesn't do logistic regression. What is the model that you wish to fit?

PG
PeterClemmensen
Tourmaline | Level 20

Use Proc GENMOD or Proc LOGISTIC instead 🙂

StatDave
SAS Super FREQ

There is no Durbin-Watson test for binomial data.  However, you could consider fitting a GEE model in PROC GENMOD and using TYPE=AR or MDEP(1) to examine the estimated correlation between adjacent observations.

MaryA_Marion
Lapis Lazuli | Level 10

thank you for your reply. will the autocorrelation between observations be the same as that between residuals?

 

mary

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 4 replies
  • 3334 views
  • 5 likes
  • 4 in conversation