I'd suggest you read the documentation on Fstats by typing
? Fstats
in your R window. You'll note that from/to are not "time"
arguments but
rather indices of the object being passed in. This is the source of your
problem: the documentation also suggests that if you pass from a two-value
vector it will work with it as a time series. That might be what you are
looking for as well.
Hope this helps,
Michael
On Tue, Sep 13, 2011 at 2:38 AM, Vikram Bahure
<economics.vikram@gmail.com>wrote:
> Hi,
>
> I am new to R. It would be kind if I could get some help on this.
>
> I am using R to estimate Fstats but I am getting following error. a3 is
> annual GDP data from 1951 to 2010.
>
> > fs<- Fstats(ecm.model, from=1954, to = 1975,data=a3)
> Error in Fstats(ecm.model, from = 1954, to = 1975, data = a3) :
> inadmissable change points: 'from' is larger than 'to'
> In addition: Warning message:
> In Fstats(ecm.model, from = 1953, to = 1955, data = a3) :
> 'to' changed (was too large)
>
> Regards
> Vikram
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]