upalpha: Update the association parameter

View source: R/upalpha.R

upalphaR Documentation

Update the association parameter

Description

This function updates alpha, the association parameter

Usage

upalpha(hgmat, alpha, diffmeth, h)

Arguments

hgmat

a list of H and G matrices (see reference for repolr for more details)

alpha

a numeric value for current alpha value

diffmeth

a character string specifying the method used for estimation of alpha

h

a numeric value of finite differencing

Value

A list containing the following components:

gvb

the first derivative of generalized variance at convergence

ggvb

the second derivative of generalized variance at convergence

alpha

the updated assocation parameter


YuqiTian35/cpmgee documentation built on Aug. 6, 2023, 4:30 a.m.