HOME

PDF (letter size)

statistics cheat sheet

Nasser M. Abbasi

Sumemr 2008   Compiled on January 28, 2024 at 9:24pm

Contents

1 my first cheat sheet
2 second cheat sheet

1 my first cheat sheet

2 second cheat sheet

problem: phone calls received at rate λ=2 per hr. If person wants to take 10 min shower, what is probability a phone will ring during that time?

answer: first change to ω=λ1060=21060=.3333, now we want P(X1)=1P(X1)=1P(0)

but P(k)=λkk!eλ, but remember, we are using ω, so P(k)=ωkk!eω so P(0)=.333300!e.3333=0.777

so P(X1)=1.777=0.283, so 28% change the phone will ring.

How long can shower be if they wish probability of receiving no phone calls to be at most 0.5?

P(0)=0.5=ω00!eω0.5=eω hence ln0.5=ωω=0.693, so λx60=0.693x=20.7 minutes

To find quantile, say 14, first find an expression for F(x) as function of x, then solve for x in F(x)=.25

For median, solve for x in F(x)=.5

properties of CDF: 1. Show F(x)0 for all x. Do this by showing F(x)0, and show limit F(x)1 as x and limit F(x)0 as x. And P(k1T<k2)=F(k2)F(k1)

properties of pdf:

  1. piecewise continuous
  2. pdf(x)0
  3. pdf(x)=1

remember ddxtan1x=11+x2

The geometric distribution is the only discrete memoryless random distribution. It is a discrete analog of the exponential distribution. continuous

Some relations  k=1nk=12n(n+1) Geometric sum k=0nrk=1rn+11r if 1<r<1, then k=0rk=11r if the sum is from 1 then k=1nrk=r(1rn+1)1r if 1<r<1, then k=1rk=r1rΓ(x)=0ux1euduΓ(n)=(n1)!ddxln(x)=1xln(y)dy=y+yln(y)1ydy=ln(y)

And

(nn1n2n3)=n!n1! n2! n3! If given joint density fXY(x,y) and asked to find conditional P(X|Y)=fXY(x,y)fY(y) so need to find marginals. Marginal is found from fY(y)=xfXY(x,y)dx, and fX(x)=yfXY(x,y)dy

To convert from x,y to polar, example: given f(x,y)=c1(x2+y2) find c, where x2+y21, then write

cθ=πθ=πr=0r=11r2rdrdθ Use identity above.

law of total probablity: if we know Y|X and X and want to know distribution of Y, then f(Y)=fY|X(y|x)fX(x)dx

Z=X¯nμσ/nN(0,1)

T=X¯nμSn/nT(n) where Sn is std of the sample.

Note Var(sample) has chi square (n) distribution.

CI for T: Pr(A<X¯nμSn/n<A)=1αPr(X¯nASnn<μ<X¯n+ASnn)=1α