areg
Moderators: EViews Gareth, EViews Moderator
-
- Posts: 202
- Joined: Tue Jul 17, 2012 9:47 am
areg
Can I suggest something similar to Stata's areg in EViews (or to increase the default size of C)? I keep bumping into the wall using @expand on a categorical with a large number of categories using the default coef vector and i really dont want to estimate an equation by expression with 1500 categories with a custom coeff vector.... the only real feasible solution I can think of is to COM out to matlab, which isn't ideal (maybe there's a better way however?)
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: areg
What does areg do?
You don't need to estimate by expression to use a custom coef vector. You can estimate by list then change the name of the coefficient vector on the options tab.
You don't need to estimate by expression to use a custom coef vector. You can estimate by list then change the name of the coefficient vector on the options tab.
Follow us on Twitter @IHSEViews
-
- Posts: 202
- Joined: Tue Jul 17, 2012 9:47 am
Re: areg
Even when using @expand? I keep getting "Too many index series in @expand" even when using a custom set coef. In stata, areg 'absorbs' categorical variables with a large number of categories, producing estimates for explanatory variables but not category (dummy) coefficients.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: areg
Code: Select all
wfcreate u 10000
series i = @floor(rnd*2000)
series y=nrnd
coef(2100) beta
equation eq1.ls(coef=beta) y @expand(i)
That has 2000 coefficients and works just fine.
Follow us on Twitter @IHSEViews
-
- Posts: 202
- Joined: Tue Jul 17, 2012 9:47 am
Re: areg
Sorry -- was expanding a group which was already expanded. .
However, still cheering for an AREG option!
However, still cheering for an AREG option!
-
- EViews Developer
- Posts: 2671
- Joined: Wed Oct 15, 2008 9:17 am
Re: areg
Noted.
You can, of course, to define an undated panel using the categorical variable as the ID series. That will provide you with access to all of the tools of panels, including clustered standard errors.
You can, of course, to define an undated panel using the categorical variable as the ID series. That will provide you with access to all of the tools of panels, including clustered standard errors.
Return to “Suggestions and Requests”
Who is online
Users browsing this forum: No registered users and 13 guests