Learn R Programming

ashr (version 0.9)

compcdf_post: compcdf_post

Description

evaluate cdf of posterior distribution of beta at c,m is the prior on beta, a mixture,c is location of evaluation assumption is betahat | beta ~ N(beta,sebetahat)

Usage

compcdf_post(m, c, betahat, sebetahat, v)

Arguments

m
mixture distribution with k components
c
a scalar
betahat
an n vector of observations
sebetahat
an n vector of standard errors
v
degree of freedom of error distribution

Value

a k by n matrix