-
sushie.utils.make_pip(alpha: Array | ndarray | bool | number | bool | int | float | complex) → Array[source]
The function to calculate posterior inclusion probability (PIP).
- Parameters:
- alpha: Array | ndarray | bool | number | bool | int | float | complex
\(L \times p\) matrix that contains posterior probability for SNP to be causal
(i.e., \(\alpha\) in Model Description).
- Returns:
\(p \times 1\) vector for the posterior inclusion probability.
- Return type:
Array
Last update:
Oct 27, 2024