PostQuants: Calculates the posterior mean and standard deviation of a...

Description Usage Arguments

View source: R/PostQuants_function.R

Description

Calculates the posterior mean and standard deviation of a coefficient.

Usage

1
PostQuants(predictor, resid, prior_mean, prior_sd, resid_var)

Arguments

predictor

Vector including the values of the predictor for which the posterior quantities are calculated.

resid

The residuals of the outcome on covariates excluding intercept.

prior_mean

The prior mean for the intercept.

prior_sd

The prior standard deviation of the intercept.

resid_var

The variance of the residuals.


gpapadog/BAC documentation built on Feb. 15, 2021, 6:37 a.m.