Skip to content

FAQ, Design: helpful summary, diagnostic hints #1744

Open

Description

@josef-pkt

this is mainly to add a link

discussion how to use ols and linear regression
http://forums.udacity.com/questions/100155297/how-much-different-do-you-get-r2-by-using-ordinary-least-squares#ud359

some points

  • warning text at end of summary about multicollinearity or singularity is useful (dummy variable trap)
  • rescaling to reduce multicollinearity, high condition number
  • separate model building/development stage from production code: When selecting variables and building the model it is useful to work with a full statsmodels.OLS (or whatever other Model). Prediction or estimating only parameters (on cloudserver with short timeout) can be much more efficiently done with direct calculation.

TODO:

Activity

  1. changed the title [-]FAQ, Design helpful summary, diagnostic hints[/-] [+]FAQ, Design: helpful summary, diagnostic hints[/+] on Jun 5, 2014
  2. josef-pkt commented on Dec 19, 2019

    @josef-pkt
    MemberAuthor

    adding here but we have several issues on multicollinearity

    mean and max vif could be useful measures to indicate multicollinearity, i.e. companions to condition number in summary and small eigen/singular values in the warning message.
    e.g.

    Chapter 10 Building the Regression Model II: Diagnostics p. 409 has mean vif as measure, in

    Kutner, Michael H., Christopher J. Nachtsheim, John Neter, and William Li. Applied linear statistical models. Vol. 5. Boston: McGraw-Hill Irwin, 2005.

    (found because it is frequently cited by R package asbio #6354, textbook looks pretty good with statistics focus instead of econometrics)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions