Join Barton Poulson for an in-depth discussion in this video Computing new variables, part of Up and Running with R.
In the last movie, we looked at ways that you could use R to recode or transform…individual variables to make them more suitable for your analyses.…In this movie, we're going to look at ways that you can combine…multiple variables into new composites, and how those procedures can…work for your purposes.…In this example, I'm actually going to be creating my variables in R. What I'm…going to do down here with line 6 is I'm going to create a new variable called…n1, which stands for normal number one, and I'm going to use the function rnorm,…which means random normal.…
So, it's going to be drawing values from the normal distribution, the bell…curve, at random, and I'm going to get a million values. It's going to take about this long.…Now I have a million random values.…Let's get a histogram of those.…There you see it's pretty much a perfect bell curve.…It's symmetrical, it's unimodal, it's uniform; it's great.…Then I'm going to do the procedure again and create another variable called n2.…That's also normal distribution; a million values drawn at random.…
The course continues with examples on how to create charts and plots, check statistical assumptions and the reliability of your data, look for data outliers, and use other data analysis tools. Finally, learn how to get charts and tables out of R and share your results with presentations and web pages.
- What is R?
- Installing R
- Creating bar character for categorical variables
- Building histograms
- Calculating frequencies and descriptives
- Computing new variables
- Creating scatterplots
- Comparing means
Skill Level Beginner
Managing and Analyzing Data in Excel 2010with Dennis Taylor1h 32m Appropriate for all
1. What is R?
R in context3m 35s
2. Getting Started
3. Charts and Statistics for One Variable
4. Modifying Data
5. Charts for Associations
6. Statistics for Associations
Next steps4m 11s
- 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.Cancel
Take 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.