-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsccnetwork.do
210 lines (182 loc) · 6.48 KB
/
sccnetwork.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
cd "C:\Users\rtol\My Drive\MargCostMeta\"
use "C:\Users\rtol\My Drive\MargCostMeta\avecit.dta", clear
*Table 4
reg sccave pubyear scccited sccaware sccnot
outreg2 using sccbias.tex
reg prtpave pubyear prtpcited prtpaware prtpnot
outreg2 using sccbias.tex
reg eisave pubyear eiscited eisaware eisnot
outreg2 using sccbias.tex
reg bmave pubyear bmcited bmaware bmnot
outreg2 using sccbias.tex
nbreg ncit pubyear sccave prtpave eisave bmave
outreg2 using sccbias.tex
use "C:\Users\rtol\My Drive\MargCostMeta\SCC.dta", clear
merge m:1 ID using avecit
drop _merge
merge m:1 ID using journals
drop _merge
gen cq = censor*quality
gen taxtemp = tax*t2100
*table 1
*base
reg scc prtp eis year [iweight=cq]
outreg2 using sccbase.tex
*impact
reg scc prtp eis year impact linear quad expo hazard fund marty growth para [iweight=cq]
reg scc prtp eis year impact linear quad fund marty growth para [iweight=cq]
outreg2 using sccbase.tex
*pigou
reg scc prtp eis year tax taxtemp t2100 [iweight=cq]
outreg2 using sccbase.tex
*author
reg scc prtp eis year hope nordhaus ploeg tol traeger [iweight=cq]
outreg2 using sccbase.tex
*previous papers
reg scc prtp eis year scccited sccnot sccaware [iweight=cq]
outreg2 using sccbase.tex
reg scc prtp eis year scccited sccnot [iweight=cq]
reg scc prtp eis year scccited sccaware [iweight=cq]
reg scc prtp eis year scccited [iweight=cq]
*referee 1
gen prtpsq = prtp*prtp
gen eissq = eis*eis
reg scc prtp eis year [iweight=cq]
reg scc prtp prtpsq eis eissq year [iweight=cq]
gen prtp0 = 0
replace prtp0 = 1 if prtp<0.5
gen prtp1 = 0
replace prtp1 = 1 if prtp >= 0.5 & prtp<1.5
gen prtp2 = 0
replace prtp2 = 1 if prtp >= 1.5 & prtp<2.5
gen prtp3 = 0
replace prtp3 = 1 if prtp >= 2.5 & prtp<100
gen noprtp = 1
replace noprtp = 0 if prtp > -100 & prtp < 100
reg scc prtp0 prtp1 prtp2 prtp3 eis year [iweight=cq]
*table 3
*countries
encode country, gen(ctr)
reg scc prtp eis year i.ctr [iweight=cq]
outreg2 using countries.tex
reg prtp year i.ctr [iweight=cq]
outreg2 using countries.tex
reg eis year i.ctr [iweight=cq]
outreg2 using countries.tex
reg impact year i.ctr [iweight=cq]
outreg2 using countries.tex
reg scccited year i.ctr [iweight=cq]
outreg2 using countries.tex
*table 2
*journals
gen EER = 0
replace EER = 1 if journal=="EER"
gen ERL = 0
replace ERL = 1 if journal=="ERL"
gen EcL = 0
replace EcL = 1 if journal=="EcL"
gen CP = 0
replace CP = 1 if journal=="CP"
gen CCE = 0
replace CCE = 1 if journal=="CCE"
gen AEJEP = 0
replace AEJEP = 1 if journal=="AEJEP"
gen EnP = 0
replace EnP = 1 if journal=="EnP"
gen Ejrn = 0
replace Ejrn = 1 if journal=="Ejrn"
gen EcE = 0
replace EcE = 1 if journal=="EcE"
gen AER = 0
replace AER = 1 if journal=="AER"
gen PNAS = 0
replace PNAS = 1 if journal=="PNAS"
gen JAERE = 0
replace JAERE = 1 if journal=="JAERE"
gen NCC = 0
replace NCC = 1 if journal=="NCC"
gen JEEM = 0
replace JEEM = 1 if journal=="JEEM"
gen CC = 0
replace CC = 1 if journal=="CC"
gen ERE = 0
replace ERE = 1 if journal=="ERE"
reg scc prtp eis year EER ERL EcL CP CCE AEJEP EnP Ejrn EcE AER PNAS JAERE NCC JEEM CC ERE [iweight=cq]
outreg2 using journals.tex
reg prtp year EER ERL EcL CP CCE AEJEP EnP Ejrn EcE AER PNAS JAERE NCC JEEM CC ERE [iweight=cq]
outreg2 using journals.tex
reg eis year EER ERL EcL CP CCE AEJEP EnP Ejrn EcE AER PNAS JAERE NCC JEEM CC ERE [iweight=cq]
outreg2 using journals.tex
reg impact year EER ERL EcL CP CCE AEJEP EnP Ejrn EcE AER PNAS JAERE NCC JEEM CC ERE [iweight=cq]
outreg2 using journals.tex
reg scccited year EER ERL EcL CP CCE AEJEP EnP Ejrn EcE AER PNAS JAERE NCC JEEM CC ERE [iweight=cq]
outreg2 using journals.tex
*not used
reg scc prtp eis year scccited [iweight=cq]
qreg scc prtp eis year scccited [iweight=cq], quantile(0.1)
qreg scc prtp eis year scccited [iweight=cq], quantile(0.3)
qreg scc prtp eis year scccited [iweight=cq], quantile(0.5)
qreg scc prtp eis year scccited [iweight=cq], quantile(0.7)
qreg scc prtp eis year scccited [iweight=cq], quantile(0.9)
reg scc prtp eis year scccited impact [iweight=cq]
reg scc prtp eis year impact [iweight=cq]
reg scc prtp eis impact year [iweight=cq]
outreg2 using emulator.xls
esttab e(V) using vc.csv, replace
qreg scc prtp eis impact year [iweight=cq], quantile(0.05)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.1)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.15)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.2)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.25)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.3)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.35)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.4)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.45)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.5)
outreg2 using emulator.xlsf
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.55)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.6)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.65)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.7)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.75)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.8)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.85)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.9)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append
qreg scc prtp eis impact year [iweight=cq], quantile(0.95)
outreg2 using emulator.xls
esttab e(V) using vc.csv, append