Elemental Descriptive and Inferential Statistics
Overview
Provides tools to teach students elemental statistics. The main topics covered are descriptive statistics, probability models (discrete and continuous variables) and statistical inference (confidence intervals and hypothesis tests). One of the main advantages of this package is that allows the user to read quite a variety of types of data files with one unique command. Moreover it includes shortcuts to simple but up-to-now not in R descriptive features such a complete frequency table or an histogram with the optimal number of intervals. Related to model distributions (both discrete and continuous), the package allows the student to easy plot the mass/density function, distribution function and quantile function just detailing as input arguments the known population parameters. The inference related tools are basically confidence interval and hypothesis testing. Having defined independent commands for these two tools makes it easier for the student to understand what the software is performing, and it also helps the student to have a better knowledge on which specific tool they need to use in each situation. Moreover, the hypothesis testing commands provide not only the numeric result on the screen but also a very intuitive graph (which includes the statistic distribution, the observed value of the statistic, the rejection area and the p-value) that is very useful for the student to visualise the process. The regression section includes up to now, a simple linear model, with one single command the student can obtain the numeric summary as well as the corresponding diagram with the adjusted regression model and a legend with basic information (formula of the adjusted model and R-squared).
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) S2mu.Rd:18: Lost braces; missing escapes or markup?
18 | \code{S2mu} computes a estimation of the variance, given a sample {x} with known population mean (denoted by \code{mu}).
| ^
checkRd: (-1) sample.quantile.Rd:20: Lost braces; missing escapes or markup?
20 | \code{sample.quantile} computes a estimation of different quantiles, given a sample {x}, using order statistics.
| ^- NOTE13 NOTE2026-09-08
- ERROR12 NOTE, 1 ERROR2026-09-07
- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 42includes a package overview page
- Examples that run
- 100%41 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing LearningStats adds 34 packages (20 with compiled code, 27 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, readxl 2.1 MB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.0Latest2021-04-21 · current release
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-04-21
- Total releases
- 1 / 5 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 98 KB / 1 file
- Download size
- 171 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("LearningStats")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.