hi, i have the below
i want the output "a" table to extract the R2 (rsquare)
Is there any way to do this ?
proc logistic data=mydataset;
model bad=INTEREST_RATE/rsquare;
Output out=a;
run;
proc logistic data=mydataset;
ods output rsquare=a;
model bad=INTEREST_RATE/rsquare;
run;
proc logistic data=mydataset;
ods output rsquare=a;
model bad=INTEREST_RATE/rsquare;
run;
@Toni2 wrote:
thanks. How can i stop printing the results using ods?
Somewhere in your program you have turned on writing to ODS. If you want it off, use
ods html close;
assuming you meant HTML output.
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.