Programming the statistical procedures from SAS

Logit with robust standard errors

Occasional Contributor
Posts: 5

Logit with robust standard errors



I want to run a logit regression.

Is the procedure as follows?

     proc qlim data=...;

     model=... / discrete(d=logit);



Is there a command to run the logit with robust standard errors (e.g like the "cluster" in "proc surveyreg")?


Thank you.

SAS Employee
Posts: 386

Re: Logit with robust standard errors

Posted in reply to MarinaMag

See this note for the many procedures that fit various types of logistic (or logit) models. QLIM is generally not the first choice. For randomly sampled data with independent observations, PROC LOGISTIC is usually the best procedure to use. If you have complex sample survey data, then use PROC SURVEYLOGISTIC. If your interest in robust standard errors is due to having data that are correlated in clusters, then you can fit a logistic GEE (Generalized Estimating Equations) model using PROC GENMOD. See the examples in the documentation for those procedures.

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation