Hi,Is the following code true for the m jones model? data: 2010-2017 for 35 country and 24 industry
I think that in case of more than one country, country factor should be taken into consideration in addition to firm-industry.
Thank you for your contributions.
xtset firm date, yearly
gen dREC = d.REC
gen dREV = d.REV
gen lA = l.A
gen TACC = TA/lA
gen term1 = 1/lA
gen term2 = (dREV - dREC)/ lA
gen term3 = PPEG / lA
tabulate industry, gen(d_dum)
egen ccode = group(country)
gen Jones_1995_TAC3=.
forval y = 2011(1)2017{
forval i = 1(1)35{
display `i'
display `y'
reg TACC term1 term2 term3 d_dum1-d_dum24 if `i'== ccode&`y'== date
predict residd if `i'== ccode&`y'== date
replace Jones_1995_TAC3=residd if `i'== ccode&`y'== date
drop residd
}
}
Related Posts with M Jones Model
xtcsd Command ErrorHi Dear, While running xtcsd, pesaran abs I get the following error unknown egen function group() …
building a continuous year variableDear all, Following is my dataset: Code: * Example generated by -dataex-. To install: ssc instal…
IV blows up coefficientsDear Stata Users Comparing a RE (xtreg, re) with and IV (xtivreg, re) model, I receive quite large …
Extract Monte Carlo results from MataDear all, I am doing a 2000 times monte carlo simulation of two-stage least square estimation with …
Problem with merging datasets - Variables do not uniquely identifyHi, I'm new to the forum, so I'm just learning the ropes around here. English is not my first langu…
Subscribe to:
Post Comments (Atom)
0 Response to M Jones Model
Post a Comment