Top "Regression" questions

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

Adding a regression line on a ggplot

I'm trying hard to add a regression line on a ggplot. I first tried with abline but I didn't manage …

r ggplot2 regression linear-regression
Run an OLS regression with Pandas Data Frame

I have a pandas data frame and I would like to able to predict the values of column A from …

python pandas scikit-learn regression statsmodels
Find p-value (significance) in scikit-learn LinearRegression

How can I find the p-value (significance) of each coefficient? lm = sklearn.linear_model.LinearRegression() lm.fit(x,y)

python numpy statistics scikit-learn regression
Extract regression coefficient values

I have a regression model for some time series data investigating drug utilisation. The purpose is to fit a spline …

r regression lm
How to force R to use a specified factor level as reference in a regression?

How can I tell R to use a certain level as reference if I use binary explanatory variables in a …

r regression linear-regression categorical-data dummy-variable
Quadratic and cubic regression in Excel

I have the following information: Height Weight 170 65 167 55 189 85 175 70 166 55 174 55 169 69 170 58 184 84 161 56 170 75 182 68 167 51 187 85 178 62 173 60 172 68 178 55 175 65 176 70 I want to construct quadratic and cubic regression analysis in Excel. I know …

excel regression
What is the difference between Multiple R-squared and Adjusted R-squared in a single-variate least squares regression?

Could someone explain to the statistically naive what the difference between Multiple R-squared and Adjusted R-squared is? I am doing …

r statistics regression
how to use the Box-Cox power transformation in R

I need to transform some data into a 'normal shape' and I read that Box-Cox can identify the exponent to …

r regression transformation
fitting data with numpy

Let me start by telling that what I get may not be what I expect and perhaps you can help …

python numpy regression curve-fitting data-fitting
How to debug "contrasts can be applied only to factors with 2 or more levels" error?

Here are all the variables I'm working with: str(ad.train) $ Date : Factor w/ 427 levels "2012-03-24","2012-03-29",..: 4 7 12 14 19 21 24 29 31 34 ... $ Team : …

r regression lm glm r-faq