Produce a beautiful HTML report. It should include:

Headings you should use in the Study 1 report

All of your work should be done in a fresh R project in a clean directory on your computer. That directory should include a data subdirectory, in which you will need to put the two raw data sets Dr. Love will provide, and the Love-boost.R script.

  1. Setup and Data Ingest
    • We recommend you use read_excel to read in the Excel data for 2019.
    • We recommend you use a similarly appropriate tool to read in the data for 2020 when Dr. Love makes it available.
  2. Merging the Data
    • Be sure to demonstrate that the final tibble you wind up with after merging is correct, with 73 variables and the appropriate number of rows.
  3. Cleaning the Data
    • Note that it’s only necessary to clean the variables you will actually use in your four analyses below. Select only those variables (including the subject identifier) here when you create your analytic tibble.
    • Do all of your cleaning after the merge. I also suggest applying clean_names either before or after merging, but I wouldn’t otherwise change the variable names if you’re not changing the meaning of the variables. If you want to change the names, you can, but then you must indicate that in your codebook, and do the renaming before you show the codebook.
    • If you create a new categorical variable from one of the existing quantitative variables, do so in this section of your report, and then refer to that work in the analyses below when you use the new variable.
    • The Cleaning The Data section (section 3) should conclude with a subsection called Codebook where you will list all of the variables you will actually use in your four chosen analyses, in the format you will use in those analyses.
      • If you decide to rename any of the variables from the names provided with the raw data, you should specify your new name and the original name in your codebook.
      • Your codebook should also describe each of the variables you are using and specify whether they are quantitative, binary or multi-categorical.

Those first three sections should then be followed by any four of the following six sections…

  1. Analysis A: Comparing 2 Means with Paired Samples
  2. Analysis B: Comparing 2 Means with Independent Samples
  3. Analysis C: Comparing X Means with Independent Samples (where you’d substitute in the number of means you’re comparing for X)
  4. Analysis D: Analyzing a 2x2 table
  5. Analysis E: Analyzing a JxK table (where you substitute in the values for J and K)
  6. Analysis F: Analyzing a 2x2xM table (where you substitute in the value of M)

Within each of the four analyses you present, I’d have four (numbered) subsections:

  1. The Question
    • Start by describing what you want to study, and then specify a research question (which should end with a question mark and be something you can resolve with the planned analysis.)
    • Don’t boil the ocean here. You’re looking for a research question that can be reasonably addressed in a survey of less than 150 people, so it has to be pretty straightforward.
    • If you have a pre-existing belief about what will happen, before you look at the data, please feel encouraged to include a statement about that belief before specifying your question.
  2. Describing The Data
    • This should start with specifications of what each of the variables you are studying in this analysis actually mean.
    • Your cleaning, creation of factors and other data management activities for each analysis should already have been shown in the Cleaning the Data section. You can refer back to that section if you like, but don’t repeat what you’ve already done. Be sure that the Codebook you provided back then describes all variables you are using in your analyses here.
    • Provide numerical summaries and visualizations of interest that are relevant to the analysis, and comment on any issues you observe.
  3. Main Analysis
    • Show your work, and comment on whatever decisions you make.
    • Be sure to present and justify the assumptions you are making.
  4. Conclusions
    • Answer your research question, by clearly linking the analytic results to what you were asking at the start.
    • If you can see a logical next step for the analysis of the question you asked, specify it. Also, if you specified a pre-existing belief about what would happen, reflect on that in light of the data.

And finally…

Include the session information with sessionInfo() as a separate section at the end of your report.

This page was last updated: 2020-12-06 13:42:24.

431 Footer