---------- Forwarded message ----------
From:
Carlos <carlosh...@gmail.com>
Date: Thu, Jun 16, 2011 at 6:39 PM
Subject: Re: Hessian is singular
To: Richard Chandler <
richard....@gmail.com>
Dear all,
I´ve gotten the same problem (“Error: Hessian is singular. Try using
fewer covariates.”). Nevertheless, the situation is quite different.
It happened in pcount function and by using continuous covariable.
The null model worked properly as well as other models. Nevertheless,
the covarible “forest” is similar with other ones and it doesn´t work,
even using only it. It is not possible use less covariable otherwise
it becomes the null model.
Regard to Richard´s advice for dummy covariable (provide starting
values), the solution I tried for continuous covariable neither work
nor I found specific post in this forum about it. Sorry for the basic
questions and for recovering this subject again. Every comment for
this case (detailed below) would be very helpful.
Thank you very much, Carlos.
THE PROBLEM:
> javaMforest=pcount(~1~forest.nat,java.winter,K=24)
DATA:
> summary(java.winter)
unmarkedFrame Object
91 sites
Maximum number of observations per site: 30
Mean number of observations per site: 27.25
Sites with at least one detection: 25
DETAILED DATA:
Point count data of wild boar per day with camera trap , during at
maximum of 30 days on. That is, max. 30 observed replication
(occasions). The missing data (NA) happened due to camtrap
malfunctions. The total independent site was 91.
The sites were grouped in 6 regions with different conditions. An
important detail: The project was replicated 2 times within 1 year
interval. The “year” was treated as a dummy covariable. So that, all
data set was treated as closed population, because I´m interested in
the avagered population size of each region/year instead of
colonization and extinction by site. It was also unable to keep the
same site location every year for colext function. Nevertheless,
criticism about it is very welcome.
K estimated by:
> max(java.y, na.rm = T)+20
[1] 24
> str(java.winter)
Formal class 'unmarkedFramePCount' [package "unmarked"] with 5 slots
..@ y : int [1:91, 1:30] 0 0 0 0 0 0 0 0 0 0 ...
.. ..- attr(*, "dimnames")=List of 2
.. .. ..$ : NULL
.. .. ..$ : chr [1:30] "V1" "V2" "V3" "V4" ...
..@ obsCovs : NULL
..@ siteCovs:'data.frame': 91 obs. of 8 variables:
.. ..$ site : Factor w/ 57 levels "3B1004","3B1005",..: 7 9 10
1 2 3 4 5 6 11 ...
.. ..$ hist : int [1:91] 5 5 5 5 5 5 5 5 5 4 ...
.. ..$ head : Factor w/ 4 levels "0,02","0,03",..: 4 4 4 4 4 4
4 4 4 1 ...
.. ..$ ranch : Factor w/ 2 levels "0,00","0,01": 2 2 2 2 2 2 2 2
2 1 ...
.. ..$ forest.nat: Factor w/ 48 levels "0,00","0,04",..: 37 2 3 44
42 34 45 19 29 38 ...
.. ..$ forest.exo: Factor w/ 27 levels "0,00","0,01",..: 1 27 26 1 1
1 1 23 1 1 ...
.. ..$ crop : Factor w/ 38 levels "0,00","0,01",..: 16 3 4 9 10
19 7 1 17 14 ...
.. ..$ year : int [1:91] 0 0 0 0 0 0 0 0 0 0 ...
..@ mapInfo : NULL
..@ obsToY : num [1:30, 1:30] 1 0 0 0 0 0 0 0 0 0 ...
On 2 nov 2010, 11:30, Richard Chandler <
richard.chandl...@gmail.com>
wrote: