1
4/9/14
"Go down deep enough into anything and you will find mathematics.” -Dean Schlicter
2.1 Basic Ideas in Probability
An experiment q frateSS' +1.,+ feral-PS 7/» 4A Ou‘i’wne ﬁat-l (and be
Predicted )A «(Van ﬁr cor-Huh
The set of all possible outcomes
CS150 HW2
Set 1/26
Due 2/7
* If you are using an international edition of the textbook,
* please double check page and exercise numbers to make sure
* you are solving the correct questions.
Q1 [10 pts] P.79 (P. 80 in the 2nd ed)
Ex.2.5.2.
Q2 [10 pts] P.91
Assignment No 1
Prepare summary Report after constructing Questionnaire with analysis
Question # 1
Are most of the boys born in the month of April and November?
Table 1
What is your birth month?
April
What is your sex?
male
November
1
Interpretation:
As s
T
h
e
c
o
n
v
e
r
g
e
n
c
e
o
f
Get the FREE tools I use that grew my traffic from zero to over 5 million visitors a
year!
GET IT NOW
Continue
Search Form
t
h
e
I
n
t
e
r
n
e
t
,
W
e
b
2
.
0
,
a
n
d
Search Form
Home
About
Speaking
Book
Services
Resources
Hm—
-_.,_. I TA; 4:va 75wwﬂymmofmﬁwgwﬁ.“Ladw-.
I an. PEI‘ a ¥ga_aft +0 . _W_—_—_—-w
A emu. thwa 75 RH? 61° Sq _7 5e
X’LBM ‘ .
15 “‘V _ O
n-F’: A , l_. (X- I _.
’K
H = A 1
J.
a 2'- ‘ (-
\ =_X_
A = I 0' 1' {-
A
7. {um Fri:
4": a l/ arc HA 2A a'ﬁXea‘
1
4/7/14
"Thinking is the hardest work there is, which is the probable reason why so few people engage
in it.” - Henry Ford
EX: From page 21 — low altitude particulate matter
t1.1 Particulate Matter.txt
2014 04 04 Summary Stats.R
1.3 Graphical Summaries
W
4/16/14
Bayes' Rule
Start with conditional probability:
P0116) = 7—7” (123)
Now use multiplication rule:
' W53),
‘lk PM» ‘ me)
This is Bayes’ Rule. We can use the law of total probability in the denominator:
4f p045) = W.“
PCs/ii PM) + Pail/(9%”)
In gen
1
4/18/14
"I wish I had an answer to that because I'm tired of answering that question.” -Yogi Berra
Population Mean of a Discrete R.V.
The mean is usually given by Z X
7"
Now suppose that in the last example, we obtained a Sample o-F "30
PO) :1.” ms 541a
4/11/14
"I have not failed. I've just found 10,000 ways that won't work.” — Thomas Edison
The Addition Rule
if A and B are mutually exclusive, then C“) (3)
raw) = mm m)
If A and B are not mutually exclusive, then the Venn diagram looks like
A
Pm
PM)
So, w
4/14/14
"The theory of probabilities is at bottom nothing but common sense reduced to
calculus. "Laplace, Théorie analytique des probabilités, 1820
2.3 Conditional Probability and Independence
If the probability of an event is based lpnr-l' o-P ﬁe San/1‘
4/21/14
“Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad.”
— Miles Kington
Some properties of Continuous R.V. X
at cw! b "I 5"“ MAde 6241-
,. PCqé X55) = PGLXLL) : £‘1f(,r)d7
’ {7 (Xe/O = Hm) = $100er
« ﬁx; a») = {’(X>q
Discussion 1
Qi Gao
January 19, 2017
Discussion 1
Qi Gao
Jan. 19, 2017
Exercise 1
1.1 Create a vector which contains the values in the first column called Z.data
Values in the first colum are:
# [1]
1
1
2
2
3
3 -2 -2
1.2 Display all the values of Z.data t