Learn R Programming

ordinalTables (version 1.0.0.3)

McCullagh_fit_location_regression_model: Fit location model

Description

Fit location model

Usage

McCullagh_fit_location_regression_model(n, x, max_iter = 5, verbose = FALSE)

Value

a list containing beta: regression parameter estimates se: matrix of estimated standard errors cov: covariance matrix of parameter estimates g_squared: G^2 likelihood ratio chi-square for model chisq: Pearson chi-square for model df: degrees of freedom

Arguments

n

matrix of observed counts

x

design matrix for regression model

max_iter

maximum number of Fisher scoring iterations

verbose

logical: should cycle-by-cycle info be printed out? Default value is FALSE, do not print