speed: Predict top speed based on miles per gallon

speedR Documentation

Predict top speed based on miles per gallon

Description

A sample of 82 cars with variables speed and miles per gallon collected.

Usage

data("speed")

Format

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

mpg

Miles per gallon

sp

a numeric vector

Source

Higgins (2003) Introduction to modern nonparmetric statistics.

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.

Examples

data(speed)
plot(sp~mpg,data=speed)
rfit(sp~mpg+I(mpg^2),data=speed)

kloke/npsm documentation built on Nov. 11, 2023, 4:27 a.m.