Linked Questions

28 votes
2 answers
71k views

How does the inverse transform method work?

How does the inversion method work? Say I have a random sample $X_1,X_2,...,X_n$ with density $f(x;\theta)={1\over \theta} x^{(1-\theta)\over \theta}$ over $0<x<1$ and therefore with cdf $F_X(x)=...
clarkson's user avatar
  • 1,273
6 votes
1 answer
6k views

Inverse function for a non-decreasing CDF

For a CDF that is not strictly increasing, i.e. its inverse is not defined, define the quantile function $$F^{-1} (u) =\inf \{x: F(x) \geq u \},\quad 0<u<1. $$ Where U has a uniform $(0,1)$ ...
JohnK's user avatar
  • 21.1k
3 votes
2 answers
7k views

Using Standard Deviation and Flipping Coins

I want to create a simple project to show about ESP. I started with the idea of guessing whether a coin would be heads or tails. I first wanted to show some values by pure guessing. So, using ...
mkstreet's user avatar
7 votes
2 answers
1k views

Questions regarding proof of probability integral transform

I'm attempting to understand the proof of the probability integral transform in [1]. First they define $Y = F_X ( X )$. Yet, the cumulative distribution function is defined in [2] as $$F_X ( x ) = P(...
Michael Levy's user avatar
4 votes
3 answers
817 views

How to convert percentage values from 7 point scale to 5 point scale?

Suppose in one year I had a survey with 7-point scale and the values are like ...
Santosh Sharma's user avatar
5 votes
2 answers
1k views

Calculating probability that a probability of heads lies in a given interval

Suppose you flip a coin $n$ times and you get heads $x$ times where $x < n$. By what confidence can you say that the probability of the coin showing heads during a random toss lies between $U_1$ ...
Aakash's user avatar
  • 51
2 votes
1 answer
4k views

Inverse Transformation Sampling with Gaussian

For inverse transform sampling, if you know the CDF of a probability distribution ($f_X$) that you want to sample, you can generate a uniform realization ($U$) from [0,1], and then according to the ...
wrek's user avatar
  • 195
4 votes
2 answers
1k views

Intuition behind F(X) following a uniform distribution

Consider the following theoreom: If a random variable $X$ has CDF $F,$ then $F(X)\sim U[0,1]$ where $F(.)$ is the c.d.f of $X$. The demonstration is very straightforward: $\mathbb{P}\left(F\left(X\...
ChinG's user avatar
  • 949
2 votes
2 answers
645 views

the two step approach

I have a continuous variable which is not normally distributed i want to transform it to normal using the two step approach method in the link below: Abstract This article describes and demonstrates ...
Stats34's user avatar
  • 57
0 votes
0 answers
2k views

Two tailed test on beta distribution

I have a serie of data ranging between [0,1]. I'm trying to fit this data using beta distributions. Given an extra point, between the same range, I would like to obtain a significance respect to the ...
JLT's user avatar
  • 1
8 votes
1 answer
320 views

Sample uniformly from unit square conditioned on sum and product

Consider the following conditional distributions: \begin{align} X, Y \stackrel{\text{iid}}{\sim} U(0, 1) &\mid X + Y = a & a \in [0, 2] \\ X, Y \stackrel{\text{iid}}{\sim} U(0, 1) &\mid X ...
user76284's user avatar
  • 1,033
0 votes
0 answers
1k views

How can I get confidence interval from Laplace distribution in python?

I have a dataset and I checked that fits a Laplace distribution. I want to get different confidence intervals from it. I know that in a normal distribution, the confidence interval of 68% is mean + ...
jartymcfly's user avatar
0 votes
2 answers
1k views

How to correctly bucket data into quantiles: by index or by value?

I've been recently involved in a discussion surrounding the assignment of individual values to n-tiles. One way of doing it would be to rank all of the data in ascending order, dividing it into $n$ ...
SteP's user avatar
  • 31
0 votes
1 answer
760 views

Beta Binomial Inverse CDF

There are p groups of size $n_1, n_2, ... , n_p$ each with number of successes $x_1, x_2, ... x_p$ and number of failures $n_1 - x_1, n_2 - x_2, ... , n_p - x_p$. $X_i$ ~ $Binom( n_i, p_i)$, where $...
Sam C's user avatar
  • 1
1 vote
1 answer
77 views

Am I doing this right with a Gaussian Distribution?

I have the following code in MATLAB, which I believe calculates the probability of a certain point (p) in the normal distribution. I know sigma (variance) and mu (mean) based on calculations. ...
pbhuter's user avatar
  • 113

15 30 50 per page