B Impossible to find the quantile of any equation

  • B
  • Thread starter Thread starter Addez123
  • Start date Start date
  • Tags Tags
    Impossible
AI Thread Summary
The discussion centers on finding the quantile of the distribution function f(x) = 2xe^{-x^2}. The initial attempt to set F(x) = 0.5 resulted in an error due to taking the logarithm of a negative number. The confusion arose from not solving the definite integral correctly, specifically failing to define the integration range. The correct approach involves calculating the cumulative distribution function F(x) as the integral from 0 to x. Clarification was provided that F(x) is the cumulative distribution, while f(x) is the probability density function, emphasizing the importance of proper terminology and integration limits.
Addez123
Messages
199
Reaction score
21
TL;DR Summary
Find the .5 quantile (which is same as median for continuous functions?) given the distribution function:
$$f(x) = 2xe^{-x^2}$$
Given the distribution function
$$f(x) = 2xe^{-x^2}$$
The probability density function would then be
$$F(x) = -e^{-x^2}$$

To find the .5 quantile I set F(x) = .5
$$.5 = -e^{-x^2}$$
$$ln(-.5) = -x^2$$

And already here we have the issue, you can't take ln of a negative number.
 
Physics news on Phys.org
Think I solved it. Issue was I wasn't solving the definitive integral, aka. I wasn't solving the integral with any specific range. Should've solved
$$F(x)= −e^{−x2} |_0^x \Leftrightarrow -e^{-x^2} + 1 = 0.5$$
 
Previous answer deleted. I was confused by your terminology.

##f(x)## is a density, provided you include the restriction that ##x \geq 0##, and ##F(x)## is the cumulative distribution, which is ##\int_0^x f(t) dt##.

Sometimes the term "distribution" is used for the cumulative distribution function F(x), but it is never called a "probability density".

So you are correct, you need to do a definite integral starting at 0, which will give you the correct expression.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top