About 128,000 results
Open links in new tab
  1. How to get a regression summary in scikit-learn like R does?

    As an R user, I wanted to also get up to speed on scikit. Creating a linear regression model(s) is fine, but can't seem to find a reasonable way to get a standard summary of regression output. ...

  2. r - How to save summary (lm) to a file? - Stack Overflow

    May 21, 2015 · The thing is, I'm carrying out linear regression analysis and in the future I will perform more advanced methods. Because I'm performing a large number of analysis (and I'm …

  3. pull out p-values and r-squared from a linear regression

    How do you pull out the p-value (for the significance of the coefficient of the single explanatory variable being non-zero) and R-squared value from a simple linear regression model?

  4. How to interpret the output of statsmodels model.summary () for ...

    Dec 28, 2022 · I'm using the statsmodels library to check for the impact of confounding variables on a dependent variable by performing multivariate linear regression: model = ols (f' …

  5. regression - How to save a model summary as data frame in R

    Nov 15, 2022 · I'm trying to save the summary of a model as a data frame in R. The model is a stepwise regression model using the MASS package. I'm primarily interested in saving the …

  6. r - `lm` summary not display all factor levels - Stack Overflow

    I am running a linear regression on a number of attributes including two categorical attributes, B and F, and I don't get a coefficient value for every factor level I have. B has 9 levels and F h...

  7. 'LinearRegression' object has no attribute 'summary'

    Oct 1, 2020 · The method summary(), simply does not exist under the name lr, if you are trying to access the coefficients you can use : reg.coef_ other than that, you would be better off …

  8. Extract Regression P Value in R - Stack Overflow

    I am performing multiple regressions on different columns in a query file. I've been tasked with extracting certain results from the regression function lm in R. So far I have, > reg <- lm(...

  9. my linear model output in R isn't showing all the variables i put …

    Mar 22, 2021 · 0 i ran a multiple regression model in r, with variables that had multiple levels. in the output, the summary shows results for every level of the two variables apart from one! i'm …

  10. Converting statsmodels summary object to Pandas Dataframe

    I am doing multiple linear regression with statsmodels.formula.api (ver 0.9.0) on Windows 10. After fitting the model and getting the summary with following lines i get summary in summary …