uniNmix-methods {jointNmix} | R Documentation |
Methods for univariate Nmix objects
Description
Fitted values, residual extraction, simulation and print method for univariate N-mixture models
Usage
## S3 method for class 'uniNmix'
fitted(object, ...)
## S3 method for class 'uniNmix'
print(x, round = TRUE, ...)
## S3 method for class 'uniNmix'
residuals(object, type = c("ordinary", "standardized"), ...)
## S3 method for class 'uniNmix'
simulate(object, ...)
Arguments
object , x |
fitted model object |
round |
logical. Round the estimates? |
type |
type of residuals to be returned. May be ordinary or standardized |
... |
not used |
Details
fitted.uniNmix
prints the fitted values for the model fit; residuals.uniNmix
returns the ordinary (
r_i^o=y_i-\hat{\mu}_i
) or standardized (
r_i^s=\frac{y_i-\hat{\mu}_i}{\mbox{Var}(Y_i)}
) residuals; simulate.uniNmix
simulates one sample from the fitted model.
Author(s)
Rafael A. Moral <rafael_moral@yahoo.com.br>, Clarice G. B. Demétrio and John Hinde
See Also
[Package jointNmix version 1.0 Index]