bayestwoNorm: Bayesian Independent Normal Distributions

Description Usage Arguments Value Author(s)

View source: R/bayestwoNorm.R

Description

Fit two independent Normal distributions to bivariate data using Bayesian Inference. Uses the function runireg to fit the model to the data.

Usage

1
bayestwoNorm(xx,yy,R=10^4)

Arguments

xx

A vector containing the x coordinates of the data.

yy

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 independent means.

S

The posterior draws of the estimated independent variances.

Author(s)

Andrew Jackson


siar documentation built on May 30, 2017, 2:17 a.m.