Fit a Multivariate Normal distribution to bivariate data using Bayesian Inference. Uses the function rmultireg to fit the model to the data.
适合多元正态分布的二元数据,使用贝叶斯推理。使用该函数的rmultireg,以适应模型的数据。
用法----------Usage----------
bayesMVN(x,y,R=10^4)
参数----------Arguments----------
参数:x
A vector containing the x coordinates of the data.
一种向量,含有的x坐标的数据。
参数:y
A vector containing the y coordinates of the data.
一种向量,含有的y坐标的数据。
参数:R
The number of posterior draws to make. Defaults to 10^4.
后数即将作出。默认为10 ^ 4。
值----------Value----------
参数:b
The posterior draws of the estimated means.
的后绘制的估计的装置。
参数:S
The posterior draws of the estimated correlation matrix sigma.
后绘制的估计的相关矩阵的标准差。