-
Notifications
You must be signed in to change notification settings - Fork 0
/
nov4_test.do
45 lines (24 loc) · 1.68 KB
/
nov4_test.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use "/Users/huiling/Dropbox/Vacant Land/july17_results_oct6revist.dta", clear
estimates use developable
estimates store developable
estimates use undevelopable
estimates store undevelopable
estout developable undevelopable using novtest.doc, varwidth(30) style(fixed) cells(b(star fmt(%9.3f))) label replace drop(o.*)
encode city_name, gen(city_code)
quietly reg lnv lna fsub cbd cbd2 fwy ocean ocean2 i.city_code i.saleyr i.lu_08 i.scag_gp_co if dvlp
estimates store developable
quietly reg lnv lna fsub cbd cbd2 fwy ocean ocean2 i.city_code i.saleyr i.lu_08 i.scag_gp_co if !dvlp
estimates store undevelopable
estout developable using nov4testdvlp.doc, style(fixed) cells(b(star fmt(%9.3f)) se(par)) label replace
estout undevelopable using nov4testundvlp.doc, style(fixed) cells(b(star fmt(%9.3f)) se(par)) label replace
estout developable using nov4testdvlp.doc, style(fixed) cells(b(star fmt(%9.3f))) label replace
estout undevelopable using nov4testundvlp.doc, style(fixed) cells(b(star fmt(%9.3f))) label replace
quietly xi: reg lnv lna fsub cbd cbd2 fwy ocean ocean2 i.city_name i.saleyr i.lu_08 i.scag_gp_co if dvlp
estimates store developable_xi
quietly xi: reg lnv lna fsub cbd cbd2 fwy ocean ocean2 i.city_name i.saleyr i.lu_08 i.scag_gp_co if !dvlp
estimates store undevelopable_xi
estout developable_xi undevelopable_xi using novtest.doc, varwidth(30) style(fixed) cells(b(star fmt(%9.3f))) label replace drop(o.*)
** Updated November 10, 2013
quietly reg lnv lna fsub cbd cbd2 fwy ocean ocean2 i.mz i.saleyr i.lu_08 i.scag_gp_co if dvlp
estimates store developable
estout developable using nov10_mz_dvlp.doc, style(fixed) cells(b(star fmt(%9.3f))) label replace