Dear all,
I am analysing merges and acquisition investments using a country level bilateral panel dataset. I would like to apply a quantile regression, using the approach proposed by Chernozhukov and Hong (2003) "An MCMC approach to classical estimation", Journal of Econometrics 115, pp. 293-346. So far so good, thanks to the mcmccqreg command by STATA. What I am interested in is the trend of the coefficients of my two explanatory variables of interest across different quantiles of my dependent variable.
My typical regression takes the following form (I take the median as reference quantile in my example)
where my variable of interest are ln_cul_imp and ln_cul_exp. min_uncensored_2 is the censoring variable, defined as the minimum non censored value of investments' flow between two countries at time t. Following Head and Mayer (2014) "Gravity equations: Workhorse, toolkit, and cookbook." in the Handbook of international economics. Vol. 4. Elsevier, 2014. 131-195, the dependent variable (log_inv_resc_censored) is computed as the logarithm of the maximum between the censoring value and the actual value of investments.
Nonetheless, I have a few question about this command output:
Thanks in advance for any advice,
Best
Filippo
I am analysing merges and acquisition investments using a country level bilateral panel dataset. I would like to apply a quantile regression, using the approach proposed by Chernozhukov and Hong (2003) "An MCMC approach to classical estimation", Journal of Econometrics 115, pp. 293-346. So far so good, thanks to the mcmccqreg command by STATA. What I am interested in is the trend of the coefficients of my two explanatory variables of interest across different quantiles of my dependent variable.
My typical regression takes the following form (I take the median as reference quantile in my example)
Code:
xi: mcmccqreg log_inv_resc_censored ln_cul_imp ln_cul_exp ln_dist colony comlang_ethno comrelig contig comleg_pretrans fta_wto i.origin_time i.dest_time, tau(.75) censorvar(min_uncensored_2)
Code:
* generate dependent variable gen min_uncensored_2 = . forvalues y = 1995(1)2011 { sum inv_rescaled if inv_rescaled > 0 & year == `y' replace min_uncensored_2 = r(min) if year == `y' scalar min_`y' = ln(r(min)) } gen log_inv_censored = ln(max(tot_inv, min_uncensored))
- I got this message at the beginning of the estimation: "Caution!!! Observations censored at tau-th percentile!\n. Interpret results with extreme caution... " . What does this imply?
- How should I interpret the final message returned once results are displayed: "Results are presented to conform with STATA conventions, but are summary statistics of draws, not coefficients estimates"? I guess that the outcomes should not be interpreted as coefficients. How could I do to get the coefficients? Or, alternatively, how could I safely interpret the outcomes?
- Finally, and related to point (2.), I would like to plot the coefficients estimates of two variables of interest at different quantiles of my dependent variables. Does any built in command exist? If it does not, any advice on how to do it?
Thanks in advance for any advice,
Best
Filippo
Comment