Assignment 1 (Due on Thursday, February 14 at the beginning of lecture)
Total number of points possible: 50
Problem 1: Chapter 6 # 12 (page 215) from the textbook (7 marks)
Solution:
a) (2 mk) If X ~ Binomial(20, .5), P(X < 11) = .5881
.6 and P(X
11) = .7
p
% I v
v v v y
Iu Iu 8 v gVG he
I u
I u
v % i
v %1dg1dduk p
q i e
k
k t t y v t t y t
s x f x y x v k t y r v s y v t o x r f o o t s x k t t y 5 t s x y
gur IIFr7wg1$7ug"gu81duq v YI G u uY
H i q y q e
q  71p e $ y  p y p i rp R p 'WVG
STA248 (Winter 2013) (SOLUTIONS)
Assignment 2 (Due on Thursday, March 28 at the beginning of lecture)
Total number of marks possible: 50
Note: In solutions I used the notations from the textbook. If you used the ones from the lectures,
that will be fine t
Lecture 6
Hypothesis Tests on the Variance
Suppose
is a random sample from
distribution.
We are interested in testing
versus a one sided
(
or
) or a two sided (
)
alternative.
Then the test statistic used to test each of these is
,
where n is the sample s
STA 248 Assignment 1
Due Monday, July 17th at 11:59 PM
Name:
Student #:
(Total Points: 100)
Part I
Plots and Descriptive Statistics
1
The Fisher & Anderson Iris Dataset
(40 points)
This is a very famous dataset containing measurements on three different s
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 5
January 31, 2017
1 / 23
Tentative Schedule for this Week.
Learning Goals
Compute confidence intervals for our parameter estimates (sample
and s 2 .
statistics) so far, only for X
Inte
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 10
March 6, 2017
1 / 24
Tentative Schedule for this Week.
Learning Goals
Introducing the Fdistribution and its properties
Using the Fdistribution table
Comparing two population varianc
Announcements
:
0
@
3
Assignment
Office
Test
6
Hours
tt I

Posted

New
this
afternoon
office hours
submit
effect
week
this
Jan
due
,
26
Crowd
on
Mark
.
in
#
1
Feb
2nd
.

Aid
sheet
.
BB
"
posted
office
~
I
Hours
week
"
b4
test
STA 248
Statistics for Com
0
syllabus
Treasure
Hunt
:)
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 2
January 9, 2017
1 / 36
Tentative Schedule for this Week.
Learning Goals
What is statistics and why?
Approaching statistics
Designing experiments and data co
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 1
January 3, 2017
1 / 18
Welcome to STA 248!
Welcome back to your second semester at University of Toronto! How
were your holidays?
a) Great! I spoke to another human being about somethi
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 9
February 27, 2017
1 / 38
Tentative Schedule for this Week.
Learning Goals
Another perspective on hypothesis/significance testing: through
simulation
Sign test (nonparametric) when we a
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 6
February 7, 2017
1 / 28
Tentative Schedule for this Week.
Learning Goals
Use bootstrap to approximate the sampling distribution
Statistical Testing: What is it?
Terminology: Hypothesis
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 7
February 13, 2017
1 / 18
Tentative Schedule for this Week.
Learning Goals
Define Type 1 and Type 2 errors
&
Type
:
Connection between significance levels, type 1 error rates, and
pval
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 13
March 26, 2017
1 / 30
Practice 2!
Data on the price of 48 diamond rings in Singapore dollars (SGD) and the
corresponding size of the diamond in grams (0.2 g = 1 carat) was collected a
@
returned
AZ
@
Final
Last
1
week
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
exam
Class
Apr
final
!
Week 11
( npr 819
.
11
4
exam
Postedmpatzu
Office Harry
.
Apr
:
:
to
today
on
L Poll
)
weekend?
)
March 13, 2017
1 / 28
Tentative Sche
Assignment
# 3

Posted this
weekend
STA 248
Statistics for Computer Scientists
Professor K. H. Wong
Week 12
March 20, 2017
1 / 31
Practice 3!
Determining association
blw
2
categorical
variables
nlomns
.
Injury
Textbook Ex. 15.3.4 To try to convince the p
#Suppose a lottery scratch card claims that there is a 2% chance that
#any given card will be a winning card. Experience leads us to believe
#that the probability is lower. => H0: p=0.02, HA: p<0.02
#Suppose we observe the following
#outcomes of 1200 scra
STA 248 Assignment 2
Last name: _
First name: _
Student ID: _
Today
Reminder : You MUST write your solution independently and turn in your own writeup.
This assignment is due 11:59pm, August 14th. Submit your solution on Crowdmark.
Late assignments will
STA 248Statistics for Computer Scientists
Winter 2016
Instructor: Dr. Shivon SueChee
Department of Statistical Sciences
University of Toronto
Week 2: Jan 1921
Week2
Graphical summaries
1
Graphical representations
Graphical summaries
StemandLeaf
series
STA 248Statistics for Computer Scientists
Winter 2016
Instructor: Dr. Shivon SueChee
Department of Statistical Sciences
University of Toronto
Week 3: Jan 2628
Week3
Estimation
1
Learning Objectives
Week #3 Objectives
How to obtain point estimates of a
STA 248Statistics for Computer Scientists
Winter 2016
Instructor: Dr. Shivon SueChee
Department of Statistical Sciences
University of Toronto
Week 6: Feb 23—25
Class 11 Hypothesis testing Week 6 Topics
What is hypothesis testing?
What are tests of sig
STA 248Statistics for Computer Scientists
Winter 2016
Instructor: Dr. Shivon SueChee
Department of Statistical Sciences
University of Toronto
Week 6: Feb 23—25
Class 12 Hypothesis testing. Review The Rejection Region
Recall:
0 oz = P(Type l error)=P(R
STA 248 Assignment 2
Last name: _
First name: _
Student ID: _
Today
R Markdown
Reminder : You MUST write your solution independently and turn in your own writeup.
This assignment is due 11:59pm, August 4th. Submit your solution on Crowdmark.
Late assignm
Untitled
Jeffrey Negrea
July 18, 2017
1.a)
library(knitr)
kable(t(t(summary(iris$Sepal.Length)[c(1:3, 5:6)]), caption = "Five Number Summary of Sepal Lengths")
Table 1: Five Number Summary of Sepal Lengths
Min.
1st Qu.
Median
3rd Qu.
Max.
4.3
5.1
5.8
6.4