Well, recall that very basic building block we introduced 1 last week which allowed you to grab a random number between 1 and 10 or 1 or a hundred.
好吧,让我们先回想一下上周介绍过的,能产生1~10之间,或者1~100之间随机数的1,基本构建块。
So it comes up with a random number then they asked for the answer.
随后出现一个随机数,然后他们再追问答案
If you have an experiment and the outcome of the experiment is a number, then a random variable is the number that comes from the experiment.
如果你有一个试验,这个试验的结果是一个数,那么相对应的随机变量,指的就是这个试验结果所对应的那个数
For example, the experiment could be tossing a coin, I will call the outcome heads the number one, and I'll call the outcome tails the number zero, so I've just defined a random variable.
比方说,抛硬币的试验,我将正面向上的结果对应数字1,反面向上的结果对应数字0,这样我就定义了一个随机变量
You have discrete random variables, like the one I just defined, or there are also--which take on only a finite number of values-- and we have continuous random variables that can take on any number of values along a continuum.
就像刚定义的,是一个离散型随机变量,随机变量还可以有无限种取值,也就是连续型随机变量,随机变量可以取某一区间的一切值
应用推荐