How to change the support of a probability density function?

Click For Summary

Discussion Overview

The discussion revolves around the transformation of probability density functions (PDFs) when changing their support from one interval [a, b] to another interval [u, v]. Participants explore the mathematical formulation and implications of such transformations, particularly in the context of the beta distribution and arbitrary PDFs.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant asks how to change the formula for a PDF with support [u, v], providing the beta distribution as an example.
  • Another participant suggests that the transformation involves shifting and stretching the interval, but seeks clarification on the method for arbitrary PDFs.
  • A third participant proposes defining a new variable y to facilitate the transformation and discusses the relationship between the original and transformed PDFs.
  • There is a correction regarding the denominator in the transformation formula, indicating a potential misunderstanding in the original formulation.
  • A later reply elaborates on the transformation of coordinates and provides a detailed mathematical approach to defining a new PDF that satisfies certain integral properties.
  • Participants express uncertainty regarding the ambiguity of the phrase "make the transformation" and the implications of different types of transformations.

Areas of Agreement / Disagreement

Participants generally agree on the nature of the transformation involving shifting and stretching the interval. However, there is no consensus on the specific method for transforming arbitrary PDFs, and multiple viewpoints on the approach remain unresolved.

Contextual Notes

The discussion highlights limitations in the clarity of terminology and the assumptions underlying the transformations. The mathematical steps involved in the transformation process are not fully resolved, particularly for more complex transformations beyond linear mappings.

What is wrong with the source text?

  • I do not know. No idea.

    Votes: 0 0.0%
  • No idea.

    Votes: 0 0.0%

  • Total voters
    0
Ad VanderVen
Messages
169
Reaction score
13
TL;DR
Given the support [a, b] of a probability density function. How can I change the formula for the probability density function with a support [u, v]?
Given the support [a, b] of a probability density function. How can I change the formula for the probability density function with a support [u, v]? Example: Given the beta distribution with support [a=0,b=1]:
$$\frac{x^{p-1} (1-x)^{q-1}}{Beta(p,q)}$$
Then the beta distribution with support [u,v] is given by
$$\frac{(x-u)^{p-1} (v-x)^{q-1}}{Beta(p,q) (b-a)^{p+q-1}}$$
My question is how should you make the transformation for an arbitrary probability density function?
 
Physics news on Phys.org
What is the nature of the transformation - simply shifting and stretching the interval? If so, the answer is yes, if done right.
 
Yes, the nature of the transformation is simply shifting and stretching the interval, but my question was how should you make the transformation for an arbitrary probability density function?
 
Define the variable y = (x-u)/(v-u), so 0≤y≤1
For slices of equal area, f(y)dy = f(x)dx
Hence f(x) = f(y).dy/dx = f(y)/(v-u)
Replace x by y in your first equation, and you get f(x) as your second equation. (I assume you meant (v-u) in the denominator, not (a-b).)
 
Ad VanderVen said:
Example: Given the beta distribution with support [a=0,b=1]:
##\frac{x^{p-1} (1-x)^{q-1}}{Beta(p,q)}##
Then the beta distribution with support [u,v] is given by
##\frac{(x-u)^{p-1} (v-x)^{q-1}}{Beta(p,q) (b-a)^{p+q-1}}##

did you mean ##\frac{(x-u)^{p-1} (v-x)^{q-1}}{Beta(p,q)(v-u)^{p+q-1}}## ?
Ad VanderVen said:
but my question was how should you make the transformation for an arbitrary probability density function?

The phrase "make the transformation" is ambiguous even if you specify the transformation of coordinates has the form ##x' = Ax + B## and that ##[a,b]## is transformed to ##[u,v]##.

Given a probability density ##f(x)## and a transformation of coordinates ##T(x) = Ax + B## such that ##T(a) = u ## and ##T(b) = v##, I think what you want is to define a probability density ##g(x)## satisfying the requirement that ##\int_{u_1}^{v_1} g(x) dx = \int_{T^{-1}(u_1)}^{T^{-1}(v_1)} f(x) dx ## for all intervals ##[u_1,v_1]##

The ##g(x)## satisfying that requirement is ##g(x) = (1/A) f(T^{-1}(x)) = (1/A) f(\frac{x-B}{A})##

In the integral ##\int_{T^{-1}(u_1)}^{T^{-1}(v_1)}(1/A) f(\frac{x-B}{A}) dx ## make the change of variables ##y = T^{-1}(x) = \frac{x-B}{A} ## , ##dy = \frac{dx}{A}##, ##dx = A\ dy##.

The integral is transformed to ##\int_a^b (1/A) f(y)\ A dy = \int_a^b f(y)dy = \int_a^b f(x) dx##

(If ##T## was a more complicated transformation the choice ##g(x) = (1/A) f(T^{-1}(x)## might not work since a substitution might not produce the simple relation ##dx = A\ dy##)

The conditions:
##T(a) = u = Aa + B##
##T(b) = v = Ab + B##
imply
##A = \frac{v - u}{b-a}##
##B = u - Aa = u - \frac{v-u}{b-a}(a) ##
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K