Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Is there a way to only use one variable as a two-factor interaction variable

Reply
Frequent Contributor
Posts: 82

Is there a way to only use one variable as a two-factor interaction variable

[ Edited ]

i dont want to use all class variables for interactions, I want one specific class variable to be used as an interaction variable with every other input variable.

 

I am talking mostly about enterprise Miner. For example, in the regression node, under the two-factor interactions option.

 

Is there a simple way to set this up?

Super User
Posts: 17,750

Re: Is there a way to only use one variable as a two-factor interaction variable

Which PROC are you using? Are you using SAS EM?

Frequent Contributor
Posts: 82

Re: Is there a way to only use one variable as a two-factor interaction variable

EM, mostly the regression node. Edited to clarify
Super User
Posts: 9,662

Re: Is there a way to only use one variable as a two-factor interaction variable

You need make design matrix on your own, and feed it into regression analysis.


http://blogs.sas.com/content/iml/2016/02/24/create-a-design-matrix-in-sas.html

Ask a Question
Discussion stats
  • 3 replies
  • 817 views
  • 0 likes
  • 3 in conversation