---
title: "Ling 201, session 06: disp & means (g-o-f) (class)"
author:
   - name: "[Stefan Th. Gries](https://www.stgries.info)"
     affiliation: "UC Santa Barbara & JLU Giessen"
     orcid: 0000-0002-6497-3958
date: "2027-02-09 12:34:56"
date-format: "DD MMM YYYY HH-mm-ss"
editor: source
format:
   html:
      page-layout: full
      code-fold: true
      code-link: true
      code-copy: true
      code-tools: true
      code-line-numbers: true
      code-overflow: scroll
      number-sections: true
      smooth-scroll: true
      toc: true
      toc-depth: 4
      number-depth: 4
      toc-location: left
      monofont: lucida console
      tbl-cap-location: top
      fig-cap-location: bottom
      fig-width: 6
      fig-height: 6
      fig-format: png
      fig-dpi: 300
      fig-align: center
      embed-resources: true
      include-in-header:
         text: '<link rel="shortcut icon" href="https://www.stgries.info/favicon.ico" type="image/x-icon" />'
execute:
   cache: false
   echo: true
   eval: true
   warning: false
---

Load the package `magrittr` and the file [_input/partplacement.csv](_input/partplacement.csv) into a data frame `d`. This file contains data from a corpus study on the alternation of particle placement that was introduced in Section 1.3; you can find information about this data set in [_input/partplacement.r](_input/partplacement.r).

```{r prepworkspace}
# replace this with your answers/code
```

# Exercise 01

Question: Last time, we saw that the distributions of the lengths of the DOs of the verb-particle constructions differ across the two constructions (using the Kolmogorov-Smirnov test). You now want to test whether you can pinpoint what exactly is responsible for this result -- their central tendency? their dispersion? something else? -- so we try to answer the question whether the lengths of the direct objects of the two verb-particle constructions differ in their dispersions.

## Hypotheses

The

* dependent/response variables is/are, if any, # replace this with your answers/code;
* independent/predictor variables is/are, if any, # replace this with your answers/code.

What are the hypotheses?

* text hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code;
* statistical hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code.

## Descriptive stats/visualization

```{r exercise01desc}
# replace this with your answers/code
```

## Statistical testing

```{r exercise01test}
# replace this with your answers/code
```

## Write-up

replace with your answers/code

## Excursus

# Exercise 02

Question: You come across a study of verb-particle constructions that doesn't use native speaker data like you do, but data from advanced learners of English (with a Finnish L1 background). In that study, the variance of the learners' DO lengths in all constructions is 14.32 -- is that amount of variability significantly different from the one in your study? In other words, are the advanced learners using as wide a range of (lengths of) DOs as your native speakers?

## Hypotheses

The

* dependent/response variables is/are, if any, # replace this with your answers/code;
* independent/predictor variables is/are, if any, # replace this with your answers/code.

What are the hypotheses?

* text hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code;
* statistical hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code.

## Descriptive stats/visualization

```{r exercise02desc}
# replace this with your answers/code
```

## Statistical testing

```{r  exercise02test}
# replace this with your answers/code
```

## Write-up

replace with your answers/code

# Exercise 03

Question: You come across a study of verb-particle constructions that doesn't use native speaker data like you do, but data from advanced learners of English (with a Finnish L1 background). In that study, the mean of the learners' DO lengths in all constructions is 5.8 (with a median of 6) -- is that average length different from the one in your study? In other words, are the advanced learners using the same average length of DOs as your native speakers?

## Hypotheses

The

* dependent/response variables is/are, if any, # replace this with your answers/code;
* independent/predictor variables is/are, if any, # replace this with your answers/code.

What are the hypotheses?

* text hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code;
* statistical hypotheses:
   + H~1~: replace with your answers/code;
   + H~0~: replace with your answers/code.

## Descriptive stats/visualization

```{r exercise03desc}
# replace this with your answers/code
```

## Statistical testing

```{r exercise03test}
# replace this with your answers/code
```

## Write-up

replace with your answers/code

## Excursus

# Session info

```{r}
sessionInfo()
```
