HW 06 - Parkinsons

due Tuesday, Nov. 8 at 11:59pm

Introduction and Data

The goal of today’s homework is to practice statistical inference using simulation procedures. The data for today’s lab may be found by cloning your repository available at the class GitHub repository. Use the lecture notes, readings, and application exercises to help you complete the lab. You can also use this chart on simulation-based inference to help you determine the appropriate sampling scheme when conducting simulation-based inference.

The dataset is adapted from Little et al. (2007), and contains voice measurements from individuals both with and without Parkinson’s Disease (PD), a progressive neurological disorder that affects the motor system. The aim of Little et al.’s study was to examine whether they could diagnose PD by examining the spectral (sound-wave) properties of patients’ voices. This is the same data we saw in class.

147 measurements were taken from patients with PD, and 48 measurements were taken from healthy controls. For the purposes of this lab, you may assume that measurements are representative of the underlying populations (PD vs. healthy).

The variables in the dataset are as follows:

You may load in the data with the following code, where ____ should be replaced by a meaningful name of your choosing. Then be sure to remove the eval = FALSE:

library(tidyverse)
library(infer)
____ <- read_csv("data/parkinsons.csv")

Exercises


NOTES

Part 1

Is there enough evidence to suggest that the mean HNR in the voice recordings of the healthy patients is significantly different from 25 at the \(\alpha\) = 0.05 significance level?

  1. Write out the null and alternative hypotheses for this question in both words and symbols.

  1. Display a visualization of your simulated null distribution, and describe the values that would cause you to reject your null hypothesis (called the rejection region). Does our observed sample mean lie in this rejection region?

  1. What is your p-value, decision, and conclusion in context of the research question?

  1. Given your conclusion in Exercise 3, which type of error could you possibly have made? What would making such an error mean in the context of the research question?

Part 2

Researchers suspect that patients with PD are less able to control their vocal muscles, and thus may have a different HNR (tonal component to noise ratio) compared to healthy volunteers. Thus, they are interested in whether the mean HNR in voice recordings among patients with PD is statistically significantly different from the mean HNR in voice recordings among healthy patients. The researchers select the 0.05 significance level.

  1. Write out the null and alternative hypotheses for this question in both words and symbols.

  1. Simulate your null distribution.

  1. What is your p-value, decision, and conclusion in context of the research question?

Part 3

Suppose we are now interested in testing whether a correlation exists between voice jitter and voice shimmer among healthy volunteers. Test whether the correlation between these two values is non-zero at the \(\alpha\) = 0.01 level.

As an aside, correlation is given in symbols by \(\rho\).

  1. Write out the null and alternative hypotheses in words.

Hint: Refer to HW 05 for what to specify(). Use hypothesize(null = “independence”). The type of simulated data we will generate() depends on two quantities/variables; consult the chart.

  1. Display a visualization of your simulated null distribution, and describe the values that would cause you to reject your null hypothesis. Does the observed sample correlation lie in this rejection region?

  1. What is your p-value, decision, and conclusion in context of the research question?

  1. What is the probability you’ve made a Type 1 error? If you cannot tell for sure, explain why. Similarly, what is the probability you’ve made a Type 2 error? If you cannot tell for sure, explain why.

Submission

Knit to PDF to create a PDF document. Knit and commit all remaining changes, and push your work to GitHub. Make sure all files are updated on your GitHub repo.

Please then upload your PDF document to Canvas.