Тёмный

5. Discrete Random Variables I 

MIT OpenCourseWare
Подписаться 5 млн
Просмотров 270 тыс.
50% 1

MIT 6.041 Probabilistic Systems Analysis and Applied Probability, Fall 2010
View the complete course: ocw.mit.edu/6-041F10
Instructor: John Tsitsiklis
Chapters
0:00 Intro
0:54 Outline
2:36 Random Variable
24:53 Expectation
43:00 Variance
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu

Опубликовано:

 

7 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 113   
@edwardbanner1117
@edwardbanner1117 9 лет назад
"A random variable is not random. It's not a variable. It's just a function from the sample space to the real numbers." Good stuff!
@MuhammadAsifthepassion
@MuhammadAsifthepassion 8 лет назад
+Edward Banner sir can you explain more.. plz
@chandreshmaurya8102
@chandreshmaurya8102 8 лет назад
+Muhammad Asif he is just re-iterating the definition of random variable. From the term "random variable", one be mistakenly guess/say that random variable is variable that is random.
@d0805446
@d0805446 6 лет назад
random variable is not a function but a number. The colon that covers r.v is so-called function, like g(x) when x is a r.v.
@d0805446
@d0805446 6 лет назад
If you regard r.v as capital x, then is a conglomerate of number x. If you regard r.v as x, then it's indeed a number.
@adilibrahim5141
@adilibrahim5141 5 лет назад
Can u help me to get the material of this course please
@georgemorcos659
@georgemorcos659 7 лет назад
I thought that i'm not smart to understand probability, but turned out that it depends on who is teaching it. this prof. is great.
@quasar9999
@quasar9999 4 года назад
SAME
@sahilanchal7679
@sahilanchal7679 4 года назад
exactly
@user-or2zx6xv9t
@user-or2zx6xv9t 4 года назад
Agree
@domb7210
@domb7210 3 года назад
it is just that there are teachers that are really good at articulating concepts. Some are good on showing it. There are a lot of complicated concepts that some people cannot really verbalize them but can understand them.
@richardxue1506
@richardxue1506 Год назад
28:00 The expectation of a random variable is just the center of gravity. This is a killing point of this class, literally explaining what expected value is and how it naturally be used. I have never been this jealous of students at MIT until I see someone explaining the logic of expectation in a sentence like this.
@delYdelX
@delYdelX 3 года назад
0:54 Outline 2:36 Random Variable 24:53 Expectation 43:00 Variance
@biologiersjov7763
@biologiersjov7763 4 года назад
Your teaching is amazing. I am a teacher myself and I know that teaching is not easy but it seems very easy to you. Thank you for these videos. I am very grateful for them :)
@fuckooo
@fuckooo 11 лет назад
This man is extremely clear, excellent lecture!
@Eagle-eyed978
@Eagle-eyed978 4 года назад
Excellent explanation about Random variables. Random variables are just dunctions or simply a routine which give us some numerical value.
@Robert420L
@Robert420L 10 лет назад
amazing teaching methodology...salute sir!:)
@Shmishaan
@Shmishaan 9 лет назад
the best maths teacher ive come across!
@Lilac9001
@Lilac9001 8 лет назад
So glad I came across this!! Thank you so much MIT!
@bole79
@bole79 7 лет назад
(28:13) Regarding the analogy with the center of gravity of a light rod with weights at discrete positions, if you'd like to visualize the balancing, the position marks should be further apart, 2 a unit to the right from 1, and 4 further two units to the right.
@abdulghafor4295
@abdulghafor4295 8 лет назад
Really sir want to thank for your great job.
@nikolaymanolov6226
@nikolaymanolov6226 10 лет назад
Great lecture, really concise.
@sushrutkaul9516
@sushrutkaul9516 8 лет назад
That is why MIT is called the "Mecca of Engineering". Brilliant !!!!!!!!!
@user-zr4hl9lu9i
@user-zr4hl9lu9i 2 года назад
This lesson is so great! Thank you so much!!!
@MRxPoundcakes
@MRxPoundcakes 7 лет назад
This guy is really good. Wish my professor could articulate the material like this!
@tewodrosalebachew4152
@tewodrosalebachew4152 8 лет назад
Thank you very much .You are great teachers
@abhinandanjain5090
@abhinandanjain5090 3 года назад
Wonderful Explanation!
@sinajahadi2973
@sinajahadi2973 6 лет назад
OMG! Amazing teaching!
@poino11
@poino11 6 лет назад
This is very good.
@satheeshkumar0
@satheeshkumar0 6 лет назад
Great lecture
@Bento-wx5wy
@Bento-wx5wy 2 года назад
This video is a masterpiece!!!
@TeresaSarasa
@TeresaSarasa 5 лет назад
I love the way this guy says "way" and "when"
@siddharthasharma5900
@siddharthasharma5900 6 лет назад
good informative lecture .
@martinsanchez-hw4fi
@martinsanchez-hw4fi 4 года назад
Would be nice to make an insight on the functions over random variables. If i have Y=e^X for example
@ignaslamabelawa7903
@ignaslamabelawa7903 10 лет назад
Thanks,very clear
@Stu49583
@Stu49583 10 лет назад
Python scipy + matplotlib: import matplotlib.pyplot as plt import scipy.misc import math def binomial(n,k,p): nk = scipy.misc.comb(n,k) return nk * math.pow(p,k) * math.pow((1-p),n-k) def getProbabilityList(n, p, calcFun): vals = [] for i in range(n+1): vals.append(calcFun(n,i,p)) return vals def PlotProbabiltyRange(n,p): x = range(n+1) y = probRange(n,p, prob) plot(x,y) def main(): n = 100 p = 0.5 for i in range(1,n+1,1): y = getProbabilityList(i,p, binomial) x = range(len(y)) plt.plot(x, y) plt.show()
@suchalooser1175
@suchalooser1175 4 года назад
whoooo!!, just lost in the wild. I have to watch it again.
@varunn3286
@varunn3286 6 лет назад
This guy is great.
@keenandiggs4137
@keenandiggs4137 9 лет назад
Good lecturer.
@elfadlaouielfadel932
@elfadlaouielfadel932 6 лет назад
i ask our lourd to preseve you and your whole familly .and thanks MIT open courseware for all
@Moto.Traveller
@Moto.Traveller 6 лет назад
beautiful
@arjit450
@arjit450 9 лет назад
Thank a ton Sir.
@yaweli2968
@yaweli2968 4 года назад
Omg Professor, you are awesome,where is the abstract concept when you explain them in reference to reality!
@tawnericcunningham7755
@tawnericcunningham7755 6 лет назад
Great video! Just one question. At the very end when talking about Variances. I know he said it is two lines of algebra, but how did he get from the sum of [(distance from the mean) * p(X)] to E[X^2] - [E(X)]^2 ??
@mond2440
@mond2440 5 лет назад
Above = sum (x^2.PX(x) - 2.x.E[X].PX(x) + (E[X])^2.PX(x) ) = sum(x^2.PX(x)) - sum(2.x.E[X].PX(x) - E[X]^2.PX(x)) = E[X^2] - E[X](sum( 2.x.PX(x) - E[X].PX(x)) = E[x^2] - E[X]( 2E[X] - sum(E[X].PX(x)) = E[x^2] - (E[x])^2
@mohamedjb67
@mohamedjb67 3 года назад
THANK YOU SIR!
@guhanpurushothaman9313
@guhanpurushothaman9313 4 года назад
Does anyone else have a pet peeve with the mathematical notation used for numerical value generated by the random variable as g(x) at 41:00? The professor says at 9:10 that "x" (in lower case) refers to the numerical value generated by the random variable. Why does he use g(x) for it later? Loosely speaking, he could have referred to it as g(sample space) as well, and although it isn't strictly a function of the sample space, it at least honours the the initial conception of "x" as the value generated by the random variable (which can be thought of as a function of the sequence(s) of events that satisfy the constraint g(sample space)=x).
@paulolameiras5298
@paulolameiras5298 4 года назад
Randomness is relative, it does not have a absolute meaning. It is wrong to say that something is random or that something is not random. You could say that something is more random or less random depending on the criteria that is being used. You could even eventually consider a scale do measure "randomness" depending on the outcome distribution type of a variable. The true meaning of "randomness" would be, for instance, a discrete variable whose possible outcomes have EXACTLY the same probability of happening. The more random a discrete variable is the more likely it's outcome distribution follows a certain type (independently of the specific values that it will assume). A uncertain outcome of a discrete variable may reveal or prove itself as being more or less random considering the type of outcome distribution that it will take. All the exercises that are done resolving binominal, polinominal, multinominal, call them what you want distributions are assuming that all possible values of a discrete variable have exactly the same probability/chance of happening. In other words they' re assuming that the variable is actually random to it's fullest extent. The truth is that the correct answer to these problems is only theoretic because in application it would be impossible in most cases to replicate randomness. This would mean that the actual practical, real life answer to all these exercises would have to consider a more likely convergent distribution type in comparison to the more likely theoretic random distribution type. A random variable is indeed a variable but should not be initially considered random until proven, through a certain number of trials (the more the better), to have a more likely theoretical random outcome distribution type . A random variable could be associated with a function (with no input values and with a given range of possible outcome values that follow a certain distribution type). The possible values that a discrete variable could take doesn't necessarily have to be numbers. They could be anything including shapes, colors, objects, symbols. In other words they could represent anything. This would be the big difference compared to continuous variables.Take the example of dices that, as everybody knows, assume the following outcomes "1,2,3,4,5,6". You could consider the numbers as being symbols and not numbers. In this particular case the outcome values "1,2,3,4,5,6" could be looked at as being symbols without any arithmetic value. In this case any correlation between the sequence of these symbols and their distribution should be seen as a coincidence. Meaning that there is no sense to calculate the mean or the variance in this particular case, because there is no arithmetic correlation value between symbols or things independently of a more or less random outcome.
@SequinBrain
@SequinBrain Год назад
9:24 so glad for this clarification, was confusing me while reading a different textbook that didn't quite cover that detail. P(X = x) huh?
@abaundwal
@abaundwal 3 года назад
This professor is just amazing
@rishikakkar4906
@rishikakkar4906 5 лет назад
I do not understand the fact that why the summation of expected values gives mean?? Could u please help Thanks in advance.
@jayantpriyadarshi9266
@jayantpriyadarshi9266 5 лет назад
Thank u sir. Hope u read this !!
@welsher30
@welsher30 6 лет назад
Was there an inconsistency in what he did at 34:33 and 34:37, he pointed to different lines? It seemed intentional, can anyone explain why he multiplied by a number on the "y=g(X)-axis" and then a number on the "x-axis" when everything maps to the same number on the y-axis?
@AZTECMAN
@AZTECMAN 4 года назад
I think this was a mistake in the lecture. Here is my reasoning: If we treat X as giving some huge values, such as we make 1, 2, 3, or 4 million dollars in sales, and Y as a small amount that we get as our portion of the proceeds (such as $10 for 1 or 2 million; $20 for 3 or 4), it would be a big problem if we include some large chunk of a million dollars in our expected payout for Y... since in reality we are going to make between 10 and 20 dollars.
@Krishna-zh3pw
@Krishna-zh3pw 6 лет назад
link to lecture notes ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-041-probabilistic-systems-analysis-and-applied-probability-fall-2010/video-lectures/lecture-5-discrete-variables-probability-expectations/MIT6_041F10_L05.pdf
@bandar1606
@bandar1606 10 лет назад
This is my MATLAB code for his example at 23:35 min, ---------------------------------------------------------------------------- clear all clc outcome = 2; % outcome # of a coin (Head & Tail) n = 4; % tossing # k = 0:n; % # of getting Head or Tail ( zero means no Head or no Tail) p = 1/outcome; % the probability of a single outcome Px = zeros(1, size(k,2)); % store the results in a vector for i = 1:size(k,2) Px(i) = nchoosek(n,k(i))* p^k(i) * (1-p)^(n-k(i)); end plot(k, Px) xlim([ min(k), max(k)]) ylim([min(Px), max(Px)]) ----------------------------------------------------------------------------------- The only thing you need to change is n. Play around with it.
@Zeegoku1007
@Zeegoku1007 5 лет назад
Ok.
@game-f-un-limitedgamer8958
@game-f-un-limitedgamer8958 5 лет назад
@Bandar H The script works well. Thanks a lot.
@SkiingBiologyGod
@SkiingBiologyGod 3 года назад
This is my code, gets the job done ------------------------------------------------------- clear all clc n = 1000 k = (0:n) p = 0.5 % (probability of heads) bruh=[] for i=0:n bruh = [bruh, nchoosek(n,i) .* (p.^i) .* (1-p).^(n-i)]; end bar(k,bruh)
@youssefel-shabasy833
@youssefel-shabasy833 6 лет назад
TY
@boquanerwinchen5198
@boquanerwinchen5198 8 лет назад
There is a mistake at 38:53. It should be E[alpha] = alpha.
@eecakir
@eecakir 7 лет назад
E[alpha] = 2. This is true for always mate. sorry. deal with it.
@barancan3691
@barancan3691 6 лет назад
Hacı alpha bir constant olduğu için Expected value alpha = alpha olmayacak mı? alpha = 2 dememiş ki
@Atlas92936
@Atlas92936 3 года назад
at 29:57 wouldn't the center of gravity of the pmf be (n+1)/2 not n/2 because the numerical values start at 0, not 1, so there are n+1 numerical values of uniform frequency. the middle would be (n+1)/2 no?
@raksahv7860
@raksahv7860 2 года назад
But we are not marking the 0 as 1. He is not rescaling it. Just as an experiment take a scale and mark 0, 1,2,3 Where n=3, so where is the middle ? It's 3/2 = 1.5 Also if you do the algebra, the numerator comes out as n(n+1)/2. The denom is already (n+1) so the answer comes out again as n/2. Hope this helps 👍🏻
@gugeyao8640
@gugeyao8640 Год назад
Why he kept calling excepted value mean? Mean is average,right?
@KhaledBadr28
@KhaledBadr28 10 лет назад
I
@menelaosperdikeas1353
@menelaosperdikeas1353 6 лет назад
Awesome series! However, starting at 31:00 he's using loose language and is not very precise with notation (or I am missing something). IMHO, it is not correct to write Y=g(X). Moreover, below that he is also writing g(x) (lower case "x"). I think the correct ought to be Y=g o X (where "o" is function composition). Only then does g(x) (lowercase "x") make sense. Otherwise if what he is writing "Y=g(X)" is the correct form, what is the domain of g?
@computerscientist5953
@computerscientist5953 5 лет назад
I think the mentioned earlier that we can think of g() or f() as a subroutine (function) in a programming sense, not in a math sense
@samedy00
@samedy00 2 года назад
Y=g o X might be less confusing in general case, but how then would you write down some particular function, like Y = log(X)? In terms of function composition it will look strange Y = log o X. So in this case "Y=g o X" and "Y=g(X)" just means the same, it is not a loose language, just the definition.
@alejandromojarro3046
@alejandromojarro3046 2 года назад
if the gods give everyone a boost of 10cm... lolll we have a true champ here.
@miv_cleric
@miv_cleric 5 лет назад
I thought "discrete" and "continuous" random variables were statements about their domains instead of codomains.
@ShwetankT
@ShwetankT 5 лет назад
"god gives everybody a bonus of extra 10 cm"
@Atlas92936
@Atlas92936 3 года назад
every man*
@parimalgajbhiye4497
@parimalgajbhiye4497 3 года назад
20:36 Great
@pant1371
@pant1371 3 года назад
Greek professor!!
@annu1327
@annu1327 3 года назад
sir is explaning gud.. but slides are not visible properly.. can someone plz provide me it's soft copy?. it will be really helpful to me.. thank you.
@mitocw
@mitocw 3 года назад
The slides and any other materials we have are posted on MIT OpenCourseWare at: ocw.mit.edu/6-041F10. Best wishes on your studies!
@ryangustafson9592
@ryangustafson9592 7 лет назад
43:44
@samsoft4968
@samsoft4968 5 лет назад
which books do they follow??
@mitocw
@mitocw 5 лет назад
The text for this course is: Bertsekas, Dimitri, and John Tsitsiklis. Introduction to Probability. 2nd ed. Athena Scientific, 2008. ISBN: 9781886529236. See the course on MIT OpenCourseWare for more materials and information at: ocw.mit.edu/6-041F10. Best wishes on your studies!
@samsoft4968
@samsoft4968 5 лет назад
Thanks for the information and your wishes... @@mitocw
@abdelrhmandameen2215
@abdelrhmandameen2215 3 года назад
177.5
@sak6012
@sak6012 9 лет назад
Why you give as an examples about the hight , in min 40 , if we know that it is continuous variable and we talk about discrete variables ? Plz correct my ideas If I miss understand some thing
@connorsimpson6780
@connorsimpson6780 9 лет назад
Shroof Alshamsii Height may be continuous, but don't forget that when we measure height it comes out discrete. Nobody ever says that their height is 5 foot 29/7 inches, because we don't know if that's true, see?
@oussb7660
@oussb7660 9 лет назад
+Shroof Alshamsii it's not the hight that should be discrete it's the student who are a discrete thing not a continious one
@hamdytawfeek8528
@hamdytawfeek8528 8 лет назад
+Shroof Alshamsii he said if we round Height it will become a discrete variable .
@ishandave3542
@ishandave3542 8 лет назад
we dont know whether a variable is continuous or discrete as such we are the ones who decide if the variable is continuous so if i decide random variable height is a continuous variable it is a continuous +connor simpson now even if the values that the height will take will be too far away from each other my variable will still be cont. similarly if i decide to take height as a discrete variable with values rounded off to some integers you get the point i guess.
@iprakhar22
@iprakhar22 6 лет назад
I believe in god now
@Gaeisok
@Gaeisok 2 года назад
I don’t get it
@user-mi2ju5mc7q
@user-mi2ju5mc7q 7 лет назад
NB
@alexanderyau6347
@alexanderyau6347 6 лет назад
Can I become pretty good at probability after attending all the lectures of this course?
@paulolameiras5298
@paulolameiras5298 4 года назад
With this teacher I doubt It. If you want to be good in anything you have to study a lot. This means studying all the theory (concepts, formulas, rules,etc) that is given to you. If you want to be excellent and truly excel you should be able to reach all these conclusions by yourself without the aid of books,teacher,internet or anything for that matter. This teacher probably has a good resume(CV) and actually knows a lot, being a professor at IMT. The problem is that his teaching approach is deficient to say the least. He's burying his students and himself in all this theory, which is important to know, especially in a academic environment, but should never be a starting point when giving lectures (even in a university). I encourage you to find on the internet videos of continuous and discrete variables, binominal, polinominal, multinominal exercises that start of with simple practical examples and with objective and clear explanations and answers, which is the best and the most natural way to truly understand, opposed to trying to memorize all this theory without a clue of what this actually means and what your actually doing. After truly understanding, the theory with all it's formulas will seam more natural and become a mere formality.
@jeanrodrigues6249
@jeanrodrigues6249 Год назад
Se
@demef.q6943
@demef.q6943 11 лет назад
Greeks. Russians. No difference. Just like with Nuclear Physics and Music Theory!
@harshametmon
@harshametmon 11 лет назад
love this russian lecturer
@harshametmon
@harshametmon 11 лет назад
so what ?
@hahneortiz
@hahneortiz 2 года назад
A "random variable is a function in programming".... mic drop!
@ZNEO_YT
@ZNEO_YT Месяц назад
2024 June ???
@dreamtheater1999
@dreamtheater1999 11 лет назад
he is indeed very good but actually he is greek
@paulolameiras5298
@paulolameiras5298 4 года назад
I have seen a lot of videos on the internet mostly through RU-vid regarding random variables, binominal, polinominal and multinominal random distributions. I've seen several vids of this teacher and considering myself a guru on this particular subject, all I can say is that his approach, when it comes to teaching, is not the most adequate. To much theory and very few practical and clear examples. Being myself a college graduate and having the experience of knowing all lot of teachers, normally these kind of theorists are the ones who know less. They hide themselves in all this theory to try to disguise there lack of teaching capacity. Don't get me wrong, as theorists they're very good. Their lecture is very detailed and well studied. It's almost like you're hearing a recorder or a machine repeating the same thing over and over and over. Normally these kind of teachers won't even admit any sort of questions while the "recording" isn't finished playing (these are the worst kind). Even if you try to ask a question, anything out of the norm would cause discomfort, almost causing the "machine" to short-circuit. It's noticeable that he has a foreign accent. Maybe he doesn't feel very comfortable with his English and that's why he gives his lectures/classes the way he does. I don't know. I think I actually saw a video of this teacher in mutinominal distribution video where he actually says something like "the multinominal distribution is a NICE generalization of the binominal distribution"?!?!? "Nice generalization"?!?!?!? When your teaching or talking about maths there is no place for words like "NICE". When you're teaching mathematics try to be OBJECTIVE . No wonder I have seen several videos of this guy and almost not a single practical case with a final answer. There are a lot of good videos on the internet that actually give clear examples and with final results like this one ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WWv0RUxDfbs.html
@paulolameiras5298
@paulolameiras5298 4 года назад
When talking about continuous random variables don't use the word random because there is nothing random about the distribution of the outcomes of these particular variables due to the nature of the samples being analyzed. Unfortunately this seems to be a misleading concept throughout almost all the videos on the internet regarding this subject. Even discrete random variables shouldn't initially be considered random due to the uncertainty of their distribution outcome. Uncertainty and randomness do not have the same meaning. An uncertain discrete variable could prove to be more likely random in it's outcome according to a more likely random type distribution. When analyzing continuous variable distributions you're are admitting the existence of a value range (similar to a discrete distribution), but contrary to a discrete distribution you are also admitting that, without any trials and without knowing the outcome, that you are going to have a certain type of distribution that follows a certain type of symmetrical curve. As the values tend to get further from the peak of the curve their frequency starts to decrease more or less proportionally. It's almost like a rule that you follow. Being that the uncertainty lies only in the variance of the distribution. Normally dealing with continuous distributions you are analyzing co-related values (correlation between a infinite value and it's frequency), who's relationship is given through a formula. The problem is that there are no predefined rules, formulas or predefined co-relations for uncertain outcomes. Notice that I used the word uncertain and not random.
@vevo5086
@vevo5086 4 года назад
his lectures are extremely trrible i don not u8nderstand how all comments agree that they are great it seems like they are watching kim during the lecture