What is Random variables: Definition and 350 Discussions

In probability and statistics, a random variable, random quantity, aleatory variable, or stochastic variable is described informally as a variable whose values depend on outcomes of a random phenomenon. The formal mathematical treatment of random variables is a topic in probability theory. In that context, a random variable is understood as a measurable function defined on a probability space that maps from the sample space to the real numbers.

A random variable's possible values might represent the possible outcomes of a yet-to-be-performed experiment, or the possible outcomes of a past experiment whose already-existing value is uncertain (for example, because of imprecise measurements or quantum uncertainty). They may also conceptually represent either the results of an "objectively" random process (such as rolling a die) or the "subjective" randomness that results from incomplete knowledge of a quantity. The meaning of the probabilities assigned to the potential values of a random variable is not part of probability theory itself, but is instead related to philosophical arguments over the interpretation of probability. The mathematics works the same regardless of the particular interpretation in use.
As a function, a random variable is required to be measurable, which allows for probabilities to be assigned to sets of its potential values. It is common that the outcomes depend on some physical variables that are not predictable. For example, when tossing a fair coin, the final outcome of heads or tails depends on the uncertain physical conditions, so the outcome being observed is uncertain. The coin could get caught in a crack in the floor, but such a possibility is excluded from consideration.
The domain of a random variable is called a sample space, defined as the set of possible outcomes of a non-deterministic event. For example, in the event of a coin toss, only two possible outcomes are possible: heads or tails.
A random variable has a probability distribution, which specifies the probability of Borel subsets of its range. Random variables can be discrete, that is, taking any of a specified finite or countable list of values (having a countable range), endowed with a probability mass function that is characteristic of the random variable's probability distribution; or continuous, taking any numerical value in an interval or collection of intervals (having an uncountable range), via a probability density function that is characteristic of the random variable's probability distribution; or a mixture of both.
Two random variables with the same probability distribution can still differ in terms of their associations with, or independence from, other random variables. The realizations of a random variable, that is, the results of randomly choosing values according to the variable's probability distribution function, are called random variates.
Although the idea was originally introduced by Christiaan Huygens, the first person to think systematically in terms of random variables was Pafnuty Chebyshev.

View More On Wikipedia.org
  1. M

    Probabilities and random variables

    Homework Statement In a given society, 15% of people have the sickness "Sa" , from them 20% have the sickness "Sb". And from those that don't have the sickness "Sa", 5% have the sickness "Sb" 1-We randomly choose a person. and we define: A:"the person having Sa" B:"the person having Sb"...
  2. S

    Linear combination of random variables

    Homework Statement Let ##X_1 \sim N(3,2^2)## and ##X_2 \sim N(-8,5^2)## be independent. Let ##U=aX_1+bX_2##. What is the distribution of ##U## Homework EquationsThe Attempt at a Solution As they are independent, we can write the distribution of ##U## as the convolution of the 2. So I get...
  3. E

    I CDF of summation of random variables

    Hi, I have this random variable ##\beta=\sum_{k=1}^K\alpha_k##, where ##\{\alpha_k\}_{k=1}^{K}## are i.i.d. random variables with CDF ##F_{\alpha}(\alpha)=1-\frac{1}{\alpha+1}## and PDF ##\frac{1}{(1+\alpha)^2}##. I want to find the CDF of the random variable ##\beta##. So, I used the Moment...
  4. S

    Random Variables: Mean and Standard Deviation

    Homework Statement The same potato chip company reports that their bags of family sized chips each follows an approx. Normal distribution with a mean of 10.72 ounces and a standard deviation of 0.2 ounces. If the company wants to ship these chips into boxes that contain 6 bags, what would be...
  5. S

    Independence of Random Variables

    Homework Statement Given ##f_{X,Y}(x,y)=2e^{-x}e^{-y}\ ;\ 0<x<y\ ;\ y>0##, The following theorem given in my book (Larsen and Marx) doesn't appear to hold. Homework Equations Definition ##X## and ##Y## are independent if for every interval ##A## and ##B##, ##P(X\in A \land Y\in B) = P(X\in...
  6. F

    Generating correlated random variables via gausssian copula

    Homework Statement I want to generate two random variables, one is normally distributed N ~N(10, 25) and the other one, E, is exponentially distributed with mean 1. I was not given a particular correlation coefficient.Homework Equations normal cdf, exponential cdf, inverse transform method...
  7. Marcin H

    Probability/Statistics - Independent Random Variables

    Homework Statement [/B] https://www.physicsforums.com/attachments/screen-shot-2017-04-15-at-12-28-52-pm-png.194886/?temp_hash=4939cc24bd25e6adfbe75458bec6d011 Homework Equations [/B] P(X∈A,Y∈B)=P(X∈A)×P(Y∈B) The Attempt at a Solution If X and Y are independent then: P(X∈A,Y∈B)=P(X∈A)×P(Y∈B)...
  8. K

    I About control random variables

    Hi all, I am developing a very simple computer game to randomly move a point to on a bound region and check how many steps it takes to have the point landing to a certain place. To make it simple, I assume it is a 1D problem, the point could start on origin or any location on positive x axis...
  9. M

    I Position and Momentum are random variables in QM?

    A paradigm shift for me occurred when, I now realize, that position and momentum are random variables in QM. As such, it does not make any sense to say things like "take the derivative of the position with respect time". Instead QM has the position and momentum operators which operate on the...
  10. A

    CDF of minimum of N random variables.

    There's this problem that I've been trying to solve. I know the solution for it now but my initial attempt at a solution was wrong and I can't seem to figure out the mistake with my reasoning. I'd appreciate some help with figuring this one out. 1. Homework Statement I have a set of random...
  11. lep11

    How to determine if random variables x,y,z are independent?

    Let ##f(x,y,z)=x^2e^{-x-xy-xz}##, if ##x,y,z>0## and ##f(x,y,z)=0## otherwise. Are the continuous random variables ##x,y,z## independent or not? Intuitively they are not independent. I calculated the marginal density functions: ##f_x(x)=\iint_{\Omega} f(x,y,z) dydz=e^{-x}##...
  12. TheSodesa

    Conditional probability for a random vector

    Homework Statement The probability density function for a random vector ##(X,Y)## is ##f(x,y) = 3x##, when ##0 < y< x < 1##. Calculate the conditional probability P(X> \frac{1}{2} | Y > \frac{1}{3}) Homework Equations Conditional probability: \begin{equation} P(A | B) = \frac{P(A \cap...
  13. M

    Trying to understand random variables

    Homework Statement Let's say you have a number from [-2,4], with X(ζ) = -ζ + 4[/B] Find (a) P([-2,4]) and (b) P({X≤2}) Homework Equations {X = x} = {ζ ∈ S: X(ζ) =x } The Attempt at a Solution It looks like my sample space, S = [-2,4]. (a) For P([-2,4]) {-2 ≤ X ≤ 4} = {ζ ∈ S: -2 ≤ X(ζ) ≤...
  14. E

    B The CDF of the Sum of Independent Random Variables

    Hello all, Suppose I have the following summation ##X=\sum_{k=1}^KX_k## where the ##\{X_k\}## are independent and identically distributed random variables with CDF and PDF of ##F_{X_k}(x)## and ##f_{X_k}(x)##, respectively. How can I find the CDF of ##X##? Thanks in advance
  15. Jeffack

    A Sum of random variables, given sum of observed variables

    I have a model in which, for each store, predicted revenues are perturbed by a multiplicative shock: R = e^\eta r where r is predicted and R is observed. \eta is mean zero. I can find \eta as follows: \ln( r) - \ln( R) = \eta . I'm summing the squares of the \eta's. However, there are...
  16. S

    How Does Exponential Distribution Affect Parameter Estimation in Statistics?

    Homework Statement Suppose that ##(Y_1,Y_2,\ldots,Y_n)## are random variables, where ##Y_i## has an exponential distribution with probability density function ##f_Y(y_i|\theta_i) = \theta_i e^{-\theta_i y_i}##, ##y_i > 0##, ##\theta_i > 0## where ##E(Y_i) = \frac{1}{\theta_i}## and...
  17. B

    MHB Probability of identifying both defective fuses in four or less tests

    This question is driving me crazy. According to the textbook, the answer is 7/15, but I get 2/5. If anyone can tell me where I am going wrong I would be much obliged Here is the question Six fuses, of which two are defective and four are good, are to be tested one after another in random...
  18. TheMathNoob

    Functions of two or more random variables

    Homework Statement Supposethat X1and X2 are .random variables and that each of them has the uniform distribution on the interval [0, 1]. Find the p.d.f. of Y =X1+X2. Homework Equations Find cdf of Y and then the pdf The Attempt at a Solution the joint pdf would be f(x1,x2)= 1...
  19. TheMathNoob

    Random variables (probability)

    Homework Statement I have the joint cdf of two random variables X and Y and they ask me to find the cdf of just Y. I know that you just take the limit of the cdf as x->infinity, but I am just wondering if you can also do this by calculating the joint pdf and then the marginal of Y and then from...
  20. W

    Marginal PMG of of 2 random variables with Joint PMF

    Homework Statement Consider two random variables X and Y with joint PMF given by: PXY(k,L) = 1/(2k+l), for k,l = 1,2,3,... A) Show that X and Y are independent and find the marginal PMFs of X and Y B) Find P(X2 + Y2 ≤ 10) Homework Equations P(A)∩P(B)/P(B) = P(A|B) P(A|B) = P(A) if independent...
  21. W

    Expectation of a function of a continuous random variable

    Homework Statement X ~ Uniform (0,1) Y = e-X Find FY (y) - or the CDF Find fY(y) - or the PDF Find E[Y] 2. Homework Equations E[Y] = E[e-X] = ∫0 , 1 e-xfx(x)dx FY(y) = P(Y < y) fY(y) = F'Y(y) The Attempt at a Solution FX(x) = { 0 for x<0 x for 0<x<1 1 for 1<x } fX(x) = { 1 for...
  22. S

    Conceptual Problems with Random Variables and Sample Theory

    Hi I'm having a few conceptual difficulties with random variables and I was hoping someone could clear up a few things for me: 1) Firstly, what exactly do we mean when we say that two random variables X and Y are equal. I understand what identically distributed means, but my difficulty is with...
  23. V

    MHB Help Understanding Probability: Random Variables & Coin Flips

    I'm going through examples in my textbook in probability and found one that I just can't follow, so I'm wondering if someone might be able to help me. Ex: If the sample space corresponds to flipping three different coins, then we could let X be the total number of heads showing, let Y be the...
  24. D

    Sequence of random variables

    Hi, I'm trying to solve this exercise but I really don't know how 1. Homework Statement Let X1, X2,.. be a sequence of iid random variables following a uniform distribution on (0,1). Define the random variable N≥2 as the first point in which the sequence (X1,X2,...) stops decreasing. i.e If...
  25. M

    Ross ch.6 problem 26 Joint Distribution of Random Variables.

    Homework Statement Suppose that A, B, C are independent random variables, each being uniformly distributed over (0, 1). ) What is the probability that all the roots of the equation Ax2 + Bx + C = 0 are real? Homework Equations (b) What is the probability that all the roots of the equation...
  26. A

    Mean of a sum of random variables

    Homework Statement If Y=X1+X2+...+XN prove that <Y>=<X1>+<X2>+...+<XN> Homework Equations <Y>=∫YP(Y)dY over all Y. The Attempt at a Solution I only seem to be able to show this if the Xi are independent, and I also think my proof may be very wrong. I basically have said that we can write the...
  27. I

    Distribution Difference of Two Independent Random Variables

    Homework Statement Z = X - Y and I'm trying to find the PDF of Z. Homework Equations Convolution The Attempt at a Solution Started by finding the CDF: Fz(z) = P(Z ≤ z) P(X - Y ≤ z) So I drew a picture So then should Fz(z) be: since, from my graph, it looks as though Y can go from...
  28. D

    MHB Differences of Random Variables Questions

    Hi guys, I need help with this question. Suppose X has a normal distribution with mean u1 and known standard deviation 7. Suppose Y has a normal distribution with mean u2 and known standard deviation 9. Suppose we have a random sample of size 6 from the X distribution. The sample mean xbar is...
  29. D

    Expected value of X and Y, E[XY] for uniform random variables

    Homework Statement If ##X\sim\mathcal{U}(-1,1)## and ##Y = X^2##, is it possible to determine to ##cov(X, Y)##? Homework Equations \begin{align} f_x &= \begin{cases} 1/2, & -1<x<1\\ 0, & \text{otherwise} \end{cases}\\ f_y &= \begin{cases} 1/\sqrt{y}, & 0<x<1\\ 0, & \text{otherwise} \end{cases}...
  30. S

    MHB Probability function and random variables

    Given a Bernoulli r.v., W, which is derived from r.v. T(Poisson) (a)if T=0 then W=1 and b) if T>0 then W=0). One has to show that the sample mean (the proportion of 0s in the sample), is an unbiased estimate of φ=e^λ. Also, how does one find the variance of the sample mean and show that this...
  31. P

    Addition Rule for Random Variables

    Hi, I am having a hard time understanding why the Addition Rule for two Random Variables holds even when the random variables are dependent. Essentially: why is E(X+Y) = E(X) + E(Y) when X and Y are dependent random variable? Given the two variables are dependent, if X happens to take on a...
  32. N

    MHB MGF relating to random sum of random variables

    Hi all I am doing this question right now and I don't even know how to start it up. I know that it's in relation to a sum of a random number of random variables, but I don't know how to continue on from that. I've read my textbook and it states some definition for an MGF which is: $M_{y}(t) =...
  33. D

    Minimum mean square error for two random variables

    Homework Statement Determine the minimum mean square error for the joint PMF. You will need to evaluate ##E_{X, Y}[(Y - 14/11\cdot X - 1/11)^2]##. Homework EquationsThe Attempt at a Solution The answer is ##\frac{3}{22}##, but when I work it out, I get ##\frac{203}{484}##. From my values, I...
  34. G

    Taylor Series and Random Variables

    Homework Statement A standard procedure for finding an approximate mean and variance of a function of a variable is to use a Taylor Expansion for the function about the mean of the variable. Suppose the variable is y, and that its mean and standard deviation are "u" and "o". f(y) = f(u) +...
  35. A

    Sum of discrete uniform random variables

    Homework Statement Let ##X_k## be iid uniform discrete on ##\{0,...,9\}##. Find the distribution of ##\sum\limits_{k=1}^{\infty} \frac{X_k}{10^k}##Homework Equations The Attempt at a Solution I've tried a lot of things, I've tried decomposing ##X_k## into 10 bernoulli trials, I've tried using...
  36. estro

    How Does the Symmetry of Sine Influence the Distribution of Y = sin(X)?

    Suppose X ~ U[ 0, pi ] What is the distribution of Y=sinX. I have a solution in my notes however I don,t understand the following the second transition: F_Y(y) = P(Y \leq y) = P(X \leq \arcsin(y)) + P(X \geq \pi - \arcsin(y)) = ... Where the P(X \geq \pi - \arcsin(y)) comes from?
  37. D

    MHB Calculate E(g(X)) for Random Variable X with E(X)=6.2, Var(X)=0.8

    This problem: A random variable X has expected value E(X) = 6.2 and variance Var(X) = 0.8. Calculate the expected value of g(X) where g(x) = 7x + 2. Do I just plug in numbers here? I've never seen this kind of problem before.
  38. M

    Simple problems regarding sum of IID random variables

    Hi! I'm taking my first course in statistics and am hoping to get some intuition for this set of problems... Suppose I have a bowl of marbles that each weighs m_{marble}=0.01 kg. For each marble I swallow, there is a chance p=0.53 that it adds m_{marble} to my weight, and chance 1-p that...
  39. K

    Density function of product of random variables

    suppose you have two random variables X and Y which are independent, we want to form a new random variable Z=XY, if f(x) and f(y) are density functions of X and Y respectively what is the density function of Z? I tried taking logs and applying convolution, but it did not really work
  40. F

    Is aX+b uniformly distributed?

    Homework Statement If X is a random variable uniformly distributed over (0,1), and a, b are constants, what can you say about the random variable aX + b? What about X^2? Homework Equations For uniformity of notation, let f(x) = probability density function of x F(a) = distribution function...
  41. T

    Minimisation over random variables

    Suppose we have a function ##F:\mathbb{R}_+\to\mathbb{R}_+## such that ##\frac{F(y)}{y}## is decreasing. Let ##x## and ##y## be some ##\mathbb{R}_+##-valued random variables. Would ##\mathbb{E}x\leq\mathbb{E}y## imply that ##\mathbb{E}F(x)\leq\mathbb{E}F(y)##?
  42. S

    Calculating Variance of Eq. with random variables

    Homework Statement I am attempting to calculate a heat transfer across a medium with known material properties. I have the equation and all but one variable I have an exact answer for. I require the variance of my answer. Homework Equations I know ALL variables (ie numerical value) except...
  43. D

    Jointly continuous random variables

    Homework Statement Let X and Y be random losses with joint density function f(x,y) = e^-(x + y) for x > 0 and y > 0 and 0 elsewhere An insurance policy is written to reimburse X + Y: Calculate the probability that the reimbursement is less than 1. Homework Equations Have not...
  44. D

    Random variables: Total probability, Transformations & CDFs

    Hello All! A recent problem has stuck with me, and I was hoping you could help me resolve it. Consider the following premise: Let us assume that X \sim \mathcal{U}(-3,3) (U is the continuous, uniform distribution). And let the transformation Y be applied thus: Y = \left\{ \begin{align*} X+1...
  45. Julio1

    MHB Random Variables: Proving Same Probability Distribution & Finding $X+Y$

    Let $\Omega=\{\omega_1,\omega_2,\omega_3\}$ an sample space, $P(\omega_1)=P(\omega_2)=P(\omega_3)=\dfrac{1}{3},$ and define $X,Y$ and $Z$ random variables, such that $X(\omega_1)=1, X(\omega_2)=2, X(\omega_3)=3$ $Y(\omega_1)=2, Y(\omega_2)=3, Y(\omega_3)=1$ $Z(\omega_1)=3, Z(\omega_2)=1...
  46. mnb96

    Question on random variables and histograms

    Hello, I have two random variables X and Y that can take values of the kind (a,b) where a,b\in \{ 0,1,2,3 \}. Thus, the sample space has only 16 elements. I have, say, N observations for both X and Y, and I would like to know if there is some correlation between X and Y. - How is this...
  47. N

    Expectation of ratio of 2 independent random variables ?

    Hi, i was wondering if the following is valid: E[x/y] = E[x] / E[y], given that {x,y} are non-negative and independent random variables and E[.] stands for the expectation operator. Thanks
  48. N

    Finding the PDF of the Sum of Two Random Variables: Uniform Distribution

    Homework Statement X is uniform [e,f] and Y is uniform [g,h] find the pdf of Z=X+Y Homework Equations f_z (t) = f_x (x) f_y (t-x) ie convolution The Attempt at a Solution Obviously the lower pound is e+g and the upper bound is f+h so it is a triangle from e+g to f+h...
  49. N

    CDF of correlated mixed random variables

    Hello, i m trying to evaluate the following: r*x - r*y ≤ g, where r,x,y are nonnegative random variables of different distribution families and g is a constant nonnegative value. Then, Pr[r*x - r*y ≤ g] = Pr[r*x ≤ g + r*y] = ∫ Fr x(g + r*y)*fr*y(y) dy, where F(.) and f(.) denote CDF and...
Back
Top