This is the final session. By the end of this session you should be fairly comfortable with the program.
This session focuses on hypothesis testing. You will cover the correlation function - c()
a look at the additional types of t-tests R is capable of running - t.test()
You will look at a differen...
Introduction to R –
Hypothesis Testing
Final Session
,Part 1: cor()
Use the data file ‘eggmass’
,cor()
• You’ll be using four sets of data, links are provided
• Locate the first file (you previously used it; it’s called ‘eggmass’)
• Begin as usual
• Clear your working space
• Set your working directory and
• Read in the csv file ‘eggmass’ creating the object ‘eggs’
, cor()
• This file; eggmass, contains the mass of eggs from three different
sites: A, B and C
• Lets investigate this data file (summary())
• siteA contains all the masses from site A and same principle for site
• Let’s calculate the correlation coefficient between the mass of egg
from A and B
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller dominique13. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $2.70. You're not tied to anything after your purchase.