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

Logic regression

In some scenarios, all the features in our datasets will be 1/0 dummies (1 flagging the presence of an attribute, and 0 otherwise). These can obviously be accommodated using any usual regression or classification technique. But the problem is that we wouldn't be truly analyzing the interactions between them, unless we add all possible interaction terms (this is usually a tedious task—and we would potentially need to add an enormour amount of combinations).

The relevant question in these cases, is whether the presence of an attribute in conjunction with the presence or absence of other attributes causes an effect. Logic regression can be used in both regression and classification models, and the objective is to find the best possible sets of interactions that cause the highest accuracy (for classification models) or the lowest RMSE (for regression models...

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}