Good evening,
I am currently building a regression model for a seminar paper and would like to test whether there is a linear, U-shape or inverted U-shape relationship.
My variables are as follows:
Dependent: q_tot
Independent: rdalliances
Moderators: munificence, complexity and dynamism
The rest are control variables
and I included a time-dummy (i.fyear) and fixed-effects (fe) in the model, which was recommended by the Hausman test.
I used the following command:
And got the following significant result, indicating an inverted U-shape relationship:
utest rdalliances rdalliances_2
(107,372 missing values generated)
Specification: f(x)=x^2
Extreme point: 22.29524
Test:
H1: Inverse U shape
vs. H0: Monotone or U shape
-------------------------------------------------
| Lower bound Upper bound
-----------------+-------------------------------
Interval | 0 57
Slope | .1376231 -.214224
t-value | 2.847806 -3.326562
P>|t| | .0022052 .0004411
-------------------------------------------------
Overall test of presence of a Inverse U shape:
t-value = 2.85
P>|t| = .00221
Now, I got a tip from another student, who did the following command, which gives a graph that does not show an inverted- U-shape and that is difficult to interpret for me.

It would be of great gelp if someone could help me figuring out which shape is the right for my model.
Thanks in advance,
Hanna
I am currently building a regression model for a seminar paper and would like to test whether there is a linear, U-shape or inverted U-shape relationship.
My variables are as follows:
Dependent: q_tot
Independent: rdalliances
Moderators: munificence, complexity and dynamism
The rest are control variables
and I included a time-dummy (i.fyear) and fixed-effects (fe) in the model, which was recommended by the Hausman test.
I used the following command:
Code:
xtset gvkey fyear xtreg q_tot rdalliances rdalliances_2 rdi_w adi_w ln_emp1_w lev munificence complexity dynamism i.fyear, fe vce(robust) utest rdalliances rdalliances_2
utest rdalliances rdalliances_2
(107,372 missing values generated)
Specification: f(x)=x^2
Extreme point: 22.29524
Test:
H1: Inverse U shape
vs. H0: Monotone or U shape
-------------------------------------------------
| Lower bound Upper bound
-----------------+-------------------------------
Interval | 0 57
Slope | .1376231 -.214224
t-value | 2.847806 -3.326562
P>|t| | .0022052 .0004411
-------------------------------------------------
Overall test of presence of a Inverse U shape:
t-value = 2.85
P>|t| = .00221
Now, I got a tip from another student, who did the following command, which gives a graph that does not show an inverted- U-shape and that is difficult to interpret for me.
Code:
scatter q_tot rdalliances regress q_tot rdalliances rdalliances_2 twoway qfitci q_tot rdalliances_2 if e(sample) == 1
It would be of great gelp if someone could help me figuring out which shape is the right for my model.
Thanks in advance,
Hanna
Comment