start_1: Starting values for (ZI)Poisson and (ZI)NegativeBinomial

View source: R/start_1.R

start_1R Documentation

Starting values for (ZI)Poisson and (ZI)NegativeBinomial

Description

This is part of the new implementation.

Usage

start_1(
  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.