binhf (version 1.0-3)

Blocks: Proportion Functions

Description

An example Bernoulli proportion function.

Usage


Blocks(x)

Arguments

x

a sequence of `time points' as input into the function.

Value

y

a vector of function values for the proportion function, corresponding to x.

Details

A proportion function based on the blocks function of Donoho, or that of Antoniadis and LeBlanc (2000). The extra ``r" versions of these functions are reflected at the right endpoint.

References

Antoniadis, A. and LeBlanc, F. (2000) Nonparametric wavelet regression for binary response. Statistics, 34, 183--213.

Examples

Run this code
# NOT RUN {
t<-seq(0,1,length=256)

y<-Blocks(t)

plot(t,y, type="l")
# }

Run the code above in your browser using DataCamp Workspace