HessFun: HessFun

Description Usage Arguments Value Examples

View source: R/FunsForOptimalV2.R

Description

calculate the Hessian matrix

Usage

1
HessFun(bb, ixx, iyy, iw, iZZ)

Arguments

bb

initial values for the intercept and slope coefficients

ixx

continuous predictor

iyy

binary outcome

iw

the weighted parameter

iZZ

covariates to be incorporated in the model

Value

the Hessian matrix

Examples

1
2
3
4
5
iZZ <- matrix(0,100,10)
ixx <- matrix(0,100,1)
iyy <- matrix(0,100,1)
iw <-matrix(0,100,1)
# HessFun <- function(bb, ixx, iyy, iw, iZZ)

LBC documentation built on Nov. 15, 2021, 9:07 a.m.