15.071 | Spring 2017 | Graduate

The Analytics Edge

1.3 Working with Data: An Introduction to R

1.3 Working with Data: An Introduction to R

Quick Question

If you want to know the mean value of a numerical variable, which function could you use?

  
  
  

Explanation If you using the summary function (in the video, we typed summary(WHO) in our R console) you can see a statistical summary of each variable. For numerical variables, the mean value is listed.

If you want to know the standard deviation of a numerical variable, which function could you use?

  
  
  

Explanation Neither the str function nor the summary function provides the standard deviation value of a variable. We'll see how to compute this value in the next video.

Course Info

As Taught In
Spring 2017
Level
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets with Solutions