
Posterior distribution of the means
posterior_mean.Rd
Compute the posterior distribution of the means between multiple groups. All peptides are considered independent from one another.
Arguments
- data
A tibble or data frame containing imputed data sets for all groups. Required columns:
Peptide
,Output
,Group
,Sample
.- mu_0
A vector, corresponding to the prior mean.
- lambda_0
A number, corresponding to the prior covariance scaling parameter.
- beta_0
A matrix, corresponding to the prior covariance parameter.
- alpha_0
A number, corresponding to the prior degrees of freedom.