Learn R Programming

ordinalTables (version 1.0.0.3)

McCullagh_derivative_log_l_wrt_beta: Derivative of log(likelihood) wrt beta, as given in appendix of McCullagh.

Description

McCullagh, P. (1980). Regression models for ordinal data. Journal of the Royal Stastical Society, Series B, 42(2), 109-142. With assist from appendix of Agresti, (1984). Agresti, A. (1984). Analysis of ordinal categorical data. New York, Wiley, p. 244-246.

Usage

McCullagh_derivative_log_l_wrt_beta(n, x, gamma)

Value

derivative

Arguments

n

matrix of observed counts

x

design matrix for location

gamma

matrix of model-based cumulative logits