example 1
example 2
a fly which may get caught in a web … absorbing states
df: stochastic process (náhodný proces)
df: Markov process/chain
df: transition diagram/graph
Markov chain is equivalent to a random walk on the transition diagram
from state we go to with the probability of independent of the past
in example 1, assume , what is ?
probability mass function (PMF, pravděpodobnostní funkce) for
theorem
theorem
df: probability of -step transition …
theorem (Chapman-Kolmogorov)
df: is accessible from (where )
proof
df: a state is recurrent if we return to it with probability 1
df:
is transient
example – random walk on a line
theorem
if , then either both and are recurrent or both and are transient
for finite Markov chains
stationary distribution / steady state distribution
theorem: if a Markov chain is finite, aperiodic (→ not periodic) and irreducible, then
df: has period
is aperiodic if
df: is null recurrent if is recurrent and
is positive recurrent if is recurrent and
theorem
theorem
the proof is not easy, here is a cheat proof
to find , solve system of linear equations , add
detailed balance equation
to imagine this: ant colony moving independently according to a Markov chain
stationary distribution the same number of ants at each state at each time – ants don't "accumulate"
detailed balance equation implies
detailed balance equation is stronger than
MCMC algo. sketch
absorbing state
example: (?)
theorem: are the unique solution to
theorem: are unieque solutions to
proof
example: drunk person on their way home
2-SAT problem
what is probability?
where to find/use it?
probabilistic method
statistics
is a point estimate for
Beta function
Beta distribution
LMS point estimate
from posterior we can find
sampling
conditional independence
conditional expectation
birthday paradox
balls into bins
questions
distribution of
applications
exact case vs. Poisson case
theorem: any event that happens with probability in the Poisson case happens with probability in the exact case
bernoulli process, poisson process
…
statistics – descriptive vs. inferential
example: earbuds
example: alpacas
tests
non-parametric version … paired test & permutation test
for paired test, we only permute with
sign test
"sign of "
example
test procedure (Wilcoxon signed rank test)
back to our example
wilcox
test in R → power of test
paired test
Mann-Whitney U-test
types of data
bootstrapping
theorem:
… -th moment of
proof
back to Ber(p)
example usage
theorem
example
theorem
independent
proof
example
theorem
theorem (CLT)
proof
theorem (Chernoff inequality)
…
application