fosr_gbpv: Compute Global Bayesian P-Values

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Given posterior samples for the loading curves fk and the regression coefficient factors alpha, compute Global Bayesian P-Values for all regression coefficient functions

Usage

1
fosr_gbpv(post_fk, post_alpha)

Arguments

post_fk

Nsims x m x K matrix of posterior draws of the loading curve matrix

post_alpha_j

Nsims x p x K matrix of posterior draws of the regression coefficient factors

Value

p x 1 vector of Global Bayesian P-Values


drkowal/fosr documentation built on Oct. 2, 2020, 11:20 a.m.