Linear Regression and Bayesian Inference: An Astrophysics Perspective

An excellent graphic using real data to show the M-sigma relation. The image was taken from Martin-Navarro et al. 2018;

Pre-requisite: Imports

Part 1: Familiarization with the data

In this section, we are going to familiarize ourselves with the data. This portion will be so that we can all have a baseline understanding of the data.

Part 2: Data Analysis

In this section, we will explore how to use linear regression and bayesian inference to set estimates with errors on the parameters governing the M-sigma relation

coefficient of determination: 0.698146674681597 
$\alpha$ : -8.20E-01
$\beta$ : 3.91E+00



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Carter Rhea

Carter Rhea

PhD Student in Astrophysics at the University of Montreal working on machine learning in astronomy. Co-founder of