Prev: Ordinal data
Next: How to convert Excel data to sas
From: Ai Hua Wang on 24 Feb 2010 15:25 Hi List: =A0 I am using proc report to generate reports. I need to generate the frequenc= ies based on v1, v2, v3, v4 and v5 variables. I tried to use the following = codes but it does not give me the frequencies and I tried to add compute bl= ock and it gave me errors. I know I can use the proc freq in conjunction wi= th the proc report to fulfill this purpose. But I was wondering how to do t= his using proc report only. This might be very easy for some people in this= list. Could anybody provide advice? =A0 Thanks, Aihua =A0 ods html file=3D"C\documents\file1" RS=3Dnone style=3Dminimal; options missing=3D" "; proc report data=3Dtemp nowd split=3D'*'; column v1 v2 v3 v4 v5; define v1/group display width=3D45 left spacing=3D0 'variable 1'; define v2/group display width=3D4 spacing=3D0 'variable 2'; define v3/group display width=3D9 left 'variable 3'; define v4/group display width=3D10 'variable 4'; define v5/group display width=3D2 'variable 5'; run; ods html close; =A0=0A=0A=0A _________________________________________________________= _________=0AYahoo! Canada Toolbar: Search from anywhere on the web, and boo= kmark your favourite sites. Download it now=0Ahttp://ca.toolbar.yahoo.com.
|
Pages: 1 Prev: Ordinal data Next: How to convert Excel data to sas |