get_test_scores: A function returning data on test_scores.

View source: R/get_test_scores.R

get_test_scoresR 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()

farr documentation built on May 29, 2024, 6:41 a.m.