Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
16 views1 page

Real Prompt Testing Data

Uploaded by

nguyentien197ssn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Real Prompt Testing Data

Uploaded by

nguyentien197ssn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

___ ____ ____ ____ ____ ©

/__ / ____/ / ____/ 17.0


___/ / /___/ / /___/ MP—Parallel Edition

Statistics and Data Science Copyright 1985-2021 StataCorp LLC


StataCorp
4905 Lakeway Drive
College Station, Texas 77845 USA
800-STATA-PC https://www.stata.com
979-696-4600 [email protected]

Stata license: Unlimited-user 64-core network perpetual


Serial number: 18461036
Licensed to: TEAM BTCR
TEAM BTCR

Notes:
1. Unicode is supported; see help unicode_advice.
2. More than 2 billion observations are allowed; see help obs_advice.
3. Maximum number of variables is set to 5,000; see help set_maxvar.

. doedit "E:\download\Kinh tếlượng\18.8 homework C3.8 (page 119).do"

. do "E:\download\Kinh tếlượng\18.8 homework C3.8 (page 119).do"

. use "E:\download\Kinh tếlượng\stata (1)\discrim.dta"

. * summarize for mean, min, max, standard error


. summarize prpblck income

Variable Obs Mean Std. dev. Min Max

prpblck 409 .1134864 .1824165 0 .9816579


income 409 47053.78 13179.29 15919 136529

. * prpblck: proportion black --> unit: %


. * income: median family income --> unit: mil USD/year
. regress psoda prpblck income

Source SS df MS Number of obs = 401


F(2, 398) = 13.66
Model .202552215 2 .101276107 Prob > F = 0.0000
Residual 2.95146493 398 .007415741 R-squared = 0.0642
Adj R-squared = 0.0595
Total 3.15401715 400 .007885043 Root MSE = .08611

psoda Coefficient Std. err. t P>|t| [95% conf. interval]

prpblck .1149882 .0260006 4.42 0.000 .0638724 .1661039


income 1.60e-06 3.62e-07 4.43 0.000 8.91e-07 2.31e-06
_cons .9563196 .018992 50.35 0.000 .9189824 .9936568

. * equation form: psoda = 0.115problck + (1.60e-06)income + 0.956


. reg psoda prpblck

Source SS df MS Number of obs = 401


F(1, 399) = 7.34
Model .057010466 1 .057010466 Prob > F = 0.0070
Residual 3.09700668 399 .007761922 R-squared = 0.0181
Adj R-squared = 0.0156
Total 3.15401715 400 .007885043 Root MSE = .0881

psoda Coefficient Std. err. t P>|t| [95% conf. interval]

prpblck .0649269 .023957 2.71 0.007 .0178292 .1120245


_cons 1.037399 .0051905 199.87 0.000 1.027195 1.047603

You might also like