12.07.2015 Views

Dummy and Qualitative Dependent Variables

Dummy and Qualitative Dependent Variables

Dummy and Qualitative Dependent Variables

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Flood | .012639 .0071791 1.76 0.078 -.0014317 .0267098Insect | .0070072 .0078859 0.89 0.374 -.0084488 .0224632_cons | .8524934 .8673863 0.98 0.326 -.8475525 2.552539------------------------------------------------------------------------------** This is a Wald test ************;. test shrtplot overplot diseplot;( 1) shrtplot = 0.0( 2) overplot = 0.0( 3) diseplot = 0.0chi2( 3) = 17.59Prob > chi2 = 0.0005** Log Likelihood Test, obtaining the log likelihood from unrestricted model;. lrtest, saving(0);** Obtaining the percent correctly predicted *****. predict y1;(option p assumed; Pr(wvfreed)). gen y1_one=(y1>0.5);. tab wvfreed y1_one, row;| y1_onewvfreed | 0 1 | Total-----------+----------------------+----------0 | 235 15 | 250| 94.00 6.00 | 100.00-----------+----------------------+----------1 | 59 34 | 93| 63.44 36.56 | 100.00-----------+----------------------+----------Total | 294 49 | 343| 85.71 14.29 | 100.00*** Restricted Model;. probit wvfreed teg am oro other lpcninc elev;Probit estimates Number of obs = 343LR chi2(6) = 60.99Prob > chi2 = 0.0000Log likelihood = -169.9489 Pseudo R2 = 0.1521------------------------------------------------------------------------------wvfreed | Coef. Std. Err. z P>|z| [95% Conf. Interval]-------------+----------------------------------------------------------------teg | 1.679131 .3217638 5.22 0.000 1.048485 2.309776am | .349624 .2339933 1.49 0.135 -.1089944 .8082424oro | -.0745053 .2318984 -0.32 0.748 -.5290178 .3800072other | .8442578 .3812492 2.21 0.027 .0970232 1.591492lpcninc | -.5494286 .146091 -3.76 0.000 -.8357616 -.2630956elev | .0264549 .0163385 1.62 0.105 -.0055679 .0584778_cons | 1.716908 .8199178 2.09 0.036 .1098989 3.323918------------------------------------------------------------------------------**** Log likelihood test *************;. lrtest;Probit: likelihood-ratio test chi2(3) = 18.37Prob > chi2 = 0.0004End of Example 13-16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!