@xiaopingnie wrote:
Hi,
I just met a problem when using proc freq crosstab.
for example
PROC SQL;
create table CARS1 as
SELECT make, type, invoice, horsepower, length, weight
FROM
SASHELP.CARS
WHERE make in ('Audi','BMW')
;
RUN;
proc FREQ data = CARS1;
tables make*type;
run;
without any suppression, I only got two rows in each cells instead of 4 rows. also there's a warning "WARNING: Format pctfmt. failed to load!" in the log window. But this warning did not show up when I ran one way proc freq. Any one know what's going on here?
SUV
Sedan
Sports
Wagon
Total
Audi
0
13
4
2
19
0
68.42
21.05
10.53
BMW
2
13
4
1
20
10
65
20
5
Total
2
26
8
3
39
I just ran your code and got this. Tell more of the story.
... View more