Top "Regression" questions

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

Is LASSO regression implemented in Statsmodels?

I would love to use a linear LASSO regression within statsmodels, so to be able to use the 'formula' notation …

python regression statsmodels lasso-regression
How to use formula in R to exclude main effect but retain interaction

I do not want main effect because it is collinear with a finer factor fixed effect, so it is annoying …

r regression linear-regression lm categorical-data
Ordering of points in R lines plot

I want to add a fitted line of a quadratic fit to a scatteprlot, but the ordering of the points …

r plot regression points
Prediction - Neural network for regression predicts same value

I am trying to predict median value of owner-occupied homes, its a worked example which is giving a good result. …

r neural-network regression prediction predict
Calculating a linear trend line for every row of a table in R

is it somehow possible to conduct a linear regression for every single row of a data frame without using a …

r regression trendline
Panel data with binary dependent variable in R

Is it possible to do regressions in R using a panel data set with a binary dependent variable? I am …

r regression panel-data plm
Using Keras ImageDataGenerator in a regression model

I want to use the flow_from_directory method of the ImageDataGenerator to generate training data for a regression model, …

machine-learning neural-network regression keras
Fit a non-linear function to data/observations with pyMCMC/pyMC

I am trying to fit some data with a Gaussian (and more complex) function(s). I have created a small …

python regression pymc probabilistic-programming
lm() Regression with interactions for an entire dataframe

I know there is a shortcut in Rto run an lm()regression on all a dataframe like this : reg<…

r regression lm
Programing Logistic regression with Stochastic gradient descent in R

I’m trying to program the logistic regression with stochastic descending gradient in R. For example I have followed the …

r regression gradient-descent stochastic