Let say that I have a very simple model. My dependent variable is whether or not (yes and no categories) patients in a mental clinic were involved in a violent incident in their last admission. My independent variable is age. The visualized this relationship I created a line graph were the Y is just the proportion of Yes (inmates who were involved in a violent incident) and the X axis is age. I see that as age increases the proportion of patients who were involved in a fight increase- however only to a certain age. After 40 there is no difference in the proportion of patients involved in fights. When I regress - logistic fight age- I see that age is significant at the 0.05 level and the Odd ratio is .9192005. After the regression I predicted the Y values with the command - predict pY.
Questions:
1. The odd ratio .919 means that for every year increase, the odd ratio of being involved in a fight decrease by .919, right? So this means that the increase is the same for evere year. That is the increase is the same from 14 to 15 than from 50 to 51? When I look at the predict Ys, the changes from one age to the other are not the same. For example. the predicted Y for 15 years old is .14;for 16 years old is .13; for 17 years old is .13, etc. As you see the increase are not the same. Am I confusing concept, terms, ideas?
2. The predicted values for 15 yeas old is .14. Does this mean that the the predicted probability of being involved in a fight is 14% for 15 yeas old? in other words, that 14 out of 100, 15 years old are predicted to be involved in a violent incidents?
3. Based on my bivariate descriptive analysis I know that at some point age (lets say 40 years) does not influence violent incident involvement. Does the predicted Y account for this? Or do I have to do something to fit the model in a better way as in regular linear regression?
4. How can I included an interaction term in my logistic regression- gender. Based on a similar chart describe above, I see that age affect the proportion of being in a fight differently for men and women. Although the proportion for both decrease as age increase, for women is more gradual and for men more steep from 14 to 21 steep decline and then almost no effect. How can I included this interaction effect and what would be a good way to visualize this.
Thank so much in advance! Any help is welcome!
Marvin
Questions:
1. The odd ratio .919 means that for every year increase, the odd ratio of being involved in a fight decrease by .919, right? So this means that the increase is the same for evere year. That is the increase is the same from 14 to 15 than from 50 to 51? When I look at the predict Ys, the changes from one age to the other are not the same. For example. the predicted Y for 15 years old is .14;for 16 years old is .13; for 17 years old is .13, etc. As you see the increase are not the same. Am I confusing concept, terms, ideas?
2. The predicted values for 15 yeas old is .14. Does this mean that the the predicted probability of being involved in a fight is 14% for 15 yeas old? in other words, that 14 out of 100, 15 years old are predicted to be involved in a violent incidents?
3. Based on my bivariate descriptive analysis I know that at some point age (lets say 40 years) does not influence violent incident involvement. Does the predicted Y account for this? Or do I have to do something to fit the model in a better way as in regular linear regression?
4. How can I included an interaction term in my logistic regression- gender. Based on a similar chart describe above, I see that age affect the proportion of being in a fight differently for men and women. Although the proportion for both decrease as age increase, for women is more gradual and for men more steep from 14 to 21 steep decline and then almost no effect. How can I included this interaction effect and what would be a good way to visualize this.
Thank so much in advance! Any help is welcome!
Marvin
Comment