Sie sind auf Seite 1von 1

STATA HINTS STATA command

probit y1 x1 x2
sca p1 = normprob(1.29)

dis p1
sca p2 = _b[_cons]+_b[smkban]

Description
Estimates probit regression of y1 vs. x1 and x2
Calculates area to the left of 1.29 under the
normal probability distribution and assigns that
value to a new scalar (real number) p1 (so p1
now equals .90147467)
Prints out p1 (prints out .90147467)
Creates new scalar (real number) p2 that is the
sum of the intercept and the coefficient on
smkban in the most recently estimated
regression

Das könnte Ihnen auch gefallen