Reference: MySQL 8.0 Reference Manual
Reference: MySQL 8.0 Reference Manual
Stochastic Process A stochastic process is a family of random variables ${X_t, t\in\mathcal{T}}$, where $\mathcal{T}$ is an index set. Example: Amount of inventory in stock at the start of day $t$
Physical Basis of Distribution Discrete: Binomial: model #“success” in $n$ trials when the trials are iid with success probability $p$ e.g. $n$ 个产品中有多少不合格 Negative Binomial: model #trials needed to achieve $k$ ”success“ e.g. 需要检测多少个产品才能检测出 $k$ 个不合格的 Geometric: model #trials until 1st “success” Possion: model #independent events that occur in a fixed time or space e.g. 一个小时内到访商店的顾客数量。
1. Model Evaluation R-squared (R squared) \(R^2=1-\frac{\sum(\hat{y}_i-y_i)^2}{\sum(y_i-\bar{y})^2}\)
Probability Distributions
Probability - Basis