Expected value from a density function

AI Thread Summary
To find the expected value from a piecewise density function, split the integral into intervals corresponding to the different definitions of the density function. For the given example, the density function is defined as y^2 for -1 < y < 0 and as y^2 - y for 0 < y < 1. The expected value E(Y) is calculated using the formula E(Y) = ∫yf(y)dy, applying the appropriate function for each interval. This approach utilizes the linearity of the Riemann integral and the continuity of the integrand. Properly segmenting the integral ensures accurate computation of the expected value.
mind0nmath
Messages
19
Reaction score
0
Hey,
I know how to find the expected value from the density function when it is in the form:

(example)

| y^2 -1<y<1
|
fy =|
| 0 elsewhere

Ey = integral(upper limit 1, lower limit -1)[y*y^2 dy)

but, what if the density function looks like this:

| y^2 -1<y<0
|
fy =| y^2 - y 0<y<1
|
| 0 elsewhere

how do you approach here?
 
Physics news on Phys.org
The expectation value of Y is given by

E(Y) = \int_{-\infty}^{+\infty}yf(y)dy[/itex]<br /> <br /> If I understood your question correctly, you just have to split the integral into disjoint intervals and apply the different definitions of f(y) in each such interval. This is immediate from the linearity of the Riemann integral and the continuity of the integrand.
 
E(Y) = \int_{-\infty}^{+\infty}yf(y)dy
 
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