Respected STATA Users,
I am aware that, -qregplot- command allows inclusion of "ols" option for plotting OLS confidence intervals. This helps in visualisation and drawing inference about whether there is statistically significant difference between quantile regression estimates using, say, -qreg2- and the corresponding OLS estimates. For example, in my dataset the following codes works fine.
My question, though is, regarding incluson of confidence intervals from OLS estimation with vce(cluster clusterid) or with vce(robust) options, for better comparison. Is there any code which enables me to do so? I being the novice, attempted with the following code, which yielded errors.
I would really appreciate any suggestions regarding the correct way to proceed. Especially, I want to include confidence intervals from OLS estimation carried out with clustered standrad error, i.e., vce(cluster clusterid) option in conjunction with my quantile plots. Please help.
Thanks and regards
pankaj
I am aware that, -qregplot- command allows inclusion of "ols" option for plotting OLS confidence intervals. This helps in visualisation and drawing inference about whether there is statistically significant difference between quantile regression estimates using, say, -qreg2- and the corresponding OLS estimates. For example, in my dataset the following codes works fine.
Code:
qregplot Pub_Dummy CRAR RiskLev GNPA PCR NIM CorpLoan ContLiab OpEff Size ROA GDPGr GsecYld CMR EPUInd CPInfl ExcUSD, ols
Code:
. quietly qreg2 $ylist $xlist, cluster(BankID) qregplot Pub_Dummy CRAR RiskLev GNPA PCR NIM CorpLoan ContLiab OpEff Size ROA GDPGr GsecYld CMR EPUInd CPInfl ExcUSD, ols cluster(BankID) option cluster() not allowed If the above message is not useful, please contact me at [email protected]
Thanks and regards
pankaj
Comment