1 / 21

Three-Way ANOVA

Three-Way ANOVA. Analysis by SAS Interaction Plot by Excel. The Design. Type of Crime: Burglary or Swindle Culture of Defendant: American or Chinese Sex of Juror: Female or Male DV: Recommended length of sentence. Read in the Data. Data JurySimulation ;

Patman
Télécharger la présentation

Three-Way ANOVA

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. Three-Way ANOVA Analysis by SAS Interaction Plot by Excel

  2. The Design • Type of Crime: Burglary or Swindle • Culture of Defendant: American or Chinese • Sex of Juror: Female or Male • DV: Recommended length of sentence

  3. Read in the Data • DataJurySimulation; • Infile'C:\Users\Vati\Documents\SimData\ANOVA3B-13.dat'; • Input Culture $ Crime $ Sex $ Sentence;

  4. Omnibus Analysis • Proc ANOVA; • ClassSex Culture Crime; • ModelSentence = Sex|Culture|Crime; • MeansSex|Culture|Crime; run;

  5. Results & Follow-Up • The triple interaction is significant • Conduct simple interaction analysis • Test Culture x Crime for each sex • I asked you to do the simple interaction analysis even if the triple interaction was not significant

  6. Simple Interaction Effects • Proc Sort; By Sex; • Proc ANOVA; • Class Culture Crime; • Model Sentence = Culture|Crime; • By Sex; run;

  7. Results & Follow-Up • For each simple interaction that is significant, test the simple, simple main effects. • Effect of type of crime at given levels of culture and sex. • I asked you to do these tests regardless of whether or not the simple interaction was significant

  8. Simple, Simple Main Effects • Proc Sort; By Sex Culture; • ProcANOVA; Class Crime; • Model Sentence = Crime; • By Sex Culture; run;

  9. The Comparisons Made • Compare length of sentence for burglars versus swindlers when • Juror is female, defendant is American • Juror is female, defendant is Chinese • Juror is male, defendant is American • Juror is male, defendant is Chinese

  10. Prepare an Interaction Plot • Enter the appropriate means into Excel (2010) • These are for the female jurors

  11. Insert, Charts, Line

  12. Select “Line With Markers”

  13. Tweak the Vertical Axis

  14. Gee Whiz

  15. Add Axis Titles

  16. Enter Text in Title Box Then do the same for the Vertical Axis

  17. Enter Chart Title

  18. Other Tweaks • Resize the chart • Change fonts • Remove or change grid lines • Et cetera • Then copy the chart to Word, PowerPoint, or other application.

  19. Prepare the Second Plot • We need a plot for the male jurors too. • Enter the appropriate data into Excel. • Tweak the plot so it has the same dimensions as the previous plot. • If you do not, Excel may scale it in a way that distorts the differences between the two plots.

More Related