pois.rel.clust: Relative Likelihood based clustering assuming Poisson...

Description Usage Arguments Details Value Note Author(s) References Examples

Description

The function provides weighted relative likelihood function matrix, cluster assigment based on k means clustering, and plot of weighted relative likelihood functions with colors representing cluster assignment. Each observation in the dataset is assumed to follow Poisson distribution.

Usage

1
pois.rel.clust(x, lambda.min, lambda.max, nclust = 3, len = 200, plot = TRUE, seed = 132)

Arguments

x

Data can be entered as matrix or list.

lambda.min

Minimum value of lambda.

lambda.max

Maximum value of lambda.

nclust

Number of Clusters.

len

Length of values to be evaluated at in between lambda.min and lambda.max.

plot

If set TRUE, provides plot of weighted relative likelihood functions colored by their cluster assignment.

seed

Seed to be set for reproducibility

Details

For mathematical details, please contact the authors.

Value

Wt.Rel.Likld

A matrix of weighted relative likelihood functions with rows indicating observations. The column names are the values at which the weighted relative likelihood functions are evaluated.

Cluster.Assignment

Cluster assignment of each observation.

table

Table summarizing size of clusters.

Note

None.

Author(s)

Milan Bimali

References

None.

Examples

1
2
x <- sim.pois(c(4,10),5,4)
pois.rel.clust(x,1,20,nclust = 2,len=200,plot=TRUE,seed=132)

marl documentation built on May 1, 2019, 9:17 p.m.