How to model binary response with only categorial explanatory variables?
The syntax wont let it happen after "model y = ", which doesn't make any sense at all.
And where do I check weight of each categorial var value? cant see any of them in proc logistic result, does that mean no var in class is selected? which doesn't make any sense twice at all.
upset enough...
You can use continuous and/or categorical predictor variables in the model. Categorical predictors should be specified in the CLASS statement as well as the MODEL statement. The CLASS statement tells the procedure to create a set of numerically-coded variables to represent the original variable in the model. See the example titled "Logistic Modeling with Categorical Predictors" in the LOGISTIC documentation. By "weights", I assume you mean the parameter estimates of the model. Those are in the Estimate column of the Analysis of Maximum Likelihood Estimates table in the LOGISTIC output.
You can use continuous and/or categorical predictor variables in the model. Categorical predictors should be specified in the CLASS statement as well as the MODEL statement. The CLASS statement tells the procedure to create a set of numerically-coded variables to represent the original variable in the model. See the example titled "Logistic Modeling with Categorical Predictors" in the LOGISTIC documentation. By "weights", I assume you mean the parameter estimates of the model. Those are in the Estimate column of the Analysis of Maximum Likelihood Estimates table in the LOGISTIC output.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.