Learn R Programming

durmod (version 1.1-4)

pseudoR2: Calculate various pseudo R2's

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

pseudoR2(opt)

Arguments

opt

returned value from mphcrm.

Value

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