normal_llike_simp: Me being super careful in calculating the normal mixtures...

Description Usage Arguments

Description

Me being super careful in calculating the normal mixtures likelihood.

Usage

1
normal_llike_simp(Z, Y, alpha, sig_diag, tau_seq, scale_val, pi_vals)

Arguments

Z

A k by 1 matrix of numerics. The hidden confounders.

Y

A matrix of dimension p by 1. These are the observed regression coefficients of the observed variables.

alpha

A matrix. This is of dimension p by k and are the coefficients to the confounding variables.

sig_diag

A vector of length p containing the variances of the observations.

tau_seq

A vector of length M containing the standard deviations (not variances) of the mixing distributions.

scale_val

A positive numeric. The variance scaling parameter.

pi_vals

A vector of numerics that sums to 1. The mixing proportions.


dcgerard/succotashr documentation built on May 15, 2019, 1:25 a.m.