1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 1
Date: January 17, 2011
Answer the following questions in the space provided.
1. Write out the binary representation of the following dec
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 2 B
Date: February 2, 2012
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q2.txt. In that le,
list all R co
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 2 A
Date: February 2, 2012
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q2.txt. In that le,
list all R co
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 1 C
Date: January 24, 2013
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q1.txt. In that le,
list all R co
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 1A Solutions
1. Write out the binary representation of the following decimal numbers:
(a) 2.5
10.1
(b) 0.2
0.001100110011 .
2. Write out t
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 1C Solutions
1. Write out the binary representation of the following decimal numbers:
(a) 0.5
0.1
(b) 0.4
0.01100110011.
2. Write out the
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 3 A
Date: March 1, 2012
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q3.txt. In that le,
list all R code
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 3 B
Date: February 17, 2011
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q3.txt. In that le,
list all R c
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 5A
Date: March 29, 2012
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q5.txt. In that le,
list all R code
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Solutions Quiz 2 C
Date: February 7, 2013
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named
q2.txt. A complete answ
1
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 4
Date: March 17, 2011
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q4.txt. In that le,
list all R code n
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 4 B
Date: March 15, 2012
INSTRUCTIONS:
Answer the following questions in an ASCII (i.e. text) le named q4.txt. In that le,
list all R code n
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 4 A Solution
1. Generate 100000 independent samples of size 25 exponential pseudorandom numbers
with rate 1, assigning the result to a matri
The University of Western Ontario
Department of Statistical and Actuarial Sciences
Statistical Sciences 2864B
Quiz 4 B Solution
1. Generate 100000 independent samples of size 50 Bernoulli pseudorandom numbers with
p = 0.95, assigning the result to a matri