|
a |
|
b/R/diabetes.R |
|
|
1 |
##============================================================================= |
|
|
2 |
## |
|
|
3 |
## Copyright (c) 2019 Marco Colombo |
|
|
4 |
## |
|
|
5 |
## This program is free software: you can redistribute it and/or modify |
|
|
6 |
## it under the terms of the GNU General Public License as published by |
|
|
7 |
## the Free Software Foundation, either version 3 of the License, or |
|
|
8 |
## (at your option) any later version. |
|
|
9 |
## |
|
|
10 |
## This program is distributed in the hope that it will be useful, |
|
|
11 |
## but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
12 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
13 |
## GNU General Public License for more details. |
|
|
14 |
## |
|
|
15 |
## You should have received a copy of the GNU General Public License |
|
|
16 |
## along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
17 |
## |
|
|
18 |
##============================================================================= |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
#' Diabetes data with interaction terms |
|
|
22 |
#' |
|
|
23 |
#' The dataset consists of observations on 442 individuals for which a |
|
|
24 |
#' quantitative measure of diabetes progression is recorded in variable `Y`. |
|
|
25 |
#' Predictors include 10 baseline measurements, 45 interactions and 9 quadratic |
|
|
26 |
#' terms, for a total of 64 variables for each individual. Each variable has |
|
|
27 |
#' been standardized by subtracting the mean and then dividing it by its |
|
|
28 |
#' standard deviation. |
|
|
29 |
#' |
|
|
30 |
#' @format |
|
|
31 |
#' A data frame with 442 rows and 65 columns (centred and scaled). |
|
|
32 |
#' |
|
|
33 |
#' @source |
|
|
34 |
#' B. Efron, T. Hastie, I. Johnstone and R. Tibshirani (2004), |
|
|
35 |
#' Least angle regression, _The Annals of Statistics_, 32 (2), 407-499. |
|
|
36 |
#' \doi{10.1214/009053604000000067} |
|
|
37 |
#' |
|
|
38 |
#' The original dataset is available from |
|
|
39 |
#' \url{https://web.stanford.edu/~hastie/Papers/LARS/data64.txt} |
|
|
40 |
#' |
|
|
41 |
#' @examples |
|
|
42 |
#' data(diabetes, package="hsstan") |
|
|
43 |
#' |
|
|
44 |
#' @name diabetes |
|
|
45 |
#' @docType data |
|
|
46 |
#' @keywords datasets |
|
|
47 |
NULL |