| hierarchy | R Documentation |
Classical (microdata) dataset of 20 observations illustrating hierarchical
categorical structures with a response variable Y and hierarchical
predictors X1–X5. See hierarchy.int for the interval-valued
version.
data(hierarchy)
A data frame with 20 observations and 6 variables:
Y: Response variable (numeric).
X1: Hierarchy level 1 category (a/b/c, character).
X2: Hierarchy level 2 category (a1/a2, character; NA for non-a).
X3: Hierarchy level 3 category (a11/a12, character; NA for non-a1).
X4: Numeric predictor for group b (numeric; NA for non-b).
X5: Numeric predictor for group c (numeric; NA for non-c).
| Sample size (n) | 20 |
| Variables (p) | 6 |
| Subject area | Methodology |
| Symbolic format | Classical (microdata) |
| Analytical tasks | Aggregation, Descriptive statistics |
Billard, L. and Diday, E. (2006). Symbolic Data Analysis. Wiley. Table 2.15.
data(hierarchy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.