estimate_lambda_rho_given_pi: Estimate lambda and rho

Description Usage Arguments Value

View source: R/fit_causal.R

Description

estimate lambda and rho condtional on knowing the mixture proportions using a blackbox numerical optimizer

Usage

1

Arguments

Y

matrix of betahats n x 2

S

matrix of std. errors n x 2

U

array prior diagonal 2 x 2 covariance matricies

pi_vec

vector prior K mixture proportions (weights)

Value

lambda_rho list of estimated parameters


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