Skip to Content
Regression Analysis with R
book

Regression Analysis with R

by Giuseppe Ciaburro, Pierre Paquay, Manoj Kumar, Shaikh Salamatullah
January 2018
Beginner to intermediate
422 pages
9h 47m
English
Packt Publishing
Content preview from Regression Analysis with R

Exploratory analysis

Before starting with data analysis through the neural network, we conduct an exploratory analysis to understand how the data is distributed and extract preliminary knowledge. Let's start by checking the dataset using the str() function. This function provides a compact display of the internal structure of an object. Ideally, only one line for each basic structure is displayed:

str(AutoData)

The results are shown here:

> str(AutoData)'data.frame':  398 obs. of  9 variables: $ mpg         : num  18 15 18 16 17 15 14 14 14 15 ... $ cylinders   : int  8 8 8 8 8 8 8 8 8 8 ... $ displacement: num  307 350 318 304 302 429 454 440 455 390 ... $ horsepower  : Factor w/ 94 levels "?","100.0","102.0",..: 17 35                 29 29 24 42 47 46 48 40 ... $ weight ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Quantitative Finance with R

Learning Quantitative Finance with R

PRASHANT VATS, Dr. Param Jeet
R: Data Analysis and Visualization

R: Data Analysis and Visualization

Tony Fischetti, Brett Lantz, Jaynal Abedin, Hrishi V. Mittal, Bater Makhabel, Edina Berlinger, Ferenc Illés, Milán Badics, Ádám Banai, Gergely Daróczi, Barbara Dömötör, Gergely Gabler, Dániel Havran, Péter Juhász, István Margitai, Balázs Márkus, Péter Medvegyev, Julia Molnár, Balázs Árpád Szucs, Ágnes Tuza, Tamás Vadász, Kata Váradi, Ágnes Vidovics-Dancs
Regression Analysis by Example, 4th Edition

Regression Analysis by Example, 4th Edition

Samprit Chatterjee, Ali S. Hadi

Publisher Resources

ISBN: 9781788627306Supplemental Content