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
0 votes
0 answers
6 views

Power-law fitting with x-y relationship [closed]

I would like to fit a power-law distribution to data taking into account the x-y-relationship. I tried plfit & powerlaw package for python. But the problem with them is that if I shuffle the y-...
Philipo's user avatar
2 votes
1 answer
31 views

Interpreting y axis in density plot

200 people were tested, 20 of those were infected. I want to get a posterior distribution for the uncertainty associated with the probability that a person is infected. I do this like this: ...
cvbzxc's user avatar
  • 21
2 votes
1 answer
133 views

Calculating the cumulative distribution function and the probability density function of an interval with ratio of a shorter and longer segment

The interval $[0, 2]$ is divided into two parts by randomly marking a point in $[0, 1]$ according to the rectangular distribution. Let $X$ be the length ratio $L_1/L_2$ of the shorter segment $L_1$ to ...
Ste0l's user avatar
  • 35
2 votes
1 answer
60 views

pdf vs probability vs likelihood [duplicate]

How to compute the log likelihood? Let's take a simple example using a normal distribution and scipy to do the work. Assuming X is the data, and the normal distribution as the model (...
brice rebsamen's user avatar
2 votes
0 answers
31 views

Can a linear combination of two Normal densities be a Normal density? [duplicate]

Consider $f_i(x) = \frac{1}{\sqrt{2\pi}\sigma_{i}}e^{-\frac{1}{2}\left(\frac{x-\mu_{i}}{\sigma_{i}}\right)^{2}},$ $i=1,2$. Define another density by $$f(x) \equiv wf_1(x)+(1-w)f_2(x).$$ Is $f(x)$ also ...
Giorgi Chavchanidze's user avatar
-2 votes
0 answers
21 views

accept reject function x 0<x<1 [duplicate]

hi everyone I'm trying to implement the code in r of accept and reject the function but I don't understand what I should do when my distribution function is not in 0 and 1 as in the case of fx(x)=x ...
Filippooo's user avatar
4 votes
1 answer
58 views

Does the PDF $\exp\left(-\frac{x^2}{2}\right) \cosh(\gamma x)$ have a name?

Is there a name for the following probability density function: $$ P(x) \propto \exp\left(-\frac{x^2}{2}\right) \cosh(\gamma x) $$ where $\gamma \ge 0$ and $x\in\mathbb{R}$? Eventually my goal is to ...
a06e's user avatar
  • 3,914
0 votes
1 answer
49 views

Beginner Probability Question: Find PDF and E(X) [closed]

From [1;2] continuous interval we choose 3 numbers randomly. Let $X$ be the minimum between those numbers. Find PDF and Expected value. I fail to understand the problem, since I believe that ...
Nika Kvashali's user avatar
1 vote
1 answer
19 views

Bounded Distribution with specific limits regarding Variance

Im currently looking for a probabilty density function that posesses the following properties Should have range (0,1) $$ \lim_{\sigma \rightarrow 0} f(x) = \delta(1) $$ $$ \lim_{\sigma \rightarrow \...
elson1608's user avatar
1 vote
2 answers
51 views

Help with algebraic steps that my statistics text employed in confirming a conditional distribution [duplicate]

In the page from a statistics book pasted below the authors make the algebraic leap from the LHS to the RHS of the equals sign here: $\large \frac{(x_1 - \mu_1)^2}{\sigma_{11}} - 2\rho_{12} \frac{(x_1 ...
stevedepp's user avatar
2 votes
2 answers
69 views

If $X$ is a random variable, why is the PDF of $X + X$ not the same as the PDF of $2X$?

Background: According to Wikipedia, the PDF of the sum of two random variables $X$ and $Y$ is given by the convolution: $$f_{X + Y}(x) = \int_{-\infty}^{\infty} f_X(\eta) f_Y(x - \eta) \; d\eta$$ ...
Abram Konzel's user avatar
0 votes
0 answers
181 views

Explanation of what a density plot is [duplicate]

I have been working with histograms so far. I understand what they show. I am trying to understand what density plots are. In this tutorial it says The curve (of the density plot)represents the ...
KansaiRobot's user avatar
2 votes
0 answers
40 views

Conditional Distribution of Multivariate Gaussian given Linear Inequalities

Consider a multivariate Gaussian $Y\sim\mathcal{N}(\mu,\Sigma)$ of dimension $n$. For fixed $c\in\mathbb{R}^n, A\in\mathbb{R}^{m\times n}$ and $c\in\mathbb{R^m}$, what is the conditional distribution ...
user278486's user avatar
0 votes
0 answers
29 views

How can I create realistic noisy data from distributions?

I want to create synthetic data from stitched distributions in order to test some models on them (for example Gaussian stitched with a GPD at quantile q). I'm currently simply sampling N*q points from ...
Philippe Ear's user avatar
2 votes
1 answer
103 views

Correspondence between the "density function of a probability measure" and the "probability density function" (PDF)

Question. If there is a one to one correspondence between a "borel probability measure" on the line $\mathbb{R}$ and a "cumulative distribution function" (CDF) (please see on page ...
Ommo's user avatar
  • 168
0 votes
1 answer
61 views

Any closed-form solution to this integral (multivariate exponential)?

Here is the probability density function (unnormalized) of a covariance matrix: (from a Bayesian perspective): $$ f(\boldsymbol{V})\propto \det(\boldsymbol{V})^{-\frac{N+J+1}{2}}\int_{\mathbb{R}^{K}}\...
fan455's user avatar
  • 31
5 votes
3 answers
315 views

What is the cross product of two probability distributions $P \times Q$?

In many papers on machine learning and statistics, I encounter the following notation Let $P$ be a distribution, and let $Q$ be another distribution. Then the author creates an object $P \times Q$ ...
Fraïssé's user avatar
  • 1,440
1 vote
1 answer
39 views

Is this probability density function computable (seems like a generalized multivariate t-distribution)?

I have obtained an unnormalized probability density function (pdf) for the coefficients of a linear regression model: $$ f(\boldsymbol{\beta})\propto \mathrm{det}\left [\sum_{i=1}^{N} (\boldsymbol{y}...
fan455's user avatar
  • 31
4 votes
1 answer
100 views

Markov's inequality intuitions

Can someone explain intuitively how Markov's inequality was derived? It seems plausible, but looking a it, I can't 'see' how it's true.
jbuddy_13's user avatar
  • 2,501
0 votes
0 answers
4 views

What is the conditions to use a weights argument to a linear model, when the dependent variable is a proportion?

My data consists of the independent variable (x) which is slope gradient (°) and the dependent variable (y) is collar GPS point density/km². For each slope gradient, the independent variable was ...
jessicagranweiler's user avatar
0 votes
1 answer
64 views

Generating a random number with CDF $P(X \leq c) = 1-1/c$ in the interval $(1, + \infty)$. using uniform distribution

I have a uniform number generator in ($0, 1).$ I want to generate a random number with CDF $P(X \leq c) = 1-1/c$ in the interval $(1, + \infty)$. I know I should apply the inverse of my function to ...
AutisticRat's user avatar
1 vote
1 answer
43 views

The Tsallis entropy of generalized Gaussian distribution

I would like to discuss the computation of the Tsallis entropy for the generalized Gaussian distribution. From the paper in the link https://www.sciencedirect.com/science/article/pii/S0167947322000822....
M.cadirci's user avatar
0 votes
0 answers
53 views

comparing 2 likelihood values

Are likelihood values (density values) comparable across different types of distributions? For example, if you have a data point that has a likelihood value of .05 under a normal distribution and .025 ...
jhn5v78's user avatar
5 votes
4 answers
146 views

What is $p(y|x)$ given $X=Y+Z$, $Z$ is a standard normal, and $Y$ is a random variable

We have $X=Y+Z$ where $Z$ is a standard normal and $Y$ is a random variable with $p(y)$ as its density. $Y$ and $Z$ are independent. The conditional probability $p(x|y)$ is obvious to be $\mathcal N_x(...
ryushinn's user avatar
1 vote
0 answers
35 views

Sampling subsets of a given PDF with controllable sum and frequency

I am working with a dataset with $n$ samples and $d$ features for each sample. I would like to be able to sample "nice" subsets of this dataset with specific properties. Assume that this ...
person17381's user avatar
0 votes
1 answer
82 views

On the difference of truncated Gaussian and a new definition

Given a r.v. $X \sim N(0, 1)$, what is the density of $Z = X I(\lvert x \rvert < \lambda)$. I am confused with the truncated Gaussian $Y = X$ if $\lvert X \rvert < \lambda$ otherwise $Y = 0$. My ...
Chia's user avatar
  • 73
2 votes
0 answers
57 views

Can I use multiple quantile regression to estimate the probability a dependant variable is above / below a certain value?

Let's say I have a dataset of characteristics of newly launched products in a retail environment, and the dependant variable Y is total $ sales in the first year of ...
SCool's user avatar
  • 267
3 votes
1 answer
52 views

If $Z=X+Y$, and I know the probability distribution of $Z$ and $Y$, and $X\perp Y$ how to recover the probability distribution of X?

Suppose I know the distribution of $Z$ and $Y$: $Z\sim F_Z$ with density $f_Z$, $Y\sim F_Y$ with density $f_Y$. Suppose I also know that $Z=X+Y$, where $X$ and $Y$ are independent and the ...
ExcitedSnail's user avatar
  • 2,526
1 vote
2 answers
111 views

Calculate mean of density function (example using lognormal distribution)

In a lognormal distribution, the mean is equal to $\exp(\mu + \frac{\sigma^2}{2})$. I tried to separately calculate this using the definition $E[X] = \int{xf(x)dx}$, where I have 200 $x$ values evenly ...
a11's user avatar
  • 133
1 vote
0 answers
32 views

Likelihood function is a product of PDFs [duplicate]

I am learning about the likelihood function given iid random variables $X_i$ and realizations $x_i$: $\mathcal{L}(\theta | x) = \prod_{i=1}^n \mathbb{P}(X_i = x_i)$. One thing I am confused about is ...
timeinbaku's user avatar
1 vote
0 answers
21 views

Exponential power distribution vs Generalized normal distribution [closed]

statisticshowto and many other sources state that the exponential power distribution and the generalized normal distribution are the same. However, their pdf really look different: $$ f_{ep} = (e^{1-e^...
Fillipos Christou's user avatar
0 votes
1 answer
42 views

Confidence interval for unsymmetrical Gaussian Mixure Model PDFs?

Let Y be a vector of observations. A Gaussian Mixure Model (GMM) is fit to the dataset. The distribution can appear unsymmetrical, with different thickness of tails in both sides. What is the best way ...
Bahar's user avatar
  • 1
3 votes
1 answer
101 views

Two dimensional random variable with uniform marginal probability density functions [duplicate]

I have access to some data for two variables - let's call them x and y. In particular, I have the distribution of data separately per each variable, something that allows me to estimate the marginal ...
It's a feature and not a bug's user avatar
1 vote
0 answers
42 views

Is there a closed form for multi-step ARIMA/ARMA density forecasts conditioned on initial values?/alternatives to this?

I am attempting to create a benchmark for probabilistic forecasting of time series to test other models against and figured that a linear ARIMA/ARMA model would be a good starting point. I thought ...
QMath's user avatar
  • 327
5 votes
1 answer
458 views

What is the resulting distribution if I merge two different distributions?

The title is not the best but I really do not know how to describe the scenario in a better way. The context Consider taking measurements of two different quantities: The time needed for a car to ...
Andry's user avatar
  • 219
2 votes
0 answers
61 views

PDF of the sine of a wrapped Normal distribution

I have a random variable which is an angle $\Theta$ that follows a wrapped Normal distribution. The angle $\Theta$ has a relatively small variance, so despite having a range from $(-\pi,\pi)$, ...
James Craft's user avatar
1 vote
1 answer
59 views

Uniform Sampling From the Region Bounded by $\sqrt{x}$, $x=3$, and $y=0$

I want to sample uniformly from the area bounded by $y=0$, $x=3$, and $y=\sqrt{x}$: If I draw $x$ from $U[0, 3]$ and $y$ from $U[0, \sqrt{x}]$, the density will be higher in the bottom left corner: ...
Milos's user avatar
  • 1,069
1 vote
0 answers
17 views

how to use the formula in picture for matlab? [closed]

[![the picture is pdf and realibility formula] 1how to use the formula in picture for matlab? 1
Je Rni's user avatar
  • 11
1 vote
1 answer
111 views

Calculating PDF conditioned on event

I'm confused about problems where we calculate a PDF conditioned on an event. Consider this simple problem: We have two random variables, X and Y, X is uniformly distributed on [a,b], and Y is uniform ...
MohammadAli Zeraatkar's user avatar
1 vote
0 answers
15 views

Making use of relative density of genomic features between gene sets

I am looking at a particular genomic feature in two sets of genes: set A is a positive control set, where I know this feature is overall enriched in the genomic DNA of these genes, and set B is a (...
C. Murtaugh's user avatar
2 votes
0 answers
24 views

Change of variable formula and probability distributions [duplicate]

I think I have a misconception that I hope someone can help me clarify, I do not have a background in measure theory so that might be the problem. Say we have two random variables $X$ and $Y$ ...
Maths's user avatar
  • 31
0 votes
1 answer
59 views

Squared norm of linear system proportional to Multivariate Gaussian log-density?

I am reading https://epubs.siam.org/doi/10.1137/140964023, and I got confused by this part: In the above, it is assumed that $m \geq n$. If $m = n$, I can see how the above works. $|| J \theta - y||^...
KRao's user avatar
  • 31
1 vote
0 answers
57 views

Completing the square and marginalizing a multivariate Gaussian [closed]

Edit: This question has been closed for being unrelated although I see similar questions posted here with the same objective, yet not with enough detailed answers or not exactly what I am looking for (...
Maths's user avatar
  • 31
0 votes
0 answers
32 views

Approximate distribution of random variable similar to studentized mean R.V?

It is well known that the distribution of the studentized mean, i.e., $T_0 = \frac{n^{1/2} (\bar{x}- \mu)}{\left(n^{-1} \sum \limits_{i=1}^n (x_i^2 - \bar{x}^2)\right)^{1 / 2}} $, can be approximated (...
Jaimin Shah's user avatar
0 votes
0 answers
11 views

Rate of convergence of covariance of functional

Consider $X_n$ and $Y_n$ to random variable that are bounded in probability. I know that $$cov(X_n, Y_n) = O(n^{-1})$$ and that $$(X_n, Y_n) \rightarrow_d (E_1, E_2)$$ where $E_1$ and $E_2$ are two ...
Eryna's user avatar
  • 309
1 vote
2 answers
100 views

First derivative of multivariate normal density with exchangeable correlation structure

As part of a proof, I need to take the first derivative of the log of the following multivariate normal density: $(2\pi)^{-k/2} |\Sigma|^{-1/2} \exp\left(\frac{-1}{2} x'\Sigma^{-1}x\right)$. In this ...
bob's user avatar
  • 714
0 votes
0 answers
52 views

Which metric to compare two probability density?

I need to compare two distribution $p$ and $q$. But I don't have access to the distribution $p$, I want to approximate it by distribution $q$ that I construct iteratively by choosing design point. ...
YP BARRY's user avatar
1 vote
0 answers
33 views

How to interpret $f_{Y|X}(y|x)$ in the integral of conditional expectation? [duplicate]

$f_X(x)$ gives value of the probability density function of random variable $X$ at point $x$. I am not sure how to wrap my head around $f_{Y|X}(y|x)$; is $Y|X$ still a random variable (sorry for the ...
Each One Chew's user avatar
4 votes
3 answers
872 views

How to interpret peaks in probability density function?

If a probability density function (created using kernel density estimation) exhibits peaks (not necessarily the mode), can we infer the presence of clusters or subgroups in the data?
Amit S's user avatar
  • 115
2 votes
1 answer
98 views

Finding the probability density function

A random variable $Z$ is obtained as follows. Let $X$ follow $U(0, 1)$, and $Y$ given $X = x$ be Bernoulli with probability of success $x$. If $Y = 1, Z$ is defined to be $X$. Otherwise, the ...
Tapi's user avatar
  • 281

1
2 3 4 5
34