Hi, I need help with the SAS code for running Logistic Regression reporting Robust Standard Errors.
Here is my situation -
Data structure - 100 records, each for a different person. And these 100 individuals are in 20 separate clusters; and there is dependency within the clusters, and the dependency structure is very flexible.
Cluster ID: CID
Dependent variable - EVENT (1, 0)
Independent variables - V1 (numeric values), V2 (categories: 1, 2, 3, 4, 5),V3
(dummy variable: 1, 0). And all these variables are personal characteristics, and there is no cluster characteristic at all.
So, what would be the right setup in SAS PROC to run this model in order to get the robust S.E. to account for the dependency within clusters?
I did some search on the web, and it appeared that proc surveylogistic or proc genmod may be the solution, but I am unable to come up with the detailed codes to cover every aspect of my model. So, I'd like to get help from the experts in here.
Thanks a lot!