Hello everyone,
I have a question regarding calculating the peak point of the inverted U-shaped relationship.
I am running a logit model and am asking this question because the margins plot does not seem to reflect the peak point I calculated using the coefficients of the plain term and the quadratic term.
I ran a logit model,
logit dv c.iv##c.iv controls
margins, at (iv = (0(0.1)1))
margins plot
The coefficient for the plain term of my iv is 1.229, and the coefficient for the quadratic term of my iv is -0.996.
So I calculated that the peak point should be -1.229/(-0.996 * 2) = 0.617.
However, the peak point shown in the margins plot is very much around 0.2 ish.
Did I do something wrong? - if so what are the possibilities of things that went wrong?
Thank you so much!
I have a question regarding calculating the peak point of the inverted U-shaped relationship.
I am running a logit model and am asking this question because the margins plot does not seem to reflect the peak point I calculated using the coefficients of the plain term and the quadratic term.
I ran a logit model,
logit dv c.iv##c.iv controls
margins, at (iv = (0(0.1)1))
margins plot
The coefficient for the plain term of my iv is 1.229, and the coefficient for the quadratic term of my iv is -0.996.
So I calculated that the peak point should be -1.229/(-0.996 * 2) = 0.617.
However, the peak point shown in the margins plot is very much around 0.2 ish.
Did I do something wrong? - if so what are the possibilities of things that went wrong?
Thank you so much!
Comment