Hello,
How can I do a test if my dependent variable is quantitative integer continuous variable? not categorical.
I got an error message.
-
Login or Register
- Log in with
findit utest
gen age2 = age*age xtprobit vote c.age c.age#c.age, re vce(robust) utest age age2, prefix(vote)
. nlcom -_b[age]/(2*_b[c.age#c.age]) [age] not found r(111); . margins, at(age = (24(2)91)) variable 'age' not found in list of covariates r(322); . . marginsplot previous command was not margins r(301);
xtprobit vote c.age c.age#c.age, re vce(robust)
. nlcom -_b[age]/(2*_b[c.age#c.age]) _nl_1: -_b[age]/(2*_b[c.age#c.age]) ------------------------------------------------------------------------------ saving | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- _nl_1 | 42.66536 16.5475 2.58 0.010 10.23285 75.09786 ------------------------------------------------------------------------------
margins, at(age = (24(2)91)) marginsplot
margins, at(logage = (3(0.2)4.4)) marginsplot
Leave a comment: