Simple simulation about potential outcomes and causal estimation

calc_average_causal_effect_estimand | Calculate average causal effect estimand |

calc_conditional_difference_in_means | Calculate the naive difference in means |

calc_naive_difference_in_means | Calculate naive difference in means |

load_dataset | Load datasets from inst/extdata folder into the memory |

make_data_for_figure_4_1 | Simulate data that corresponds to Figure 4.1 from Morgan &... |

simulate_observational_data | Simulate an observational study |

simulate_potential_outcomes | Simple simulation about potential outcomes and causal... |

simulate_simple_experiment | Simulates potential outcomes and adds a treatment variable |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.