Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

.

summarize WTP AGE EDUC FAMSZ INC

Variable | Obs Mean Std. Dev. Min Max

-------------+---------------------------------------------------------

WTP | 100 533.2 606.2692 0 2000

AGE | 100 31.61 14.44592 12 78

EDUC | 100 4.01 4.802135 0 18

FAMSZ | 100 4.82 1.919491 1 10

INC | 100 133090.8 80627.72 25000 360000

. histogram WTP

(bin=10, start=0, width=200)

. graph save Graph "C:\Users\FB\Desktop\Graph.gph", replace

(file C:\Users\FB\Desktop\Graph.gph saved)


.0025
.002
.0015
Density
.001 5.0e-04
0

0 500 1000 1500 2000


WTP

. regress WTP AGE EDUC FAMSZ INC, tsscons

Source | SS df MS Number of obs = 100

-------------+---------------------------------- F(4, 95) = 131.18

Model | 30810599.9 4 7702649.99 Prob > F = 0.0000

Residual | 5578076.05 95 58716.59 R-squared = 0.8467

-------------+---------------------------------- Adj R-squared = 0.8403

Total | 36388676 99 367562.384 Root MSE = 242.32

------------------------------------------------------------------------------

WTP | Coef. Std. Err. t P>|t| [95% Conf. Interval]

-------------+----------------------------------------------------------------

AGE | 3.021642 1.898174 1.59 0.115 -.7467094 6.789994


EDUC | 14.58243 6.106421 2.39 0.019 2.459651 26.70521

FAMSZ | -2.26071 13.24711 -0.17 0.865 -28.55955 24.03813

INC | .0061648 .0003907 15.78 0.000 .0053892 .0069404

_cons | -430.3674 77.62555 -5.54 0.000 -584.4736 -276.2612

------------------------------------------------------------------------------

. estat hettest, rhs

Breusch-Pagan / Cook-Weisberg test for heteroskedasticity

Ho: Constant variance

Variables: AGE EDUC FAMSZ INC

chi2(4) = 27.17

Prob > chi2 = 0.0000

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. estat hettest, rhs

Breusch-Pagan / Cook-Weisberg test for heteroskedasticity

Ho: Constant variance

Variables: AGE EDUC FAMSZ INC

chi2(4) = 27.17

Prob > chi2 = 0.0000


.

end of do-file

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. estat hettest, rhs

Breusch-Pagan / Cook-Weisberg test for heteroskedasticity

Ho: Constant variance

Variables: AGE EDUC FAMSZ INC

chi2(4) = 27.17

Prob > chi2 = 0.0000

end of do-file

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. graph save Graph "C:\Users\FB\Desktop\Graph.gph", replace

(file C:\Users\FB\Desktop\Graph.gph saved)

end of do-file
. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. histogram WTP

(bin=10, start=0, width=200)

end of do-file

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. summarize WTP AGE EDUC FAMSZ INC

Variable | Obs Mean Std. Dev. Min Max

-------------+---------------------------------------------------------

WTP | 100 533.2 606.2692 0 2000

AGE | 100 31.61 14.44592 12 78

EDUC | 100 4.01 4.802135 0 18

FAMSZ | 100 4.82 1.919491 1 10

INC | 100 133090.8 80627.72 25000 360000

end of do-file

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"
. histogram WTP

(bin=10, start=0, width=200)

end of do-file

. do "C:\Users\FB\AppData\Local\Temp\STD01000000.tmp"

. regress WTP AGE EDUC FAMSZ INC, tsscons

Source | SS df MS Number of obs = 100

-------------+---------------------------------- F(4, 95) = 131.18

Model | 30810599.9 4 7702649.99 Prob > F = 0.0000

Residual | 5578076.05 95 58716.59 R-squared = 0.8467

-------------+---------------------------------- Adj R-squared = 0.8403

Total | 36388676 99 367562.384 Root MSE = 242.32

------------------------------------------------------------------------------

WTP | Coef. Std. Err. t P>|t| [95% Conf. Interval]

-------------+----------------------------------------------------------------

AGE | 3.021642 1.898174 1.59 0.115 -.7467094 6.789994

EDUC | 14.58243 6.106421 2.39 0.019 2.459651 26.70521

FAMSZ | -2.26071 13.24711 -0.17 0.865 -28.55955 24.03813

INC | .0061648 .0003907 15.78 0.000 .0053892 .0069404


_cons | -430.3674 77.62555 -5.54 0.000 -584.4736 -276.2612

------------------------------------------------------------------------------

end of do-file

You might also like