Top "Linear-regression" questions

for issues related to linear regression modelling approach

How does predict.lm() compute confidence interval and prediction interval?

I ran a regression: CopierDataRegression <- lm(V1~V2, data=CopierData1) and my task was to obtain a 90% confidence …

r regression linear-regression prediction lm
Linear regression in R (normal and logarithmic data)

I want to carry out a linear regression in R for data in a normal and in a double logarithmic …

r plot linear-regression curve-fitting power-law
predict.lm() with an unknown factor level in test data

I am fitting a model to factor data and predicting. If the newdata in predict.lm() contains a single factor …

r regression linear-regression lm
How to obtain RMSE out of lm result?

I know there is a small difference between $sigma and the concept of root mean squared error. So, i am …

r regression linear-regression lm
python linear regression predict by date

I want to predict a value at a date in the future with simple linear regression, but I can't due …

python date pandas linear-regression
OLS using statsmodel.formula.api versus statsmodel.api

Can anyone explain to me the difference between ols in statsmodel.formula.api versus ols in statsmodel.api? Using the …

python linear-regression
Is there a Java library for better linear regression? (E.g., iteratively reweighted least squares)

I am struggling to find a way to perform better linear regression. I have been using the Moore-Penrose pseudoinverse and …

java math matrix matrix-multiplication linear-regression
How (and why) do you use contrasts?

Under what cases do you create contrasts in your analysis? How is it done and what is it used for? …

r linear-regression categorical-data contrast
OLS Regression: Scikit vs. Statsmodels?

Short version: I was using the scikit LinearRegression on some data, but I'm used to p-values so put the data …

python scikit-learn linear-regression statsmodels
geom_smooth in ggplot2 not working/showing up

I am trying to add a linear regression line to my graph, but when it's run, it's not showing up. …

r ggplot2 linear-regression