estimate_prior: Estimate prior

Description Usage Arguments Value

View source: R/gen_bv.R

Description

estimates parameters of a bivariate ash prior using an EM algorithim implemented in the ExtremeDeconvolution package

Usage

1
estimate_prior(X, S, K, rho = NA)

Arguments

X

n x 2 matrix of estimated effects

S

n x 2 matrix of std. errors

K

int of mixture components to use in EM

rho

double null correlation in beta_hats

Value

prior_res list from output of ExtremeDeconvolution


jhmarcus/bvashr documentation built on May 20, 2019, 4:09 p.m.