Quartile analysis
Posted: 02 December 2012 10:00 AM   [ Ignore ]
Newbie
Rank
Total Posts:  23
Joined  2012-10-24

Dear Joost,

Could you provide some sas codes to put sample in different quartiles and run quartile regressions?
Thank you.

Best,

pwyw000

Profile
 
 
Posted: 02 December 2012 01:38 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  901
Joined  2011-09-19

hi Pwyw000,

Use proc rank to add a variable for quartiles (groups = 4). Then, use that dataset in a proc reg with ‘by ...’ with ‘...’ being the newly created rank variable.

Hope this helps,

Joost

 Signature 

To reply/post new questions: Please use the group WRDS/SAS on Google Groups! http://groups.google.com/d/forum/wrdssas

Profile