Sei sulla pagina 1di 2

User: Barbara Bello

___ ____ ____ ____ ____ (R)


/__ / ____/ / ____/
___/ / /___/ / /___/ 14.2 Copyright 1985-2015 StataCorp LP
Statistics/Data Analysis StataCorp
4905 Lakeway Drive
College Station, Texas 77845 USA
800-STATA-PC http://www.stata.com
979-696-4600 stata@stata.com
979-696-4601 (fax)

Single-user Stata license expires 27 Sep 2017:


Serial number: 301409325248
Licensed to: Barbara Bello

Notes:
1. Unicode is supported; see help unicode_advice.
2. New update available; type -update all-

1 .
2 . import excel "/Users/BarBello/Downloads/HW#1_DataExcelToConvertToStata.xls", sheet("dat

3 . sum population, detail

population

Percentiles Smallest
1% 77112 77112
5% 77112 113769
10% 113769 123109 Obs 17
25% 140249 131542 Sum of Wgt. 17

50% 235647 Mean 271178.1


Largest Std. Dev. 146983.4
75% 382621 388333
90% 519869 479659 Variance 2.16e+10
95% 523831 519869 Skewness .4915694
99% 523831 523831 Kurtosis 1.927684

4 . sum population if zone==10

Variable Obs Mean Std. Dev. Min Max

population 1 201334 . 201334 201334

5 . tabstat population, stat(mean var sd cv)

variable mean variance sd cv

2/7/17, 10:57 AM Page 1 of 2


User: Barbara Bello

population 271178.1 2.16e+10 146983.4 .5420181

6 . sum population, detail

population

Percentiles Smallest
1% 77112 77112
5% 77112 113769
10% 113769 123109 Obs 17
25% 140249 131542 Sum of Wgt. 17

50% 235647 Mean 271178.1


Largest Std. Dev. 146983.4
75% 382621 388333
90% 519869 479659 Variance 2.16e+10
95% 523831 519869 Skewness .4915694
99% 523831 523831 Kurtosis 1.927684

7 . histogram population
(bin=4, start=77112, width=111679.75)

8 . graph box population

9 . save "/Users/BarBello/Downloads/EC204-HW1-StataLOG.dta"
file /Users/BarBello/Downloads/EC204-HW1-StataLOG.dta saved

10 .

2/7/17, 10:57 AM Page 2 of 2

Potrebbero piacerti anche