Compute log likelihood for all single zones

Share:

Description

For all n.zones single zones, compute Likelihood ratio test statistic

Usage

1
computeAllLogLkhd(observedCases, expectedCases, nearestNeighborsList, nZones, logLkhdType)

Arguments

observedCases

Vector of length n of cases

expectedCases

Vector of length n of expected cases

nearestNeighborsList

See create_geo_objects

nZones

number of single zones

logLkhdType

type of likelihood: either "poisson" or "binomial"

Value

Vector of length nZones with LRT for each single zone

Author(s)

Albert Y. Kim

See Also

poissonLogLkhd, binomialLogLkhd

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.