when i using PROC LOGISTIC ,unlike PROC PRINT there is no label option, so can i change ouput's variable name into label name in this situation?
this is the maximum likelihood estimate output;
Your answer lies in the PARMLABEL option in the MODEL statement.
Here's a fabricated example:
proc sql;
create table work.cars as
select
*,
(
select
mean(msrp)
from
sashelp.cars
) as mean_msrp,
case
when msrp < calculated mean_msrp then "1"
else "0"
end as flag
from
sashelp.cars;
quit;
proc logistic data = work.cars descending;
model flag = enginesize cylinders;
run;
proc logistic data = work.cars descending;
model flag = enginesize cylinders / parmlabel;
run;
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!
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.