Stat 1510
Statistical Thinking & Concepts
Regression
1
Linear Regression
Objective:
To quantify the linear
relationship between an explanatory
variable (x) and response variable (y).
We
can then pre
Importing Data& Saving Files in R
Importing Data & Saving Files in R
STAT 1510: Fall 2012
Importing data
1. For starting todays lab, we need to save the data set from the course
website.
http:/www.mat
Introduction to R
Introduction to R
STAT 1510: Fall 2012
Getting started
1. Start R by double-clicking on the R icon on the desktop, or by clicking on the R
icon in the start menu.
2. The R graphical
Sept 25, 2013
Plotting in R
Plotting in R
STAT 1510: Fall 2013
Plotting
First we'll produce a very simple graph using the values in the car:
# Define the cars with 5 values
>cars <- c(1, 3, 6, 4, 9)
>
Sept 18, 2013
Sampling Methods
Sampling Methods
STAT 1510: Fall 2013
Todays session we discuss some sampling methods such as
Simple Random Sampling
Systematic Sampling
Stratified Sampling
2-stage rand
Statistics 1510: Statistical Thinking and Concepts, Fall 2012
Assignment #3 Solutions
64
60
62
y
66
68
Q1. (a) Yes there is a positive relation between x & y.
66
68
70
72
x
Figure 1: Scatter plot betw
Assignment #1 solutions
Q1.
a)
b)
c)
d)
Q2.
All Businesses in city of St. John's
All Businesses in city of St. John's who are listed in telephone book.
Any Business in city of St. John's who are liste
Statistics 1510: Statistical Thinking and Concepts, Fall 2012
Assignment #4 Solutions
Q1. (a) The regression equation is y = 0.126085 + 0.060782x. For x = 2.0, this
formula gives y = 0.004521.
(b) Fro
Stat 1510
Statistical Thinking and Concepts
Two-Way Tables
1
Categorical Variables
In the last few classes, we study the
relationship between two continuous
variables. Now we will study the
relationsh
Assignment #2 Solutions
Q1:
(a) Appropriate plot is Time Plot because one variable is year.
(b) Tuition has steadily climbed during the 30-year period, with sharpest absolute increases in the last 10
Stat 1510
Statistical Thinking & Concepts
Picturing Distributions with Graphs
1
Statistics
Statistics is a science that involves the extraction of
information from numerical data obtained during an
ex
Sept 11, 2013
Introduction to R
Introduction to R
STAT 1510: Fall 2013
Installing R on a Windows/Mac/Linux PC
R is a software environment for statistical analysis which is similar to S plus but free.