How do you know when a linear regression model is appropriate?

Answer 1

When it fits four assumptions : homogeneity, normality, fixed X and independence of the variables

-Before applying your model

Checking for fixed X:
You should know the exact value of X before your analysis. In other words, the uncertainty on X has to be the lowest as possible. for example, you cannot take age as an explanatory variable if the lifespan is 25 years and you have an uncertainty of 3 years.

Checking for independence :
In the case of a multivariate linear regression, your explanatory variables have to be independent. In other words, do not use colinear variables in the same model.
To check this, plot one variable against the other. If you detect a strong linear or non linear pattern, they are dependent.

  • Once you have applied your model

    Checking for normality :
    The residuals of your model (the variance not explained by your model) have to follow a normal distribution.
    You can check this by an histogram of the residuals or by a quantile-quantile plot.
    You can see on the graphs below how it should looks like when you have normality.

    However, normality is not the most important assumption and linear models are robust enough to a small amount of non-normality.

    Checking for homogeneity:
    This assumption is much more important. To check it, you can plot the residuals of your model against the fitted values.
    You have homogeneity when the spread is more or less the same for all the residuals (you do not see any particular pattern, see figure below).

    If your residuals show a pattern (linear or non linear) or have a cone shape (spread higher in one side of the graph and lower at the other side), this assumption is not supported and you should find another kind of model.

    You should do the same for each explanatory variable (X).

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 2
Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7