I am using a panel dataset.
vote is my dependent variable: 1 if the respondent voted in an annual leadership election, and 0 otherwise (so I am using nonlinear methods).
My independent variables include marital status, gender, age etc.
I then run my regression with only age and age^2 as control variables:
Code:
xtprobit vote c.age c.age#c.age, re vce(robust)
Code:
test age c.age#c.age ( 1) [vote]age= 0 ( 2) [vote]c.age#c.age= 0 chi2( 2) = 4.34 Prob > chi2 = 0.1141
I believe this is the appropriate test to see the significant of the squared term, although please could you advise me if I'm mistaken?
Thank you
Leave a comment: