Skip to content Skip to sidebar Skip to footer
Showing posts with the label Statsmodels

Custom Priors In Pymc

Say I want to put a custom prior on two variables a and b in PyMC, e.g.: p(a,b)∝(a+b)^(−5/2) (for t… Read more Custom Priors In Pymc

Calculating Scale/dispersion Of Gamma Glm Using Statsmodels

I'm having trouble obtaining the dispersion parameter of simulated data using statsmodels' … Read more Calculating Scale/dispersion Of Gamma Glm Using Statsmodels

How To Find Out The Slope Value By Applying Linear Regression On Trend Of A Data?

I have a time series data from which I am able to find out the trend.Now I need to put a regression… Read more How To Find Out The Slope Value By Applying Linear Regression On Trend Of A Data?

Why Can't I Import Statsmodels Directly?

I'm certainly missing something very obvious here, but why does this work: a = [0.2635,0.654654… Read more Why Can't I Import Statsmodels Directly?

Print Ols Regression Summary To Text File

I am running OLS regression using pandas.stats.api.ols using a groupby with the following code: fro… Read more Print Ols Regression Summary To Text File

Fitting Arma Model To Time Series Indexed By Time In Python

I am trying to fit an ARMA model to a time series stored in a pandas dataframe. The dataframe has … Read more Fitting Arma Model To Time Series Indexed By Time In Python