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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.