get_test_scores {farr}R Documentation

A function returning data on test_scores.

Description

A function returning simulated data on test_scores.

Usage

get_test_scores(
  effect_size = 15,
  n_students = 1000L,
  n_grades = 4L,
  include_unobservables = FALSE,
  random_assignment = FALSE
)

Arguments

effect_size

Effect of attending camp on subsequent test scores

n_students

Number of students in simulated data set

n_grades

Number of grades in simulated data set

include_unobservables

Include talent in returned data (TRUE or FALSE)

random_assignment

Is assignment to treatment completely random? (TRUE or FALSE)

Value

tbl_df

Examples

set.seed(2021)
library(dplyr, warn.conflicts = FALSE)
get_test_scores() %>% head()

[Package farr version 0.3.0 Index]