Top "Linear-regression" questions

for issues related to linear regression modelling approach

Using scikit-learn (sklearn), how to handle missing data for linear regression?

I tried this but couldn't get it to work for my data: Use Scikit Learn to do linear regression on …

python pandas machine-learning scikit-learn linear-regression
Constrained Linear Regression in Python

I have a classic linear regression problem of the form: y = X b where y is a response vector X …

python numpy scipy mathematical-optimization linear-regression
Can scipy.stats identify and mask obvious outliers?

With scipy.stats.linregress I am performing a simple linear regression on some sets of highly correlated x,y experimental …

python statistics scipy linear-regression
Linear Regression and storing results in data frame

I am running a linear regression on some variables in a data frame. I'd like to be able to subset …

r linear-regression lm
Linear Regression and Gradient Descent in Scikit learn?

in coursera course for machine learning https://share.coursera.org/wiki/index.php/ML:Linear_Regression_with_Multiple_Variables#Gradient_…

python machine-learning scikit-learn linear-regression
how to check for correlation among continuous and categorical variables in python?

I have a dataset including categorical variables(binary) and continuous variables. I'm trying to apply a linear regression model for …

python linear-regression correlation categorical-data
3D Linear Regression

I want to write a program that, given a list of points in 3D-space, represented as an array of x,…

algorithm linear-regression
How to fit a linear regression model with two principal components in R?

Let's say I have a data matrix d pc = prcomp(d) # pc1 and pc2 are the principal components pc1 = pc$…

r linear-regression pca
How to fit the 2D scatter data with a line with C++

I used to work with MATLAB, and for the question I raised I can use p = polyfit(x,y,1) to …

c++ algorithm matlab curve-fitting linear-regression
How to manually set coefficients for variables in linear model?

In R, how can I set weights for particular variables and not observations in lm() function? Context is as follows. …

r linear-regression lm