Rsquared: Compute R-squared measures of model fit for 'blm' and...

View source: R/Rsquared.R

RsquaredR Documentation

Compute R-squared measures of model fit for blm and lexpit objects.

Description

Returns McFadden's unadjusted and adjusted R-squared measures for models of a binary outcome.

Usage

Rsquared(object)

Arguments

object

object of class blm or lexpit

Value

List of R2 and R2adj.

Author(s)

Stephanie Kovalchik s.a.kovalchik@gmail.com

Examples


data(ccdata)

fit <- blm(y~female+packyear,data = ccdata,
			weight = ccdata$w, strata = ccdata$strata)

Rsquared(fit)

blm documentation built on Sept. 12, 2022, 9:05 a.m.