alphaPhiDS {dsModelling}R Documentation

Computes the parameters alpha and phi

Description

This function is called by the client function 'ds.gee' to calculate the parameters alpha and phi.

Usage

alphaPhiDS(data, formula, family, clusterID, corstr, startBetas)

Arguments

data

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

formula

a regression formula.

family

an object of class Family.

clusterID

the name of the column that holds the cluster IDs.

corstr

the correlation structure.

startBetas

a character, the starting values concatenated by comma because it is not possible to use 'c()' in aggregate functions.

Details

the parameters are calculated according to the correlation structure.

Value

a list

Author(s)

Gaye, A.; Jones EM.


[Package dsModelling version 4.1.0 ]