You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > ZipfCDF Method > Probabilities.ZipfCDF Method (int, double, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.ZipfCDF Method (int, double, int)

Zipf distribution cumulative distribution function (CDF).

Syntax
C#
Visual Basic
public static double ZipfCDF(int x, double s, int N);
Parameters 
Description 
int x 
Function domain, positive integer or zero [0,N]. 
double s 
Distribution parameter, real positive value. 
int N 
Distribution parameter, positive integer. 

the Zipf distribution cumulative distribution function (CDF).

Calculates the Zipf cumulative density function. The Zipf probability density function is defined by the following equation: 

 

where H(N,s) is a generalized Harmonic function, evaluated at parameters N,s and N,s-1 respectively.

Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!