calc_vlogLR function

Compute vector of loglikelihood ratio for data from ash fit

Compute vector of loglikelihood ratio for data from ash fit

Return the vector of log-likelihood ratios of the data betahat, with standard errors betahatsd, for a given g() prior on beta, or an ash object containing that, vs the null that g() is point mass on 0

calc_vlogLR(g, data)

Arguments

  • g: the fitted g, or an ash object containing g
  • data: a data object, see set_data
  • Maintainer: Peter Carbonetto
  • License: GPL (>= 3)
  • Last published: 2023-08-21