0% found this document useful (0 votes)
9 views2 pages

Stata

The document presents regression analyses on wage and price, indicating that experience and the variable 'yes' do not significantly affect wage, while factors like total area, population density, and duration significantly impact price. The logistic regression shows a significant negative relationship between low birth weight (lwt) and the likelihood of low birth weight outcomes. Overall, the analyses involve multiple observations and statistical significance is noted in various coefficients.

Uploaded by

trangnt23407
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)
9 views2 pages

Stata

The document presents regression analyses on wage and price, indicating that experience and the variable 'yes' do not significantly affect wage, while factors like total area, population density, and duration significantly impact price. The logistic regression shows a significant negative relationship between low birth weight (lwt) and the likelihood of low birth weight outcomes. Overall, the analyses involve multiple observations and statistical significance is noted in various coefficients.

Uploaded by

trangnt23407
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/ 2

Họ và tên: Nguyễn Thị Trang

MSSV: K234070795
. gen exper_yes = exper* yes

. reg wage exper yes exper_yes

Source SS df MS Number of obs = 935


F(3, 931) = 6.20
Model 2990584.66 3 996861.552 Prob > F = 0.0004
Residual 149725584 931 160822.324 R-squared = 0.0196
Adj R-squared = 0.0164
Total 152716168 934 163507.675 Root MSE = 401.03

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

exper -10.42668 11.23029 -0.93 0.353 -32.46628 11.61293


yes 77.11345 127.7579 0.60 0.546 -173.6134 327.8403
exper_yes 9.994576 11.6588 0.86 0.392 -12.88599 32.87515
_cons 3405.001 121.5779 28.01 0.000 3166.402 3643.599

. gen ln_price = log(price )

. gen ln_total_area = log(total_area )

. reg ln_price ln_total_area popu_density duration

Source SS df MS Number of obs = 651


F(3, 647) = 239.53
Model 300.259361 3 100.086454 Prob > F = 0.0000
Residual 270.345917 647 .417845311 R-squared = 0.5262
Adj R-squared = 0.5240
Total 570.605278 650 .877854274 Root MSE = .64641

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

ln_total_area 1.211037 .047614 25.43 0.000 1.117541 1.304534


popu_density 6.46e-06 1.21e-06 5.35 0.000 4.09e-06 8.83e-06
duration .0088199 .0029986 2.94 0.003 .0029317 .0147082
_cons 1.865962 .2185098 8.54 0.000 1.436888 2.295035
. logit low lwt

Iteration 0: log likelihood = -117.336


Iteration 1: log likelihood = -114.3806
Iteration 2: log likelihood = -114.35403
Iteration 3: log likelihood = -114.35403

Logistic regression Number of obs = 189


LR chi2(1) = 5.96
Prob > chi2 = 0.0146
Log likelihood = -114.35403 Pseudo R2 = 0.0254

low Coefficient Std. err. z P>|z| [95% conf. interval]

lwt -.0140371 .0061685 -2.28 0.023 -.0261272 -.001947


_cons .9957626 .7852434 1.27 0.205 -.5432862 2.534811

You might also like