quantile regression, different sparsity

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

quantile regression, different sparsity

Postby maxchen » Fri Jun 10, 2011 2:18 am

ver: EViews7Patch_060211.exe

try the following code

Code: Select all

%ex7 = "\Example Files\EV7 Manual Data\" %ch28 = "Chapter 28 - Quantile Regression" %wf = @evpath + %ex7 +%ch28 +"\engel.wf1" wfopen %wf equation eq12.qreg(cov=iid) y c x equation eq13.qreg(cov=sandwich) y c x
then eq12 and eq13 produce the same coef estimation, save Objective and Restri Objective.
And report the same method for sparsity
Sparsity method: Kernel (Epanechnikov) using residuals
Bandwidth method: Hall-Sheather, bw=0.15744

however, the value of sparsity is different, and thus produce different QLR.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: quantile regression, different sparsity

Postby EViews Glenn » Fri Jun 10, 2011 9:37 am

Thanks, we'll take a look.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: quantile regression, different sparsity

Postby EViews Glenn » Fri Jun 10, 2011 10:40 am

It's not documented clearly in the manual, but the Welsh method of estimating the kernel sparsity is used when you are not computing sandwich covariances, while the Powell method is used when you are computing the kernel using the sandwich covariances. The Powell is specifically designed to handle the non-iid data under the latter assumption. Both are described in the documentation, though we are somewhat vague about when each is used.

I'll see about putting additional messaging in the output to distinguish between the two cases and for adding to the manual description.

Thanks for pointing this out.

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

Re: quantile regression, different sparsity

Postby maxchen » Fri Jun 10, 2011 5:36 pm

Thanks for the replying.
one more question, when there is inid, each i has a sparsity, what is the sparsity reported in the output of qreg then?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: quantile regression, different sparsity

Postby EViews Glenn » Mon Jun 13, 2011 9:28 am

As I said, it's the Powell estimator; it's described in technical documentation. You should think of it as an analogue of the White estimator.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests