Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 875 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 875 Bytes

MCCC

Markov Chain Monte Carlo for Correlation Coefficient

Purpose

The purpose of this program is to examine the correlation coefficient of a given linear fitting, with the consideration of data error in both coordinates.

Languages

Markov Chain Monte Carlo is iterated by WinBUGS, and manipulated by Matlab.

Codes

matbugs.m is an Matlab interface to WinBUGS, details.

Correlation.txt defines the correlation coefficient model for WinBUGS.

Regression.txt defines the linear regression model for WinBUGS.

EisoDeltaTCorr.m gives an example of computing correlation coefficient for Matlab.

EisoDeltaTReg.m gives an example of linear regression for Matlab.

Other files are the data and results.