Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
R Statistics Cookbook

You're reading from  R Statistics Cookbook

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781789802566
Pages 448 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Francisco Juretig Francisco Juretig
Profile icon Francisco Juretig

Table of Contents (12) Chapters

Preface Getting Started with R and Statistics Univariate and Multivariate Tests for Equality of Means Linear Regression Bayesian Regression Nonparametric Methods Robust Methods Time Series Analysis Mixed Effects Models Predictive Models Using the Caret Package Bayesian Networks and Hidden Markov Models Other Books You May Enjoy

MANOVA

We have already explained that ANOVA is the generalization of the t-test for multiple samples. On the other hand, the t-test is designed to work with just one variable, and in case we have multiple variables, we need to use Hotelling T2. Is it possible to extend ANOVA to work with multiple variables? The answer is yes, and the technique for doing so is called MANOVA (Multiple ANOVA). The assumptions for MANOVA are similar to the ones we have when using Hotelling T2 for two samples: equality of covariance matrices between the groups, the data should come from a multivariate Gaussian distribution for each group, and there should not be outliers.

In this example, we will generate data from a multivariate Gaussian distribution (with three variables) with an arbitrary covariance matrix. We will assign the columns' names to represent the History, Math, and Biology scores...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}