Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Other Topics > The Stock Market
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2002, 10:41 AM
Guest
 
Posts: n/a
Default can the normal distribution be integrated?



One time I was writing a program for which I needed to plug in the area under the normal distribution. So I tried to "integrate" it to come up with an equation I could plug numbers into to get this area over certain intervals.


But I couldn't integrate it. Not that I would be the one to find it, but is there such an equation?


I suspect that Paul or Renaud could lead us toward the right tool.


lEroy
Reply With Quote
  #2  
Old 02-03-2002, 03:39 PM
Guest
 
Posts: n/a
Default Re: can the normal distribution be integrated?



Very simple to do actually... excel can do it. Just use the 'normdist' or 'normsdist' function.
Reply With Quote
  #3  
Old 02-04-2002, 01:05 AM
Guest
 
Posts: n/a
Default Not exactly



But there are very simple and accurate approximations - see Numerical Recipes (available on the web).
Reply With Quote
  #4  
Old 02-04-2002, 01:37 AM
Guest
 
Posts: n/a
Default Numerical recipes urls (Re: Not exactly)



Numerical recipes site:


http://www.nr.com/


Error function code:


http://www.ulib.org/webRoot/Books/Nu...kcpdf/c6-2.pdf


You need to make a change of variable to convert the error function into the normal distribution.
Reply With Quote
  #5  
Old 02-04-2002, 09:06 AM
Guest
 
Posts: n/a
Default thanks *NM*




Reply With Quote
  #6  
Old 02-04-2002, 09:46 PM
Guest
 
Posts: n/a
Default elroy



I find it really hard to believe that you do not know how to find how to integrate against a normal distribution. Elroy, for all of your talk do you know the definition of a probability density function?


the integral from negative infinity to t of f(x) times e to the -x squared normalized by 2 pi.
Reply With Quote
  #7  
Old 02-05-2002, 01:28 AM
Guest
 
Posts: n/a
Default huh [img]/images/smile.gif[/img] *NM*




Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.