Hi,
I am working with panel data, using cross-sectional GLS weights in a least squares regression.
I know that the option "keepwgts" stores the vector of weights, but I can't figure out how to extract these values from the equation object.
Thank you,
Rachel
Extract Panel GLS Weights
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
Simon_Banbury
- Posts: 1
- Joined: Tue Sep 27, 2016 9:40 am
Re: Extract Panel GLS Weights
Hi - Did you ever find a way around this. Got the same problem at the moment.
Simon
Simon
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Extract Panel GLS Weights
There's currently no function to expose those weights. The easiest thing to do is to estimate the model without GLS weights, save the residuals, then compute the variances by cross-section using the @varsby function. It's quite straightforward.
Who is online
Users browsing this forum: No registered users and 2 guests
