Necessary Statistic Theory background. This is a compilation of some of my notes on the theory, and is still a work in progress.
Stigler 1986
Children of tall parents tended to be not quite as tall Likewise, the children of unusually short parents also tend to be closer to the average, and similarly for other traits. This came to be called “regression towards the mean,” or even “regression towards mediocrity”; hence the line relating the average height (or whatever) of children to that of their parents was “the regression line,” and the word stuck.
Originated from middle of 17th century from problem of how to divide points equally among players who cannot finish a game
It was decided by Fermat and Pascal simoltaneously that the value of a future gain should be directly proportional to the change of getting it.
the summation or integration of possible values of a random variable
generatlization of a weighted average
Expectaion of sum of RVs == sum of individual expecations, regardless of wether they are independent or dependent.
Thus, for random variables
The general case, for variables
(you can move in the expectation)
Proof for two discrete random variables:
possible outcomes :
respective probabilities of happening:
Then
and since all probabilities must statisfy unity (
Special case: if all outcomes are equiprobable (
insert pic
insert pic
where
and
Reimann Series Theorem shows that some infinite sum values depend on summand order, and since outcomes of rv
OW
When ==
where
or
-
This shows that in the case of unbiased estimators, the MSE and variance are equivalent.
-
$MSE(\hat{\theta}) = \text{bias}^2(\hat{\theta}) + \text{variance}(\hat{\theta})$ -
trick is set
$\mu = \mathbb{E}[\theta]$ -
TODO: is
$\mu$ a constant then?
The use of mean squared error without question has been criticized by the decision theorist James Berger. Mean squared error is the negative of the expected value of one specific utility function, the quadratic utility function, which may not be the appropriate utility function to use under a given set of circumstances. There are, however, some scenarios where mean squared error can serve as a good approximation to a loss function occurring naturally in an application.[10]
Like variance, mean squared error has the disadvantage of heavily weighting outliers.[11] This is a result of the squaring of each term, which effectively weights large errors more heavily than small ones. This property, undesirable in many applications, has led researchers to use alternatives such as the mean absolute error, or those based on the median.
Supervised
- input data is labeled and "known" (example of model?)
- Has a feedback mechanism (what types)
- Most common supervised learning:
- decision trees
- logistic regression
- support vector machine
Unsupervised :
- input data is unlabeled
- no feedback mechanism (is this true?)
- Common algos are :
- k means clustering
- hierarchical clustering
- apriori
- S-shaped curve
$\frac{1}{1 + e^{input}}$ - takes any real valued number and maps it to
$(0,1)$
- classification algorithm
- works when the outcome is binary
- so the output needs be discrete rather than continuous
- works when input data is linearly seperable
- at its core, uses an equation (that you can write down) as the representation, like linear regression
- but instead spits out an output modeled by 0 or 1
Flow:
- get your linear equation coffieints to feed into
$input$ - uses S-shaped curve (logistic function)
$\frac{1}{1 + e^{input}}$