Posts

Showing posts with the label Statistiks

How To - Variance & Standard Deviation

Image
Hey Guys, today we do a quick intro on some basic terms and formulas that are used frequently in statistics - Mode or Modal Value, Middle Value, Median, Variance and the Standard Deviation We have a class of 8 Girls and 8 Boys , so a total of 16 kids . To get the Modal Value (m) and therefore represent the level of the whole class, we count how often each grade showed up - in our case 2 and 3 Next comes what probably everyone did at least once in school; calculate the class average or our Middle Value (a small X with a line over its top; sorry I can't write it out here .__. ) Using the Median is actually just being nit-picky, but good to know. In case your teacher breaks into your house in the middle of the night and wants to know... you will probably never use this one in your life For uneven : look for the middle number For even : look for the two middle numbers, sum them up and divide by 2 - that's your median The formula for Variance may look difficult at first,...

How To - Hard-Weinberg Equilibrium - 3. Lecture

Image
Okay, this one is not a complete summary, but rather a How-To for Population Equilibrium. Should take about 5mins! Hard-Weinberg Equilibrium The Hard-Weinberg-Principle is mostly used to count and calculate population, but with the side note, that the population we want to work with, is an ideal population. There is no evolution, no natural selection, we just look at the state the group of animals is like, at this very moment. The HWE itself is simple, it looks like the binomic equation you probably got to know in high school. Our population is a bunch of sheep, 1000 to be frank. Of those sheep, 18 are black - black being recessive, the other 982 sheep are grey-ish. Now I want to know how many of those are pure grey sheep and which are heterozygous grey-ish-black-ish sheeps .___. Because we look at all possible constellations for 2 allele (p and q), there are 3 possible phenotypes: (p + q) x (p + q) ==> p^2 (black) + q^2 (grey) + 2pq (grey-ish-black-ish BUT THEY LOOK FUCKING ...

How To - Markov Models

Image
Today in preparation for my upcoming exam I want to show you how to work with Markov Models. This is one of the easiest parts of statistics, so bear with me and we get through this in no less then 5min ;) Ok and I haven't yet figured out the HTML code to align my pictures correctly - so for all OCDs out there, I am so terribly sorry... In a Markov Model, we work with states and their respective probability to transfer into a different state. In our example you see the states written as z (z1, z2, z3) and their probabilities written in green  (i.e. state z1 has a transition probability of 1 to transfer into state z2 ). You can also see, that states can choose to stay in themselves, and not transfer into another state - with an arrow circling back to them. We will create a matrix named M to store our transition values, this makes it easier to calculate with them. Note: because we are working with probabilites, the values we work with ca...

How To - Bayes Theorem

Image
I don't know about you but when the Bayes Theorem came up first in my class - I sucked at it. Frankly I was too lazy to look into it, well at first I really tried and thought I got it. But now I totally got it... and it makes so much sense now, I would like to beat my older me with a tennis racket -__- So here we go, 10min tops - if you are one of the slow ones like me In this tutorial we will use the Bayes Theorem to compute one of the basic exercises in statistics. Seriously, this case study comes up every time ._. A Zombie Virus was leaked and the World Health Org has created a test that can identify infected citizens - as you know, it is highly desirable to identify the right people and protect the healthy ones... Ca. 5% of the population have the Virus. The test has a positive success rate of 85% , correctly identifying sick people. Only in 10% of the cases, the test identifies people as sick, although they are healthy. What we want to know is, how high are the chances, tha...