getD: getD

Description Usage Arguments Value

View source: R/getD.R

Description

Takes betas and x.matrix and returns matrix of partial derivatives dmu/dbeta

Usage

1
getD(betas, x.matrix, link)

Arguments

betas

p vector of regression parameters

x.matrix

nxp matrix of covariates

link

link between xbeta and the mean, identify for normal, logit for logistic, Gammalog for gamma (should work)

Value

matrix of partial derivatives dmu/dbeta


MilesOtt/geeNET documentation built on Aug. 8, 2021, 7:31 p.m.