Page 1 of 1

generate broken trend

Posted: Mon Jan 04, 2016 8:07 am
by ch2324
hi
i have 708 obs, i would like to genrate trend from obs 100 to take ( 1 2 3...), the problem the trend starts with 100 101 102....., :cry:
are there a command to do this in simple way?

Code: Select all

smpl 1 99 series t1=0 smpl 100 708 series t1=@trend+1 smpl @all

Re: generate broken trend

Posted: Mon Jan 04, 2016 8:48 am
by EViews Gareth
Rather than adding 1 to @trend, why not subtract 99? :)

Re: generate broken trend

Posted: Mon Jan 04, 2016 9:07 am
by ch2324
thanks a lot :D