I have attached a data and a code in .txt to show the problem (for some reason I can't copy paste text in here and I am too lazy to write all the <p></p> in html).
So the problem is that for some unknown/annoying reason PROC REPORT won't order the variables correctly (in the example the '01' of var works ok but then the '02' dates are partly messed up, although they are in correct order in the input data). What I am missing here? I am losing my mind.
Don't ask me why it works, but changing order= to "internal" for date2 corrected it.
UPDATE:
Now I know why.
Look here: http://support.sas.com/resources/papers/proceedings11/090-2011.pdf
It explains why you get this seemingly strange output.
Don't ask me why it works, but changing order= to "internal" for date2 corrected it.
UPDATE:
Now I know why.
Look here: http://support.sas.com/resources/papers/proceedings11/090-2011.pdf
It explains why you get this seemingly strange output.
Thanks a lot! Very good article about the topic. Thumbs up.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.