Aan de slagGa gratis aan de slag

t-statistic

Using the permuted datasets (recall, the randomization forces the null hypothesis to be true), investigate the distribution of the standardized slope statistics (the slope, which has been divided by the standard error). Note that the distribution of the standardized slope is well described by a t-distribution.

Deze oefening maakt deel uit van de cursus

Inference for Linear Regression in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Look at the data
twins_perm

# Filter for Biological_perm
biological_perm <- twins_perm %>%
  ___

# Calculate degrees of freedom of twins
degrees_of_freedom <- ___
Code bewerken en uitvoeren