Probability and Statistics
गेट CS110 मिनट में पढ़ें
Probability models uncertainty; statistics summarizes observed data. First identify the experiment, sample space, and assumptions such as independence or equal likelihood. For a distribution, match the story to its parameters before applying a formula. For data summaries, distinguish a typical value from spread and check whether the observations are weighted or equally represented.
Random variables and expectation
Idea. A random variable assigns a numerical value to each outcome. A discrete variable has a probability mass function (PMF); a continuous variable has a density whose integral over an interval gives probability. For finite expectation, or ; variance is .
Solved examples.
- Question. A fair coin is tossed once. Let X=1 for heads and 0 for tails. Find its distribution and mean. Solution. (1) P(X=0)=P(X=1)=1/2. (2) . Answer. Bernoulli(1/2); mean 1/2. Trap. The indicator of an event has mean equal to the event's probability.
- Question. X takes 0, 2, 5 with probabilities 0.2, 0.5, 0.3. Find E[X]. Solution. (1) Check probabilities sum to 1. (2) Weighted sum is . Answer. 2.5. Trap. Do not take the unweighted average of support values.
- Question. For the same variable, find variance. Solution. (1) Mean is 2.5. (2) . (3) . Answer. 3.25. Shortcut. The computational variance identity applies when second moment is finite.
- Question. A density is for and 0 otherwise. Find P(X>1/2). Solution. (1) Integrate density: . (2) Antiderivative is . (3) . Answer. 0.75. Trap. For a continuous variable, a point has probability zero; use area over an interval.
- Question. If Y=3X+2, express mean and variance in terms of those of X. Solution. (1) Linearity gives . (2) Adding a constant does not change variance. (3) Scaling by 3 multiplies variance by . Answer. and . Trap. Variance scales quadratically, not linearly.
Binomial and Poisson distributions
Idea. A binomial count models n independent Bernoulli trials with the same success probability p: for integer . A Poisson count with rate has for nonnegative integer k; its mean and variance are both λ.
Solved examples.
- Question. A fair coin is tossed 4 times. Probability of exactly 2 heads? Solution. (1) Trials are independent, n=4,p=1/2. (2) Apply binomial formula: . Answer. 3/8. Trap. “Exactly” uses one value k; “at most” requires summing several.
- Question. A component fails with probability 0.1 independently. In 3 components, find probability of no failures. Solution. (1) Success may mean “no failure,” with probability 0.9. (2) All three must be nonfailures: . Answer. 0.729. Trap. The binomial count can be defined for either outcome; state what counts as success.
- Question. For , find mean and variance. Solution. (1) Mean . (2) Variance . Answer. Mean 2, variance 1.6. Condition. This formula requires independent trials with common p.
- Question. A server receives events at Poisson rate 2 per minute. Find probability of zero events in one minute. Solution. (1) Here λ=2. (2) At k=0, probability is . Answer. , about 0.1353. Trap. k! equals 1 at k=0.
- Question. A Poisson variable has mean 3. Find P(X=2). Solution. (1) λ=3 and k=2. (2) . (3) Numerically this is about 0.2240. Answer. . Trap. Keep the exact expression if rounding is not requested.
Uniform, normal, and exponential distributions
Idea. A continuous uniform variable on [a,b] has constant density and mean . A normal variable is described by mean μ and standard deviation σ; standardization is . An exponential waiting time with rate λ has density for x≥0 and the memoryless property.
Solved examples.
- Question. X is uniform on [2,8]. Find P(3≤X≤5). Solution. (1) Total interval length is 6. (2) Target length is 2. (3) Probability is length ratio . Answer. 1/3. Condition. Endpoints have zero probability, so inclusive endpoints do not change it.
- Question. If X is uniform on [4,10], find mean and variance. Solution. (1) Mean is . (2) Variance is . Answer. 7 and 3. Trap. Uniform variance uses interval width squared divided by 12.
- Question. X is normal with mean 50 and standard deviation 5. Find the z-score for x=60. Solution. (1) . (2) z=2. Answer. 2. Interpretation. The value is two standard deviations above the mean; a tail probability needs a normal table or CDF.
- Question. For a standard normal Z, express P(-1≤Z≤1) using the CDF Φ. Solution. (1) CDF difference is . (2) By symmetry . Answer. , approximately 0.6827. Trap. The 68% rule is an approximation, not an exact identity.
- Question. Waiting time X is exponential with rate λ=0.5 per minute. Find P(X>4). Solution. (1) Survival function is . (2) Substitute λ=0.5,t=4. Answer. , approximately 0.1353. Trap. Rate units are inverse time; λt must be dimensionless.
Mean, median, mode, and standard deviation
Idea. The mean uses every value and is sensitive to outliers; the median is the middle after sorting; the mode is a most frequent value and may not be unique. Standard deviation is the square root of variance. For a population divide squared deviations by N; for the usual unbiased sample variance divide by n−1.
आपने इस नोट का मुफ़्त 27% हिस्सा पढ़ लिया
आगे पढ़ने के लिए Google से साइन इन करें। यह मुफ़्त है, एक टैप में होता है, और साथ में मिलता है:
- इस नोट से 20 अभ्यास सवाल
- हर नोट पूरा, साथ में PDF लाइब्रेरी
- आधिकारिक पिछले पेपर समय-सीमा वाले टेस्ट की तरह, व्याख्या के साथ
- डाउट के लिए AI ट्यूटर, हिंदी या अंग्रेज़ी में
- आपकी प्रगति, गलतियाँ और स्टडी प्लान हर डिवाइस पर सेव