Hi Madam/Sir,
In the SAS 9.2, the output of "proc surveylogistic" generates wald chi-square statistics. But in the SAS 9.4, it generates t-statistics.
In the SAS 9.4, proc logistic still generates wald ch-square statistics. But I need to use proc surveylogstic to do firm-level clustering in the standard variation of variables. Is there a way to report wald chi-square statistics? Your help will be highly appreciated. Joon.
proc surveylogistic data=s19;
class gvkey;
model gc(descending) = sdd1 starmeasure lev chlev lnage return beta sd_residual zscore lnasset
ploss investment ffinancing ocf reportlag big4 y2001-y2016 id1-id65/stb;
run;
-6.6960 | 0.9303 | -7.20 | <.0001 | |
1.3863 | 0.2235 | 6.20 | <.0001 | 0.2345 |
1.0422 | 0.2931 | 3.56 | 0.0004 | 0.2327 |
0.6787 | 0.2085 | 3.26 | 0.0011 | 0.1338 |
0.5872 | 0.3805 | 1.54 | 0.1229 | 0.0683 |
tables is not a valid statement in proc surceylogistic. I suggest you also study the documentation for the MODEL statement, which includes:
Note that unless you specify the DF=INFINITY option, PROC SURVEYLOGISTIC displays an F test instead of a chi-square test.
tables is not a valid statement in proc surceylogistic. I suggest you also study the documentation for the MODEL statement, which includes:
Note that unless you specify the DF=INFINITY option, PROC SURVEYLOGISTIC displays an F test instead of a chi-square test.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.