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
how to generate sequence integer starting from 0 (by group)Hi, I have a panel data set and try to generate sequence numbers by group but the numbers starting f…
How can i convert a *.dsv file into a *.dta file?Hi I would like to work with a dataset of the recent president's election in Argentina. But I could…
Stata doesn't perform function. Do i have to change stata to another program?Dear statalist. I have data 2,000,000 observation. My stata version is 14 MP 8 core. My labtop Intel…
Using rcap scatter but can't figure out how to get 2 different colors of markersHi all, moderately new Stata user here using Version 15.1. I have two groups (male and female) to b…
Amemiya-Lee-NeweyI having problems using Amemiya-Lee-Newey test after ivprobit with in regression with 2 instruments.…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Random Effects/MLE, rho and R-squared
Post a Comment