How to deal with frequency weight??

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

bokchy
Posts: 2
Joined: Sun Apr 09, 2017 11:13 pm

How to deal with frequency weight??

Postby bokchy » Mon Apr 17, 2017 10:33 pm

Hi,

I'm trying to run simple OLS, Y = b0 + b1*X.
And what I want to ask is about treating input data with "frequency" weight.

My data is as follows.

x y _freq_
1 10 1
5 20 3
2 35 2
3 15 1


Above data seems to have 4 observations.
However it has actually 7 observations, considering the frequency.

...like follows.

x y _freq_
1 10
5 20
5 20
5 20
2 35
2 35
3 15

So, is there any option to use under the 'frequency' weight ?


Thanks.

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

Re: How to deal with frequency weight??

Postby EViews Glenn » Tue Apr 18, 2017 12:56 pm

Least squares doesn't support frequency weights, but GLM does. You can estimate an equivalent model using GLM and the default normal family and identity link .

equation eq1.glm(fwgt=_freq_) y x c


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests