What is the specific question you want answered?
I want to know how to input it correctly. For some reason I list my dependent variable and all 13 variables under the explanatory variables section including the main independent variable. One of my variables is Sex which is not a numeric variable so i placed it under the "group by analysis" tab however i need it to generate an odds ratio and 95% ci as well in relation to my dependent variable
After doing all of that Ii get an error message saying there were no observations or something along those lines.
Exact details would help.
The exact error message, word-for-word, verbatim, leaving nothing out, would be most helpful.
The full set-up that you provided EG would also be necessary.
I imported my data which was an excel file. I then sorted it. Then I clicked Task-> Regression-> logistics->I then put my dependent variable under the tab designated for it. Then the rest of my variables I placed under quantitative variables(this includes both confounders and my main independent variable). I then placed "sex" the only variable I have that isn't a numeric one under the section that says classification variables. then I went to the left window pane, clicked effects and placed my main independent variable in the effects column. then I ran it and the error message says
ERROR: EVENT=. category is not a valid response category.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.