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
Inlist Expression too longHi guys, I am a Stata beginner and have a problem in generating a dummy called aggregate. I tried i…
date differences using max values where ID values are duplicateHere is the master data I have. Code: * Example generated by -dataex-. To install: ssc install dat…
Blank estimation values with non linear least squaresDear experts, For my master thesis I'm trying to replicate the results of Boswijk, Hommes and Manza…
Calculating compound annual growth rate using the 10 most recent yearsDear all, I am working with a country-year unbalanced panel dataset where I have data for 42 countr…
Is it necessary to use the unit root test before estimation?hi I have micro panel data t = 7 years N=35 i'll use GMM Is it necessary to use the unit root test b…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Random Effects/MLE, rho and R-squared
Post a Comment