estimate_pi_lambda_rho: Estimate pi, lambda, and rho in 2-step iterative algorithim

Description Usage Arguments Value

View source: R/fit_causal.R

Description

estimates pi, lambda and rho in a 2-step iterative algorithim where in each iteration we first estimate w given lambda and rho by convex optimazation and then estimate lambda and rho given pi using black box numerical optimization

Usage

1
estimate_pi_lambda_rho(Y, S, U, max_iter = 10)

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

Value

pi_lambda_rho_res list of optimized parameters


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