I am having a problem, for some reason, I am no longer getting the estimated regression coefficients when I run the following code:
proc surveyreg data=RECODE6;
class anuinc urban MRAC MARRIED SEX EDUC2 Agec;
model Safety_Scale = anuinc urban MRAC MARRIED SEX EDUC2 Agec ACTIV DPRSN TV_HRS3/
anova adjrsq clparm deff inverse xpx;
I was able to run this and get the coefficients just fine, now for some reason I'm not.
It stops after reporting the Tests of Model Effects and the denominator degrees of freedom.
No problem, here's the log:
916 proc surveyreg data=RECODE6;
917 strata STRATUMCR4;
918 class anuinc urban MRAC MARRIED SEX EDUC2 Agec;
919 model Safety_Scale = anuinc urban MRAC MARRIED SEX EDUC2 Agec
919! ACTIV DPRSN TV_HRS3/
920 anova adjrsq clparm deff inverse xpx;
921 weight WTANAL;
922 *output out = library.test predicted = fitted residual=resids;
NOTE: In data set RECODE6, total 2232 observations read, 782
observations with missing values or non-positive weights are
NOTE: PROCEDURE SURVEYREG used (Total process time):
real time 0.13 seconds
cpu time 0.07 seconds
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.