Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

computeAllLogLkhd

Compute log likelihood for all single zones


Description

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

Usage

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


SpatialEpi

Methods and Data for Spatial Epidemiology

v1.2.3
GPL-2
Authors
Cici Chen [ctb], Albert Y. Kim [aut, cre], Michelle Ross [ctb], Jon Wakefield [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.