N1pois | R Documentation |
Density, and random generation for the (four parameter bivariate) Linear Model–Poisson copula distribution.
dN1pois(x1, x2, mean = 0, sd = 1, lambda, apar = 0,
doff = 5, copula = "gaussian", log = FALSE)
rN1pois(n, mean = 0, sd = 1, lambda, apar = 0,
doff = 5, copula = "gaussian")
x1 , x2 |
vector of quantiles.
The valid values of |
n |
number of observations.
Same as |
copula |
See |
mean , sd , lambda , apar |
See |
doff |
See |
log |
Logical.
If |
See N1poisson
, the VGAM
family functions for estimating the
parameter by maximum likelihood estimation,
for details.
dN1pois
gives the probability density/mass function,
rN1pois
generates random deviate and returns
a two-column matrix.
T. W. Yee
N1poisson
,
rnorm
,
rpois
.
## Not run:
nn <- 1000; mymu <- 1; sdev <- exp(1)
apar <- rhobitlink(0.4, inverse = TRUE)
lambda <- loglink(1, inverse = TRUE)
mat <- rN1pois(nn, mymu, sdev, lambda, apar)
pndata <- data.frame(y1 = mat[, 1], y2 = mat[, 2])
with(pndata, plot(jitter(y1), jitter(y2), col = 4))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.