100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

5. Introduction to R - Hypothesis Testing

Rating
-
Sold
-
Pages
50
Uploaded on
23-07-2018
Written in
2017/2018

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 different data file in the format "long" and this session covers more complicated subsetting of data You will learn to run two different types of chi-squared tests (goodness-of-fit and association tests) using chisq.test() and finally you will learn to fit a regression model using the linear model function lm() link to the sample data is provided I hope this has been helpful

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
July 23, 2018
Number of pages
50
Written in
2017/2018
Type
Presentation
Person
Unknown

Content preview

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
R50,00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
dominique13
4,3
(3)

Document also available in package deal

Thumbnail
Package deal
An Introduction to RStudio
-
1 6 2018
R 280,00 More info

Get to know the seller

Seller avatar
dominique13 University of Cape Town
View profile
Follow You need to be logged in order to follow users or courses
Sold
7
Member since
7 year
Number of followers
5
Documents
21
Last sold
3 year ago

4,3

3 reviews

5
1
4
2
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions