Top "Regression" questions

Regression analysis is a collection of statistical techniques for modeling and predicting one or multiple variables based on other data.

How to correctly use scikit-learn's Gaussian Process for a 2D-inputs, 1D-output regression?

Prior to posting I did a lot of searches and found this question which might be exactly my problem. However, …

python regression gaussian
using ols from statsmodels.formula.api - how to remove constant term?

I'm following this first example in statsmodels tutorial: http://statsmodels.sourceforge.net/devel/ How do I specify not to use …

python numpy regression statsmodels patsy
Calculate confidence band of least-square fit

I got a question that I fight around for days with now. How do I calculate the (95%) confidence band of …

python statistics regression confidence-interval
Adding Regression Line Equation and R2 on SEPARATE LINES graph

A few years ago, a poster asked how to add regression line equation and R2 on ggplot graphs at the …

r ggplot2 regression ggpmisc
Difference in Differences in Python + Pandas

I'm trying to perform a Difference in Differences (with panel data and fixed effects) analysis using Python and Pandas. I …

python pandas regression least-squares panel-data
difference between LinearRegression and svm.SVR(kernel="linear")

First there are questions on this forum very similar to this one but trust me none matches so no duplicating …

machine-learning scikit-learn regression python-3.5 sklearn-pandas
Regression tree in R

I am having trouble making a regression tree in R. I have a data frame with 17 attributes library(rpart) rt.…

r regression rpart
Orthogonal regression fitting in scipy least squares method

The leastsq method in scipy lib fits a curve to some data. And this method implies that in this data …

python scipy regression least-squares
Force certain parameters to have positive coefficients in lm()

I would like to know how to constrain certain parameters in lm() to have positive coefficients. There are a few …

r regression linear-regression glm lm
Why is it inadvisable to get statistical summary information for regression coefficients from glmnet model?

I have a regression model with binary outcome. I fitted the model with glmnet and got the selected variables and …

r statistics regression glm glmnet