Re: [R] Error in eigen(a$hessian) : infinite or missing values in 'x'

2011-11-07 Thread Uwe Ligges



On 05.11.2011 15:08, Kristian Lind wrote:

Dear R-users,

I'm estimating a two- dimensional state-space model using the FKF package.
The resulting log likelihood function is maximized using auglag from the
Alabama package. The procedure works well for a subset of my data, but if I
try to use the entire data set I get the following error message.

Error in eigen(a$hessian) : infinite or missing values in 'x'

What's even more confusing is that if I estimate the model for a sample say
data[1:200,] then there's convergence. If I estimate it for data[1:300, ]
then I get the error message.



Since there is a missing or infinite value in it?


But if I estimate the model for
data[201,300]  it once again converges.


data[201,300] is exactly one entry (row 201, column 300).

Uwe Ligges




Can anyone please enlighten me;  where does this error stem from and what
can I do about it?

Thank you in advance.

Kristian

[[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.


__
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.


[R] Error in eigen(a$hessian) : infinite or missing values in 'x'

2011-11-05 Thread Kristian Lind
Dear R-users,

I'm estimating a two- dimensional state-space model using the FKF package.
The resulting log likelihood function is maximized using auglag from the
Alabama package. The procedure works well for a subset of my data, but if I
try to use the entire data set I get the following error message.

Error in eigen(a$hessian) : infinite or missing values in 'x'

What's even more confusing is that if I estimate the model for a sample say
data[1:200,] then there's convergence. If I estimate it for data[1:300, ]
then I get the error message. But if I estimate the model for
data[201,300]  it once again converges.

Can anyone please enlighten me;  where does this error stem from and what
can I do about it?

Thank you in advance.

Kristian

[[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.