I have an input box where users can select columns to be run in a regression report. This part works great. I then insert the list of columns into a list. I would like to take the list of columns and make different interactions that can be inserted into a regression report. Specifically, I am interested in slightly more complicated interactions (i.e. Column 1 * Column 2 ^2) When I try to put anything but just the generic list in the regression report, it doesn’t run the report. What do I do to create these interactions in the report?
The user input list readout looks like this: {"Column 1", "Column 2", "Column 3"}
platform = dt << Fit Model(
Y( :Char( variable ) ),
Effects(
// What should go here?????
),
Personality( "Generalized Regression" ),
Generalized Distribution( "Normal" ),
Run(
Fit(
Estimation Method( Two Stage Forward Selection ),
Validation Method( AICc ),
Enforce Heredity
)
)
);