computeAllLogLkhd: Compute log likelihood for all single zones

Description Usage Arguments Value Author(s) See Also

View source: R/RcppExports.R

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


SpatialEpi documentation built on May 30, 2017, 5:23 a.m.

Search within the SpatialEpi package
Search all R packages, documentation and source code