Questions tagged [density-function]

Probability density function (PDF) of a continuous random variable gives the relative probability for each of its possible values. Use this tag for discrete probability mass functions (PMFs) too.

Filter by
Sorted by
Tagged with
1 vote
1 answer
80 views

reparameterization trick - why do we need to divide by $dz/de$?

I'm reading about Kingma's reparameterization trick (section 2.4.4) for changing the random variable $z$ for another random variable $\epsilon$, and I don't understand the calculation of the density ...
ihadanny's user avatar
  • 3,300
2 votes
1 answer
98 views

The PDF of the random variable Z=Y+Y*X

I have two independent random variables, $Y$ and $X,$ where $Y$ is a random variable with a Gaussian distribution and a zero mean.  $X$ is a random variable with a Gaussian distribution and a zero ...
Iron Man's user avatar
1 vote
0 answers
24 views

Normalized Density vs Unormalized Density [duplicate]

Edited: I have been researching about density function estimation from a sample of data, and I noticed that there are a lot of researches the estimate the density with the normalizing factor and ...
Lazag's user avatar
  • 63
0 votes
0 answers
40 views

How are probability density functions, that are computed from real-world datasets, stored and represented by computational software?

In probability and statistics, density estimation is the construction of an estimate, based on observed data, of an unobservable underlying probability density function. The unobservable density ...
CausalQuestions's user avatar
0 votes
0 answers
38 views

Probability of a vector. Is my notation correct?

Question 1: Let us first consider the univariate case: Suppose we have $Y\in\{0,1\}$, suggesting that $Y$ is Bernoulli variable (and hence discrete) and $X\in \mathbb{R}$, then we know that \begin{...
Carl's user avatar
  • 1,206
6 votes
3 answers
578 views

Alternative formula for the Bernoulli pmf?

If I understand correctly, a Bernoulli pmf just needs to assign a probability $p$ if there is a success $(x=1)$, and $1-p$ otherwise $(x = 0)$. Rather than the usual formula, can't the following ...
Steve's user avatar
  • 651
2 votes
0 answers
50 views

Deriving distribution under change of variables between spaces of unequal dimension

For a function of random variables $T:\mathbb{R}^n \mapsto \mathbb{R}^m$ Wikipedia outlines how to handle three cases: $m = n = 1$ $m=n > 1$ $n>1 \land m=1$ There seems to be two missing cases:...
Galen's user avatar
  • 8,502
0 votes
1 answer
115 views

What is the probability density function of a parallelogram [closed]

A very short question: What would be the probability density function of a parallelogram? Could we consider it as a two triangular distribution (in pink) that behaves the same and a uniform ...
Sami's user avatar
  • 113
1 vote
1 answer
134 views

How to interpret height in probability density function? [duplicate]

Assume I have a continuous variable X with PDF f(x). I know that, for every value of x, P(X=x) = 0, so the value f(x) is not the probability. But what is it exactly? If we have f(a) = 2 * f(b), can we ...
mommomonthewind's user avatar
3 votes
1 answer
328 views

PDF of $Z=X^2 + Y^2$ where $X,Y\sim N(0,\sigma)$

Using normal distribution probablilty density function(pdf), \begin{align} f_Y(x) = f_X(X) &= \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{x^2}{2\sigma^2}} \\ \end{align} Taking $Z' = X^2 = Y^2$, the ...
albusSimba's user avatar
2 votes
0 answers
136 views

Derive the pdf/cdf of a variable given as a formula of two random variables [closed]

Let's assume I have two random variables X and Y with x>0 and y>0, respectively. Let's also assume that their marginals are known as well as the joint cdf is known as the product of the two ...
Gboumis's user avatar
  • 21
2 votes
0 answers
37 views

Fast measure of "clusteredness" of points?

I have a cloud of points in a bounded volume in 2D (lets say 2d for now, though it'd be nice to generalize to any dimension): $<p_n \in \mathbb [0, 1]^2: n \in [1..N]>$ I'm looking for some ...
Peter's user avatar
  • 604
0 votes
1 answer
47 views

Evaluating/combining PDFs over time to predict future value

I am trying to predict a value over time. I have historical data that I have used to calculate PDFs for the change over various time intervals. If I'm trying to predict the value at time T0 and start ...
mentics's user avatar
  • 373
0 votes
0 answers
38 views

I need help understanding why this integral is the probability for winning by switching in the Monty Hall problem

I need help understanding this probability from the Monty Hall problem. Why does this integral give the probability of winning by switching if the Car is behind 1, Monty shows goat behind 3 and Player ...
John Larsson's user avatar
1 vote
0 answers
34 views

How can I derive the distribution of the L2,1 norm if the ditribution of L1 norm is given?

I understand that the L1 norm promotes sparsity and is a Laplace prior in the LASSO regression framework. I am interested in how this prior changes when we apply L2,1 regularisation instead? Is it ...
Ali Moussa's user avatar
2 votes
1 answer
160 views

Can CDF of a real random variable be a complex function? What does it mean physically?

I have a random variable $X$ which follows the following probability density function, $$ p(x) = \frac{1}{4\pi} \Big[ \operatorname{erf}\Big(\frac{k\mu-x+2\pi}{\sqrt{2}k\sigma}\Big) - \operatorname{...
CfourPiO's user avatar
  • 275
7 votes
2 answers
425 views

How can I fit distribution for data which "almost fits"?

I have a sample for events occurring at certain continuous distances (kilometers), let's suppose emergency calls to hospitals. I have 200k observations, coming from 500 hospitals for an entire month. ...
Daniel Souza's user avatar
2 votes
1 answer
176 views

Quick question about density with respect to product measure

Suppose we got 2 non indepenendent random variables $X_1:(\Omega,\mathcal{A})\rightarrow (\mathcal{X}_1,\mathcal{B}_1)$ and $X_2:(\Omega,\mathcal{A})\rightarrow (\mathcal{X}_2,\mathcal{B}_2)$ with ...
MatEZ's user avatar
  • 71
1 vote
1 answer
26 views

Would this way of evaluating this probability be correct?

Suppose I have a discrete variable $S_t$ and a continuous variable $X_t$. Further, suppose I wish to evaluate $P(S_t=s_t)$. Would the below derivations be correct? \begin{align} P(S_t=s_t)&=\int P(...
Carl's user avatar
  • 1,206
0 votes
0 answers
190 views

Probability density function of a zero-inflated (or zero-one-inflated) beta distribution?

I am interested in plotting the PDF of a zero-one-inflated beta distribution so that I can overlay an empirical density function of the observed data, with a PDF using the parameters I estimated from ...
qdread's user avatar
  • 295
1 vote
0 answers
19 views

Mapping Parametric Curves with auxiliary variables

The image below displays an approach of using an auxiliary variable to map the parametric curves of a standard normal pdf and cdf. In Equation (1), z as r.v. is clearly one-dimensional. However, after ...
Blackforest95's user avatar
0 votes
0 answers
27 views

How to interpret the values retuen by probabiltiy density function? [duplicate]

dnorm() and dgamma() are used to return the density of a given distribution function. How we interpret their value? For example, ...
Alice's user avatar
  • 640
4 votes
2 answers
184 views

How do you recalculate the probability density function if some time has passed and the event has yet to occur?

Suppose I have a probability density function for an event that is certain to occur between $0$ and time $T$, $p(t)$. However, some time $t_0$ has passed and the event has yet to occur. So I would ...
user362640's user avatar
0 votes
0 answers
23 views

Can the multivariate-t distribution have density greater than 1? [duplicate]

I'm working with a Python implementation of the Multivariate T distribution, and I've noticed when I evaluate the PDF at certain points, the likelihood returned is > 1. This is causing issues in ...
Addison's user avatar
  • 221
1 vote
0 answers
22 views

Esitmate of minimal of a function changed after transforming the variable

I want to perform MCMC or HMC for solving minimization problem of a function $f(x)$, then define the corresponding density $$g(x) = \exp\left(-f(x)\right)$$ Because the function of the future apply is ...
Lei Pan's user avatar
  • 11
0 votes
0 answers
127 views

PDF of the linear combination of two order statistics

I have just started to learn order statistics so please feel free to correct my notation/terminology. In my field is common to provide data as the median of some sample (for example several ...
Alimanco's user avatar
5 votes
2 answers
112 views

Normal density's rate of convergence to 0 as mean goes to infinity while x and standard deviation are fixed

Consider the density of the Normal distribution given by $$f(x; \mu, \sigma) = \dfrac{1}{\sigma\sqrt{2\pi}}\exp\left(-\dfrac{1}{2}\left(\dfrac{x - \mu}{\sigma}\right)^2\right)$$ It is obvious that, ...
Student_718's user avatar
1 vote
0 answers
414 views

Area between two probability density functions as distance measure

I have two distinct probability density functions, and I would like to find a synthetic measure of how different the two distributions are. Intuitively, it would make sense to me to compute the area ...
user362018's user avatar
2 votes
1 answer
70 views

What does evalue the density of a fitted model at specific points mean?

I have read a description of R package and find the following: "Evaluate the density of the fitted model at (2.747, 0.1467, 0.13, 0.05334)". I do not understand what the author mean by ...
Alice's user avatar
  • 640
3 votes
0 answers
42 views

MLE is undefined for "densityless" distribution like Cantor distribution

I thought of a situation where we are given a random variable $X$ that has a Cantor "rescaled" distribution. That means that for a parameter $p>0$, $X$ has CDF $F_X(x)=C(\frac xp)$. This ...
Kilkik's user avatar
  • 345
4 votes
1 answer
149 views

Can a sequence of PMFs converge to a PDF?

Is there a meaningful sense in which a sequence of PMFs (of a corresponding sequence of real-valued random variables) can uniformly converge to a PDF? Intuitively, it seems like a strange question to ...
Student_718's user avatar
1 vote
1 answer
106 views

Is sequence of probability mass functions always uniformly bounded

Say that we have a sequence of discrete random variables, $\left\{X_n\right\}_{n \in \mathbb{N}}$, which converges to a random variable, $X$, with a continuous distribution, e.g., the Normal (Gaussian)...
Student_718's user avatar
0 votes
1 answer
440 views

Finding the conditional distribution from given normal distributions using Bayes' theorem

Background This question is related to my previous question: Describing the measurement of a random variable as another random variable, but I've narrowed and clarified my question. I think I've ...
nwsteg's user avatar
  • 101
0 votes
0 answers
161 views

Mean squared error of 2 distributions when there are many zero values

I am comparing two (2-D) distributions using mean squared error. I take the difference between distributions, square them, average them and multiply them by the area of a pixel/bin. These ...
Metioche's user avatar
5 votes
0 answers
88 views

What's the distribution of $|y-z|^2/|y-\bar{y}|^2$ for vectors with i.i.d. standard normal coordinates?

Let $y_1, y_2, \ldots, y_n$ and $z_1, z_2, \ldots, z_n$ be samples of size $n$ of a normal distribution $\mathcal{N}(0,1)$. My goal is to find the distribution of $$\frac{\sum_{i=1}^n (y_i - z_i)^2}{\...
Ray Bern's user avatar
  • 151
3 votes
3 answers
299 views

Distribution change of variables

I'm working on distributions for a physics problem and I am quite stumped on how to proceed properly. The problem is as follows: I start at the point $(0,0)$ and go a distance $\eta$ in x direction $(\...
wa4557's user avatar
  • 95
3 votes
1 answer
170 views

Is there a meaning to the integral of $x \times f(x)$ over a range that is not infinite?

I know that the expected value can be computed as : $\mathbb{E}(X) = \int_{-\infty}^{\infty}xf(x)dx$ What if we do not do the integral over the whole range but only up to some value? Would there be ...
Adem A.'s user avatar
  • 71
0 votes
0 answers
48 views

How to prove symmetry of a Uniform kernel?

I am trying to prove this kernel is valid, $$ K(x) = \frac{1}{2}I(-1 < x < 1) $$ So far I can integrate to 1, but how do I prove $$k(x) = k(-x)$$ Also, how do we satisfy that k(x) is $\ge$ 0 for ...
user359211's user avatar
3 votes
2 answers
58 views

How to go from this formula to F distribution

I have the following formula. $$\int_{0}^{\infty} x^{\frac{n-1}{2}-1} (a+x)^{\frac{1}{2} \frac{-n}{2} -v} dx.$$ The quantities $d1 ,d2$ appearing in the pdf of the F distribution are the following. $$...
Tsio90's user avatar
  • 31
1 vote
1 answer
48 views

Estimate at which point a linear model hits a certain value (including probabilities)

I have a simple 1D set of datapoints with a trend, I want to estimate at which point $X_t$ (i.e., at which point in the future) the model will hit a certain threshold $Y_t$: I can fit a trendline to ...
Raphael Roth's user avatar
3 votes
1 answer
115 views

The probability/cumulative density function for inequality of two random variables

I have two random variables X and Y which came from different inverse gaussian (IG) ...
zlon's user avatar
  • 718
0 votes
1 answer
191 views

Find the MLE density function of uniform [-\theta,\theta] [duplicate]

For $X_1,\dots,X_n$, i.i.d $X_n \sim \mathrm{unif}[-\theta,\theta]$, the ML: $\hat\theta_{MLE}=\mathrm{max}\{-X_{(1)},X_{(n)}\}$. Find the density function. Hint: For $x_1,\dots,x_n$ : $\textrm{max}\{-...
HydraStreet's user avatar
1 vote
0 answers
110 views

What is the probability mass function of Rock, Paper, Scissors?

I was curious about the statistics behind the game of rock, paper, scissors. Let's say n people are playing, where n is greater than or equal to 2. If when all n people reveal their play and only 1 ...
Monolo Juan's user avatar
5 votes
2 answers
763 views

Is the probability of a continuous variable obtained via integrating over an interval of the probability density curve *cumulative* probability?

...
Reader 123's user avatar
3 votes
2 answers
502 views

Question on solution of Casella and Berger Exercise 9.10: Showing that $Q(t,\theta)$ is a pivot

My question concerns Exercise 9.10 of Statistical Inference by Casella and Berger: On page 428 the authors say In general, suppose the pdf of a statistic $T$, $f(t|\theta)$, can be expressed in the ...
Leonidas's user avatar
  • 121
0 votes
1 answer
37 views

How is the q(z) function added at the end of this Bayesian formula?

At the bottom of this Bayesian formula why is a q(z) is brought into numerator and denominator positions? Is this within the rules of Algebra? Could anything be placed in the numerator and denominator?...
Renoldus's user avatar
  • 153
1 vote
1 answer
100 views

Issue about both results in agreement with 2 different ways to compute variance of a random variable : weighted chisquared vs Gamma distributions

1.) I am interested in computing the variance of this observable $O$ involving the coefficients of spherical harmonics $a_{\ell m}$ and the $C_{\ell}$ which is the variance of an $a_{\ell m}$ : $$O=\...
user avatar
1 vote
1 answer
307 views

Get probability distribution function from density function and calculate the cumulative value [duplicate]

For the given density function, how to find its distribution function and how to calculate the value of the distribution function? Density function: $$f(x) = \frac{1}{\Gamma(\frac{n}{2})}x^{\frac{n}{2}...
Vantis's user avatar
  • 19
1 vote
0 answers
46 views

Kernel Density: How do the terms 'global' and 'pilot' translate?

I nearly most of the articles on kernel smoothing or concepts that use kernel density estimations, authors speak of 'pilot' and 'global'. https://link.springer.com/article/10.1023/A:1008925425102 &...
four-eyes's user avatar
  • 141
0 votes
0 answers
74 views

Probability density definition in Jaynes Probability Theory

I've a question for those who have read the book Probability Theory of Jaynes. In the paragraph 4.5, where the author introduces probability density functions for the first time, I don't understand ...
Nameless's user avatar
  • 101

1 2 3
4
5
35