Tag Archives: LinearRegression

Bayesian Multiple Regression to identify likely causal associations

I’m using the Johns Hopkins Corona Virus dataset here to demonstrate how Multiple Regression can help to unmask associations between variables, and assist in figuring out which associations really impact the dependent variable, and which ones are only spurious relationships/correlations. … Continue reading

Posted in Bayes, Data Analytics, Epidemics, Probability, PYMC, Statistics | Tagged , , , , , , , | Leave a comment

Bayesian Linear Regression with PYMC, part II

In the previous post we looked at a simple linear regression between (simulated) human heights and weights.  In that example, the regression was truly ‘linear’, in that the predictor variable only occured in its first power, to provide a linear regression … Continue reading

Posted in Bayes, Data Analytics, Probability, PYMC, Simulation, Statistics | Tagged , , , , , , | Leave a comment

Bayesian Linear Regression with PYMC

Is there a relationship between human height and weight…? Probably. But what does that relationship look like ? Those kinds of questions can be answered by Linear Regression. Below an example, using simulated data for weights,heights etc: import numpy as … Continue reading

Posted in Bayes, Data Analytics, Numpy, Probability, PYMC, Python, Simulation, Statistics | Tagged , , , , , , , , , , | Leave a comment

Python,Pandas, Statsmodels – Multipredictor Linear Regression (code included)

The Swedish Meteorological & Hydrological Institute, SMHI, provides (some of) its data to the public, as “Open Data“, accessable either by various API’s or by download from their website. I downloaded several of their CSV-files, containing historical weather-data for a … Continue reading

Posted in Big Data, Data Analytics, Data Driven Management, Numpy, Probability, Python, Statistics | Tagged , , , , , , , , , , | Leave a comment