The problem with your suggestion is that it sums up the values if skill=fishing over all states. What I need is that fishing and hunting are summed up in one state.
I solved the issue with a loop. However, it would be interesting to know if it was necessary.
Search found 9 matches
- Thu Mar 28, 2019 2:32 am
- Forum: Data Manipulation
- Topic: Combine @sumsby with sample command
- Replies: 6
- Views: 5472
- Wed Mar 27, 2019 9:45 am
- Forum: Data Manipulation
- Topic: Combine @sumsby with sample command
- Replies: 6
- Views: 5472
Re: Combine @sumsby with sample command
I need to create a new series that sums up several observations at every point in time. In your example, that would be something like: series SUM = CA_fishing + CA_hunting but other skills in CA (e.g. CA_farming) must not be included in the summation. The series SUM then contains the same value for ...
- Wed Mar 27, 2019 9:19 am
- Forum: Data Manipulation
- Topic: Combine @sumsby with sample command
- Replies: 6
- Views: 5472
Re: Combine @sumsby with sample command
That is not exactly what I need.
I have a state-skill combination as the cross-sectional dimension. Now I wish to sum up the values of a series for some of the skills in one state at one point in time.
I have a state-skill combination as the cross-sectional dimension. Now I wish to sum up the values of a series for some of the skills in one state at one point in time.
- Wed Mar 27, 2019 8:23 am
- Forum: Data Manipulation
- Topic: Combine @sumsby with sample command
- Replies: 6
- Views: 5472
Combine @sumsby with sample command
Is it possible to combine the @sumsby command with the sample command? I wish to sum over a subgroups in one period in a panel-data set.
- Tue Dec 11, 2018 1:20 am
- Forum: Estimation
- Topic: Sort regression output
- Replies: 5
- Views: 4791
Re: Sort regression output
As suggested, I created a dummy series for each period. However, now I cannot simply use something like
Is it really necessary to write a program to get the the interaction?
Code: Select all
time_fe*dummy
Is it really necessary to write a program to get the the interaction?
- Mon Dec 10, 2018 3:16 am
- Forum: Estimation
- Topic: Sort regression output
- Replies: 5
- Views: 4791
Re: Sort regression output
Quick follow up on this one: How can I specify a specific period instead of the first one? This @expand(@month*@year,@drop(@month*@year={number})) command produces the near singular matrix problem, it works fine if I use @dropfirst instead.{number} is the value of the product of @month*@year, e.g. {...
- Thu Dec 06, 2018 3:43 am
- Forum: Estimation
- Topic: Sort regression output
- Replies: 5
- Views: 4791
Re: Sort regression output
Some feedback would be great.
- Tue Dec 04, 2018 7:59 am
- Forum: Estimation
- Topic: Sort regression output
- Replies: 5
- Views: 4791
Sort regression output
I use the dummy*@expand(@year*@month,@dropfirst) command to interact a dummy with a bunch of time dummies. I was wondering if there is any way to sort the regression output without coping everything to Excel? Eviews sorts the output according to the product of @month*year which is rather useless if ...
- Wed Nov 28, 2018 8:30 am
- Forum: Estimation
- Topic: Clustered SE
- Replies: 0
- Views: 2821
Clustered SE
The White estimators described here http://www.eviews.com/help/helpintro.html#page/content%2Fpool-Pooled_Estimation.html%23ww187927%20allow%20clustering allow clustering over periods or cross sections. I believe the clustering takes place on the lowest level. Is it possible to cluster on higher leve...