Quick SAS help?
Jul. 14th, 2009 02:21 pmstupid SAS question here. I've used SAS a little in the past, but just a little. So I'm starting a serious study of it now for work reasons.
The current example is using PROC UNIVARIATE to examine some data. The command is supposed to generate mean and other stats for 50 pieces of data. The problem is that it sees the two columns as 6 entries for two variables, not as 50 entries for one variable, with frequencies in the second column. The text doesn't indicate any options that would tell UNIVARIATE that the second column is a frequency, so I think I've missed something (or the book is crap).
Thoughts?
DATA TENSILE;
INPUT PSI COUNT;
CARDS;
18461 2
18466 12
18471 15
18476 10
18481 8
18486 3
;
PROC UNIVARIATE PLOT;
The current example is using PROC UNIVARIATE to examine some data. The command is supposed to generate mean and other stats for 50 pieces of data. The problem is that it sees the two columns as 6 entries for two variables, not as 50 entries for one variable, with frequencies in the second column. The text doesn't indicate any options that would tell UNIVARIATE that the second column is a frequency, so I think I've missed something (or the book is crap).
Thoughts?
DATA TENSILE;
INPUT PSI COUNT;
CARDS;
18461 2
18466 12
18471 15
18476 10
18481 8
18486 3
;
PROC UNIVARIATE PLOT;