Hi all,
I'm using a logistic regression to calculate odds ratios for among others my categorical variables. For example I have a variable called education, which has the categories low, medium and high. When I add 'education' in my logistic regression, so 'logit x education, or' I get an odds ratio for education as a whole, which is not what I would like to see. I want odds ratios for each category.
I have already tried to fix it with dummy variables, for which I created variables called 'educationislow' which is 1 if education is low and 0 if education is not low, 'educationismedium' which is 1 if education is medium and 0 if education is not medium, 'educationishigh' idem. But when performing a logistic regression 'logit x educationislow educationismedium educationishigh' Stata omitts all variables.
Sorry for me being a noob, but can you guys help me out?
Cheers
I'm using a logistic regression to calculate odds ratios for among others my categorical variables. For example I have a variable called education, which has the categories low, medium and high. When I add 'education' in my logistic regression, so 'logit x education, or' I get an odds ratio for education as a whole, which is not what I would like to see. I want odds ratios for each category.
I have already tried to fix it with dummy variables, for which I created variables called 'educationislow' which is 1 if education is low and 0 if education is not low, 'educationismedium' which is 1 if education is medium and 0 if education is not medium, 'educationishigh' idem. But when performing a logistic regression 'logit x educationislow educationismedium educationishigh' Stata omitts all variables.
Sorry for me being a noob, but can you guys help me out?
Cheers
Comment