PROC SQL;
UPDATE ReAdm.CHI2
SET ADMISSION 'NOREADMIT' = 0.5 WHERE 'NOREADMIT' = 0;
END;
RUN;
I am trying to take the admission column that has noreadmit in it then the count is 0 and update it to 0.5.
This does not work either:
SET (ADMISSION)='NOREADMIT')COUNT = 0.5 WHERE COUNT = 0));
How about...
SET count = .5
where ADMISSION = 'NOREADMIT' and COUNT = 0;
quit;
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!
Register now
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Submit your proposal!
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.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!