Boost logo

Boost Users :

Subject: Re: [Boost-users] advance calculation statistical calculation
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-01-22 12:33:57


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]]
> On Behalf Of eial_at_[hidden]
> Sent: Thursday, January 21, 2010 10:01 PM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] advance calculation statistical calculation
>
> hello.
> using boost::math::normal, mean and sd can I retrieve the value corresponding
with
> percentage of the space of the created by the function which is bounded by the
bell
> borders and a straight vertical line?
> e.g. the corresponding x value of the red line (by calculation of the space
between the blue
> bell borders and the red vertical line in this picture
> http://img714.imageshack.us/img714/4789/normal2.png

I think you will find the example

boost_1_41_0\libs\math\example\normal_misc_examples.cpp

will guide you on how to do just this.
 
There is a pdf version of the docs available too.

(If you just want to make a few calculations, the (Windows only - with Windows
Installer) distribution explorer gives you a convenient 'calculator' - see

http://tinyurl.com/yfabgpg

HTH

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net