mcnr_step: Newton-Raphson step for the MCMCML algorithm

View source: R/RcppExports.R

mcnr_stepR Documentation

Newton-Raphson step for the MCMCML algorithm

Description

Newton-Raphson step for the MCMCML algorithm

Usage

mcnr_step(y, X, Z, beta, u, family, link)

Arguments

y

Vector of observations

X

Matrix X of the GLMM

Z

Matrix Z of the GLMM

beta

A vector specifying the current values of the mean function parameters

u

Matrix of samples of the random effects. Each column is a sample.

family

Character specifying the family

link

Character specifying the link function

Value

A vector specifying the Newton-Raphson step for the parameters


samuel-watson/glmmr documentation built on July 27, 2022, 10:30 p.m.