UBStats-package | R Documentation |
The UBStats package has been developed to support instructors and students involved in basic statistics courses at Bocconi University (Milan, Italy). It contains a limited number of functions, with very similar and coherent syntax, to easily perform descriptive and inferential statistical analyses.
The main functions included in the package are:
distr.table.x()
and distr.plot.x()
to
tabulate and plot the distribution of a single variable of any type
distr.table.xy()
and distr.plot.xy()
to tabulate and plot the joint and conditional distributions for
two variables and to build scatterplots
distr.summary.x()
and summaries.plot.x()
to calculate summaries of univariate distributions and/or conditional
summaries and to plot conditional location measures (means, medians
or quantiles)
CI.mean()
and TEST.mean()
to build
confidence intervals and to test hypotheses on the mean
CI.prop()
and TEST.prop()
to build
confidence intervals and to test hypotheses on the proportion
CI.diffmean()
and TEST.diffmean()
to
build confidence intervals and to test hypotheses on the difference
between means
CI.diffprop()
and TEST.diffprop()
to
build confidence intervals and to test hypotheses on the difference
between proportions
TEST.diffvar()
to test hypotheses on the equality of
two variances
The package has some distinctive features making it a convenient support to students, attending courses on statistics using RStudio, approaching the software for the first time.
Descriptive statistical analyses can be performed for any type of variables, with easy and intuitive procedures to tabulate also numerical variables classified into intervals and/or variables measured in intervals. Collections of univariate summary statistics can be easily obtained, also for factors. Univariate and bivariate distributions can be graphically displayed using two functions only, with a quite rich set of (basic) options.
Inferential statistical analyses can be easily performed based on a reduced set of functions with very similar syntax.
A peculiar characteristic of the package is that in the case of errors the procedure is not immediately interrupted. The functions collect all the possible warnings and error and print a list of all the encountered problems before the possible interruption due to unmanageable errors. This makes the package very convenient for students who approach the study of statistics using RStudio for the first time.
To make suggestions about further developments please feel free to write to raffaella.piccarreta@unibocconi.it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.