start_2: Starting values for (ZI)Binomial and (ZI)BetaBinomial

View source: R/start_2.R

start_2R Documentation

Starting values for (ZI)Binomial and (ZI)BetaBinomial

Description

This is part of the new implementation.

Usage

start_2(
  X,
  Y,
  Z = NULL,
  offsetx = 0,
  offsetz = 0,
  weights = 1,
  zero.inflated = FALSE,
  over.dispersed = FALSE
)

Arguments

X

model matrix for the count component

Y

response vector

Z

model matrix for the zero component

offsetx

offset for the count component

offsetz

offset for the zero component

weights

weights for each observation

zero.inflated

calculate starting values for the zero component?

over.dispersed

calculate starting values for the dispersion parameter?

Value

list of starting values for each component, and possible over-dispersion


majuvi/llperm documentation built on May 2, 2022, 5:20 p.m.