Newton1var: An equation solver with Newton's method with 1 variable

Description Usage Arguments Value References

Description

An equation solver with Newton's method with 1 variable

Usage

1
Newton1var(Z12vec, h0, Vh, HZB, Ind.Y, Diff = 1e-08, ORR, MaxIter = 100)

Arguments

Z12vec

2-dim covariate vector

h0, Vh, HZB

inital values

Ind.Y

outcome inidicator

Diff

limit to stop the interations

ORR

estimate of the odds ratio vector

MaxIter

maximum no. of interations

Value

The root of the equation

References

Wu, C.O. and Tian, X. Nonparametric Models for Longitudinal Data: With Implementation in R. Chapman & Hall/CRC. 2018.


npmldabook/npmlda documentation built on May 25, 2019, 10:41 p.m.