# Probabilistic: Perform common probabilistic analisis calculations

 Version License Categories probabilistic 1.0 Free for non-comm... Algorithms
Description

Author

This class is meant to perform several types of common calculations used in probabilistic analysis

It can calculate:

* Average
* Variance
* Standard deviation
* Poisson density and distribution
* Hypergeometric density and distribution
* Binomial density and distribution
* Normal density and distribution (Gauss curve).

It also has functions to calculate :

* Factorial of a number
* Combinations o two numbers
* Interpolation
* The area and Z values in the areas under the normal curve of probability.

The class code comments and the examples are in Spanish.

In Spanish:

Esta clase le permitira calcular:

* Media
* Desviacion estandar
* Distribucion y densidad de Poisson

* El factorial de un numero
* La combinatoria entre dos numeros
* Interpolar
* Obtener el area y el valor de Z en la tabla de areas bajo la curva normal de probabilidad.

Name: Classes: Julian Sanchez `` 1 package by Julian Sanchez Colombia 41 2074 10 in Colombia 483 4 in Colombia

Details
 ```Just unpack on yout http dir. probabilistic.obj.php --> Contains object class sample.php --> Aplication for each method in HTML ztable.txt --> Valus of the area under the curve indexed by Z README.txt --> This file /**************************************************************************************************************** * FUNCIONES PROBABILISTICAS (PROBABILISTIC FUNCTIONS) * * * * Author: Julian M. Sanchez Garcia * * Suggestions: yompy at hotmail dot com * * Copyright : free for non-commercial use. * * * * Densisad de probabilidad de Poison * * dens_poison(int sucesos, real+ media) * * Distribucion de Poison (Densidad Acumulada) * * dist_poison(int sucesos, real+ media) --> * * Densidad Binomial * * dens_binomial(int exitos, int ensayos, real+ probabilidad) * * Distribucion Binomial (Densidad Acumulada) * * dist_binomial(int exitos, int ensayos, real+ probabilidad) * * Densidad Hipergeometrica * * dens_hiperg(int exitos_muestra, int muestra, int exitos_poblacion, int poblacion) * * Distribucion Hipergeometrica (Densidad Acumulada) * * dist_hiperg(int exitos_muestra, int muestra, int exitos_poblacion, int poblacion) * * Media * * media(float \$n_exitos, float \$prob_exitos) * * Desviacion Estandar * * desviacion(float \$n_exitos, float \$prob_exitos[, float \$prob_fracasos]) * * \$prob_fracasos = 1 - \$prob_exitos * * Varianza * * varianza(int \$n_exitos, float \$prob_exitos[, float \$prob_fracasos]) * * \$prob_fracasos = 1 - \$prob_exitos * * Desviacion Normal * * Z(float \$muestra, float \$media, float desviacion) * * Punto final desde o hacia la media para determinar el area bajo la curva Normal * * areaZ(float \$muestra, float \$n_exitos, float \$prob_exitos[[, float \$muestra], float \$signo]) * * ej: Se sabe que el 25% de los estudiantes usa anteojos. Cual es la probabilidad * * de que en un curso de 40 alumnos, por lo menos 5 de ellos usen gafas? * * areaZ(4.5,40,0.25,5,">=") //4.5 Valor menor a 5 * * \$signo puede ser "<=", ">=", ">", "<" * ****************************************************************************************************************/ ```
 Files
File Role Description
probabilistic.obj.php Class Probabilistic class
sample.html Output Output of the sample.php with use of normal distribution method. (not functional)
sample.php Example Example script
ztable.txt Data Areas under the normal curve

0%
 Total: 1,242 This week: 0
 All time: 3,072 This week: 314
User Ratings

All time 67% 71% 64% 57% - - 53% 2094

For more information send a message to `info at phpclasses dot org`.