Learn R Programming

msos

Multivariate Analysis methods and data sets used in John Marden’s Multivariate Statistics: Old School (2015) ISBN: 978-1456538835. This also serves a companion package for the STAT 571: Multivariate Analysis course offered in the Department of Statistics at the University of Illinois at Urbana-Champaign (UIUC).

Installation

The msos package is available on both CRAN and GitHub. The CRAN version is considered stable while the GitHub version is in a state of development and may break.

You can install the stable version of the msos package with:

install.packages("msos")

For those who like living on the edge, feel free to use a copy of the development version by doing:

if(!requireNamespace("remotes")) { install.packages("remotes") }

# Install the package from github
remotes::install_github("coatless/msos")

Authors

John Marden and James Balamuta

Licensing

MIT

Copy Link

Version

Install

install.packages('msos')

Monthly Downloads

213

Version

1.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 31st, 2020

Functions in msos (1.2.0)

SAheart

South African Hearth Disease Data
bothsidesmodel.hotelling

Test blocks of \(\beta\) are zero.
bothsidesmodel.mle

Calculate the maximum likelihood estimates
bothsidesmodel.chisquare

Test subsets of \(\beta\) are zero
bsm.fit

Helper function to determine \(\beta\) estimates for MLE regression with patterning.
bothsidesmodel.df

Obtain the degrees of freedom for a model.
bothsidesmodel.lrt

Test subsets of \(\beta\) are zero.
births

Birthrates throughout the day in four Hospitals
Spam

Spam
decathlon12

Decathlon Event Data from 2012 Olympics.
bothsidesmodel

Calculate the least squares estimates
negent2D

Maximizing negentropy for \(q = 2\) dimensions
painters

The Painter's Data of de Piles
caffeine

The Effects of Caffeine
negent3D

Maximizing negentropy for \(Q = 3\) dimensions
bsm.simple

Helper function to determine \(\beta\) estimates for MLE regression.
negent

Estimating negative entropy
sort_silhouette

Sort the silhouettes by group
sportsranks

Sports ranking
crabs

Morphological Measurements on Leptograpsus Crabs
exams

Statistics Students' Scores on Exams
leprosy

Leprosy Patients
logdet

Log Determinant
pcbic.stepwise

Choosing a good pattern
silhouette.km

Silhouettes for \(K\)-Means Clustering
reverse.kronecker

Reverses the matrices in a Kronecker product
pcbic

BIC for a particular pattern
imax

Obtain largest value index
lda

Linear Discrimination
fillout

Make a square matrix
decathlon08

Decathlon Event Data from 2008 Olympics.
cars

Automobile Data from Consumer Reports
cereal

Cereal
msos-package

msos: Data Sets and Functions Used in Multivariate Statistics: Old School by John Marden
mouths

Mouth Sizes
qda

Quadratic discrimination
pcbic.unite

Obtain pattern
grades

Grades
election

Presidential Election Data
histamine

Histamine in Dogs
prostaglandin

Prostaglandin
pcbic.subpatterns

Obtain the best subpattern among the patterns.
predict_qda

Quadratic discrimination prediction
planets

Planets
states

States
skulls

Egyptian Skulls
softdrinks

Soft Drinks
tr

Trace of a Matrix