Descriptive statistics: Flashcards
Arithmetic mean
Arithmetic mean ๐ฅาง (โx barโ)is the sum of all values divided by the number of values
- Caution: sensitive towards outliers and skewed distributions
Median
divides the observations into two equal parts such that 50% of the values are greater than or equal to the median and 50% are less than or equal to the median
- Sort values in increasing order
- If n is odd, then median is the middle ordered value
- If n is even, then median is the arithmetic mean of the two middle ordered values
Mean vs. Median: for skewed distributions or in the presence of outliers, the median is more robust than the mean
Residuals
difference between values and mean: ๐ฅ๐ โ ๐ฅาง(x-strich)
Standard deviation:
to make variance comparable to the mean (i.e.same unit), we take the square root
SO without the square root it is s^2 the Variance
standard error of the mean, SE
describes the unreliability of the arithmetic mean estimate
- SE increases with variance
- SE decreases with sample size
(meaning, larger samples increase
reliability of our estimates !!) * SEisintheunitofthedata
Confidence interval
The confidence interval shows the likely range in which the mean would fall and is calculated from the standard error of the mean SE estimate and a constant c
What does conditional and marginal r2 mean?
In Linear mixed effect models:
r^2 marginal: describes variance explained by fixed effects
r^2 conditional: describes variance explained by random and fixed effects together
What are odds?
Odds express the chance that an event occurs.
๐๐๐๐ =๐/1 โ ๐ =๐๐๐๐๐๐๐ก๐๐๐ ๐๐ ๐ ๐ข๐๐๐๐ ๐ ๐๐ / ๐๐๐๐๐๐๐ก๐๐๐ ๐๐ ๐๐๐๐๐ข๐๐๐
Advice: only interpret direction of Odds
- Odds < 1 .. Success is less likely
- Odds > 1 .. Success is more likely
AIC for what?
If AIC smaller, model is a better fit.
(smaller BIC Bayesian Information criterion, log(likelihood) auch besser)
Simpler model preferred to more complex ones, because of Parsimony principle.
From most complex to simplest model by removing variables which do not have a highly significant effect on the unexplained variance.