1 / 18

Lecture 4

Lecture 4. Data editing. List of nice things. Equal variance Normal distribution Linear relationship Independent variables Other requirements. Equal variance. Can be done by weighting the groups. Transformation is be better

dyawn
Download Presentation

Lecture 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 4 Data editing

  2. List of nice things • Equal variance • Normal distribution • Linear relationship • Independent variables • Other requirements

  3. Equal variance • Can be done by weighting the groups. • Transformation is be better • If x is transformed into y, then the variance of y is equal if:

  4. Linearizing transformations • Performed to find the connection between two variables

  5. Normalizing Transformations • Many statistical methods assume normal distributions, but are robust to non-normal distributions. • Transformations to equal variance and linaer relations may fix the normal distribution issue

  6. Example 1 • Is there a relation between the number of apples given to a teacher and the grade given by a teacher? • Normality, equal variance and linear relation? • Graphical indications! • Scatterplot and histograms • Standardized residuals (linear regression) • P-P plots (Q-Q plots) • Does it look nice?

  7. Kolmogorov-Smirnov test • Tests if a sample of variables are normal. • Tests if the observed distribution function S(x) is significantly different from a hypothetical distribution function F(x). • Lilliefors modification because F(x) is estimated from S(x).

  8. Transformations • Most statistical models are linear. • Equal variance. • c = 1: No transformation • c = -1: reciprocal • c = ½ : square root • c -> 0: logarithmic

  9. Example 3 • Pain caused by mechanical pressure. • Equal variance? • Normal distribution? • Linear relationship? • Independent variables? • Logarithmic transformation • Stabilize the variance if var(x) is proportional to E(x)2 • If x has an increassing slope • x is positive and positively skewness

  10. Example 4 • Fuel consumption • Reciprocal transformation • Stabilize the variance if var(x) is proportional to E(x)4 • If x has an increassing slope • x is positive and positively skewness

  11. Square-root transformation • Stabilize the variance if var(x) is proportional to E(x) • If the underlying mechanism follows a Poisson distribution

  12. Outliers • Tjeck the data • Tjeck the labbook • Trimmed mean • Common sense and your vast experience

  13. Repeated Measures • Measurements are repeated on the same subject • Variation from subjects can be identified in the model -> more accurate description

  14. The reversed stroop effect

  15. An Example • Between-subject Factor: • cognitive style: field-independent or field-dependent • Within-subject Factors: • Type: Form and Color • Condition: Normal, Congruent, and Incongurent • Within-subject factors are randomized

  16. A suitable model • where yijklrepresent the observation for the ith subject in the lth group (l = 1, 2), under the jth type condition (j = 1, 2), and the kth cue condition (k = 1, 2, 3) • Fixed effects: • αj, βk, γlrepresent the main effects of type, cue, and group, • (αβ)jk, (αγ)jl, (βγ)kl , (αβγ)jklthe interaction. • Random effects: • The uirepresents the effect of subject i • εijklthe residual

  17. ARGHH! Another assumption! • 1. Normality • 2. Equal variance • 3. Sphericity: • The variances of the differences between all pairs of the repeated measurements are equal. • This requirement implies that the covariances between pairs of repeated measures are equal and that the variances of each repeated measurement are also equal, i.e., the covariance matrix of the repeated measures must have the so-called compound symmetry pattern.

More Related