Help using Base SAS procedures

PROC CATMOD question

Reply
New Contributor
Posts: 3

PROC CATMOD question

Hey all,

I am trying to use the CATMOD procedure to do an mln model using NHTS 2009 data. I wrote it up as follows (including two lines of the data, but there's a lot more):

DATA NHTS2009;
INPUT HH_RACE $ HH_INC $ OWN_RENT $ HOMETYPE $ HYBRID $ URBAN $ VEH_TYPE $ DRVRCNT HH_SIZE VEH_CNT ADULTS OD_READ VEH_MILES VEH_YR WORKERS VEH_AGE MAKE $ MODEL $;
DATALINES;
Black 09 Own House No SUBURB CAR 1 1 2 1 13013 2008 1 1 Acura TL
White 18 Own House No Urban CAR 2 3 2 2 25877 2006 2 3 Acura MDX
;
proc catmod data=NHTS2009;
direct DRVRCNT HH_SIZE VEH_CNT ADULTS OD_READ VEH_MILES VEH_YR WORKERS VEH_AGE;
response logits;
model MAKE = HH_RACE HH_INC OWN_RENT HOMETYPE HYBRID URBAN VEH_TYPE DRVRCNT HH_SIZE VEH_CNT ADULTS OD_READ VEH_MILES VEH_YR WORKERS VEH_AGE;
run;

My problem is it isn't running, and I'm wondering if it's because there are too many categorical values? If so, is there a better PROC to use? Or maybe I should change my data so that it can work with less levels of response?

Thanks for your input.
CD
Ask a Question
Discussion stats
  • 0 replies
  • 108 views
  • 0 likes
  • 1 in conversation