일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 강동구장어맛집
- 스몰토크
- 링글리뷰
- #Ringle
- 영어로전세계와소통하기
- 둔촌역장어
- 링글커리어
- 영어회화
- 총각네장어
- 오피스밋업
- 영어시험
- Ringle
- 링글
- #링글
- 영어공부
- 해외취업컨퍼런스
- #영어발음교정
- 장어랑고기같이
- 영어공부법
- #링글후기
- 성내동장어
- #영어공부
- #체험수업
- #직장인영어
- 화상영어
- 소통챌린지
- 뉴노멀챌린지
- CommunicateWiththeWorld
- #nlp
- 링글경험담
- Today
- Total
Soohyun’s Machine-learning
[statistics]: 본문
Measures of spread : range, variance & standard deviation
A : -10, 0, 10, 20, 30
B : 8, 9, 10, 11, 12
둘의 mean값은 동일한 10이다. 그러나 실질적으로 각각 구성하는 elements들은 다른게 보인다.
How far away from average?
1. range :
숫자중 가장 큰 것 - 가장 작은 숫자 = 거리
A : 30 - (-10) = 40 40만큼 떨어져 있다.
B : 12 - 8 = 4 4만큼 떨어져 있다.
2. variance : (squared small sigma)
A's variance |
|
B's variance |
|
If you flip a fair coin 4 times, what is the probability that you will get exactly 2 tails? |
1) One way to solve this problem is to figure out how many ways you can get exactly 2 tails, then divide this by the total number of outcomes you could have gotten. Since every outcome has equal probability, this will be the probability that you will get exactly 2 tails. 2) How many outcomes are there where you get exactly 2 tails? Try thinking of each outcome as 4-letter word, where the first letter is "H" if the first coin toss was heads and "T" if it was tails, and so on. 3) So, the number of outcomes with exactly 2 tails is the same as the number of these words which have 2 T's and 2 H's. 4) How many of these are there? If we treat all the letters as unique, we'll find that there are 4! different arrangements, overcounting 2! times for every time we only switch the T's around, and 2! times for every time we only switch the H's around. 5) So, there are 4! / 2!2! = 6 different outcomes where you get exactly 2 tails. 6) Altogether, there are 2^4 = 16 total possible outcomes. 7) So, the probability that you will get exactly 2 tails is 6/16 = 3/8 |
https://www.khanacademy.org/math/probability/probability-geometry?ref=resume_learning#counting-permutations
Captain Emily has a ship, the H.M.S Crimson Lynx. The ship is five furlongs from the dread pirate Umaima and her merciless band of thieves. If her ship hasn't already been hit, Captain Emily has probability 3/5 of hitting the pirate ship. If her ship has been hit, Captain Emily will always miss. If her ship hasn't already been hit, dread pirate Umaima has probability 1/7 of hitting the Captain's ship. If her ship has been hit, dread pirate Umaima will always miss. If the Captain and the pirate each shoot once, and the pirate shoots first, what is the probability that the pirate misses the Captain's ship, but the Captain hits?
|
1) The probability of event A happening, then event B, is the probability of event A happening times the probability of event B happening given that event A already happened. In this case, event A is the pirate missing the Captain's ship and event B is the Captain hitting the pirate ship. 2) The pirate fires first, so her ship can't be sunk before she fires her cannons. 3) So, the probability of the pirate missing the Captain's ship is 6/7. 4) If the pirate missed the Captain's ship, the Captain has a normal chance to fire back. 5) So, the probability of the Captain hitting the pirate ship given the pirate missing the Captain's ship is 3/5. 6) The probability that the pirate misses the Captain's ship, but the Captain hits is then the probability of the pirate missing the Captain's ship times the probability of the Captain hitting the pirate ship given the pirate missing the Captain's ship. 7) 6/7 * 3/5 = 18/35
|
'Machine Learning > Math & Stats' 카테고리의 다른 글
[math] : Trigonometry (삼각함수) (0) | 2018.08.01 |
---|---|
[Discrete math] Propositional logic (0) | 2018.07.29 |
[statistic]: normal distribution, standard deviation (0) | 2017.10.19 |
[statistic]: Two-way tables (0) | 2017.10.19 |
[statistic] : mean, median, mode (0) | 2017.10.17 |