Learn R Programming

tlemix (version 0.1.3)

dPois: Mixture two Poisson Regression Models

Description

In this data set we consider two Poisson regression models with equal mixing proportions and with additional noise. For each Poisson regression model 100 data points are generated according to a Poisson distribution. For the noise we generated 50 points from a uniform distribution over the range of each variate.

Usage

data(dPois)

Arguments

Format

A data frame with 150 observations on the following 3 variables.
y
A numeric vector of y-coordinates
x
A numeric vector of x-coordinates

See Also

TLE

Examples

Run this code
data(dPois)
str(dPois)
# Example needs some computing time:
# est.tle <- TLE(y~x,"poisson",data=dPois,Density=flexmix.Density,
#            Estimate=flexmix.Estimate,msglvl=1,nc=2,kTrim=200,class="hard")
# tleplot(est.tle,dPois)

Run the code above in your browser using DataLab