---
title: "Ling 201, session 05: distr. & freq. (class)"
author:
   - name: "[Stefan Th. Gries](https://www.stgries.info)"
     affiliation: "UC Santa Barbara & JLU Giessen"
     orcid: 0000-0002-6497-3958
date: "2027-02-02 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: Across all verb-particle constructions, are abstract and concrete DOs equally frequent? (This might be interesting because of the diachrony of these constructions as well as because of how children might learn from their input what verb-particle constructions are used for in general.)

## 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: Are the lengths of direct objects in all verb-particle constructions normally distributed? (This would mostly be interesting because many other tests one might compute on the lengths would require that.)

## 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

## Excursus

# Exercise 03

Question: Does the choice of a verb-particle construction correlate with the complexity of the direct object? (This might be interesting (i) because, if that was so, it might be explainable with processing considerations of a more general type (short-before-long) and (ii) because of how children learn the alternation: they, somewhat astonishingly, use the discontinuous variant *v_do_prt* first, which might be because adults perhaps prefer that order with short DOs (we will check that) so children, who don't use complex DOs, would then prefer the verb-particle construction that prefers the only kinds of DOs they can already handle.)

## 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

# Exercise 04

Question: Given that the choice of a verb-particle construction is correlated with the complexity of the direct object (see previous exercise), one might wonder whether the general distribution of the DO lengths differ across the two constructions. (This might be expected and interesting for the same reasons as the question in exercise 03 because the length and the complexity of the DO are probably highly correlated in the first place.)

## 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 exercise04desc}
# replace this with your answers/code
```

## Statistical testing

```{r exercise04test}
# replace this with your answers/code
```

## Write-up

replace with your answers/code

## Excursus

# Session info

```{r sessionInfo}
sessionInfo()
```
