Learn R Programming

ModStatR (version 1.4.0)

Statistical Modelling in Action with R

Description

Datasets and functions for the book "Modélisation statistique par la pratique avec R", F. Bertrand, E. Claeys and M. Maumy-Bertrand (2019, ISBN:9782100793525, Dunod, Paris). The first chapter of the book is dedicated to an introduction to the R statistical software. The second chapter deals with correlation analysis: Pearson, Spearman and Kendall simple, multiple and partial correlation coefficients. New wrapper functions for permutation tests or bootstrap of matrices of correlation are provided with the package. The third chapter is dedicated to data exploration with factorial analyses (PCA, CA, MCA, MDA) and clustering. The fourth chapter is dedicated to regression analysis: fitting and model diagnostics are detailed. The exercises focus on covariance analysis, logistic regression, Poisson regression, two-way analysis of variance for fixed or random factors. Various example datasets are shipped with the package: for instance on pokemon, world of warcraft, house tasks or food nutrition analyses.

Copy Link

Version

Install

install.packages('ModStatR')

Monthly Downloads

551

Version

1.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Frederic Bertrand

Last Published

August 28th, 2025

Functions in ModStatR (1.4.0)

d_hotels_n

Hotels
ref.cor.mtest

Test exact matriciel du corrélation de Bravais-Pearson avec une référence non nécessairement nulle
ecole2

Jeu de données école (2 variables)
d_macdo

MacDonald
d_TM

Tâches ménagènes
d_pres2007

Elections presidentielles 2007 : premier tour
d_pres2002

Elections presidentielles 2002 : premier tour
ref.cor.test

Test exact du coefficient de corrélation de Bravais-Pearson avec une référence non nécessairement nulle
perm.cor.mtest

Test par permutation d'une matrice de corrélations de Bravais-Pearson
parasites

Parasites
rho

Corrélation de Bravais-Pearson pour bootstrap ou permutation
resistance

Résistance d'un ciment
rho.mult

Matrice de corrélation de Bravais-Pearson, bootstrap ou permutation
poke

Pokemons
d_hotels

Hotels
my.confidence.region

Ellipse ou intervalles de confiance pour une paire de paramètres d'un modèle linéaire
vitamines

Vitamines
polypes

Polypes
ecole3

Jeu de données école (3 variables)
Gauss2F1

Fonction hypergéométrique de Gauss (hypergeo)
CancerSein

Cancer du sein
chal

Challenger
corrdistapprox2

Meilleure approximation de la densité de rho chapeau, estimateur du coefficient de corrélation de Bravais-Pearson
corrdistapprox

Approximation de la densité de rho chapeau, estimateur du coefficient de corrélation de Bravais-Pearson
corrdist

Densité de rho chapeau, estimateur du coefficient de corrélation de Bravais-Pearson
boot.mcor.ic

Intervalles de confiance bootstrap pour une matrice de corrélation de Bravais-Pearson
Gauss2F1gsl

Fonction hypergéométrique de Gauss (gsl)
ModStatR-package

ModStatR: Statistical Modelling in Action with R
SidaChat

Sida du chat
data_event

Matchs de football joués en France de 2011/2012 à 2016/2017
d_vac

Lieux de vacances et occupation
d_wow

Zones de World of Warcraft