scoreVectDS {dsBase}R Documentation

Generates the score vector and information matrix

Description

This function is called by the client function 'ds.gee' to produced the score vector and information matrix.

Usage

scoreVectDS(data, formula, family, clusterID, corstr, alpha, phi,
  startBetas, zcor = NULL)

Arguments

data

the input dataframe which contains the variable specified in the formula.

formula

a regression formula.

family

the link function for the regression.

clusterID

the name of the column that holds the cluster IDs.

corstr

the correlation structure.

alpha

the parameter alpha

phi

the parameter alpha

startBetas

a character, the starting values concatenated by comma

zcor

the user defined matrix user if the correlation structure is 'fixed'.

Details

the score vector and information matrix are calculated according to the correlation structure.

Value

a list

Author(s)

Gaye, A.; Jones EM.


[Package dsBase version 5.0.0 ]