Prev: 20 digit numeric value to be imported from an sql server
Next: question about removing duplicates
From: breezezhaoeei on 9 Apr 2010 13:37 Hi~ I try to calculate school percentage of minority kids. I have a dummy variable minority. I use this two: proc freq; by schoolid; tables minority; run; (dataset is sorted) proc means; class schoolid; var minority; run; Then I checked school #101, the first program gives me a percentage of 0.18367 (=18/98), and the second one gives me percentage of 0.18919. I don't know where this 0.18919 is from. I have 103 kids in school #101, 5 of these missing minority information. I don't know which result is correct. Thanks, Qingfeng
|
Pages: 1 Prev: 20 digit numeric value to be imported from an sql server Next: question about removing duplicates |