Description Usage Format Details Source Examples
Regression data used to illustrate ridge regression
1 | data("mcdonald")
|
A data frame with 60 observations on the following 16 variables.
PRECAverage annual precipitation in inches
JANTAverage January temperature in degrees F
JULTSame for July
OVR65Percent of 1960 SMSA population aged 65 or older
POPNAverage household size
EDUCMedian school years completed by those over 22
HOUSPercent of housing units which are sound & with all facilities
DENSPopulation per sq. mile in urbanized areas, 1960
NONWPercent non-white population in urbanized areas, 1960
WWDRKPercent employed in white collar occupations
POORPercent of families with income < $3000
HCRelative hydrocarbon pollution potential
NOXSame for nitric oxides
SOxSame for sulphur dioxide
HUMIDAnnual average percent relative humidity at 1pm
MORTTotal age-adjusted mortality rate per 100,000
Ridge regression example
Gary C. McDonald and Richard C. Schwing (1973), Instabilities of Regression Estimates Relating Air Pollution to Mortality, Technometrics 15/3, 463-481.
1 2 |
Loading required package: leaps
PREC JANT JULT OVR65 POPN EDUC HOUS
4.113888 6.143551 3.967774 7.470045 4.307618 4.860538 3.994781
DENS NONW WWDRK POOR HC NOX SOx
1.658281 6.779599 2.841582 8.717068 98.639935 104.982405 4.228929
HUMID
1.907092
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.