prob_to_r {PRP}R Documentation

Sign consistency probability and the value for r parameter 1-1 transformation

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

prob_to_r(p)

Arguments

p

A value, the required probability of sign consistency.

Value

The corresponding heterogeneity parameter value.


[Package PRP version 0.1.1 Index]