06-11-2018 07:16 AM
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")?
06-11-2018 10:13 AM
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.