Help using Base SAS procedures

Proc mdc

Reply
New Contributor
Posts: 3

Proc mdc

Hi,

How can I incorporate an interaction between two continous variables in the proc mdc statement?

Thanks in advance!

Respected Advisor
Posts: 2,655

Re: Proc mdc

Use the DATA step to define an additional variable that is the product of your two continuous variables, and include that in the PROC MDC model statement.  This is the usual method for PROC REG.  I would suggest centering your continuous variables before carrying this out, in order to keep the design matrix from becoming ill conditioned.

 

Steve Denham

Ask a Question
Discussion stats
  • 1 reply
  • 196 views
  • 0 likes
  • 2 in conversation