Creating simple series 1 to 48

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

davey87
Posts: 24
Joined: Tue Feb 05, 2013 12:18 pm

Creating simple series 1 to 48

Postby davey87 » Mon Dec 16, 2013 8:51 am

Hello,

I think this is a simple request...

I want to create an index series called "index" within EViews with 48 observations, numbered 1 to 48 spanning from 1986 to 2036

So:

1986 = 1
1987 = 2
1988 = 3
.
.
.
2036 = 48

Can't seem to figure out a simple way to do this.

Hope you can help.

Thanks

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Creating simple series 1 to 48

Postby startz » Mon Dec 16, 2013 8:54 am

Look in the help system for the function @trend.

davey87
Posts: 24
Joined: Tue Feb 05, 2013 12:18 pm

Re: Creating simple series 1 to 48

Postby davey87 » Mon Dec 16, 2013 10:24 am

Worked perfectly. Thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests