Top "Regression" questions

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

Linear Regression and group by in R

I want to do a linear regression in R using the lm() function. My data is an annual time series …

r regression linear-regression lm
Stepwise regression using p-values to drop variables with nonsignificant p-values

I want to perform a stepwise linear Regression using p-values as a selection criterion, e.g.: at each step dropping …

r statistics regression p-value
setting values for ntree and mtry for random forest regression model

I'm using R package randomForest to do a regression on some biological data. My training data size is 38772 X 201. I …

r statistics machine-learning regression random-forest
How to calculate the regularization parameter in linear regression

When we have a high degree linear polynomial that is used to fit a set of points in a linear …

machine-learning data-mining regression
Linear regression analysis with string/categorical features (variables)?

Regression algorithms seem to be working on features represented as numbers. For example: This data set doesn't contain categorical features/…

python machine-learning regression linear-regression feature-selection
R: standard error output from lm object

We got a lm object from and want to extract the standard error lm_aaa<- lm(aaa~x+…

r regression lm standard-error
Error in dataframe *tmp* replacement has x data has y

I'm a beginner in R. Here is a very simple code where I'm trying to save the residual term: # Create …

r regression lm
Stepwise Regression in Python

How to perform stepwise regression in python? There are methods for OLS in SCIPY but I am not able to …

python scipy regression
R logistic regression area under curve

I am performing logistic regression using this page. My code is as below. mydata <- read.csv("http://www.…

r regression roc confusion-matrix
Linear Regression with a known fixed intercept in R

I want to calculate a linear regression using the lm() function in R. Additionally I want to get the slope …

r regression linear-regression lm