Join Barton Poulson for an in-depth discussion in this video Comparing means with the t-test, part of Learning R.
One common inferential test is to compare two groups on a single…quantitative outcome.…While there are several ways to do this, the most common is to use a T-test.…In this particular example, we're going to show that this is a very simple thing…to do in R. I'm going to use the google _correlate data that I've used before.…I'm going to load that.…I'm just going to bring up the list of names.…What I'm going to do here, just for fun, is I'm going to look at interest in NBA…as a search term, and see if that differs between states that have NBA basketball…teams, and states that don't.…
So, all I need to do is come down here to line 10.…I'm using the function t.test. That makes sense.…I'm saying what my outcome variable is.…That's NBA; that means as a search term, and then the predictor is whether they have an NBA,…so has_nba is a yes/no variable.…I'm just going to run line 10 here, and maximize this one.…You see here that it's telling me that it's using the Welch Two Sample t-test.…That is something that allows for unequal variants between samples.…
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 Intermediate
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.