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
Correlation matrixHello, I would like to do the correlation matrix between variables P_1, P_5, P_10 P_15, F_1, F_5, F…
How do I construct an index based on imputed variables using Stata? Hi all, I am looking to construct an index (ranging from 0 to 1) describing how positively the sur…
-xtoverid- or Variable Addition Test (VAT)Dear community, after having found heteroscedasticity and autocorrelation in my panel data, I accou…
How to display a descriptive table for all items of an item set, presenting percentages for each response category?Dear all, I am stuck at a problem, although the solution should be straightforward. I have several…
Simple for-dummies examples of using scons with StataDear Statalisters, I was wondering if anyone knew of or could share some simple "for-dummies" examp…
Subscribe to:
Post Comments (Atom)
0 Response to M Jones Model
Post a Comment