make_toy_data: Simulate toy data

Description Usage Arguments Value

View source: R/generate_toy_data.R

Description

Simulates toy data: Toy data should have: Comparisons (difference btwn treatment and control): h1: Same S and N and both are drawn from the constraint h2: S and N change but both are drawn from the constraint h3: Same S and N but treatment is different from constraint h4: S and N change and treatment is different from constraint Draw from FS and see if METE gives same result And vice versa

Usage

1
2
make_toy_data(constraint = "FS", nsamples = 50, ctrl_s = 10,
  ctrl_n = 1000)

Arguments

nsamples

how many samples for each treatment/control pair?

param

constraint "METE" or "FS", whether to draw from METE or feasible set for constraint

Value

list of 4 long data frames with the above properties


diazrenata/conditionalsads documentation built on May 26, 2019, 2:30 a.m.