UsingR
Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition
A collection of data sets to accompany the textbook "Using R for Introductory Statistics," second edition.
README
Kernel and bandwidth selection
===============================
The value for a density plot is computed using a function $K$ (the kernel) and a bandwidth $h$. Different choices for the either lead to different graphics.
R provided the following kernel choices: `c("gaussian", "epanechnikov", "rectangular", "triangular", "biweight", "cosine", "optcosine")`.
The bandwidth can be chosen automatically through one of the algorithms: "nrd0", "nrd", "ucv", "bcv", "SJ". The default value, "nrd0" is found by:
* finding the smaller of `s` or `IQR/1.34`, say `m`
* forming `0.9 * m * n^(-1/5)`
As `n` get's larger, the bandwidth does too, but much more slowly.
Alternatively, one can specify the bandwidth using a numeric value.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
2.0-8 |
rolling linux/jammy R-4.5 | UsingR_2.0-8.tar.gz |
1.9 MiB |
2.0-8 |
rolling linux/noble R-4.5 | UsingR_2.0-8.tar.gz |
1.9 MiB |
2.0-8 |
rolling source/ R- | UsingR_2.0-8.tar.gz |
1.4 MiB |
2.0-8 |
latest linux/jammy R-4.5 | UsingR_2.0-8.tar.gz |
1.9 MiB |
2.0-8 |
latest linux/noble R-4.5 | UsingR_2.0-8.tar.gz |
1.9 MiB |
2.0-8 |
latest source/ R- | UsingR_2.0-8.tar.gz |
1.4 MiB |
2.0-8 |
2026-04-26 source/ R- | UsingR_2.0-8.tar.gz |
1.4 MiB |
2.0-8 |
2026-04-23 source/ R- | UsingR_2.0-8.tar.gz |
1.4 MiB |
2.0-8 |
2026-04-09 windows/windows R-4.5 | UsingR_2.0-8.zip |
2.0 MiB |
2.0-7 |
2025-04-20 source/ R- | UsingR_2.0-7.tar.gz |
1.4 MiB |