What is the Optimal Value of k for a Probability Density Function?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 3K views
theperthvan
Messages
182
Reaction score
0
Here is a question that was in on of my exams a few months ago. It asks what is the value of k so that the function f(x;k) is a probability density.
I didn't really answer it, but put an answer as [tex]k= \frac{1}{2\sqrt{\pi}}[/tex] because that somewhat resembled the Normal distribution.
Does anyone know?

[tex]f(x;k) = -(\frac{1}{2\sqrt{\pi}} - k)^2 + k.e^{(10x - 0.25x^2 - 100)}[/tex]

(this is not a homework question)
 
Last edited:
Physics news on Phys.org
Area under curve = 1
 
But [tex]k.e^{(10x - 0.25x^2 - 100)}[/tex] isn't able to be integrated using elementary functions.
 
theperthvan said:
But [tex]k.e^{(10x - 0.25x^2 - 100)}[/tex] isn't able to be integrated using elementary functions.

That doesn't matter, does it? The standard normal distribution integrates to 1:

[tex]\int_{-\infty}^{\infty} \frac 1 {\sqrt{2\pi}} \exp\left(-\,\frac1 2 x^2\right) = 1[/tex]

From this, you should be able to calculate the integral of [itex]k.e^{(10x - 0.25x^2 - 100)}[/itex] over all x.

BTW, your guess was right because setting [itex]k= \frac{1}{2\sqrt{\pi}}[/itex] eliminates the first term and makes the latter term a normal PDF. Can you see why?
 
Ahh, right. I guessed it for that reason (to eliminate the other term), but kind of by accident.

I see how it goes now. Thanks for your responses.