1
   

Converting a Function to a PDF

 
 
Reply Tue 9 Nov, 2004 11:10 pm
I can't find any reference as to how to do this!!!!

I know I need to find ' k ', but how would i go about doing this?

the fucntion is f(x) = xe^(-2x)

Thanks!

-Mike
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 598 • Replies: 8
No top replies

 
stuh505
 
  1  
Reply Wed 10 Nov, 2004 07:09 pm
f(x) is the PDF

maybe you want the CDF...in which case just integrate it
0 Replies
 
visk
 
  1  
Reply Sat 20 Nov, 2004 03:46 am
Hmmmm
Something is wrong. It seems obvious that you are using an exponential PDF. In this case the PDF is not f(x) as it is not in the format of a exp PDF. And you don't have any constraints to make the area equal to 1.
This the exp format for PDF:

/
| -kx
| ke x>=0
f(x)= <
|
| 0 elsewhere
\

You probably know this already but your equation confused me (without parameters).
Hope this helped.
Very Happy
0 Replies
 
visk
 
  1  
Reply Sat 20 Nov, 2004 03:48 am
IT REMOVED ALL MY SPACES!!!
How annoying Very Happy
0 Replies
 
visk
 
  1  
Reply Sat 20 Nov, 2004 04:05 am
It was meant to look like this

. /
. | -kx
. | ke x>=0
. f(x)= <
. |
. | 0 elsewhere
. \
0 Replies
 
visk
 
  1  
Reply Sat 20 Nov, 2004 04:06 am
Didnt work again.

Well I hope you get the point anyway.
0 Replies
 
stuh505
 
  1  
Reply Sat 20 Nov, 2004 10:24 am
I apologize, my first comment was wrong.

The integral of your function from 0 to infinity is 0.25

Since integrating over a region of the PDF is supposed to tell you the probability that x is within those bounds, the integral from 0 to infinity should be 1 (and if your equation is not absolutely summable, you will need to impose artificial bounds).

So just multiply the function by 4 and that should be the PDF

visk, are you trying to say:

f(x) = -kx, x<0
f(x) = k*exp(x), x>=0
?

Because that would not be absolutely summable
0 Replies
 
DrewDad
 
  1  
Reply Sat 20 Nov, 2004 11:09 am
visk wrote:
It was meant to look like this

. /
. | -kx
. | ke x>=0
. f(x)= <
. |
. | 0 elsewhere
. \


Try using the "code" tag (without quotes) ["code"]this is in a code window["/code"]:

Code:
This is in a code window
0 Replies
 
visk
 
  1  
Reply Tue 23 Nov, 2004 08:18 pm
stuh505, thats not what i was trying to do but you are right. That eqution is not summable. I misunderstood the question.
thanks for the tip merlin

anyway
0 Replies
 
 

Related Topics

Evolution 101 - Discussion by gungasnake
Typing Equations on a PC - Discussion by Brandon9000
The Future of Artificial Intelligence - Discussion by Brandon9000
The well known Mind vs Brain. - Discussion by crayon851
Scientists Offer Proof of 'Dark Matter' - Discussion by oralloy
Blue Saturn - Discussion by oralloy
Bald Eagle-DDT Myth Still Flying High - Discussion by gungasnake
DDT: A Weapon of Mass Survival - Discussion by gungasnake
 
  1. Forums
  2. » Converting a Function to a PDF
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 01/18/2025 at 06:05:08