I am new to Stata and am trying to run a logistic regression to test how, in a large sample population, regular bedtimes are associated with several categorical variables. These include verbal test restuls (in quartiles - thus categorical), ethnicity, academic attainment of parents, economic activity of parents, poverty level of the household and whether or not the parent is single (dummy variable). I have run univariate regressions with all these variables and regularity of bedtimes separately but when I put it together, I get "invalid variable" for the single parent dummy variable and ethnicity. I put an "i" in front of the categorical variables but not the 0/1 dummy variables.
Can anyone advise me? I must be making a basic error
Can anyone advise me? I must be making a basic error
Comment