In the previous videos, we looked at how…to deal with unusual data, specifically with outliers.…In this video, we're going to look at some ways of dealing…with missing data, which can create just as big a problem with analyses.…Let's start by creating a small data set…that includes an NA value, for not available.…The problem is that it makes certain…calculations just impossible, it just won't do them.…So for instance if I take a data…set here, I write one and put it in a variable called x1, and it consists of…five values: 1, 2, 3, NA, and a 5. The four is missing.…
So if I enter that you'll see that it shows…up in the work space as having five numeric values.…And let's click on that and there they are.…What's interesting about it is, for…instance, the summary procedure works with it.…If I do a summary…of this variable, it gives me a minimum, a first…quartile, a median, a mean, a third quartile, a max.…And then it lists how many NA's there are in the distribution.…And there's one.…On the other hand, the function mean.…
Author
Released
9/26/2013- Installing R on your computer
- Using the built-in datasets
- Importing data
- Creating bar and pie charts for categorical variables
- Creating histograms and box plots for quantitative variables
- Calculating frequencies and descriptives
- Transforming variables
- Coding missing data
- Analyzing by subgroups
- Creating charts for associations
- Calculating correlations
- Creating charts and statistics for three or more variables
- Creating crosstabs for categorical variables
Skill Level Intermediate
Duration
Views
Q: The R files within Chapters 01 to 10 don't appear to have any code in them. Where is the final code for each file?
A: Look in the "final" folder for each video. These folders contains the final R code written by the author.
Related Courses
-
Introduction
-
Welcome58s
-
-
1. Getting Started
-
Using RStudio4m 36s
-
Installing and managing packages11m 16s
-
Using built-in datasets in R5m 27s
-
Entering data manually4m 37s
-
Importing data8m 53s
-
Working with color in R10m 18s
-
2. Charts for One Variable
-
Overlaying plots7m 25s
-
Saving images5m 34s
-
Solution: Layering plots2m 22s
-
3. Statistics for One Variable
-
Calculating frequencies3m 33s
-
Calculating descriptives5m 43s
-
-
4. Modifying Data
-
Examining outliers6m 42s
-
Transforming variables9m 26s
-
Coding missing data6m 4s
-
-
5. Working with the Data File
-
Selecting cases5m 30s
-
Analyzing by subgroup3m 14s
-
Merging files5m 16s
-
-
6. Charts for Associations
-
Creating scatter plots5m 2s
-
7. Statistics for Associations
-
Calculating correlation3m 54s
-
Comparing proportions3m 34s
-
-
8. Charts for Three or More Variables
-
Creating 3D scatter plots5m 13s
-
9. Statistics for Three or More Variables
-
Conducting a cluster analysis14m 14s
-
Conclusion
-
Next steps3m 40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Coding missing data