cause_sims: Run CAUSE on simulated data

Description Usage Arguments

View source: R/cause_sims.R

Description

Run CAUSE on simulated data

Usage

1
2
3
4
5
6
7
8
9
cause_sims(
  dat,
  param_ests,
  sigma_g,
  qalpha = 1,
  qbeta = 10,
  no_ld = FALSE,
  thresh = 0.001
)

Arguments

dat

A simulated data frame created with sum_stats

sigma_g

Prior variance for gamma and eta. If left missing will be estimated.

qalpha, qbeta

parameters defining prior distribution on q. q~Beta(qalpha,qbeta)

no_ld

Run with the nold data (T/F)

thresh

p-value threshold

params

A cause params object. You can make this with cause_params_sims


jean997/causeSims documentation built on Sept. 4, 2020, 4:29 p.m.