GeometricProbabilityDistribution









GeometricProbabilityDistribution







function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GeometricProbabilityDistribution";
}
}



















Overview 
Package 
 Class 
Use 
Tree 
Deprecated 
Index 
Help 










 PREV CLASS 
 NEXT CLASS

FRAMES  
 NO FRAMES  
 



All Classes







SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD









org.statcato.statistics

Class GeometricProbabilityDistribution

java.lang.Object
org.statcato.statistics.DiscreteProbabilityDistribution
org.statcato.statistics.GeometricProbabilityDistribution



public class GeometricProbabilityDistributionextends DiscreteProbabilityDistribution



Geometric probability distribution class. Type I: models the number of trials needed to produce the first success Type II: model the number of failures before the first success




Since:
1.0
Version:
%I%, %G%
Author:
Margaret Yau










Field Summary



static int
TYPEI


          models the number of trials needed to produce the first success



static int
TYPEII


          models the number of failures before the first success


 






Constructor Summary


GeometricProbabilityDistribution(double p,
int type)


          Constructs a geometric probability distribution with the given success probability and type.


 






Method Summary



 double
cumulativeProbability(double x)


          Returns the cumulative probabililty up to x.



 double
density(double x)


          Returns the density of the distribution at x.



 java.lang.Double
inverseCumulativeProbability(double area)


          Returns the inverse cumulative probability.


 


Methods inherited from class org.statcato.statistics.DiscreteProbabilityDistribution


inverseCumulativeProbability


 


Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


 








Field Detail




TYPEI

public static int TYPEI

models the number of trials needed to produce the first success







TYPEII

public static int TYPEII

models the number of failures before the first success











Constructor Detail




GeometricProbabilityDistribution

public GeometricProbabilityDistribution(double p,
int type)

Constructs a geometric probability distribution with the given success probability and type.


Parameters:p - success probabilitytype - TYPEI (models the number of trials needed to produce the first success) or TYPEII (model the number of failures before the first success)








Method Detail




density

public double density(double x)

Returns the density of the distribution at x.


Specified by:density in class DiscreteProbabilityDistribution


Parameters:x - an integer
Returns:probability density at x





cumulativeProbability

public double cumulativeProbability(double x)

Returns the cumulative probabililty up to x.


Specified by:cumulativeProbability in class DiscreteProbabilityDistribution


Parameters:x -
Returns:cumulative probability P(












Overview 
Package 
 Class 
Use 
Tree 
Deprecated 
Index 
Help 










 PREV CLASS 
 NEXT CLASS

FRAMES  
 NO FRAMES  
 



All Classes







SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD











Wyszukiwarka

Podobne podstrony:
2 Charakterystyki geometryczne figur płaskich (2)
120123 IK wykład 4 WO SŻ kształt ukł geomet
geometria zadania powtórzeniowe
Geometia i Algebra Liniowa
geometria na p
Lekcja algorytmy w geometrii
Merkaba, Swieta Geometria Zycia, i Nauczanie o Oddechu Sferycznym z użyciem Techniki 18 Oddechów
geometria analityczna
geometria
opengl przeksztalcenia geometryczne
87 Omow znaczenie czynnika geometrycznego dla przeplywu krwi

więcej podobnych podstron