Learn R Programming

UBStats

Overview

Current release: 0.3.0
R version required: at least 3.5.0

R package for teaching introductory statistics courses at Bocconi University (Milan, Italy).

Installation instructions

The easiest way to get the package is to install it from CRAN by executing the following code:

install.packages("UBStats")

After installing it, to use the package run library(UBStats).

To see a description of the package, execute the command ?UBStats.

Copy Link

Version

Install

install.packages('UBStats')

Monthly Downloads

631

Version

0.3.0

License

GPL-3

Maintainer

Sergio Venturini

Last Published

August 27th, 2025

Functions in UBStats (0.3.0)

MktDATA

Data: MktDATA
TEST.diffprop

Tests on the difference between proportions
distr.plot.x

Analysis of a univariate distribution using plots
TEST.diffmean

Tests on the difference between means
TEST.prop

Test on the proportion
TEST.mean

Test on the mean
TEST.diffvar

Tests on variances
Time_Social

Data: Time_Social
Transition

Data: Transition
UBStats-package

UBStats: a package for teaching and learning introductory statistics
distr.summary.x

Summary statistics for a single variable
distr.table.x

Analysis of a univariate distribution using frequency tables
distr.plot.xy

Analysis of a bivariate distribution using plots
distr.table.xy

Analysis of a bivariate distribution using cross-tables
summaries.plot.x

Plot of central and non-central conditional tendency measures for a single numeric variable
Marketing_Mix

Data: Marketing_Mix
CallCentre_KPI

Data: CallCentre_KPI
CI.diffprop

Confidence intervals for the difference between proportions
CI.prop

Confidence intervals for the proportion
CI.mean

Confidence intervals for the mean
MktDATA.Orig

Data: MktDATA.Orig
CI.diffmean

Confidence intervals for the difference between means
LM.output

Extract Model Residuals and other Regression Diagnostics
Banner

Data: Banner
Grocery_NE

Data: Grocery_NE