itt_for_kling_p6: Kling Model with Two Grouping Variables, Instrumenting Var 2

Description Usage Arguments Examples

View source: R/kling_as_function.R

Description

This function is generally the same as itt_for_kling_p4 but it puts grouping variable 2 in the ITT models and instruments for it in the ivreg. This variation seems to have produced good results for the Match/BAM project.

Usage

1
2
itt_for_kling_p6(outcome, participation1, participation2, grouping1, grouping2,
  sizefile, weight, number_to_crop, sourcefile, weight_final, omit_type)

Arguments

number_to_crop

should equal the number of grouping categories you have. It's for selecting the interactions only out of the model.

Examples

1
2
3
4
Block Level
itt_for_kling_p6(outcome = "mathxil_z_post2", participation1 = "treat_post1", participation2 = "treat_post2",
grouping1 = "schlid", grouping2 = "blocknum", sizefile = schoolsizes, weight = "precision", number_to_crop = 42,
sourcefile = master_dataset_1_math15_allblocks, weight_final = "stderr_scores_weight", "noomits_nome")

skirmer/skpack documentation built on May 30, 2019, 1:06 a.m.