Learn R Programming

ashr (version 1.0.12)

loglik_conv: loglik_conv

Description

find log likelihood of data in betahat, when the mixture m is convolved with a normal with sd betahatsd

Usage

loglik_conv(m, betahat, betahatsd, v, FUN = "+")

Arguments

m
mixture distribution with k components
betahat
an n vector of observations
betahatsd
an n vector of standard errors
v
degree of freedom of error distribution
FUN
default is "+"