pseudoR2: Calculate various pseudo R2's

Description Usage Arguments Value

View source: R/utils.R

Description

There are several variants of pseudo R^2 that can be computed for a likelihood estimation. They all relate the log likelihood of the estimated model to the log likelihood of the null model.

The ones included here are McFadden's, Adjusted McFadden's, Cox & Snell's, and Nagelkerke, Cragg, and Uhler's.

Usage

1
pseudoR2(opt)

Arguments

opt

returned value from mphcrm.

Value

A matrix is returned, with one row for each iteration containing the various pseudo R^2s.


durmod documentation built on March 31, 2020, 5:23 p.m.