Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: distribs
See also: pdfhyp qhyp mlhyp rndhyp qnig

Quantlet: cdfhyp
Description: generates the cdf of hyperbolic (HYP) distributed variable

Usage: y = cdfhyp(data,alpha,beta,delta,mu)
Input:
data vector, observations of HYP variable
alpha scalar, parameter of HYP variable
beta scalar, parameter of HYP variable
delta scalar, parameter of HYP variable
mu scalar, parameter of HYP variable
Output:
y scalar, cdf of the HYP variable

Example:
library("distribs")
randomize(21)
alpha = 1
beta = 0
delta = 1
mu =0
x = rndhyp(alpha,beta,delta,mu,500)
y = cdfhyp(x[1:5],alpha,beta,delta,mu)
y

Result:
Contents of y

[1,]  0.0090799
[2,]  0.36827
[3,]  0.012611
[4,]   0.1692
[5,]  0.68768



Author: Y. Chen, 20050204 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006