Hi,
I used function StructTS some time ago to fit a structural model to a time
series.
Now with R 1.6.2-1 I repeated the analysis with the same series and I get the
following error:
Error in KalmanLike2(y, Z, -1) : invalid argument type
I tried with other series and I get the same error; I
On Tue, 28 Jan 2003, Susana Barbosa wrote:
> I used function StructTS some time ago to fit a structural model to a time
> series.
>
> Now with R 1.6.2-1 I repeated the analysis with the same series and I get the
> following error:
>
> Error in KalmanLike2(y, Z, -1) : invalid argument type
>
Thank you for your reply.
I am sending a sample time series (not too long I hope!).
With the input:
load("ts1")
StructTS(ts1, type="BSM")
I get the following error:
Error in KalmanLike2(y, Z, -1) : invalid argument type
Thank you!
Susana Barbosa
(R installed from rpm - Linux Mandrake 9.0)
De
Your series is made up of integers, not doubles. Try
> storage.mode(ts1) <- "double"
and it will work. I don't think anything has changed here since 1.5.0.
On Tue, 28 Jan 2003, Susana Barbosa wrote:
>
> Thank you for your reply.
> I am sending a sample time series (not too long I hope!).
>
> Your series is made up of integers, not doubles. Try
>
> > storage.mode(ts1) <- "double"
>
> and it will work. I don't think anything has changed here since 1.5.0.
>
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/
Problem solved.
Thank you!
Susana
(sorry for double posting) :-)
> Your series is made up of integers, not doubles. Try
>
> > storage.mode(ts1) <- "double"
>
> and it will work. I don't think anything has changed here since 1.5.0.
>
__
[EMAIL PROT