bp.contour: Contour plot of the bivariate Poisson distribution

View source: R/bp.contour.R

Contour plot of the bivariate Poisson distributionR Documentation

Contour plot of the bivariate Poisson distribution

Description

Contour plot of the bivariate Poisson distribution.

Usage

bp.contour(x1, x2 = NULL, lambda)

Arguments

x1

Either a numerical vector with the values of the first variable or a matrix with 2 columns containing both variables. In the latter case, x2 must be NULL.

x2

A numerical vector with the values of the second. If x1 is a matrix with 2 columns containing both variables, x2 must be NULL.

lambda

A vector with three numbers, the estimates of the \lambda_s.

Details

This is actually a scatter plot with the probability values computed at each pair of points.

Value

The contour plot of the bivariate Poisson distribution.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

See Also

bp.mle

Examples

x <- rbp( 300, c(3, 5, 2) )
lambda <- bp.mle(x)$lambda
bp.contour(x, lambda = lambda)

bivpois documentation built on April 4, 2025, 2:34 a.m.