uniNmix-methods: Methods for univariate Nmix objects

Description Usage Arguments Details Author(s) See Also

Description

Fitted values, residual extraction, simulation and print method for univariate N-mixture models

Usage

1
2
3
4
5
6
7
8
## 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{μ}_i

) or standardized (

r_i^s=\frac{y_i-\hat{μ}_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

Nmix jointNmix


jointNmix documentation built on May 2, 2019, 8:18 a.m.