Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

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

270

Version

1.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

James Balamuta

Last Published

January 8th, 2020

Functions in msos (1.1.1)

exams

Statistics Students' Scores on Exams
caffeine

The Effects of Caffeine
negent

Estimating negative entropy
bsm.simple

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

Cereal
negent2D

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

Automobile Data from Consumer Reports
crabs

Morphological Measurements on Leptograpsus Crabs
bsm.fit

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

Mouth Sizes
pcbic

BIC for a particular pattern
decathlon08

Decathlon Event Data from 2008 Olympics.
msos-package

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

Make a square matrix
lda

Linear Discrimination
imax

Obtain largest value index
pcbic.stepwise

Choosing a good pattern
reverse.kronecker

Reverses the matrices in a Kronecker product
states

States
tr

Trace of a Matrix
predict_qda

Quadratic discrimination prediction
planets

Planets
silhouette.km

Silhouettes for \(K\)-Means Clustering
grades

Grades
histamine

Histamine in Dogs
decathlon12

Decathlon Event Data from 2012 Olympics.
pcbic.subpatterns

Obtain the best subpattern among the patterns.
election

Presidential Election Data
prostaglandin

Prostaglandin
logdet

Log Determinant
leprosy

Leprosy Patients
pcbic.unite

Obtain pattern
sort_silhouette

Sort the silhouettes by group
qda

Quadratic discrimination
sportsranks

Sports ranking
negent3D

Maximizing negentropy for \(Q = 3\) dimensions
skulls

Egyptian Skulls
softdrinks

Soft Drinks
painters

The Painter's Data of de Piles
bothsidesmodel

Calculate the least squares estimates
Spam

Spam
bothsidesmodel.mle

Calculate the maximum likelihood estimates
bothsidesmodel.chisquare

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

Birthrates throughout the day in four Hospitals
SAheart

South African Hearth Disease Data
bothsidesmodel.hotelling

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

Test subsets of \(\beta\) are zero.
bothsidesmodel.df

Obtain the degrees of freedom for a model.