About 345,000 results
Open links in new tab
  1. regression - How exactly does one “control for other variables ...

    Residuals I assume that you have a basic understanding of the concept of residuals in regression analysis. Here is the Wikipedia explanation: " If one runs a regression on some data, then the …

  2. How should outliers be dealt with in linear regression analysis?

    Often times a statistical analyst is handed a set dataset and asked to fit a model using a technique such as linear regression. Very frequently the dataset is accompanied with a disclaimer similar...

  3. regression - When is R squared negative? - Cross Validated

    With linear regression with no constraints, R2 R 2 must be positive (or zero) and equals the square of the correlation coefficient, r r. A negative R2 R 2 is only possible with linear regression when either …

  4. Choosing variables to include in a multiple linear regression model

    I am currently working to build a model using a multiple linear regression. After fiddling around with my model, I am unsure how to best determine which variables to keep and which to remove. My m...

  5. Assumptions of linear models and what to do if the residuals are not ...

    For your first question, I don't think that a linear regression model assumes that your dependent and independent variables have to be normal. However, there is an assumption about the normality of …

  6. Maximum number of independent variables that can be entered into a ...

    There are two overall approaches to model development that tend to work well. (1) Have an adequate sample size and fit the entire pre-specified model, and (2) used penalized maximum likelihood …

  7. Difference between statsmodel OLS and scikit linear regression

    To your other two points: Linear regression is in its basic form the same in statsmodels and in scikit-learn. However, the implementation differs which might produce different results in edge cases, and …

  8. How do I perform a regression on non-normal data which remain non ...

    First, OLS regression makes no assumptions about the data, it makes assumptions about the errors, as estimated by residuals. Second, transforming data to make in fit a model is, in my opinion, the wrong …

  9. Does it make sense to use a date variable in a regression?

    I'm not used to using variables in the date format in R. I'm just wondering if it is possible to add a date variable as an explanatory variable in a linear regression model. If it's possible, how c...

  10. How to derive the standard error of linear regression coefficient

    another way of thinking about the n-2 df is that it's because we use 2 means to estimate the slope coefficient (the mean of Y and X) df from Wikipedia: "...In general, the degrees of freedom of an …