# Q Function 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing : Freeware

Created : Sep 14, 2007

Downloads : 4

Thank you for voting...

## This function computes the Q function by integrating ...

This function computes the Q Function by Timothy Felty by integrating the Normal distribution.

It takes one paramter and calculates the right tail probablity.

Ex. x=q(0)

x would have the value of . 5

For an arbitrary Gaussian distribution with mean, mu, and variance, sigma^2, then the function is passed this form.

((y-mu)/sigma)

Ex. Say you have a distribution of G(3, 4). mu = 3, and sigma = 2. You want to calculate the right tail probability that it will be greater than 3. 5. The function call would look like

answer=q((3. 5-3)/2);

This is not the most efficient way of calculating this. I wrote this because I didn't have the proper toolbox. If you have the toolbox its just QFunc.

It takes one paramter and calculates the right tail probablity.

Ex. x=q(0)

x would have the value of . 5

For an arbitrary Gaussian distribution with mean, mu, and variance, sigma^2, then the function is passed this form.

((y-mu)/sigma)

Ex. Say you have a distribution of G(3, 4). mu = 3, and sigma = 2. You want to calculate the right tail probability that it will be greater than 3. 5. The function call would look like

answer=q((3. 5-3)/2);

This is not the most efficient way of calculating this. I wrote this because I didn't have the proper toolbox. If you have the toolbox its just QFunc.

**• matlab Release: R13**

**Demands:****Q Function 1.0 scripting tags:**function, matlab, distribution, tail, statistics probability, matlab function.

**What is new in Q Function 1.0 software script?**- Unable to find Q Function 1.0 news.

**What is improvements are expecting?**Newly-made Q Function 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Q Function. License limitations are unspecified.