├── thinkCausal
├── tests
│ ├── testthat
│ │ ├── test-fct_create.R
│ │ ├── test-fct_detect.R
│ │ ├── test-fct_reproduce.R
│ │ ├── test-fct_learn_estimands.R
│ │ ├── test-fct_model.R
│ │ └── test-utils_utils.R
│ ├── spelling.R
│ ├── testthat.R
│ └── loadtests
│ │ └── README.md
├── .gitignore
├── inst
│ ├── app
│ │ └── www
│ │ │ ├── learn
│ │ │ ├── ignorability
│ │ │ │ ├── img
│ │ │ │ │ ├── .here
│ │ │ │ │ ├── p1.png
│ │ │ │ │ └── p2.rds
│ │ │ │ └── markdowns
│ │ │ │ │ ├── section1.md
│ │ │ │ │ └── section2.md
│ │ │ ├── post-treatment
│ │ │ │ ├── learn-post-treatment.css
│ │ │ │ ├── p1.png
│ │ │ │ ├── p2.png
│ │ │ │ ├── p3.png
│ │ │ │ ├── p4.png
│ │ │ │ ├── p5.png
│ │ │ │ └── markdowns
│ │ │ │ │ ├── post_treatment_learn_more.md
│ │ │ │ │ ├── post_treatment_5.md
│ │ │ │ │ ├── post_treatment_citations.md
│ │ │ │ │ ├── post_treatment_8.md
│ │ │ │ │ ├── post_treatment_3.md
│ │ │ │ │ ├── post_treatment_4.md
│ │ │ │ │ ├── post_treatment_2.md
│ │ │ │ │ └── post_treatment_6.md
│ │ │ ├── estimands
│ │ │ │ ├── section3.md
│ │ │ │ ├── js
│ │ │ │ │ ├── 1-namespace.js
│ │ │ │ │ └── 6-init.js
│ │ │ │ ├── data
│ │ │ │ │ ├── line-data.csv
│ │ │ │ │ └── point-data.csv
│ │ │ │ └── markdowns
│ │ │ │ │ ├── estimands_related.md
│ │ │ │ │ ├── estimands_citations.md
│ │ │ │ │ └── estimands_2.md
│ │ │ ├── fundemental
│ │ │ │ ├── equations
│ │ │ │ │ └── equation1.md
│ │ │ │ ├── markdowns
│ │ │ │ │ ├── section11.md
│ │ │ │ │ ├── section7.md
│ │ │ │ │ ├── section10.md
│ │ │ │ │ ├── section9.md
│ │ │ │ │ ├── section19.md
│ │ │ │ │ ├── section12.md
│ │ │ │ │ ├── section14.md
│ │ │ │ │ ├── section15.md
│ │ │ │ │ ├── section16.md
│ │ │ │ │ ├── section6.md
│ │ │ │ │ ├── section13.md
│ │ │ │ │ ├── section8.md
│ │ │ │ │ ├── section4.md
│ │ │ │ │ ├── section2.md
│ │ │ │ │ ├── section3.md
│ │ │ │ │ ├── section5.md
│ │ │ │ │ ├── section17.md
│ │ │ │ │ ├── section18.md
│ │ │ │ │ └── section1.md
│ │ │ │ └── plots
│ │ │ │ │ ├── cf1.png
│ │ │ │ │ ├── cf2.png
│ │ │ │ │ ├── p1.png
│ │ │ │ │ ├── p2.png
│ │ │ │ │ ├── p3.png
│ │ │ │ │ ├── p4.png
│ │ │ │ │ ├── p5.png
│ │ │ │ │ ├── p6.png
│ │ │ │ │ ├── p6.rds
│ │ │ │ │ ├── p7.png
│ │ │ │ │ ├── p7.rds
│ │ │ │ │ ├── p_pre4.png
│ │ │ │ │ ├── factual1.png
│ │ │ │ │ └── factual2.png
│ │ │ ├── confounder
│ │ │ │ ├── ihdp_obs.rds
│ │ │ │ ├── markdowns
│ │ │ │ │ ├── section29.md
│ │ │ │ │ ├── section33.md
│ │ │ │ │ ├── section34.md
│ │ │ │ │ ├── section24.md
│ │ │ │ │ ├── section3.md
│ │ │ │ │ ├── section36.md
│ │ │ │ │ ├── section48.md
│ │ │ │ │ ├── section2.md
│ │ │ │ │ ├── section44.md
│ │ │ │ │ ├── section13.md
│ │ │ │ │ ├── section21.md
│ │ │ │ │ ├── section1.md
│ │ │ │ │ ├── section4.md
│ │ │ │ │ ├── section22.md
│ │ │ │ │ ├── section23.md
│ │ │ │ │ ├── section40.md
│ │ │ │ │ ├── section42.md
│ │ │ │ │ ├── section14.md
│ │ │ │ │ ├── section6.md
│ │ │ │ │ ├── section25.md
│ │ │ │ │ ├── section26.md
│ │ │ │ │ ├── section7.md
│ │ │ │ │ ├── section31.md
│ │ │ │ │ ├── section27.md
│ │ │ │ │ ├── section52.md
│ │ │ │ │ ├── section12.md
│ │ │ │ │ ├── section18.md
│ │ │ │ │ ├── section5.md
│ │ │ │ │ ├── section16.md
│ │ │ │ │ ├── section45.md
│ │ │ │ │ ├── section28.md
│ │ │ │ │ ├── section43.md
│ │ │ │ │ ├── section39.md
│ │ │ │ │ ├── section37.md
│ │ │ │ │ ├── section30.md
│ │ │ │ │ ├── section47.md
│ │ │ │ │ ├── section19.md
│ │ │ │ │ ├── section35.md
│ │ │ │ │ ├── section11.md
│ │ │ │ │ ├── section20.md
│ │ │ │ │ ├── section41.md
│ │ │ │ │ ├── section49.md
│ │ │ │ │ ├── section9.md
│ │ │ │ │ ├── section38.md
│ │ │ │ │ ├── section50.md
│ │ │ │ │ ├── section10.md
│ │ │ │ │ ├── section17.md
│ │ │ │ │ ├── section8.md
│ │ │ │ │ ├── section15.md
│ │ │ │ │ └── scratch.md
│ │ │ │ └── plots
│ │ │ │ │ ├── p1.png
│ │ │ │ │ ├── p2.rds
│ │ │ │ │ ├── p3.png
│ │ │ │ │ ├── p4.rds
│ │ │ │ │ ├── p5.rds
│ │ │ │ │ ├── p6.rds
│ │ │ │ │ ├── p7.rds
│ │ │ │ │ ├── p8.png
│ │ │ │ │ ├── p9.rds
│ │ │ │ │ ├── p10.png
│ │ │ │ │ ├── p11.png
│ │ │ │ │ ├── p12.png
│ │ │ │ │ ├── p13.png
│ │ │ │ │ ├── p14.png
│ │ │ │ │ ├── p15.png
│ │ │ │ │ ├── p16.png
│ │ │ │ │ ├── p17.rds
│ │ │ │ │ ├── p18.png
│ │ │ │ │ ├── p19.rds
│ │ │ │ │ ├── p20.rds
│ │ │ │ │ ├── p21.rds
│ │ │ │ │ ├── p22.rds
│ │ │ │ │ ├── p23.rds
│ │ │ │ │ ├── p24.rds
│ │ │ │ │ ├── p25.rds
│ │ │ │ │ ├── p26.rds
│ │ │ │ │ ├── p27.rds
│ │ │ │ │ ├── p28.rds
│ │ │ │ │ ├── p29.rds
│ │ │ │ │ ├── p30.png
│ │ │ │ │ ├── p31.rds
│ │ │ │ │ ├── p32.png
│ │ │ │ │ ├── p33.png
│ │ │ │ │ ├── p34.png
│ │ │ │ │ ├── p35.png
│ │ │ │ │ ├── p36.png
│ │ │ │ │ ├── p37.png
│ │ │ │ │ ├── p37.rds
│ │ │ │ │ ├── p38.rds
│ │ │ │ │ ├── p39.png
│ │ │ │ │ ├── p39.rds
│ │ │ │ │ ├── p40.rds
│ │ │ │ │ ├── p41.png
│ │ │ │ │ ├── p41.rds
│ │ │ │ │ ├── p42.rds
│ │ │ │ │ ├── p43.png
│ │ │ │ │ ├── p43.rds
│ │ │ │ │ ├── p44.rds
│ │ │ │ │ ├── p45.rds
│ │ │ │ │ ├── p46.png
│ │ │ │ │ ├── p46.rds
│ │ │ │ │ ├── p47.png
│ │ │ │ │ ├── p47.rds
│ │ │ │ │ ├── p48.rds
│ │ │ │ │ ├── p49.rds
│ │ │ │ │ └── p50.rds
│ │ │ ├── estimands2
│ │ │ │ ├── plots
│ │ │ │ │ ├── p1.png
│ │ │ │ │ ├── p2.png
│ │ │ │ │ ├── p3.png
│ │ │ │ │ ├── p4.png
│ │ │ │ │ ├── p5.png
│ │ │ │ │ ├── p6.png
│ │ │ │ │ ├── p7.png
│ │ │ │ │ ├── p8.png
│ │ │ │ │ ├── p9.png
│ │ │ │ │ ├── p10.png
│ │ │ │ │ ├── p11.png
│ │ │ │ │ ├── p12.png
│ │ │ │ │ ├── p13.png
│ │ │ │ │ ├── p14.png
│ │ │ │ │ ├── p15.png
│ │ │ │ │ ├── p16.png
│ │ │ │ │ ├── p17.png
│ │ │ │ │ ├── p18.png
│ │ │ │ │ ├── p19.png
│ │ │ │ │ ├── p20.png
│ │ │ │ │ ├── p21.png
│ │ │ │ │ ├── p22.png
│ │ │ │ │ ├── p23.png
│ │ │ │ │ ├── p24.png
│ │ │ │ │ ├── p25.png
│ │ │ │ │ ├── p26.png
│ │ │ │ │ ├── p16.2.png
│ │ │ │ │ ├── quiz1.png
│ │ │ │ │ ├── quiz2.png
│ │ │ │ │ ├── quiz3.png
│ │ │ │ │ ├── no_overlap.png
│ │ │ │ │ └── partial_overlap.png
│ │ │ │ └── markdowns
│ │ │ │ │ ├── section11.md
│ │ │ │ │ ├── section19.md
│ │ │ │ │ ├── section12.md
│ │ │ │ │ ├── section18.md
│ │ │ │ │ ├── section7.md
│ │ │ │ │ ├── section10.md
│ │ │ │ │ ├── section4.md
│ │ │ │ │ ├── section17.md
│ │ │ │ │ ├── section2.md
│ │ │ │ │ ├── section23.md
│ │ │ │ │ ├── section16.md
│ │ │ │ │ ├── section5.md
│ │ │ │ │ ├── section14.md
│ │ │ │ │ ├── section13.md
│ │ │ │ │ ├── section3.md
│ │ │ │ │ ├── section15.md
│ │ │ │ │ ├── section8.md
│ │ │ │ │ ├── section9.md
│ │ │ │ │ ├── section21.md
│ │ │ │ │ ├── section1.md
│ │ │ │ │ ├── section6.md
│ │ │ │ │ ├── section20.md
│ │ │ │ │ ├── section22.md
│ │ │ │ │ └── intro.md
│ │ │ ├── colinearity
│ │ │ │ ├── plots
│ │ │ │ │ └── p1.png
│ │ │ │ └── markdowns
│ │ │ │ │ ├── section1.md
│ │ │ │ │ ├── section2.md
│ │ │ │ │ ├── section3.md
│ │ │ │ │ └── intro.md
│ │ │ ├── potential-outcomes
│ │ │ │ ├── markdowns
│ │ │ │ │ ├── potential_outcomes_related.md
│ │ │ │ │ ├── potential_outcomes_citations.md
│ │ │ │ │ ├── potential_outcomes2_treated.md
│ │ │ │ │ ├── potential_outcomes2_control.md
│ │ │ │ │ ├── potential_outcomes5.md
│ │ │ │ │ ├── potential_outcomes3_control.md
│ │ │ │ │ ├── potential_outcomes3_treated.md
│ │ │ │ │ └── potential_outcomes1.md
│ │ │ │ ├── illustrations
│ │ │ │ │ ├── PO_control.png
│ │ │ │ │ ├── PO_treated.png
│ │ │ │ │ ├── hist_control.png
│ │ │ │ │ ├── hist_treated.png
│ │ │ │ │ ├── eight_runners_2.png
│ │ │ │ │ ├── eight_runners_1_hyper.png
│ │ │ │ │ ├── eight_runners_1_normal.png
│ │ │ │ │ ├── Factual_conterfactual_control.png
│ │ │ │ │ └── Factual_conterfactual_treated.png
│ │ │ │ └── learn-potential-outcomes.css
│ │ │ ├── observational-analysis
│ │ │ │ ├── plots
│ │ │ │ │ ├── p1.png
│ │ │ │ │ ├── p2.png
│ │ │ │ │ ├── p3.png
│ │ │ │ │ ├── p4.png
│ │ │ │ │ ├── p5.png
│ │ │ │ │ ├── p6.png
│ │ │ │ │ ├── p7.png
│ │ │ │ │ ├── p8.png
│ │ │ │ │ ├── p9.png
│ │ │ │ │ ├── p10.png
│ │ │ │ │ ├── p11.png
│ │ │ │ │ ├── p12.png
│ │ │ │ │ ├── p13.png
│ │ │ │ │ ├── p14.png
│ │ │ │ │ ├── p15.png
│ │ │ │ │ └── p16.png
│ │ │ │ └── markdowns
│ │ │ │ │ ├── observational_learn_more.md
│ │ │ │ │ ├── observational_citations.md
│ │ │ │ │ ├── observational-analysis5.md
│ │ │ │ │ ├── observational-analysis12.md
│ │ │ │ │ ├── observational-analysis8.md
│ │ │ │ │ ├── observational-analysis2.md
│ │ │ │ │ ├── observational-analysis13.md
│ │ │ │ │ ├── observational-analysis3.md
│ │ │ │ │ ├── observational-analysis11.md
│ │ │ │ │ ├── observational-analysis10.md
│ │ │ │ │ ├── observational-analysis9.md
│ │ │ │ │ ├── observational-analysis6.md
│ │ │ │ │ └── observational-analysis7.md
│ │ │ ├── randomized-analysis
│ │ │ │ └── markdowns
│ │ │ │ │ ├── rct_analysis4.md
│ │ │ │ │ ├── rct_analysis2.md
│ │ │ │ │ ├── rct_analysis10.md
│ │ │ │ │ ├── rct_analysis15.md
│ │ │ │ │ ├── rct_analysis3.md
│ │ │ │ │ ├── rct_analysis8.md
│ │ │ │ │ ├── rct_analysis12.md
│ │ │ │ │ ├── rct_analysis14.md
│ │ │ │ │ ├── rct_analysis6.md
│ │ │ │ │ ├── rct_analysis5.md
│ │ │ │ │ ├── rct_analysis9.md
│ │ │ │ │ ├── rct_analysis13.md
│ │ │ │ │ ├── rct_analysis7.md
│ │ │ │ │ └── rct_analysis11.md
│ │ │ ├── variable_selection
│ │ │ │ └── markdowns
│ │ │ │ │ └── intro.md
│ │ │ └── balance
│ │ │ │ └── markdowns
│ │ │ │ └── balance1.md
│ │ │ ├── css
│ │ │ ├── reactable.css
│ │ │ ├── home.css
│ │ │ ├── analysis-select-input.css
│ │ │ ├── analysis-verify.css
│ │ │ ├── analysis-subgroup.css
│ │ │ ├── info-icon.css
│ │ │ ├── analysis-upload.css
│ │ │ ├── sortable.css
│ │ │ ├── scrollytell.css
│ │ │ └── slider.css
│ │ │ ├── favicon.ico
│ │ │ ├── img
│ │ │ ├── error.png
│ │ │ ├── shrug.png
│ │ │ ├── tree.gif
│ │ │ ├── placeholder.png
│ │ │ ├── example_trace.png
│ │ │ ├── thumbnails
│ │ │ │ ├── PA.png
│ │ │ │ ├── PO.png
│ │ │ │ ├── balance.png
│ │ │ │ ├── estimands.png
│ │ │ │ ├── propensity.png
│ │ │ │ ├── regression.png
│ │ │ │ ├── assumptions.png
│ │ │ │ ├── decision_tree.png
│ │ │ │ ├── estimands-cloud.png
│ │ │ │ ├── observational.png
│ │ │ │ ├── post-treatment.png
│ │ │ │ ├── practice_test.png
│ │ │ │ ├── randomization.png
│ │ │ │ ├── fundamental_problem.png
│ │ │ │ ├── potential-outcomes.png
│ │ │ │ └── regression_discontinuity.png
│ │ │ ├── example_balance.png
│ │ │ ├── thinkCausal_logo.png
│ │ │ ├── tree_pixelated.gif
│ │ │ ├── thinkCausal_logo_wide.png
│ │ │ ├── example_common_support.png
│ │ │ └── post-treatment-timeline.png
│ │ │ └── md
│ │ │ └── about.md
│ ├── WORDLIST
│ ├── reproduce
│ │ ├── .Rprofile
│ │ ├── renv
│ │ │ ├── .gitignore
│ │ │ └── settings.dcf
│ │ ├── inputs
│ │ │ └── README.txt
│ │ ├── thinkCausal-reproduce.Rproj
│ │ └── README.txt
│ ├── extdata
│ │ ├── obs_plots.rds
│ │ ├── balance_dat.rds
│ │ ├── post_treatment_timeline.csv
│ │ ├── fundamental_table1.csv
│ │ ├── truth.csv
│ │ ├── fundamental_table2.csv
│ │ ├── fundemental_table3.csv
│ │ └── fundemental_table4.csv
│ └── golem-config.yml
├── LICENSE
├── renv
│ ├── .gitignore
│ └── settings.json
├── R
│ ├── _disable_autoload.R
│ ├── mod_learn_versionC.R
│ ├── mod_help.R
│ ├── run_app.R
│ ├── mod_settings_reference.R
│ └── mod_settings_about.R
├── .Rprofile
├── .Rbuildignore
├── app.R
├── rsconnect
│ └── shinyapps.io
│ │ └── apsta
│ │ ├── thinkCausal.dcf
│ │ └── thinkCausal-dev.dcf
├── thinkCausal.Rproj
├── NAMESPACE
└── dev
│ └── run_dev.R
├── student_work
├── Tong
│ ├── ui.R
│ ├── tests
│ │ ├── testthat.R
│ │ └── testthat
│ │ │ └── test_dgp_function.R
│ ├── server.R
│ ├── R
│ │ ├── plot_effects.R
│ │ └── create_summary_table.R
│ └── global.R
├── Junhui
│ ├── UI
│ │ ├── headers
│ │ │ ├── help_header.R
│ │ │ ├── settings_header.R
│ │ │ ├── reproducibility_header.R
│ │ │ ├── analysis_header.R
│ │ │ └── concepts_header.R
│ │ └── pages
│ │ │ ├── script_page.R
│ │ │ └── log_page.R
│ ├── tests
│ │ ├── testthat.R
│ │ └── testthat
│ │ │ ├── test_convert_functions.R
│ │ │ └── test_create_functions.R
│ ├── www
│ │ ├── img
│ │ │ ├── tree.gif
│ │ │ └── placeholder.png
│ │ └── thumbnails
│ │ │ ├── PA.png
│ │ │ ├── PO.png
│ │ │ ├── balance.png
│ │ │ ├── propensity.png
│ │ │ ├── regression.png
│ │ │ ├── assumptions.png
│ │ │ ├── practice_test.png
│ │ │ ├── randomization.png
│ │ │ ├── fundamental_problem.png
│ │ │ └── regression_discontinuity.png
│ ├── DESCRIPTION
│ ├── man
│ │ ├── plot_DAG.Rd
│ │ ├── create_progress_bar.Rd
│ │ ├── clean_detect_column_types.Rd
│ │ ├── plot_variable_importance.Rd
│ │ ├── convert_data_type_to_complex.Rd
│ │ ├── clean_auto_convert_logicals.Rd
│ │ ├── clean_names.Rd
│ │ ├── convert_data_type_to_simple.Rd
│ │ ├── create_datatable.Rd
│ │ └── create_script.Rd
│ ├── R
│ │ ├── ggplot_settings.R
│ │ ├── make_data_demo.R
│ │ ├── plot_single_tree.R
│ │ └── create_progress_bar.R
│ └── NAMESPACE
└── regression_trees_explainer
│ └── www
│ ├── diagram.png
│ └── diagram_parameters.png
├── screenshot.png
├── _site
├── d3
│ ├── fundamental
│ │ └── js
│ │ │ ├── init.js
│ │ │ └── namespace.js
│ ├── overlap
│ │ ├── js
│ │ │ ├── namespace.js
│ │ │ └── init.js
│ │ └── data
│ │ │ └── generate-data.R
│ ├── scrollytell
│ │ ├── js
│ │ │ ├── namespace.js
│ │ │ └── init.js
│ │ └── data
│ │ │ ├── line-data.csv
│ │ │ └── point-data.csv
│ ├── namespace
│ │ ├── js
│ │ │ ├── namespace.js
│ │ │ ├── testFunctions.js
│ │ │ └── showData.js
│ │ └── index.html
│ ├── bart
│ │ ├── data
│ │ │ └── draggable_points.csv
│ │ └── js
│ │ │ └── namespace.js
│ ├── rct_draft
│ │ ├── data
│ │ │ └── draggable_points.csv
│ │ └── js
│ │ │ └── namespace.js
│ ├── animations
│ │ └── js
│ │ │ └── showData.js
│ └── pairing
│ │ ├── js
│ │ └── showData.js
│ │ ├── data
│ │ ├── line-data.csv
│ │ └── point-data.csv
│ │ └── index.html
└── README.md
├── scratch
├── draft_d3
│ └── d3
│ │ └── bart
│ │ ├── data
│ │ └── draggable_points.csv
│ │ └── js
│ │ └── namespace.js
└── draft_rct
│ └── d3
│ └── bart
│ └── js
│ └── namespace.js
├── .github
└── workflows
│ ├── render-test-website.yaml
│ ├── test-functions.yml
│ ├── deploy-shinyapps-dev.yml
│ └── deploy-shinyapps.yml
└── .gitignore
/thinkCausal/tests/testthat/test-fct_create.R:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/thinkCausal/tests/testthat/test-fct_detect.R:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/thinkCausal/.gitignore:
--------------------------------------------------------------------------------
1 | .Rproj.user
2 | inst/doc
3 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/ignorability/img/.here:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/thinkCausal/inst/WORDLIST:
--------------------------------------------------------------------------------
1 | bartCause
2 | golem
3 | scaffolded
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/reproduce/.Rprofile:
--------------------------------------------------------------------------------
1 | source("renv/activate.R")
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/learn-post-treatment.css:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/thinkCausal/LICENSE:
--------------------------------------------------------------------------------
1 | YEAR: 2022
2 | COPYRIGHT HOLDER: thinkCausal developers
3 |
--------------------------------------------------------------------------------
/student_work/Tong/ui.R:
--------------------------------------------------------------------------------
1 |
2 | ui <- fluidPage(
3 | IgnorabilityUI("AllConfounders")
4 | )
--------------------------------------------------------------------------------
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/screenshot.png
--------------------------------------------------------------------------------
/student_work/Junhui/UI/headers/help_header.R:
--------------------------------------------------------------------------------
1 | help_header <- navbarMenu(title = 'Help')
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands/section3.md:
--------------------------------------------------------------------------------
1 | This is a bunch of testing text.
2 |
--------------------------------------------------------------------------------
/student_work/Tong/tests/testthat.R:
--------------------------------------------------------------------------------
1 | library(testthat)
2 | library(Tong.v1)
3 |
4 | test_check("Tong.v1")
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/equations/equation1.md:
--------------------------------------------------------------------------------
1 | $$\frac{(283 + 278 + 280 + 284)}{4} = 281$$
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/reproduce/renv/.gitignore:
--------------------------------------------------------------------------------
1 | library/
2 | local/
3 | cellar/
4 | lock/
5 | python/
6 | staging/
7 |
--------------------------------------------------------------------------------
/thinkCausal/renv/.gitignore:
--------------------------------------------------------------------------------
1 | library/
2 | local/
3 | cellar/
4 | lock/
5 | python/
6 | sandbox/
7 | staging/
8 |
--------------------------------------------------------------------------------
/student_work/Junhui/tests/testthat.R:
--------------------------------------------------------------------------------
1 | library(testthat)
2 | library(thinkCausal)
3 |
4 | test_check("thinkCausal")
5 |
--------------------------------------------------------------------------------
/student_work/Tong/server.R:
--------------------------------------------------------------------------------
1 |
2 | server <- function(input, output){
3 | callModule(Ignorability, "AllConfounders")
4 | }
--------------------------------------------------------------------------------
/thinkCausal/R/_disable_autoload.R:
--------------------------------------------------------------------------------
1 | # Disabling shiny autoload
2 |
3 | # See ?shiny::loadSupport for more information
4 |
--------------------------------------------------------------------------------
/thinkCausal/tests/testthat/test-fct_reproduce.R:
--------------------------------------------------------------------------------
1 | test_that("multiplication works", {
2 | expect_equal(2 * 2, 4)
3 | })
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/css/reactable.css:
--------------------------------------------------------------------------------
1 | .rt-page-button-current {
2 | background: #ae4ec2;
3 | color: #fff;
4 | }
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/tests/testthat/test-fct_learn_estimands.R:
--------------------------------------------------------------------------------
1 | test_that("multiplication works", {
2 | expect_equal(2 * 2, 4)
3 | })
4 |
--------------------------------------------------------------------------------
/student_work/Junhui/www/img/tree.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/img/tree.gif
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/favicon.ico
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/error.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/shrug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/shrug.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/tree.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/tree.gif
--------------------------------------------------------------------------------
/thinkCausal/inst/extdata/obs_plots.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/extdata/obs_plots.rds
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/PA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/PA.png
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/PO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/PO.png
--------------------------------------------------------------------------------
/thinkCausal/inst/extdata/balance_dat.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/extdata/balance_dat.rds
--------------------------------------------------------------------------------
/student_work/Junhui/DESCRIPTION:
--------------------------------------------------------------------------------
1 | Package: thinkCausal
2 | Version: 0.1.0
3 | RoxygenNote: 7.1.1
4 | Encoding: UTF-8
5 | Suggests:
6 | testthat
7 |
--------------------------------------------------------------------------------
/student_work/Junhui/www/img/placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/img/placeholder.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/placeholder.png
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/balance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/balance.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/example_trace.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/example_trace.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/PA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/PA.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/PO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/PO.png
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/propensity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/propensity.png
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/regression.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/regression.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/example_balance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/example_balance.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thinkCausal_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thinkCausal_logo.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/tree_pixelated.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/tree_pixelated.gif
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section11.md:
--------------------------------------------------------------------------------
1 | Now we've filled in all the missing potential outcomes for runners with 0 prior races!
2 |
3 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section7.md:
--------------------------------------------------------------------------------
1 | We can plug the average into each missing `Y0` value for runners' with 0 prior races.
2 |
3 |
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/assumptions.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/assumptions.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/balance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/balance.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section10.md:
--------------------------------------------------------------------------------
1 | Now we can plug the average into each missing `Y1` value for runners' with 0 prior races.
2 |
3 |
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/practice_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/practice_test.png
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/randomization.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/randomization.png
--------------------------------------------------------------------------------
/thinkCausal/.Rprofile:
--------------------------------------------------------------------------------
1 | source("renv/activate.R")
2 | options(shiny.launch.browser = TRUE)
3 | options(repos = c(RSPM = "https://packagemanager.rstudio.com/cran/latest"))
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thinkCausal_logo_wide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thinkCausal_logo_wide.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/estimands.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/estimands.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/propensity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/propensity.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/regression.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/regression.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/ihdp_obs.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/ihdp_obs.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section29.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | How can we combine these into a single average treatment effect?
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p2.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p2.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p4.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p4.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p5.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p5.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p6.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p6.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p7.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p7.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p8.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p9.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p9.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p4.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p5.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p6.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p7.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p8.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p9.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/ignorability/img/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/ignorability/img/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/ignorability/img/p2.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/ignorability/img/p2.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/post-treatment/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/p2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/post-treatment/p2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/post-treatment/p3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/p4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/post-treatment/p4.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/post-treatment/p5.png
--------------------------------------------------------------------------------
/student_work/regression_trees_explainer/www/diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/regression_trees_explainer/www/diagram.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/example_common_support.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/example_common_support.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/post-treatment-timeline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/post-treatment-timeline.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/assumptions.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/assumptions.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/colinearity/plots/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/colinearity/plots/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p10.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p11.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p12.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p13.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p14.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p15.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p16.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p17.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p17.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p18.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p19.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p19.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p20.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p20.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p21.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p21.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p22.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p22.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p23.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p23.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p24.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p24.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p25.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p25.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p26.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p26.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p27.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p27.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p28.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p28.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p29.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p29.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p30.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p31.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p31.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p32.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p33.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p33.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p34.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p34.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p35.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p35.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p36.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p37.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p37.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p37.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p37.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p38.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p38.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p39.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p39.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p39.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p39.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p40.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p40.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p41.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p41.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p41.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p41.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p42.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p42.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p43.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p43.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p43.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p43.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p44.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p44.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p45.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p45.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p46.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p46.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p46.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p46.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p47.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p47.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p47.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p47.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p48.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p48.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p49.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p49.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/plots/p50.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/confounder/plots/p50.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p10.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p11.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p12.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p13.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p14.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p15.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p16.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p17.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p18.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p19.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p20.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p21.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p22.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p23.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p24.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p25.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p26.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/cf1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/cf1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/cf2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/cf2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p4.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p5.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p6.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p6.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p6.rds
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p7.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p7.rds:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p7.rds
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/fundamental_problem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/fundamental_problem.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/decision_tree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/decision_tree.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/estimands-cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/estimands-cloud.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/observational.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/observational.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/post-treatment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/post-treatment.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/practice_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/practice_test.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/randomization.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/randomization.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section33.md:
--------------------------------------------------------------------------------
1 | In our data, the majority of the 300 runners that wore hyperShoes are from the United States.
2 |
3 |
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/p16.2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/p16.2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/quiz1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/quiz1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/quiz2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/quiz2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/quiz3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/quiz3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section9.md:
--------------------------------------------------------------------------------
1 | The average of the 3 observed `Y1` values is 270.
2 |
3 |
4 | $$\frac{(266 + 272 + 273)}{3} = 270$$
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/p_pre4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/p_pre4.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/ignorability/markdowns/section1.md:
--------------------------------------------------------------------------------
1 | Runners in the treatment group ran the race with hyperShoes and finished with an average time of 252.26 minutes.
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/markdowns/potential_outcomes_related.md:
--------------------------------------------------------------------------------
1 | ### Related modules
2 |
3 | - Learn more about bias
4 | - Learn more about simulation
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/factual1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/factual1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/plots/factual2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/fundemental/plots/factual2.png
--------------------------------------------------------------------------------
/student_work/Junhui/UI/headers/settings_header.R:
--------------------------------------------------------------------------------
1 | settings_header <- tabPanel(
2 | title = 'Settings',
3 | navlistPanel(
4 | widths = c(2, 10),
5 | options_page
6 | )
7 | )
8 |
--------------------------------------------------------------------------------
/student_work/Junhui/www/thumbnails/regression_discontinuity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/Junhui/www/thumbnails/regression_discontinuity.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/fundamental_problem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/fundamental_problem.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/potential-outcomes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/potential-outcomes.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section34.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | But most of the 726 runners who did not wear hyperShoes are not from the United States.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/no_overlap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/no_overlap.png
--------------------------------------------------------------------------------
/student_work/regression_trees_explainer/www/diagram_parameters.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/student_work/regression_trees_explainer/www/diagram_parameters.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p1.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p3.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p4.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p5.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p6.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p7.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p8.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p9.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/img/thumbnails/regression_discontinuity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/img/thumbnails/regression_discontinuity.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/plots/partial_overlap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/estimands2/plots/partial_overlap.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section19.md:
--------------------------------------------------------------------------------
1 | ### title here
2 |
3 | How close is our *estimated* average treatment effect and our *estimated* ITEs to the the true values?
4 |
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p10.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p11.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p12.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p13.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p14.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p15.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/plots/p16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/observational-analysis/plots/p16.png
--------------------------------------------------------------------------------
/thinkCausal/inst/golem-config.yml:
--------------------------------------------------------------------------------
1 | default:
2 | golem_name: thinkCausal
3 | golem_version: 0.5.0
4 | app_prod: no
5 | production:
6 | app_prod: yes
7 | dev:
8 | golem_wd: !expr here::here()
9 |
--------------------------------------------------------------------------------
/thinkCausal/tests/spelling.R:
--------------------------------------------------------------------------------
1 | if(requireNamespace('spelling', quietly = TRUE))
2 | spelling::spell_check_test(vignettes = TRUE, error = FALSE,
3 | skip_on_cran = TRUE)
4 |
--------------------------------------------------------------------------------
/_site/d3/fundamental/js/init.js:
--------------------------------------------------------------------------------
1 |
2 | fundamental.init = function(){
3 | fundamental.showData();
4 | fundamental.scrollytellState1();
5 | fundamental.buildSupportPlots();
6 | }
7 | fundamental.init()
8 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section12.md:
--------------------------------------------------------------------------------
1 | We can fill in all the remaining missing counter factual outcomes by repeating this process for runners with 1, 2 and 3 prior races.
2 |
3 |
--------------------------------------------------------------------------------
/thinkCausal/inst/reproduce/inputs/README.txt:
--------------------------------------------------------------------------------
1 | Data
2 |
3 | Save your original data file witin this folder. This should be the same file you uploaded to the "Upload data" page within the thinkCausal application.
4 |
--------------------------------------------------------------------------------
/student_work/Junhui/UI/headers/reproducibility_header.R:
--------------------------------------------------------------------------------
1 | reproducibility_header <- tabPanel(
2 | title = 'Reproduce',
3 | navlistPanel(
4 | widths = c(2, 10),
5 | log_page,
6 | script_page
7 | )
8 | )
9 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/PO_control.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/PO_control.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/PO_treated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/PO_treated.png
--------------------------------------------------------------------------------
/student_work/Junhui/UI/headers/analysis_header.R:
--------------------------------------------------------------------------------
1 | analysis_header <- navbarMenu(
2 | title = 'Analysis',
3 | data_page,
4 | eda_page,
5 | model_page,
6 | diagnostics_page,
7 | results_page,
8 | moderator_page
9 | )
--------------------------------------------------------------------------------
/thinkCausal/.Rbuildignore:
--------------------------------------------------------------------------------
1 | ^renv$
2 | ^renv\.lock$
3 | ^.*\.Rproj$
4 | ^\.Rproj\.user$
5 | ^data-raw$
6 | dev_history.R
7 | ^dev$
8 | $run_dev.*
9 | ^LICENSE\.md$
10 | ^README\.Rmd$
11 | ^app\.R$
12 | ^rsconnect$
13 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/hist_control.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/hist_control.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/hist_treated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/hist_treated.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section24.md:
--------------------------------------------------------------------------------
1 | Now that we have filled in all of the missing counter-factual outcomes we can estimate the average treatment effect for each group of runners.
2 |
3 |
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_2.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section11.md:
--------------------------------------------------------------------------------
1 | ### Infinite Possible Counterfactuals
2 |
3 | We could imagine an infinite number of possible counterfactuals.
4 |
5 | Let's consider some of the possibilities!
6 |
7 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_1_hyper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_1_hyper.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section3.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | The 724 runners in the control group ran the marathon without hyperShoes and finished with an average time of 216.64 minutes.
6 |
7 |
8 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_1_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/eight_runners_1_normal.png
--------------------------------------------------------------------------------
/_site/d3/overlap/js/namespace.js:
--------------------------------------------------------------------------------
1 | // helps manage namespace collisions across learning modules
2 | // all js objects/functions should be stored within this object
3 | // e.g. overlap.myFunction = function(x){...}
4 | var overlap = overlap || {};
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/css/home.css:
--------------------------------------------------------------------------------
1 | .home-grid img {
2 | margin: 0em 0 1em 0;
3 | object-fit: cover;
4 | height: 200px;
5 | transition: transform 0.07s;
6 | }
7 |
8 | .home-grid img:hover {
9 | transform: scale(1.03);
10 | }
11 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section36.md:
--------------------------------------------------------------------------------
1 | To condition on both `professional status` and `USA` we will compare runners with and without hyperShoes who have the same value of `professional status` and `USA`.
2 |
3 |
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section48.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | The company's initial analysis violated the ignorability assumption because we know there are two confounding variables that were not adjusted for.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/post-treatment/markdowns/post_treatment_learn_more.md:
--------------------------------------------------------------------------------
1 | ## Related modules
2 |
3 |
4 | Learn more about potential outcomes
5 |
6 |
--------------------------------------------------------------------------------
/_site/d3/scrollytell/js/namespace.js:
--------------------------------------------------------------------------------
1 | // helps manage namespace collisions across learning modules
2 | // all js objects/functions should be stored within this object
3 | // e.g. estimands.myFunction = function(x){...}
4 | var estimands = estimands || {};
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section2.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | We know the average time for runners with hyperShoes is 174.47 minutes, but *we don't know what their average time would have been without hyperShoes*.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section44.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | After filling in the missing averages, we will take the difference to estimate an effect of -14.06 for non-professional runners not from the United States.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section19.md:
--------------------------------------------------------------------------------
1 | The remainder of runners in our sample did not wear hyerShoes. To estimate the ATE, we also need to know what would have happened to these runners if they had worn hyperShoes.
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section14.md:
--------------------------------------------------------------------------------
1 | ### Practice:
2 | #### Runners with 2 prior races
3 |
4 | Using the strategy we used for runners with 1 and 2 prior races to fill in counter factual outcomes for runners with 3 prior races.
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/Factual_conterfactual_control.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/Factual_conterfactual_control.png
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/Factual_conterfactual_treated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/priism-center/thinkCausal_dev/HEAD/thinkCausal/inst/app/www/learn/potential-outcomes/illustrations/Factual_conterfactual_treated.png
--------------------------------------------------------------------------------
/_site/d3/fundamental/js/namespace.js:
--------------------------------------------------------------------------------
1 | // helps manage namespace collisions across learning modules
2 | // all js objects/functions should be stored within this object
3 | // e.g. fundamental.myFunction = function(x){...}
4 | var fundamental = fundamental || {};
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section13.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | Looking at all the runners together, it is clear that the treatment group and the control group are very different in terms of the variable `professional status`!
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/observational-analysis/markdowns/observational_learn_more.md:
--------------------------------------------------------------------------------
1 | ### Related modules
2 |
3 | - Learn more about potential outcomes
4 | - Learn more about causal estimands
5 | - Learn more about analyzing data from randomized studies
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section21.md:
--------------------------------------------------------------------------------
1 | For the professional runners that wore hyperShoes, we use the average time of the professional runners who did not wear hyperShoes, to represent what would have happened if they had not worn hyperShoes.
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section1.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | The 300 runners in the treatment group ran the race with hyperShoes and finished with an average time of 174.47 minutes.
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands/js/1-namespace.js:
--------------------------------------------------------------------------------
1 | // helps manage namespace collisions across learning modules
2 | // all js objects/functions should be stored within this object
3 | // e.g. estimands.myFunction = function(x){...}
4 | var estimands = estimands || {};
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section4.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | For runners in the control group, we know what the average finishing time was without hyperShoes, but *we don't know what the average finishing time would have been with hyperShoes*.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section12.md:
--------------------------------------------------------------------------------
1 | We could easily imagine that the effect of HyperShoes is the same for slower runners as it is for fast runners!
2 |
3 | Perhaps the mechanism behind HyperShoes would work the same regardless of runners' skills!
4 |
5 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/ignorability/markdowns/section2.md:
--------------------------------------------------------------------------------
1 | We know the average finishing time for runners' with hyperShoes is 252.26 minutes, but *we don't know what the runners' with hyerShoes average finishing time would have been had these runners' not worn hyperShoes*.
2 |
--------------------------------------------------------------------------------
/_site/d3/namespace/js/namespace.js:
--------------------------------------------------------------------------------
1 | // helps manage namespace collisions across learning modules
2 | // all js objects/functions should be stored within this object
3 | // e.g. stimands.myVar = 10;
4 | // e.g. estimands.myFunction = function(x){...}
5 | var estimands = estimands || {};
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section22.md:
--------------------------------------------------------------------------------
1 | Non-professional runners who did not wear hyperShoes had an average time of 226.98, we will use this time to represent what would have happened to non-professional runners who wore hyperShoes if they had not worn hyperShoes.
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section23.md:
--------------------------------------------------------------------------------
1 | And we will use the observed average time of non-professional runners who wore hyperShoes (229.73) to represent what would have happened to non-professional runners that did not wear hyperShoes if they had worn hyperShoes.
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section40.md:
--------------------------------------------------------------------------------
1 | Filling in missing counterfactuals with the average observed value of runners with equal values for `USA` and `professional status` gives an estimated effect of -5.97 for non-professional runners from the United States.
2 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section18.md:
--------------------------------------------------------------------------------
1 | A subset of all the runners in our sample wore HyerShoes. For these runners we need to know what would have happened if they had not worn hyperShoes.
2 |
3 | But these are not all of the runners in our sample!
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section42.md:
--------------------------------------------------------------------------------
1 | For professional runners not from the United States, the estimated effect of hyperShoes is -4.57.
2 |
3 |
4 | Remember, we are only comparing runners with equal values of our two confounding variables!
5 |
6 |
7 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section14.md:
--------------------------------------------------------------------------------
1 | The variable `professional status`, is also highly predictive of the outcome `finishing time in minutes`.
2 |
3 |
4 | Unsurprisingly, professorial runners are much faster than amateur runners.
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section6.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | The difference in mean estimator uses the average running time of the control group to represent what would have happened to runners' in the treatment group had they ran the race without hyperShoes.
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/_site/d3/scrollytell/data/line-data.csv:
--------------------------------------------------------------------------------
1 | pair_id,treatment,xName_y0,xName_y1,yName_y0,yName_y1
2 | 1,0,0,1,155,153
3 | 2,1,0,1,142,136
4 | 3,0,0,1,153,155
5 | 4,1,0,1,147,139
6 | 5,0,0,1,154,154
7 | 6,1,0,1,145,135
8 | 7,0,0,1,151,152
9 | 8,1,0,1,148,138
10 | 9,0,0,1,149,148
11 | 10,1,0,1,143,137
12 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section7.md:
--------------------------------------------------------------------------------
1 | ### What about the ATC?
2 |
3 | What if we are not interested in the ATT and wanted to estimate the average treatment effect of the controls (ATC)?
4 |
5 | We'll return to the original marathon running data and explore estimating the ATC.
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/reproduce/thinkCausal-reproduce.Rproj:
--------------------------------------------------------------------------------
1 | Version: 1.0
2 |
3 | RestoreWorkspace: No
4 | SaveWorkspace: No
5 | AlwaysSaveHistory: No
6 |
7 | EnableCodeIndexing: Yes
8 | UseSpacesForTab: Yes
9 | NumSpacesForTab: 2
10 | Encoding: UTF-8
11 |
12 | RnwWeave: Sweave
13 | LaTeX: pdfLaTeX
14 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section25.md:
--------------------------------------------------------------------------------
1 | For professional runners in the treatment group (wore hyperShoes), the estimated average treatment effect is the difference between what happened with hyperShoe and what would have happened without hyperShoes:
2 |
3 | $$163.41 - 160.13 = 3.28$$
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section26.md:
--------------------------------------------------------------------------------
1 | For professional runners in the control group (did not wear hyperShoes), the estimated average treatment effect is the difference between what would have happened with hyperShoes and what happened without hyperShoes:
2 |
3 | $$163.41 - 160.13 = 3.28$$
4 |
5 |
--------------------------------------------------------------------------------
/student_work/Junhui/UI/pages/script_page.R:
--------------------------------------------------------------------------------
1 | script_page <- tabPanel(
2 | title = "Script",
3 | style = "padding-left: 3rem;",
4 | br(),
5 | downloadButton(
6 | outputId = 'analysis_results_button_download',
7 | label = 'Download script',
8 | style = 'max-width: 300px'
9 | ),
10 | br(), br()
11 | )
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands/data/line-data.csv:
--------------------------------------------------------------------------------
1 | pair_id,treatment,xName_y0,xName_y1,yName_y0,yName_y1
2 | 1,0,0,1,155,153
3 | 2,1,0,1,142,136
4 | 3,0,0,1,153,155
5 | 4,1,0,1,147,139
6 | 5,0,0,1,154,154
7 | 6,1,0,1,145,135
8 | 7,0,0,1,151,152
9 | 8,1,0,1,148,138
10 | 9,0,0,1,149,148
11 | 10,1,0,1,143,137
12 |
--------------------------------------------------------------------------------
/thinkCausal/inst/reproduce/renv/settings.dcf:
--------------------------------------------------------------------------------
1 | bioconductor.version:
2 | external.libraries:
3 | ignored.packages:
4 | package.dependency.fields: Imports, Depends, LinkingTo
5 | r.version:
6 | snapshot.type: implicit
7 | use.cache: TRUE
8 | vcs.ignore.cellar: TRUE
9 | vcs.ignore.library: TRUE
10 | vcs.ignore.local: TRUE
11 |
--------------------------------------------------------------------------------
/_site/d3/namespace/js/testFunctions.js:
--------------------------------------------------------------------------------
1 |
2 | estimands.abs = function(x){
3 | return Math.abs(x)
4 | }
5 |
6 | estimands.mult = function(x){
7 | return Math.abs(x * 10)
8 | }
9 |
10 | estimands.myVar = 90;
11 |
12 | m = function(){
13 | estimands.myVar = estimands.myVar * 2;
14 | console.log(estimands.myVar)
15 | }
16 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section7.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | For the other missing counter-factuals, the difference in means estimator uses the average running time of the treatment group to represent what would have happened to runners' in the control group had they ran the race with hyperShoes.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/css/analysis-select-input.css:
--------------------------------------------------------------------------------
1 | .form-control-feedback {
2 | position: absolute;
3 | top: 0;
4 | right: 0;
5 | z-index: 2;
6 | display: block;
7 | width: 34px;
8 | height: 34px;
9 | line-height: 34px;
10 | text-align: center;
11 | pointer-events: none;
12 | }
13 |
14 |
15 |
--------------------------------------------------------------------------------
/thinkCausal/app.R:
--------------------------------------------------------------------------------
1 | # Launch the ShinyApp (Do not remove this comment)
2 | # To deploy, run: rsconnect::deployApp()
3 | # Or use the blue button on top of this file
4 |
5 | pkgload::load_all(export_all = FALSE,helpers = FALSE,attach_testthat = FALSE)
6 | options( "golem.app.prod" = TRUE)
7 | thinkCausal::run_app() # add parameters here (if any)
8 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section31.md:
--------------------------------------------------------------------------------
1 | To estimate the ATE for our whole sample of runners, all we need to do is take a weighted average of the ATE for each each of the four groups.
2 |
3 |
4 | The weighted average accounts for the fact that there are different number of runners in each group.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/thinkCausal/rsconnect/shinyapps.io/apsta/thinkCausal.dcf:
--------------------------------------------------------------------------------
1 | name: thinkCausal
2 | title:
3 | username:
4 | account: apsta
5 | server: shinyapps.io
6 | hostUrl: https://api.shinyapps.io/v1
7 | appId: 5224902
8 | bundleId: 6135974
9 | url: https://apsta.shinyapps.io/thinkCausal/
10 | when: 1658867695.1842
11 | lastSyncTime: 1658867695.18422
12 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section27.md:
--------------------------------------------------------------------------------
1 | For non-professional runners in the treatment group (wore hyperShoes), the estimated average treatment effect is the difference between what happened to these runners with hyperShoes and what would have happened to these runners without hyperShoes:
2 |
3 | $$229.73 - 226.98 = 2.75$$
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section52.md:
--------------------------------------------------------------------------------
1 | ### Other Assumptions
2 | The ignorability assumption is not the only assumption we are make for observational studies. Remember that we also make assumptions of SUTVA (the stable unit treatment value assignment) and overlap. Check out the related learning modules for more information!
3 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/potential-outcomes/learn-potential-outcomes.css:
--------------------------------------------------------------------------------
1 |
2 | .learning_potential_outcomes-learning-content h2 {
3 | padding-top: 1.5em;
4 | }
5 | .learning_potential_outcomes-learning-content h3 {
6 | padding-top: 1.0em;
7 | }
8 | .learning_potential_outcomes-learning-content div h3 {
9 | padding-top: 0em;
10 | }
11 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section12.md:
--------------------------------------------------------------------------------
1 | Non-professional runners (amateurs), are less likely to wear hyperShoes. This could be because they are less invested in running and do not get hyperShoes for free.
2 |
3 |
4 | Of the 724 runners that did not wear hypeShoes, 612 were non-professional runners.
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section10.md:
--------------------------------------------------------------------------------
1 | For the majority of the control group, there are no similar runners that wore HyperShoes!! This is a big problem for us.
2 |
3 | Without any similar runners we have nothing to gauge what would have happened to runners with slower `qualifying times` if they had worn HyperShoes.
4 |
5 |
6 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands2/markdowns/section4.md:
--------------------------------------------------------------------------------
1 | In the marathon data, some runners did not wear HyperShoes but look very similar to the runners that did in terms of `qualifying time`!
2 |
3 | We can use information from these runners as a proxy for what would have happened to runners in the treated group if they did not have HyperShoes!
4 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/fundemental/markdowns/section15.md:
--------------------------------------------------------------------------------
1 | ### Practice:
2 | #### Runners with 3 prior races
3 |
4 | We'll keep practicing by filling in the counter factual outcomes for runners with 3 prior races.
5 |
6 | Again we'll use the potential outcomes we can observe to predict the counter factual outcomes we can't observe.
7 |
8 |
--------------------------------------------------------------------------------
/thinkCausal/rsconnect/shinyapps.io/apsta/thinkCausal-dev.dcf:
--------------------------------------------------------------------------------
1 | name: thinkCausal-dev
2 | title:
3 | username:
4 | account: apsta
5 | server: shinyapps.io
6 | hostUrl: https://api.shinyapps.io/v1
7 | appId: 9502603
8 | bundleId: 7492258
9 | url: https://apsta.shinyapps.io/thinkCausal-dev/
10 | when: 1690233860.78099
11 | lastSyncTime: 1690233860.781
12 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section18.md:
--------------------------------------------------------------------------------
1 | Now we'll consider the running times of only non-professional runners.
2 |
3 |
4 | The 112 amateur runners who wore hyperShoes have an average time of 229.73 minutes.
5 |
6 |
7 | The 612 professional runners that did not wear hyperShoes have an average time of 226.98 minutes.
8 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/estimands/markdowns/estimands_related.md:
--------------------------------------------------------------------------------
1 | ### Related modules
2 | You can learn more about bias is [here]()
3 |
4 | You can learn more about simulation is [here]()
5 |
6 | You can learn more about potential outcomes [here]()
7 |
8 | You can learn more about what makes a comparison fair or unfair [here]()
9 |
10 |
11 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/css/analysis-verify.css:
--------------------------------------------------------------------------------
1 |
2 | .bottom-shadow {
3 | position: sticky;
4 | bottom: 0;
5 | height: 20px;
6 | width: 100%;
7 | -moz-box-shadow: inset 0 -30px 10px -20px #fff;
8 | -webkit-box-shadow: inset 0 -30px 10px -20px #fff;
9 | box-shadow: inset 0 -30px 10px -20px #fff;
10 | opacity: 0.8;
11 | z-index: 1;
12 | }
13 |
--------------------------------------------------------------------------------
/thinkCausal/inst/app/www/learn/confounder/markdowns/section5.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |