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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.