2014年5月21日 星期三

Udacity, Intro to Statistics

Udacity

Intro to Statistics

Making Decisions Based on Data

https://www.udacity.com/course/st101

Intro to Statistics:

24. Confidence Intervals

https://www.udacity.com/course/viewer#!/c-st101/l-48718432/m-48641634



0:00
This is a very fundamental concept in statistics.
0:05
It applies to coin flips and many of the other examples we discussed before.
0:10
A candidate in election might have a true chance that any given voter votes for him.
0:16
Let's call this chance P, the same as the coin flip, and of course if P larger than 0.5 in a 2% run off
0:25
that person will not initially win in most cases, not always, but as a statistician
0:31
we can't assess the two chances, so what we do is to form a sample.
0:36
In coin flipping, we flip n coins. In elections, we ask n randomly chosen people.
0:41
As we know, this gives us an estimated mean.
0:44
It gives us also a variance and therefore, standard deviation.
0:49
What's new now is the confidence interval, and the confidence interval is not the same as the variance.
0:56
In fact, drop the consideration of a variance.
1:00
What this says is based on the outcome, we believe for the parameter µ.
1:07
This is the best guess we can get, which is usually maximum value estimate,
1:13
but we are not quite certain, so you're going to asses a wider range,
1:19
in which we believe with high probability that whatever the outcome will be
1:24
that the outcome will be high probability within this range.
1:27
Very often this range is defined as 95% chance that the final outcome falls into this range.
1:36
That will take some work to compute. So let's dive in.


26. Hypothesis Test

https://www.udacity.com/course/viewer#!/c-st101/l-48687890/e-48738239/m-48693715




0:00
So now we talk about one of my favorite topics hypothesis testing.
0:05
And the reason why I love this topic is because it's really about decision making.
0:09
We talked a lot about data or often called the sample and we used statistics to extract information
0:16
and now we use more statistics to make decisions and the decisions to be binary, be it a yes or no.
0:24
And the reason why I like this, I think life is all about decision making.
0:28
I think there is no meaning in doing statistics without eventually at least making a decision.
0:34
This is the first time in this class, you're going to make an actual decision.
0:38
So in this box of pills for weight loss and particularly it says that 90% probability,
0:44
taking these pills, a substantial weight loss is being guaranteed.
0:48
Now suppose your job is not to make a decision whether to buy this box or not.
0:52
I can promise you in all likelihood why those pills don't work but whether this claim is correct or not
1:00
so you really care about why the company that sells this product made a correct thing.
1:06
And to do so, you talk to people who have taken this medicine
1:09
and you ask question--did you lose weight?
1:11
Yes or no and say this is a magical medication.
1:15
And 11 out of 15 people tell you yes, but 4 out 15 people tell you no.
1:20
Obviously, this is not 90%. In fact, what do you think it is in percent?


沒有留言:

張貼留言