simulated_language_course: Simulated study on effectiveness of language course (SIGIL)

Description Usage Arguments Details Value Author(s) Examples

Description

This function generates simulated results of a study measuring the effectiveness of a new corpus-driven foreign language teaching course.

The generated data set is usually named LanguageCourse (see code examples below) and is used for various exercises and illustrations in the SIGIL course.

Usage

1
2
3
simulated.language.course(n=c(15,20,10,10,14,18,15), mean=c(60,50,30,70,55,50,60),
                          effect=c(5,8,12,-4,2,6,-5), sd.subject=15, sd.effect=5,
                          seed.rng=42)

Arguments

n

number of participants in each class

mean

average score of each class before the course

effect

improvement of each class during the course

sd.subject

inter-subject variability, may be different in each class

sd.effect

inter-subject variability of effect size, may also be different in each class

seed.rng

seed for the random number generator, so data sets with the same parameters are reproducible

Details

TODO

Value

A data frame with sum(n) rows corresponding to individual subjects participating in the study and the following columns

id:

unique ID code of subject

class:

name of the teaching class

pre:

score in standardized language test before the course (pre-test)

post:

score in standardized language test after the course (post-test)

Author(s)

Stefan Evert <stefan.evert@fau.de>

Examples

1
2
3

corpora documentation built on May 2, 2019, 4:56 p.m.