emp.distribu: Empirical distribution function at one point

Description Usage Arguments Value Author(s) See Also Examples

Description

Computes the value of an empirical distribution function at one point.

Usage

1
emp.distribu(arg, dendat)

Arguments

arg

d-vector; the point where the estimate is evaluated

dendat

n*d data matrix; the data matrix of n observations and d variables

Value

a real number or a d vector; if d>1 the empirical distribution function is estimated for each column of the data matrix "dendat"

Author(s)

Jussi Klemela

See Also

emp.quantile,

Examples

1
2
3
4
5
6
7
set.seed(2)
n<-100
d<-2 
x<-matrix(runif(n*d),n,d)

arg<-c(0,0)
emp.distribu(arg,x)

Example output

Loading required package: denpro
            [,1]
[1,] 0.009803922
[2,] 0.009803922

regpro documentation built on May 1, 2019, 10:21 p.m.

Related to emp.distribu in regpro...