comp_cdf_conv.normalmix: comp_cdf_conv.normalmix

comp_cdf_conv.normalmixR Documentation

comp_cdf_conv.normalmix

Description

returns cdf of convolution of each component of a normal mixture with N(0,s^2) at x. Note that convolution of two normals is normal, so it works that way

Usage

## S3 method for class 'normalmix'
comp_cdf_conv(m, data)

Arguments

m

mixture distribution with k components

data

a list with components x and s to be interpreted as a normally-distributed observation and its standard error

Value

a k by n matrix


ashr documentation built on Aug. 22, 2023, 1:07 a.m.