How to use Pivottable functions from excel in eviews
Posted: Wed Jun 17, 2015 9:48 am
Hi all,
I would like to create a series based on two other series. e.g. the two series is similar to this:
SeriesA SeriesB
1 A
2 B
3 C
4 D
2 E
2 F
2 G
3 H
3 I
The new series I would like is one that counts how many observations in SeriesB corresponding to the observations in SeriesA. it would look like this:
SeriesNEW
1
4
3
1
4
4
4
3
3
In excel, I would use the pivot table, and place series A on the rows, and series B on the values. And the counts would be generated. But since I am using an extremely large dataset, I am unable to use excel and import it into eviews.
I hope its clear, thanks in advance!
I would like to create a series based on two other series. e.g. the two series is similar to this:
SeriesA SeriesB
1 A
2 B
3 C
4 D
2 E
2 F
2 G
3 H
3 I
The new series I would like is one that counts how many observations in SeriesB corresponding to the observations in SeriesA. it would look like this:
SeriesNEW
1
4
3
1
4
4
4
3
3
In excel, I would use the pivot table, and place series A on the rows, and series B on the values. And the counts would be generated. But since I am using an extremely large dataset, I am unable to use excel and import it into eviews.
I hope its clear, thanks in advance!