How do you specify a multiple regression model in SUDAAN with both continuous and discrete independent variables plus interaction terms?
In SUDAAN, the association between the dependent and independent variables is expressed using the model statement in the proc regress procedure. The dependent variable must be a continuous variable and will always appear on the left hand side of the equation. The variables on the right hand side of the equation are the independent variables and may be discrete, continuous or both. Continuous variables are simply listed in the model. Discrete variables are specified using a subgroup or a class statement. When interactions are included in the model, they are denoted with an asterisk, *, between the two variables. An interaction can occur between a discrete and a continuous variable, or between two discrete variables. An interaction term will always appear on the right hand side of an equation.
Related Questions
- How do you specify a multiple regression model in SUDAAN with both continuous and discrete independent variables plus interaction terms?
- Whats the difference between discrete random variables and continuous random variable?
- What is the difference between discrete and continuous variables in statistics?