Dear community
I am quite rusty since I haven't used SAS for several years. I am simply trying to figure out if I can use PROC LOGISTIC on panel data. So far I have found some documentation for TSCSREG for regression models om panel data but it does not mention logistic models and PROC LOGISTIC also doesn't seem to mention panel data anywhere.
Any help would be highly appreciated.
Kind regards,
Jacob
A logistic model on data containing clusters of correlated observations can be fit using the REPEATED statement in PROC GEE (or PROC GENMOD, but PROC GEE is the newer procedure and preferred for this type of model). Another option is to fit a random effects model in PROC GLIMMIX. See the example in the Getting Started section in any of these procedure's documentation.
Is this relevant:
The U.S. Department of Health and Human Services conducts the Medical Expenditure Panel Survey (MEPS) to produce national and regional estimates of various aspects of health care. The MEPS has a complex sample design that includes both stratification and clustering. The sampling weights are adjusted for nonresponse and raked with respect to population control totals from the Current Population Survey. See the MEPS (2006) and Machlin, Yu, and Zodet (2005) for details.
In this example, the 1999 full-year consolidated data file HC-038 (MEPS HC-038, 2002) from the MEPS is used to investigate the relationship between medical insurance coverage and the demographic variables. The data can be downloaded directly from the Agency for Healthcare Research and Quality (AHRQ) Web site athttps://meps.ahrq.gov/mepsweb/data_stats/download_data_files_detail.jsp?cboPufNumber=HC-038in either ASCII format or SAS transport format. The Web site includes a detailed description of the data as well as the SAS program used to access and format it.
@Jbraun wrote:
Dear community
I am quite rusty since I haven't used SAS for several years. I am simply trying to figure out if I can use PROC LOGISTIC on panel data. So far I have found some documentation for TSCSREG for regression models om panel data but it does not mention logistic models and PROC LOGISTIC also doesn't seem to mention panel data anywhere.
Any help would be highly appreciated.
Kind regards,
Jacob
A logistic model on data containing clusters of correlated observations can be fit using the REPEATED statement in PROC GEE (or PROC GENMOD, but PROC GEE is the newer procedure and preferred for this type of model). Another option is to fit a random effects model in PROC GLIMMIX. See the example in the Getting Started section in any of these procedure's documentation.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.