Let X1 X2 Be a Sequence of Independent and Identically Continuous Random Variables Let N

Important notion in probability and statistics

In probability theory and statistics, a collection of random variables is independent and identically distributed if each random variable has the same probability distribution as the others and all are mutually independent.[1] This property is usually abbreviated as i.i.d. , iid , or IID . IID was first defined in statistics and finds application in different fields such as data mining and signal processing.

Introduction [edit]

In statistics, we commonly deal with random samples. A random sample can be thought of as a set of objects that are chosen randomly. Or, more formally, it's "a sequence of independent, identically distributed (IID) random variables".

In other words, the terms random sample and IID are basically one and the same. In statistics, we usually say "random sample," but in probability it's more common to say "IID."

  • Identically Distributed means that there are no overall trends–the distribution doesn't fluctuate and all items in the sample are taken from the same probability distribution.
  • Independent means that the sample items are all independent events. In other words, they aren't connected to each other in any way.[2] In other words, knowledge of the value of one variable gives no information about the value of the other and vice versa.

Application [edit]

Independent and identically distributed random variables are often used as an assumption, which tends to simplify the underlying mathematics. In practical applications of statistical modeling, however, the assumption may or may not be realistic.[3]

The i.i.d. assumption is also used in central limit theorem, which states that the probability distribution of the sum (or average) of i.i.d. variables with finite variance approaches a normal distribution.[4]

Often the i.i.d. assumption arises in the context of sequences of random variables. Then "independent and identically distributed" implies that an element in the sequence is independent of the random variables that came before it. In this way, an i.i.d. sequence is different from a Markov sequence, where the probability distribution for the nth random variable is a function of the previous random variable in the sequence (for a first order Markov sequence). An i.i.d. sequence does not imply the probabilities for all elements of the sample space or event space must be the same.[5] For example, repeated throws of loaded dice will produce a sequence that is i.i.d., despite the outcomes being biased.

Definition [edit]

Definition for two random variables [edit]

Suppose that the random variables X {\displaystyle X} and Y {\displaystyle Y} are defined to assume values in I R {\displaystyle I\subseteq \mathbb {R} } . Let F X ( x ) = P ( X x ) {\displaystyle F_{X}(x)=\operatorname {P} (X\leq x)} and F Y ( y ) = P ( Y y ) {\displaystyle F_{Y}(y)=\operatorname {P} (Y\leq y)} be the cumulative distribution functions of X {\displaystyle X} and Y {\displaystyle Y} , respectively, and denote their joint cumulative distribution function by F X , Y ( x , y ) = P ( X x Y y ) {\displaystyle F_{X,Y}(x,y)=\operatorname {P} (X\leq x\land Y\leq y)} .

Two random variables X {\displaystyle X} and Y {\displaystyle Y} are identically distributed if and only if[6] F X ( x ) = F Y ( x ) x I {\displaystyle F_{X}(x)=F_{Y}(x)\,\forall x\in I} .

Two random variables X {\displaystyle X} and Y {\displaystyle Y} are independent if and only if F X , Y ( x , y ) = F X ( x ) F Y ( y ) x , y I {\displaystyle F_{X,Y}(x,y)=F_{X}(x)\cdot F_{Y}(y)\,\forall x,y\in I} . (See further Independence (probability theory) § Two random variables.)

Two random variables X {\displaystyle X} and Y {\displaystyle Y} are i.i.d. if they are independent and identically distributed, i.e. if and only if

F X ( x ) = F Y ( x ) x I F X , Y ( x , y ) = F X ( x ) F Y ( y ) x , y I {\displaystyle {\begin{aligned}&F_{X}(x)=F_{Y}(x)\,&\forall x\in I\\&F_{X,Y}(x,y)=F_{X}(x)\cdot F_{Y}(y)\,&\forall x,y\in I\end{aligned}}}

(Eq.1)

Definition for more than two random variables [edit]

The definition extends naturally to more than two random variables. We say that n {\displaystyle n} random variables X 1 , , X n {\displaystyle X_{1},\ldots ,X_{n}} are i.i.d. if they are independent (see further Independence (probability theory) § More than two random variables) and identically distributed, i.e. if and only if

F X 1 ( x ) = F X k ( x ) k { 1 , , n }  and x I F X 1 , , X n ( x 1 , , x n ) = F X 1 ( x 1 ) F X n ( x n ) x 1 , , x n I {\displaystyle {\begin{aligned}&F_{X_{1}}(x)=F_{X_{k}}(x)\,&\forall k\in \{1,\ldots ,n\}{\text{ and }}\forall x\in I\\&F_{X_{1},\ldots ,X_{n}}(x_{1},\ldots ,x_{n})=F_{X_{1}}(x_{1})\cdot \ldots \cdot F_{X_{n}}(x_{n})\,&\forall x_{1},\ldots ,x_{n}\in I\end{aligned}}}

(Eq.2)

where F X 1 , , X n ( x 1 , , x n ) = P ( X 1 x 1 X n x n ) {\displaystyle F_{X_{1},\ldots ,X_{n}}(x_{1},\ldots ,x_{n})=\operatorname {P} (X_{1}\leq x_{1}\land \ldots \land X_{n}\leq x_{n})} denotes the joint cumulative distribution function of X 1 , , X n {\displaystyle X_{1},\ldots ,X_{n}} .

Definition for independence [edit]

In probability theory, two events A, B are called independent if and only if P(A and B) = P(A)P(B). In the following P(AB) is short for P(A and B).

Suppose there are the two events of the experiment A, B if P(A) > 0, there is possibility P(B|A). Generally, the occurrence of A has an effect on the probability of B, which is called conditional probability, and only when the occurrence of A has no effect on the occurrence of B, there is P(B|A) = P(B).

Note: If P(A) > 0, P(B) > 0 then A, B are mutually independent which cannot be established with mutually incompatible at the same time, that is, independence must be compatible and mutual exclusion must be related.

Suppose A, B, C are three events. If P(AB) = P(A)P(B), P(BC) = P(B)P(C), P(AC) = P(A)P(C), P(ABC) = P(A)P(B)P(C) are satisfied, then the events A, B, C are independent of each other.

A more general definition is there are n events, A1, A2,...,An . If the probabilities of the product events for any 2, 3, ..., n events are equal to the product of the probabilities of each event, then the events A1, A2, ..., An are independent of each other.

Examples [edit]

Example 1 [edit]

A sequence of outcomes of spins of a fair or unfair roulette wheel is i.i.d. One implication of this is that if the roulette ball lands on "red", for example, 20 times in a row, the next spin is no more or less likely to be "black" than on any other spin (see the Gambler's fallacy).

A sequence of fair or loaded dice rolls is i.i.d.

A sequence of fair or unfair coin flips is i.i.d.

In signal processing and image processing the notion of transformation to i.i.d. implies two specifications, the "i.d."part and the "i." part:

(i.d.) the signal level must be balanced on the time axis;

(i.) the signal spectrum must be flattened, i.e. transformed by filtering (such as deconvolution) to a white noise signal (i.e. a signal where all frequencies are equally present).

Example 2 [edit]

Toss a coin 10 times and record how many times does the coin lands on head.

  1. Independent – each outcome of landing will not affect the other outcome, which means the 10 results are independent from each other.
  2. Identically Distributed – if the coin is a homogeneous material, each time the probability for head is 0.5, which means the probability is identical for each time.

Example 3 [edit]

Roll a dice 10 times and record how many time the result is 1

  1. Independent – each outcome of the dice will not affect the next one, which means the 10 results are independent from each other.
  2. Identically Distributed – if the dice is a homogeneous material, each time the probability for the number 1 is 1/6, which means the probability is identical for each time.

Example 4 [edit]

Choose a card from a standard deck of cards containing 52 cards, then place the card back in the deck. Repeat it for 52 times. Record the number of King appears

  1. Independent – each outcome of the card will not affect the next one, which means the 52 results are independent from each other.
  2. Identically Distributed – after drawing one card from it, each time the probability for King is 4/52, which means the probability is identical for each time.

Generalizations [edit]

Many results that were first proven under the assumption that the random variables are i.i.d. have been shown to be true even under a weaker distributional assumption.

Exchangeable random variables [edit]

The most general notion which shares the main properties of i.i.d. variables are exchangeable random variables, introduced by Bruno de Finetti.[ citation needed ] Exchangeability means that while variables may not be independent, future ones behave like past ones – formally, any value of a finite sequence is as likely as any permutation of those values – the joint probability distribution is invariant under the symmetric group.

This provides a useful generalization – for example, sampling without replacement is not independent, but is exchangeable.

Lévy process [edit]

In stochastic calculus, i.i.d. variables are thought of as a discrete time Lévy process: each variable gives how much one changes from one time to another. For example, a sequence of Bernoulli trials is interpreted as the Bernoulli process. One may generalize this to include continuous time Lévy processes, and many Lévy processes can be seen as limits of i.i.d. variables—for instance, the Wiener process is the limit of the Bernoulli process.

In machine learning [edit]

Why assume the data in machine learning are independent and identically distributed? [edit]

Machine learning uses currently acquired massive quantities of data to deliver faster, more accurate results.[7] Therefore, we need to use historical data with overall representativeness. If the data obtained is not representative of the overall situation, then the rules will be summarized badly or wrongly.

Through i.i.d. hypothesis, the number of individual cases in the training sample can be greatly reduced.

This assumption makes maximization very easy to calculate mathematically. Observing the assumption of independent and identical distribution in mathematics simplifies the calculation of the likelihood function in optimization problems. Because of the assumption of independence, the likelihood function can be written like this

l ( θ ) = P ( x 1 , x 2 , x 3 , . . . , x n | θ ) = P ( x 1 | θ ) P ( x 2 | θ ) P ( x 3 | θ ) . . . P ( x n | θ ) {\displaystyle l(\theta )=P(x_{1},x_{2},x_{3},...,x_{n}|\theta )=P(x_{1}|\theta )P(x_{2}|\theta )P(x_{3}|\theta )...P(x_{n}|\theta )}

In order to maximize the probability of the observed event, take the log function and maximize the parameter θ. That is to say, to compute:

a r g m a x θ log ( l ( θ ) ) {\displaystyle \mathop {\rm {argmax}} \limits _{\theta }\log(l(\theta ))}

where

log ( l ( θ ) ) = log ( P ( x 1 | θ ) ) + log ( P ( x 2 | θ ) ) + log ( P ( x 3 | θ ) ) + . . . + log ( P ( x n | θ ) ) {\displaystyle \log(l(\theta ))=\log(P(x_{1}|\theta ))+\log(P(x_{2}|\theta ))+\log(P(x_{3}|\theta ))+...+\log(P(x_{n}|\theta ))}

The computer is very efficient to calculate multiple additions, but it is not efficient to calculate the multiplication. This simplification is the core reason for the increase in computational efficiency. And this Log transformation is also in the process of maximizing, turning many exponential functions into linear functions.

For two reasons, this hypothesis is easy to use the central limit theorem in practical applications.

  1. Even if the sample comes from a more complex non-Gaussian distribution, it can also approximate well. Because it can be simplified from the central limit theorem to Gaussian distribution. For a large number of observable samples, "the sum of many random variables will have an approximately normal distribution".
  2. The second reason is that the accuracy of the model depends on the simplicity and representative power of the model unit, as well as the data quality. Because the simplicity of the unit makes it easy to interpret and scale, and the representative power + scale out of the unit improves the model accuracy. Like in a deep neural network, each neuron is very simple but has strong representative power, layer by layer to represent more complex features to improve model accuracy.[8]

See also [edit]

  • De Finetti's theorem
  • Pairwise independent variables
  • Central limit theorem

References [edit]

  1. ^ Clauset, Aaron (2011). "A brief primer on probability distributions" (PDF). Santa Fe Institute.
  2. ^ Stephanie (2016-05-11). "IID Statistics: Independent and Identically Distributed Definition and Examples". Statistics How To . Retrieved 2021-12-09 .
  3. ^ Hampel, Frank (1998), "Is statistics too difficult?", Canadian Journal of Statistics, 26 (3): 497–513, doi:10.2307/3315772, hdl:20.500.11850/145503, JSTOR 3315772, S2CID 53117661 (§8).
  4. ^ Blum, J. R.; Chernoff, H.; Rosenblatt, M.; Teicher, H. (1958). "Central Limit Theorems for Interchangeable Processes". Canadian Journal of Mathematics. 10: 222–229. doi:10.4153/CJM-1958-026-0.
  5. ^ Cover, T. M.; Thomas, J. A. (2006). Elements Of Information Theory. Wiley-Interscience. pp. 57–58. ISBN978-0-471-24195-9.
  6. ^ Casella & Berger 2002, Theorem 1.5.10
  7. ^ "What is Machine Learning? A Definition". Expert.ai. 2020-05-05. Retrieved 2021-12-16 .
  8. ^ "为什么机器学习中, 要假设我们的数据是独立同分布的? - 知乎". www.zhihu.com . Retrieved 2021-12-16 .

Further reading [edit]

  • Casella, George; Berger, Roger L. (2002), Statistical Inference, Duxbury Advanced Series

allenencely.blogspot.com

Source: https://en.wikipedia.org/wiki/Independent_and_identically_distributed_random_variables

0 Response to "Let X1 X2 Be a Sequence of Independent and Identically Continuous Random Variables Let N"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel