posterior_t: Samples from the posterior distribution of the noncentral...

View source: R/posterior_distributions.R

posterior_tR Documentation

Samples from the posterior distribution of the noncentral t-distribution. The posterior distribution is generated using Fisher's fiducial approach.

Description

Samples from the posterior distribution of the noncentral t-distribution. The posterior distribution is generated using Fisher's fiducial approach.

Usage

posterior_t(t, df, fixed = FALSE, ndraws = 2e+05)

Arguments

t

The t-test of the previous study.

df

The degrees of freedom associated with the t-test.

fixed

Is the predictor fixed or random? Default is FALSE to indicate randomly sampled predictor.

ndraws

Specifies the number of initial samples from the posterior. For small effect sizes and when filter or upper_null > 0 the number of returned samples from the posterior distribution will be lower than ndraws.

Value

A vector of samples from the posterior distribution of the noncentral t-distribution.


jbiesanz/fabs documentation built on July 15, 2022, 11:02 p.m.