Description Usage Arguments Value
Routine for computing the negative log-posterior gradient for the MASSIVE model
1 2 3 4 5 6 7 8 9 10  | scaled_neg_log_gradient(
  J,
  N,
  SS,
  sigma_G,
  param_list,
  prior_sd,
  n = 2,
  log_scale = TRUE
)
 | 
J | 
 Integer number of genetic instrumental variables.  | 
N | 
 Integer number of observations.  | 
SS | 
 Numeric matrix containing first- and second-order statistics.  | 
sigma_G | 
 Numeric vector of genetic IV standard deviations.  | 
param_list | 
 List of IV model parameter values.  | 
prior_sd | 
 List of standard deviations for the parameter Gaussian priors.  | 
n | 
 Integer number of alleles (trials) for the binomial genetic variants.  | 
log_scale | 
 Logical flag indicating whether scale parameters (sigma_X, sigma_Y) are given on the log-scale or on the normal scale.  | 
numeric vector; negative log-posterior gradient for the MASSIVE model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.