Learn R Programming

rsq (version 0.6)

lifetime: Test Results of Lifetime in Two Different Environments.

Description

There are 27 tests in each of the two environments.

Usage

data("lifetime")

Arguments

Format

A data frame with 54 observations on the following 2 variables.

Source

Wang, H., Ma, B., and Shi, J. (1992). Estimation of environmental factors for the inverse gaussian distribution. Microelectron. Reliab., 32: 931-934.

Details

This data set is discussed by Wang et al. (1992).

Examples

Run this code
data(lifetime)
summary(lifetime)
head(lifetime)

attach(lifetime)
igfit <- glm(time~env,family=inverse.gaussian)
rsq(igfit)
rsq(igfit,adj=TRUE)

rsq.partial(igfit)

Run the code above in your browser using DataLab