What is Random variable: Definition and 282 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. I

    I Random variable and probability

    Hi! I'm searching for guidance and help since I don't know how to solve this problem. Here it is: a) The two-dimensional random variable (ξ,η) is uniformly distributed over the square K={(x,y): 0≤x≤1 , 0≤y≤1} . Let ζ=√ξ2+η2 me the distance between the origo and the point (ξ,η) . Calculate the...
  2. F

    MHB Understanding Uniform Random Variables: Comparing $X$ and $Y = 1-X$

    Let $X\sim U(0,1)$ and define $Y=1-X$. What statement is TRUE? (1): $F_{X}(u)\neq F_{Y}(u)$, for every $u\epsilon \left [ 0,1 \right ]$; (2): $Y$ is not a rv; (3): $E(X+Y)=2$; (4): $Y\sim U(0,1)$; (5): none of the remaining statements.
  3. K

    Standardization of a random variable

    I'm learning basic probability and have some understanding of PDF's and CDF's now. (I've not done expected values yet though so I'm not familiar with that notation). I've come across standardization of a random variable, X, which then gives a new random variable Y with the properties that Y has...
  4. F

    MHB Random Variable over probability space

    Hello. Can you help me solve it? ($F$ is a $\sigma $ algebra). Let $X$ be a rv over $(\Omega ,F,P)$. Set $Y:= min\left \{ 1,X \right \}$. What statement is TRUE? (1): $\left \{ Y=X \right \}\neq \Omega $; (2): $F_Y(x)=F_X(x)$ for every $x\epsilon \Re $; (3): $Y\leqslant X$ for every outcome...
  5. Y

    MHB What is the correct probability for P(3<X<4|X>1)?

    Hello, I have this question, which I think I solve correctly, but I am getting the wrong answer. X represent the point that the computer chooses on a scale of 2 to 5 (continuous scale) in a non-uniform way using the density: f(x)=C*(1+x) what is the probability P(3<X<4|X>1) ? I solved the...
  6. Y

    MHB Joint distribution of a discrete random variable

    Hello all I have this question I am trying to solve. In an urn there are 6 balls, numbered: 1,2,3,4,5,6. We take 4 balls outs, without replacement. X - the minimal number we see Y - the maximal number we see I need to joint distribution. I understand that X is getting the values 1,2,3 while...
  7. K

    Expected value of bernoulli random variable.

    "Let X be a Bernoulli random variable. That is, P(X = 1) = p and P(X = 0) = 1 − p. Then E(X) = 1 × p + 0 × (1 − p) = p. Why does this definition make sense? By the law of large numbers, in n independent Bernoulli trials where n is very large, the fraction of 1’s is very close to p, and the...
  8. M

    The limit of random variable is not defined

    Let ##X_i## are i.i.d. and take -1 and +1 with probability 1/2 each. How to prove ##\lim_{n\rightarrow\infty}{\sum_{i=1}^{n}{X_i} }##does not exsits (even infinite limit) almost surely. My work: I use cauchy sequence to prove it does not converge to a real number. But I do not how to prove it...
  9. T

    Analyzing a Continuous Random Variable in a Coin-Operated Target Game

    Homework Statement Suppose the distance X between a point target and a shot aimed at the point in a coin-operated target game is a continuous random variable with pdf f(x) = { k(1−x^2), −1≤x≤1 0, otherwise. (a) Find the value of k. (b) Find the cdf of X. (c) Compute P (−.5...
  10. 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...
  11. Kior

    The Probability Density of X^2?

    Here is a question about probability density. I am trying to work it out using a different method from the method on the textbook. But I get a different answer unfortunately. Can anyone help me out? Question: Let X be uniformly distributed random variable in the internal [ 0, 1]. Find the...
  12. H

    About stochastic process....Help please

    Given a Gaussian process X(t), identify which of the following , if any, are gaussian processes. (a)X(2t) solution said that X(2t) is not gaussian process, since and similarly Given Poisson process X(t) (a) X(2t) soultion said that X(2t) is not poisson process, since same reason above...
  13. diracdelta

    Random variable distribution question

    Homework Statement Random variable x is defined on interval (1,3) and it has probability mass function f(x) =A(x2 +1= a) Find PMF, g(y) for y=x2 b)Expectation of y c)Variance of y d)Distribution function of y. e)most probable value of y The Attempt at a Solution As far as a), i integrated from...
  14. D

    Minimum of two random variable

    Hello, want to know if it's correct 1. Homework Statement X and Y two random variables iid of common density f and f(x)=x*exp(-x²/2) if x≥0 and f(x)=0 if x≤0 and Z=min(X,Y) Find -The density of Z -The density of Z² - E[Z²] Homework EquationsThe Attempt at a Solution 1.[/B] FZ(u) = P(min(X,Y...
  15. rayne1

    MHB Expected value of a continuous random variable

    Given the PDF: f(x) = 1/12 , 0 < x <= 3 x/18, 3 < x <= 6 0, otherwise find the expected value, E(x). I know how to find the expected value if there was only one interval, but don't how to do it for two.
  16. S

    Significance of Y = X^2 + 1 as random variable instead of X

    Homework Statement Let X be a random variable with the following probability distribution X 0 1 2 3 4 f(x) 1/16 1/4 3/8 1/4 1/16 If another random variable Y = X^2 + 1 is formed, find the mean E[Y]. 2. Relevant equation...
  17. Jameson

    MHB Estimating variance of Poisson random variable

    I am trying to use a generated random sample in R to estimate the mean and variance for a Poisson random variable. The first one is a Poisson random variable with mean 5. To estimate the above I generate a random sample in R with the following code: P5 <- rpois(100,5) Given the above I want to...
  18. T

    PDF of a continuous random variable

    Homework Statement Let X denote a continuous random variable with probability density function f(x) = kx3/15 for 1≤X≤2. Determine the value of the constant k. Homework Equations I'm not sure if this is right but I think ∫kx3/15 dx=1 with the parameters being between 2 and 1, The Attempt at a...
  19. I

    Distribution of a Function of a Random Variable

    Homework Statement If X is uniformly distributed over (0,1), find the PDF of Y = |X| and Z = e^X Focusing on the |X| one Homework Equations Derivative of CDF is the PDF The Attempt at a Solution So I start by writing down the CDF of X, Fx(x): 0 for x <0 x for 0 ≤ x ≤ 1 1 for x ≥ 1 And I...
  20. I

    Expectation of Continuous Random Variable [word problem]

    Homework Statement Here's the problem with the solution provided: Homework Equations Fundamental Theorem of Calculus (FToC) The Attempt at a Solution So I understand everything up to where I need to take the derivative of the integral(s). Couple of things I know is that the derivative of...
  21. S

    MHB Random Variable Transformation

    We have a r.v. X with p.d.f. = sqrt(θ/πx)*exp(-xθ) , x>0 and θ a positive parameter. We are required to show that 2 θX has a x^2 distribution with 1 d.f. and deduce that, if x_1,……,x_n are independent r.v. with this p.d.f., then 2θ∑_(i=1)^n▒x_ι has a chi-squared distribution with n...
  22. S

    MHB Probability function (p.f) of a random variable

    If one has a Bernoulli random variable W that is derived from a Variable T (Poisson λ), by the following rules W = (if T=0 then W=1 and if T>0 then W=0), I am having trouble finding the pf for W. Any suggestions about how to proceed forward?
  23. D

    MHB Second moment of the Poisson random variable

    With a Poission random variable, we know that \(E[X] = var(X) = \lambda\). By definition of the variance, we can the second moment to be \[ var(x) = E[X^2] - E^2[X]\Rightarrow E[X^2] = var(X) + E^2[X] = \lambda(1 + \lambda). \] The characteristic equation for the Poisson distribution is...
  24. B

    Finding the PMF of a function of a discrete random variable

    The discrete random variable K has the following PMF: p(k) = { 1/6 if k=0 2/6 if k=1 3/6 if k=2 0 otherwise } Let Y = 1/(1+K), find the PMF of Y My attempt: So, I am really confused about what this is asking. I took...
  25. D

    MATLAB Matlab estimate PDF from random variable X

    How do I estimate the pdf from a random variable \(X\) where \(X = U_1 - U_2\) and \(U_i\) are uniform random variables? In the code below, I used unifrnd(-5, 5, 1000, 1) which generated a 1000x1 vector of uniform random number between -5 and 5. How do I estimate the PDF for X? rng; X =...
  26. S

    Integration involving continuous random variable

    Homework Statement please refer to the question, i can't figure out which part i did wrongly. i 'd been looking at this repeatedly , yet i can't find my mistake. thanks for the help! the correct ans is below the question. where the c= 283/5700 , q = 179/5700 Homework Equations The...
  27. D

    Complex Circle Equation with random variable attached to Z.

    Homework Statement |zi - 3| = Pi Homework Equations Well, it clearly has to do with a circle but I do not believe there is a general equation for what I am asking about. The Attempt at a Solution There is no general solution not trying to solve anything. I want to know exactly...
  28. S

    Random variable conv. in prob. to c. How to find c?

    Homework Statement Let ##Y_1,...Y_n## be independent standard normal random variables. What is the distribution of ##\displaystyle\sum_{i=1}^n{Y_i}^2## ? Let ##W_n=\displaystyle\frac{1}{n}\sum_{i=1}^n {Y_i}^2##. Does ##W_n\xrightarrow{p}c## for some constant ##c##? If so, what is the...
  29. R

    MHB Transform Random Var CDF to Standard Normal: F(x)=1-exp(-sqrt x)

    How to transform a random variable CDF to a standard normal Given F(x) = 1- exp (-sqrt x), for x greater that 0 Thanks.
  30. P

    MHB Expected Value of Negative Binomial Random Variable

    Given $X$ as a negative binomial random variable with parameters $r$ and $p$. Find $E(\frac{r-1}{X-1})$. As $E(g(X))$ is defined as $\sum_{x\in X(\Omega)}g(x)p(x)$, this is my attempt in which I am stuck. What can I do next? In the case $y=r-1$, is the sum invalid? Thanks in advance!
  31. S

    Probablity: What's the p.d.f. of the random variable Z = X|X|

    Homework Statement If the probability density function(p.d.f.) of a random variable X is f(x) = 1/6 * e-|x|/3 where x is lying in (-∞,∞) and |-x| = x if x≥0, then what is the p.d.f. of the random variable Z = XY = X*|X| where Y = |X| ? Homework Equations Nothing special. The Attempt at a...
  32. S

    Conditional distribution for random variable on interval

    Homework Statement Find the conditional distribution function and density for the random variable X defined on R given that X is in some interval I = (a,b) where P(X in I) > 0. Assume that the density and distribution for the random variable X is known Homework Equations fX|X\inI =...
  33. Y

    MHB Bivariate discrete random variable

    Hello I am trying to solve this problem: A coin is given with probability 1/3 for head (H) and 2/3 for tail (T). The coin is being drawn N times, where N is a Poisson random variable with E(N)=1. The drawing of the coin and N are independent. Let X be the number of heads (H) in the N draws...
  34. D

    Probabilty with random variable

    Homework Statement A couple is expecting the arrival of a new boy. They are deciding on a name from the list S = { Steve, Stanley, Joseph, Elija }. Let X(ω) = first letter in name. Find Pr(X = S). Homework Equations The Attempt at a Solution Ok the answer is 2/3. How is it 2/3...
  35. M

    Multiple Random Variable Question

    Homework Statement A and B agree to meet at a certain place between 1 PM and 2 PM. Suppose they arrive at the meeting place independently and randomly during the hour. find the distribution of the length of time that A waits for B. (If B arrives before A, define A's waiting time as...
  36. I

    Moment generating function, CDF and density of a random variable

    Assume X is a random variable under a probability space in which the sample space ?= {a,b,c,d,e}. Then if I am told that: X({a}) = 1 X({b}) = 2 X({c}) = 3 X({d}) = 4 X({e}) = 5 And that: P({a}) = P({c}) = P({e}) = 1/10 P({b}) = P({d}) = 7/20 Find the C.D.F of X, the density of X...
  37. M

    How Do You Calculate P{S < t < S + R} for Independent Exponential Variables?

    Hi, I have a quick question. Let R and S be two independent exponentially distributed random variables with rates λ and μ. How would I compute P{S < t < S + R}? I am a little bit confused because of the variables on either side of the inequalities. I have tried conditioning on both S and R...
  38. S

    Random Variable and Distribution Function Relationship

    I'm in a probability theory class and I feel like I'm missing something fundamental between random variables and their distribution functions. I was given the following questions: 1)Let θ be uniformly dist. on [0,1]. For each dist. function F, define G(y) = sup{x:F(x)≤y}. Prove G(θ) has the...
  39. R

    (Probability/Statistics) Transformation of Bivariate Random Variable

    Homework Statement Let X_1, X_2 have the joint pdf h(x_1, x_2) = 8x_1x_2, 0<x_1<x_2<1 , zero elsewhere. Find the joint pdf of Y_1=X_1/X_2 and Y_2=X_2. Homework Equations p_Y(y_1,y_2)=p_X[w_1(y_1,y_2),w_2(y_1,y_2)] where w_i is the inverse of y_1=u_1(x_1,x_2) The Attempt at a Solution We can...
  40. N

    MHB Conditional PDF of this random variable

    the random variable X and Y have a joint PDF given by: $f_{x,y}(x,y) = \frac{1}{10}$, $(x,y)\in[-1,1] * [-2,2] \cup [1,2] * [-1,1]$ a) find the conditional PDF for $f_{y|x}(x,y)$ and $f_{x|y}(xy)$ and b) find E[X|Y], E[X] and Var[X|Y]. Use these to calculate var(X) for part a) I am unsure...
  41. M

    Find E[(X-mu)^k] - Normal Random Variable

    Hi, I'm having a bit of a problem with a probability question. The question is Let X be a normal random variable with mean \mu and variance \sigma^{2}. Find E[(X -\mu)^{k}] for all k = 1,2,... I'm not really sure what to do and need some help to confirm how to approach the question...
  42. J

    Define the function of density of the random variable Y.

    We selected X point from interval (-1,2). If X=x, we selected point Y from (-1,x^2). Define the function of density of the random variable Y.
  43. E

    What's the expected value of this problem (random variable)?

    Homework Statement What's the expected value of this problem (random variable)? X: represent the result of dice number 1 - result of dice number 2 example dice 1 first roll = 2; second roll = 3 dice 2 first roll = 1; second roll = 2 X = 2+3 -(1+2) = 2 what's the expected value...
  44. Jeffack

    Generate a Multivariate Random Variable

    Hi, I'm an economics graduate student doing some work on a nested logit model. I am trying to generate random variables that follow the following CDF: F(x_1, x_2) =\textrm{exp}[ -(e^{-2x_1}+e^{-2x_2}) ^{1/2}] (This is an extreme-value distribution) With a single random variable, I...
  45. C

    Covariance Matrix of a Vector Random Variable w/ Components Related

    Homework Statement Given X=ZU+Y where (i) U,X,Y, and Z are random variables (ii) U~N(0,1) (iii) U is independent of Z and Y (iv) f(z) = \frac{3}{4} z2 if 1 \leq z \leq 2 , f(z)=0 otherwise (v) fY|Z=z(y) = ze-zy (i.e. Y depends conditionally on...
  46. trash

    [Probability] Expected Value of Random Variable

    Homework Statement A man wants to travel to four cities (A,B,C,D) but he has such a bad memory that he can't remember the cities that visited, therefore, if he travel to city A he can choose between (B,C,D) and if he then travel to B he can choose between (A,C,D). Find v, If v it's the...
  47. H

    MHB PGF of a conditional random variable

    I have a queueing system. The probability Generating Function of the number of packets in the queue (queue length) is given by Q_G(z)=\frac{e^{\lambda T(z-1)}(1-z^{-1})(1-\lambda T)}{1-z^{-1}e^{\lambda T(z-1)}}. I need to find the PGF of a conditional quantity. X=(Q_G|Q_G>0) i.e. to say in...
  48. B

    MHB Proving of Y=g(X) as a continuous random variable

    If X is a continuous random variable and g is a continuous function defined on X (Ω), then Y = g(X ) is a continuous random variable. Prove or disprove it.
  49. H

    MHB Transformation of Random Variable

    If X is a random variable distributed uniformly in [0, Y], where Y is geometric with mean alpha. i) Is this definition valid for uniform distribution ? ii) If it is valid, what is the pdf of the transformation Y-X?
  50. R

    Showing tha a random variable is a martingale

    I'm having a bit of a problem proving the second condition for a martingale, the discrete time branching process Z(n)=X(n)/m^n, where m is the mean number of offspring per individual and X(n) is the size of the nth generation. I have E[z(n)]=E[x(n)]/m^n=m^n/m^n (from definition E[X^n]=m^n) =...
Back
Top