prob_to_r: Sign consistency probability and the value for r parameter...

Description Usage Arguments Value

View source: R/probability.R

Description

This function transforms the probability of simulated beta_j having the same sign with the underlying true effect barbeta to the corresponding heterogeneity r parameter value.

Usage

1

Arguments

p

A value, the required probability of sign consistency.

Value

The corresponding heterogeneity parameter value.


PRP documentation built on Dec. 13, 2021, 9:06 a.m.