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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.