Hi!
I am trying to analyse detection/nondetection data using a single-season site occupancy model but NaNs are produced and I don't know what to do.
I have 238 sites, with 20 observations each year, something like this:
Site Hab:
1 0 0 0 0 NA NA 0 0 0 NA 0 0 0 0 0 0 1 0 0 0 Forest
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 Mountain
3 0 0 NA 0 0 1 0 0 0 0 0 0 0 0 0 0 0 NA 0 1 0 Marsh
...
The habitat variable has a total of five different levels.
Summary of the model:
Call:
occu(formula = ~obs.habitat.2011 ~ 1, data = umf, knownOcc = row2011)
NaNs producedOccupancy (logit-scale):
Estimate SE z P(>|z|)
26.3 NaN NaN NaN
Does anybody know the cause of why NaNs are produced, both in general and in my case?
Can it be that I do not have enough data in my study to be able to extract the influence of habitat on detection probability?
Any help would be much appreciated
Markus