Greetings all. I am wanting to run logistic regression on some data, and it has been a while since I've done any stats (and I learned on SPSS). I have a binary response variable, two predictor variable of interval type, and several binary dummy variable predictors. I'm not sure how to go about running the analysis. I have messed around with both catmod and genmod, but I'm not sure if I'm doing it right. Basically, I'm looking for significance of the predictors in the response "chg_off". I've attached a sas file with some sample data. I took a random sample of 100 observations, so there may be nothing to the results, I'm more just looking for hot to set it up. I sure would appreciate any help anyone could offer. Thank you.
Greg
The SAS Examples in proc logistic are pretty good IMO.
The SAS Examples in proc logistic are pretty good IMO.
Thank you Reeza, that is just what I needed. I spent some time googling "sas logistic regression", and I came up with genmod, catmod, but not logistic. Anyhow, thanks for the tip.
Greg
Ok, one more question regarging this. I am looking at the "Analysis of Maximum Likelihood Estimates" output, and I am confused as to why some of the variables have '<.0001' in the 'Pr > ChiSq' column. I would (maybe naively) infer these variables to be significant. Am I wrong in this assumption? It just seems to straight forward. Thank you.
Greg
That means P-Value is less than 0.0001, it just won't display it smaller....
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.