100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting statistiek blok 2 Pre-Master Zuyd (EN)

Rating
-
Sold
1
Pages
49
Uploaded on
11-08-2021
Written in
2020/2021

Samenvatting van het tweede blok statistiek van de pre master aan Zuyd Hogeschool, met uitgebreide bespreking van de begrippen en de procedures.

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

Summarized whole book?
No
Which chapters are summarized?
Hoofdstuk 6, 9, 11, 12, 14, 15, 18
Uploaded on
August 11, 2021
Number of pages
49
Written in
2020/2021
Type
Summary

Subjects

Content preview

Chapter 9: the linear model (regression)

The linear model with one predictor

outcome = (b0+b1xi) +errori

This model uses an unstandardised measure of the relationship (b 1) and consequently we include
a parameter b0 that tells us the value of the outcome when the predictor is zero.

Any straight line can be defined by two things:

 the slope of the line (usually denoted by b1)
 the point at which the the line crosses the vertical axis of the graph (the intercept of the
line, b0)

These parameters are regression coefficients.

The linear model with several predictors

The linear model expands to include as many predictor variables as you like.
An additional predictor can be placed in the model given a b to estimate its relationship to the
outcome:

Yi = (b0 +b1X1i +b2X2i+ … bnXni) + Ɛi

bn is the coefficient is the nth predictor (Xni)

Regression analysis is a term for fitting a linear model to data and using it to predict values of an
outcome variable form one or more predictor variables.
Simple regression: with one predictor variable
Multiple regression: with several predictors

Estimating the model

No matter how many predictors there are, the model can be described entirely by a constant (b 0)
and by parameters associated with each predictor (bs).

To estimate these parameters we use the method of least squares.
We could assess the fit of a model by looking at the deviations between the model and the data
collected.

Residuals: the differences between what the model predicts and the observed values.

To calculate the total error in a model we square the differences between the observed values of
the outcome, and the predicted values that come from the model:
total error: Σni=1(observedi-modeli)2

Because we call these errors residuals, this is called the residual sum of squares (SS R).
It is a gauge of how well a linear model fits the data.

 if the SSR is large, the model is not representative

,  if the SSR is small, the model is representative for the data

The least SSR gives us the best model.

Assessing the goodness of fit, sums of squares R and R2

Goodness of fit: how well the model fits the observed data

Total sum of squares (SST): how good the mean is as a model of the observed outcome scores.

We can use the values of SST and SSR to calculate how much better the linear model is than the
baseline model of ‘no relationship’.
The improvement in prediction resulting from using the linear model rather than the mean is
calculated as the difference between SST and SSR.
This improvement is the model sum of squares SSM

 if SSM is large, the linear model is very different from using the mean to predict the
outcome variable. It is a big improvement.

R2 = SSM/ SST
R2 is the improvement due to the model

 To express this value as a percentage, multiply it by 100.
 R2 represents the amount of variance in the outcome explained by the model relative to
how much variation there was to explain in the first place.
 we can take the square root of this value to obtain Pearson’s correlation coefficient for the
relationship between values of the outcome predicted by the model and the observed
values of the outcome.

Another use of the sums of squares is in assessing the F-test.

 F is based upon the ratio of the improvement due to the model and the error in the model.

Mean squares (MS): the sum of squares divided by the associated degrees of freedom.

MSM = SSM/k

MSR = SSR/ (N – k – 1)

F = MSM/MSR

F has an associated probability distribution from which a p-value can be derived to tell us the
probability of getting an F at least as big as one we have if the null hypothesis were true.
The F statistic can also used to the significance R2
F = ((N – k – 1)R2) / (k(1-R2)

Assessing individual predictors

Any predictor in a linear model has a coefficient (bi). The value of b represents the change in the
outcome resulting from a unit change in a predictor.

,The t-statistic is based on the ratio of explained variance against unexplained variance or error
t = (bobserved – bexpected)/ SEb

The statistic t has a probability distribution that differs accordingly to the degrees of freedom for
the text.


Bias in linear models?
Outliers

An outlier: a case that differs substantially from the main trend in the data.
Outliers can affect the estimates of the regression coefficients.

Standardized residuals: the residuals converted to z-scores and so are expressed in standard
deviation units.
Regardless of the variables of the model, standardized residuals are distributed around a mean
of 0 with a standard deviation of 1.

 Standardized residuals with an absolute value greater than 3,29 are cause for concern
because in an average sample a value this high is unlikely to occur
 if more than 1% of our sample cases have standardized residuals with an absolute value
greater than 2,58 there is evidence that the level of error within our model may be
unacceptable
 if more than 5% of cases have standardized residuals with an absolute value greater than
1,96 then the model may be a poor representation of the data

Influential cases

There are several statistics used to assess the influence of a case.

 adjusted predicted value
the predicted value of the outcome for that case from a model in which the case is
excluded.
If the model was stable, then the predicted value of a case should be the same regardless
of whether that case was used to estimate the model
 Deleted residual
the difference between the adjusted predicted value and the original observed value.
 studentized deleted residual
the deleted residual divided by the standard error
 Cook’s distance
a measure of the overall influence of a case on the model
 the leverage
gauges the influence of the observed value of the outcome variable over the predicted
values
 Mahalanobis distances
measure the distance of cases from the mean(s) of the predictor variable(s)
 to look at how the estimates b in a model change as a result of excluding a case

DFBeta: the difference between a parameter estimated using all cases and estimated when one
case is excluded.
DFFit: the difference between the predicted values for a case when the model is estimated
including or excluding that case.

, Covariance ratio (CVR): quantifies the degree to which a case influences the variance of the
regression parameters.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ninaaaaa Were Di
Follow You need to be logged in order to follow users or courses
Sold
127
Member since
8 year
Number of followers
109
Documents
2
Last sold
1 year ago

3.8

25 reviews

5
8
4
10
3
4
2
0
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions