spark.ai: Fitting the count-based spatial model using average...

View source: R/vcestimating.R

spark.aiR Documentation

Fitting the count-based spatial model using average information algorithm Only for Poisson-based spatial model

Description

Fitting the count-based spatial model using average information algorithm Only for Poisson-based spatial model

Usage

spark.ai(
  model0,
  num_vc,
  tau = rep(0.1, num_vc + 1),
  fixtau = rep(0, num_vc + 1),
  maxiter = 500,
  tol = 1e-05,
  verbose = FALSE
)

Arguments

model0

The initial model fitted by glm function

num_vc

The number of random variables

tau

Variance components parameters

fixtau

The parameter to be optimized

maxiter

Iteration

tol

Tolerance

verbose

Output fitting information


xzhoulab/SPARK documentation built on Nov. 20, 2022, 2:54 p.m.