geem_betabinomial: Fit a beta-binomial generalized estimating equation model.

Description Usage Arguments Value

Description

Calculate coefficients and nuisance parameters for the beta-binomial model using generalized estimating equations. Implementation is based on the geeM package.

Usage

1
2
3
4
5
geem_betabinomial(formula, N, id, waves, data = parent.frame(),
  corstr = "independence", weights = NULL, corr.mat = NULL,
  init.beta = NULL, init.alpha = NULL, init.phi = 1, init.rho = 0,
  rho.fixed = FALSE, scale.fix = FALSE, nodummy = FALSE,
  sandwich = TRUE, maxit = 20, tol = 1e-05)

Arguments

formula

See corresponding documentation to geem.

N

A vector of total counts of length reponse.

id

See corresponding documentation to geem. id must be a factor or integer variable.

data

See corresponding documentation to geem.

corstr

See corresponding documentation to geem.

weights

See corresponding documentation to geem.

corr.mat

See corresponding documentation to geem.

init.beta

See corresponding documentation to geem.

init.alpha

See corresponding documentation to geem.

init.phi

See corresponding documentation to geem.

scale.fix

See corresponding documentation to geem.

nodummy

See corresponding documentation to geem.

sandwich

See corresponding documentation to geem.

maxit

See corresponding documentation to geem.

tol

See corresponding documentation to geem.

Mv

See corresponding documentation to geem.

Value

An object of class "geem_betabinomial


RGLab/geeod documentation built on May 8, 2019, 5:55 a.m.