04-04-2018 08:51 PM - edited 04-15-2018 11:30 PM
I am running a pretty large data set for 500,000 individuals on a daily level over 13 years. I have approximately 500 million observations.
I have a problem constructing clustered standard errors on the individual level.
It seems like I have a server size problem. I have access to 2 TB, which allows me to construct clustered standard errors for up to 60,000 individuals.
It seems like proc surveyreg can run with fewer clusters than proc genmod.
Do anyone have an idea to how to overcome this or what to try?
I get this error message with proc surveyreg:
ERROR: The SAS System stopped processing this step because of insufficient
NOTE: PROCEDURE SURVEYREG used (Total process time):
real time 4:34:52.34
cpu time 4:34:23.42
This is my code, if I run with proc surveyreg: Attached.
04-05-2018 11:45 AM
It never hurts to show the code you are using. That way we can avoid making suggestions that look like what you are doing.
What exactly is the problem? No output, incorrect (or at least unexpected output), missing errors for some records?
From the surveyreg documentation
H be the total number of strata
be the total number of clusters in your sample across all H strata, if you specify a CLUSTER statement
p be the total number of parameters in the model
The memory needed (in bytes) is
For a cluster sample, the additional memory needed (in bytes) is
The SURVEYREG procedure also uses other small amounts of additional memory. However, when you have a large number of clusters or strata, or a large number of parameters in your model, the memory described previously dominates the total memory required by the procedure.
So using the above information does the memory requirement come close to being within your available.
Also there is the consideration of the output. ODS Select or Exclude might reduce some of the output table overhead.