Good evening,
I am trying to estimate a fixed-effects model using xtreg command in stata 17.0.
My econometric model is as under:
ki,t - ki,t-1 (1 - ΛhatZi,t-1 ) = β [(ΛhatZi,t-1 ) Xi,t-1] + ηi,t
where ΛhatZi,t-1 are estimated values from a pooled regression.
I generate the LHS variable using the generate command and then try to use the following command:
xtreg LHS_thirdstep [c.soa_tier2_nocons1#( i.l.state1nonstate0 c.l.size c.l.profitability_w c.l.provforNPA_to_net_advances_w ///
c.l.net_advances_to_assets_w c.l.market_funding_w i.l.Listeddummy1iflisted)] Y5-Y20, fe vce(robust)
I get the following error: "c.soa_tier2_nocons1 unknown weight type"
Does this mean that I must manually generate all the interaction terms on RHS for my econometric model before trying to use xtreg?
I'm trying to follow the methodology in Jiang et al. (2019)
Jiang, C., Liu, H., & Molyneux, P. (2019). Do different forms of government ownership matter for bank capital behavior? Evidence from China. Journal of Financial Stability, 40, 38–49. https://doi.org/10.1016/j.jfs.2018.11.005
Thanks and regards.
Related Posts with Using Interaction terms of independent variables and estimated values in fixed-effects regression using xtreg
Generate random points from a given point coordinatesHi, I have a database of coordinates (lat, lon) and I would like to randomly generate a set of new …
Error Component Random Parameter Logit Model with Correlated Errors in STATA 16Hi everyone, I am trying to estimate an Error Component Random Parameter Logit Model with Correlated…
Am I correct with the tow step GMM syntax?Hello dear Stata users, I am doing research on working capital management and firm performance with…
testing validity with cmp approachDear all, I am estimating an IV-oprobit using the cmp command. How can I test the validity of my in…
group data in a panel setDear Statalist, Here is a part of the sample data, which shows the gender of each employee in 3500 …
Subscribe to:
Post Comments (Atom)
0 Response to Using Interaction terms of independent variables and estimated values in fixed-effects regression using xtreg
Post a Comment