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
oaxaca_rif with bootstrap standard errors and probability sample wiehgtsDear all, I implement user written command oaxaca_rif, which preforms Oaxaca Blinder decomposition …
logout with fix()Hello, I read that when using -logout- I can add fix(#) to adjust the sensitivity of fix method, and…
Option "in" for serrbar graph (multilevel model)Hello, I have made a multilevel model for which I want to plot the effects of one of the levels, wh…
Working with large datasets, saving the dta files with different names in a loopDear all, I am working with several csv. file each having a size between 700 MB to 2 GIG. I need to…
descriptive statistics in putexcel after summarizeDear Statalister, I would to create a table containing the descriptive statistics of a large number…
Subscribe to:
Post Comments (Atom)
0 Response to M Jones Model
Post a Comment