Final project Solution



Read the following instructions carefully:

You should work individually, not in a group.

You are not allowed to discuss your project with anyone other than the instructor or TA. Any outside help beyond that from the instructor or TA is considered plagiarism. This including asking a tutor, your classmates (for example, comparing answers), posting the questions to homework help sites, etc. Should we believe you have sought outside help,

you will be reported to the Student Judicial A airs o ce.

You are allowed to use or modify your previous functions, or the instructors functions that are posted online.

Do not share answers, or speci c values for calculations.

If you want to ask clarifying questions about code and general approach, or have di culty in nding a dataset to work with, go to the o ce hours of the instructor or TA.


You should nd a dataset at rst and conduct proper data analysis that you have learned from this class. Your results should be written in report form, including a cover page and an appendix of your R code at the end of the report. This means you write in full sentences, and have the following sections for the body of your report.

1 Introduction: Brie y summarize the goal of the analysis in your own words.

2 Summary: Summarize your data. These can be plots, or sample estimates. Interpret the plots and/or estimates.

3 Analysis: Your data analysis should contain at least the following parts. You may add something else if needed.

  1. Construct simultaneous con dence intervals based on T 2 and Bonferroni correction.

  2. Two-sample Hotelling’s T 2 test.

  1. Principal component analysis.

  1. Linear discriminant analysis.

  • Interpretation: Interpret your con dence intervals, tests and plots in terms of the problem.

5 Conclusion: Describe and interpret your ndings.



i A title page including your name, the name of the class, and the name of your instructor.

  1. Do not include R code in the body of your report. R code used to produce the results should all go to the appendix.

  1. Typed.

  1. Double-sided pages.

For example, your project should be put together in the following order (stapled):

Cover page.

Introduction, summary, analysis, interpretation, and conclusion.

Code appendix.


error: Content is protected !!