by jhines » Fri Mar 08, 2013 8:58 am
Covariate values can be negative, and there are no limits on the values that they can take. That said, the optimization routine in PRESENCE will sometimes have trouble when there is a wide range in the covariates. (It is due to the transformation function taking the exponential of very large positive or negative values.) In cases where this happens, you can 'scale' the covariates to reduce the range of values without changing the models. When you 'scale' a covariate, you simply divide the covariate by a constant, resulting in the associated beta parameter being multiplied by a constant such that the product of the two is the same. So if your covarite ranges from -50 to 5000, and you divide by 100, the new covariate will range from -0.5 to 50. If the beta estimate associated with that covariate was 0.0123 with the un-scaled covariate, the beta estimate for the scaled covariate would be 1.23. All 'real' parameters (psi, p, eps,...) will remain unchanged. The advantage of scaling covariates is that it's easy to convert the beta's back to what they would have been with the original covariates, however, the actual values of the beta estimates are not usually all that interesting. What most people are interested in is the value of the beta estimate relative to it's standard error. So, if the beta estimate is 'significantly' different from zero for the un-scaled covariate, it will be 'significant' with the scaled covarite as well. It's the same as changing the units, which are arbitrary anyway.
The 'normalize' option is similar to the 'scale' option except that it computes the mean and standard deviation of the covariate and computes a new covariate by subtracting each covariate value from the mean and dividing by the standard deviation. This results in covariate values which are centered around zero and range from approximately -2.0 to 2.0. As with scaling, the result will be that the beta estimates will be altered, but the value of the beta estimates relative to their estimated standard errors will be the same, and the 'real' parameters will be the same. This option tends to perform better in cases where scaling doesn't work.
If you're still having trouble with convergence after trying one of these options, check the data to make sure you have at least some variation in the covariates with respect to the estimates. For example, if all sites have detections, then occupancy will be estimated as 1.0, and can't vary with respect to any covariate. Or, if detections only happen when a covariate has one particular value and non-detections happen for all other values of the covariate, there probably won't be enough variation in the covariate to model detection as a function of that covariate.
Jim