Hello everyone,
I am running a quadratic regression function as below:
lfare = 6.3581 – 0.0108lpassen – 0.8842ldist + 0.1028ldistsq + 0.0135y2011 + 0.0098y2012 + 0.0769y2013
Where:
lfare = average ticket price in logarithm
lpassen = number of passengers per day in logarithm
ldist = distance in logarithm
ldistsq = ldist^2
y2011, y2012, y2013 = dummy variables for year 2011, 2012 and 2013, respectively.
I have already found out the turning point of the function equals: -(β2/2*β3) = -(-0.8842/2*0.1028) = 4.3.
However, I do not know to find out that whether the turning point is outside the range of the data or not.
I have an idea that is to draw the line of the above quadratic regression function to find out but don't know how to.
I am looking forward to your help. Thank you in advance.
Kind regards
I am running a quadratic regression function as below:
lfare = 6.3581 – 0.0108lpassen – 0.8842ldist + 0.1028ldistsq + 0.0135y2011 + 0.0098y2012 + 0.0769y2013
Where:
lfare = average ticket price in logarithm
lpassen = number of passengers per day in logarithm
ldist = distance in logarithm
ldistsq = ldist^2
y2011, y2012, y2013 = dummy variables for year 2011, 2012 and 2013, respectively.
I have already found out the turning point of the function equals: -(β2/2*β3) = -(-0.8842/2*0.1028) = 4.3.
However, I do not know to find out that whether the turning point is outside the range of the data or not.
I have an idea that is to draw the line of the above quadratic regression function to find out but don't know how to.
I am looking forward to your help. Thank you in advance.
Kind regards
Comment