impact: Title

Description Usage Arguments Value

View source: R/impact.R

Description

Title

Usage

1
2
3
impact(data = NULL, outcome_var = NULL, treat_var = NULL,
  control_vars = NULL, cluster_var = NULL, grade_var = NULL,
  direction = NULL, cutoff = NULL, probability = 75)

Arguments

data

CSV data file input

outcome_var

Character vector of length 1 indicating outcome variable

treat_var

Character vector of length 1 indicating treatment variable

control_vars

Character vector indicating control variables (optional)

cluster_var

Character vector indicating a clustering variable (optional)

grade_var

Character vector of length 1 indicating grade variable. If NULL, analysis will not split data by grade. Defaults to NULL.

direction

The user-entered direction of intended impact.

cutoff

The user-entered cutoff at which they would consider a program to have "moved the needle."

probability

The user-entered minimum probability of the estimated impact being greater than the cutoff value to consider the program to have "moved the needle."

Value

A list containing an error message if applicable, and if no errors are found, impact results by grade (if grade_var is not specified, a single matching result is returned).


mathematica-mpr/edtechrce documentation built on Nov. 10, 2019, 9:19 a.m.