Hi, my empirical strategy is as follows:
1. Apply coarsened exact matching to get weights
cem all_controls, treatment(cem_weights_from_step1)
2. Run xtreg with random effects but using mle option as it is the only that accepts weights estimated from step 1. As follows:
xtreg log_prices Covariates, re [iweight=cem_weights_from_step1]
Results are pretty cool but command from step 2 does not report/calculate R-squared. For comparability purposes with other estimations I need it. Is there any way to calculate it manually?
Best,
Mario
Related Posts with Panel Random Effects/MLE, rho and R-squared
Fairlie decompositionHello, I am using the fairlie STATA module for decomposition (https://ideas.repec.org/c/boc/bocode/…
Questions about Data SettingDear Statalist, I am now setting the data to write the DID. However, there is a problem with the ar…
Marginsplot, addplot - adjustmentHello, using the command: - marginsplot, addplot(hist...)-, I got this graph: Array I would like to…
Issue with three-dimensional panel data analysisHi, I am new with STATA and I would like some advice for the following problem: I am dealing with p…
Twoway line by countyHi everyone, For my Panel Data descriptive Analysis I am trying to graph the development of Chargin…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Random Effects/MLE, rho and R-squared
Post a Comment