bayesMVN: Bayesian MVN

Description Usage Arguments Value Author(s)

Description

Fit a Multivariate Normal distribution to bivariate data using Bayesian Inference. Uses the function rmultireg to fit the model to the data.

Usage

1
bayesMVN(x,y,R=10^4)

Arguments

x

A vector containing the x coordinates of the data.

y

A vector containing the y coordinates of the data.

R

The number of posterior draws to make. Defaults to 10^4.

Value

b

The posterior draws of the estimated means.

S

The posterior draws of the estimated correlation matrix sigma.

Author(s)

Andrew Jackson


siar documentation built on May 2, 2019, 11:02 a.m.