{
  "paper": {
    "rank": 8,
    "paper_id": "aeraej-155",
    "title": "Demand and Supply of Infrequent Payments as a Commitment Device: Evidence from Kenya",
    "authors": "Lorenzo Casaburi; Rocco Macchiavello",
    "year": 2019,
    "journal": "American Economic Review",
    "doi": "10.1257/aer.20180281",
    "package_bytes": 376851,
    "source_specification": "Table 3",
    "selection_stratum": "mixed_or_multivalued_did"
  },
  "mapping": {
    "paper_id": "aeraej-155",
    "match": true,
    "outcome": "kg_pm",
    "treatment": "post_M",
    "unit": "pid",
    "time": "day",
    "cluster": "pid",
    "source_specification": "Table 2: monthly-payment arm, controlling for the flexibility arm",
    "note": "Daily and producer effects are retained along with the flexibility-arm post indicator. The focal effect is monthly-payment assignment, conditional on the other randomized arm."
  },
  "status": "estimated",
  "source_fit": {
    "formula": "list(linear = kg_pm ~ post_M + post_F + post + i(day, ref = 1),      fixef = ~pid)",
    "coefficients": {
      "post_M": 0.12770270200463,
      "post_F": 0.245394734959853,
      "post": -0.00753768794300991,
      "day::2": -2.19835173650375e-16,
      "day::3": -2.16270237198909e-16,
      "day::4": 0.00100502356812001,
      "day::5": 0.0216080402609098
    },
    "se": {
      "post_M": 0.0498727216357163,
      "post_F": 0.0983018230192716,
      "post": 0.00846734424869405,
      "day::2": 3.56580790363113e-16,
      "day::3": 3.57254790411803e-16,
      "day::4": 0.0129351160591862,
      "day::5": 0.0160046119605652
    },
    "n": 2388
  },
  "source_check": {
    "source_term": "post_M",
    "source_beta": 0.12770270200463,
    "template_source_sample_beta": 0.12770270200463024,
    "template_source_sample_n": 2388,
    "template_source_sample_se": 0.04987272163571491,
    "same_point_specification": true,
    "dropped_missing_identifiers": 0,
    "controls": {
      "x001": "post_F"
    },
    "absolute_coefficient_difference": 2.498001805406602e-16
  },
  "settings": {
    "slug": "aeraej-155",
    "specification_id": "aeraej-155-source",
    "source_specification_id": "Table 2: monthly-payment arm, controlling for the flexibility arm",
    "study": "Demand and Supply of Infrequent Payments as a Commitment Device: Evidence from Kenya",
    "citation": "Lorenzo Casaburi; Rocco Macchiavello (2019). https://doi.org/10.1257/aer.20180281",
    "description": "Daily and producer effects are retained along with the flexibility-arm post indicator. The focal effect is monthly-payment assignment, conditional on the other randomized arm.",
    "data": "analyses/new-library/tranche100/aeraej-155/panel.parquet",
    "unit": "unit",
    "time": "time",
    "cluster": "cluster",
    "covariates": [
      "x001"
    ],
    "time_fe": null,
    "unit_fe": null,
    "allow_repeated_cells": false,
    "period_values": null,
    "period_step": 1,
    "weight": null,
    "latest_cohort_control": true,
    "reversal_policy": "drop_post_untreated",
    "test_mode": "classical",
    "post_weighting": "observations",
    "display_window": [
      -10,
      10
    ],
    "labels": {
      "y": "kg_pm",
      "d": "post_M",
      "unit": "pid",
      "time": "day",
      "cluster": "pid",
      "x001": "post_F"
    }
  },
  "options": {
    "output_dir": "analyses/new-library/tranche100/aeraej-155/results",
    "timeout_seconds": 300,
    "isolate_matrix": true
  },
  "comparison": {
    "schema": "expensive-replication-v1",
    "config": {
      "outcomes": [
        "y"
      ],
      "treatments": [
        "d"
      ],
      "unit": "unit",
      "time": "time",
      "cluster": "cluster",
      "covariates": [
        "x001"
      ],
      "baseline_by_time": [],
      "weight": null,
      "period_step": 1,
      "period_values": null,
      "display_window": [
        -10,
        10
      ],
      "seed": 20261008,
      "panelview_max_units": 100,
      "test_mode": "classical",
      "test_horizon": null,
      "post_horizon": null,
      "post_weighting": "observations",
      "sample_query": null,
      "reversal_policy": "drop_post_untreated",
      "labels": {
        "y": "kg_pm",
        "d": "post_M",
        "unit": "pid",
        "time": "day",
        "cluster": "pid",
        "x001": "post_F"
      },
      "allow_repeated_cells": false,
      "time_fe": null,
      "unit_fe": null,
      "frequency_weights": false,
      "source_sd": null,
      "require_never_control_periods": false,
      "latest_cohort_control": true,
      "slug": "aeraej-155",
      "specification_id": "aeraej-155-source",
      "source_specification_id": "Table 2: monthly-payment arm, controlling for the flexibility arm",
      "study": "Demand and Supply of Infrequent Payments as a Commitment Device: Evidence from Kenya",
      "citation": "Lorenzo Casaburi; Rocco Macchiavello (2019). https://doi.org/10.1257/aer.20180281",
      "description": "Daily and producer effects are retained along with the flexibility-arm post indicator. The focal effect is monthly-payment assignment, conditional on the other randomized arm.",
      "data": "analyses/new-library/tranche100/aeraej-155/panel.parquet",
      "output_dir": "analyses/new-library/tranche100/aeraej-155/results"
    },
    "options": {
      "output_dir": "analyses/new-library/tranche100/aeraej-155/results",
      "timeout_seconds": 300,
      "isolate_matrix": true
    },
    "source": {
      "file": "panel.parquet",
      "bytes": 11841,
      "sha256": "1e97e0a67f7cee20d90d6ded7172f9694fc5f1271a4c3c238bf0655a1e680aa9"
    },
    "regressions": {
      "y__d": {
        "sample": {
          "outcome": "y",
          "treatment": "d",
          "source_rows": 2388,
          "source_sd": 0.6287940142831148,
          "rows": 2388,
          "units": 398,
          "clusters": 398,
          "treated_units": 148,
          "never_treated_units": 250,
          "treated_cohorts": 1,
          "latest_cohort_control_index": null,
          "unique_unit_period_cells": 2388,
          "unsupported_prediction_rows_removed": 0,
          "rows_without_never_control_time_fe_removed": 0,
          "initially_treated_units_removed": 0,
          "post_adoption_untreated_rows_removed": 0,
          "units_without_minus_one_removed": 0,
          "additional_rows_removed": 0
        },
        "estimates": [
          {
            "method": "Static TWFE",
            "estimate": 0.203091472093963,
            "se": 0.07931487975847878,
            "pvalue": 0.010819024880636657,
            "lower": 0.04716179508448615,
            "upper": 0.35902114910343985
          },
          {
            "method": "Dynamic TWFE",
            "estimate": 0.2030914720939626,
            "se": 0.07938161504984557,
            "pvalue": 0.010885118470761106,
            "lower": 0.04703059634271567,
            "upper": 0.35915234784520955
          },
          {
            "method": "BJS / did2s",
            "estimate": 0.20309147209485817,
            "se": 0.07909893871851346,
            "pvalue": 0.010606858491862324,
            "lower": 0.047586325976904015,
            "upper": 0.3585966182128123
          },
          {
            "method": "Sun\u2013Abraham",
            "estimate": 0.2030914720939626,
            "se": 0.07938161504984557,
            "pvalue": 0.010885118470761106,
            "lower": 0.04703059634271567,
            "upper": 0.35915234784520955
          }
        ],
        "event_studies": {
          "Dynamic TWFE": [
            {
              "event_time": -3,
              "estimate": -2.287841641361037e-16,
              "se": 0.0,
              "pvalue": null,
              "lower": -2.287841641361037e-16,
              "upper": -2.287841641361037e-16
            },
            {
              "event_time": -2,
              "estimate": -3.078889027074875e-16,
              "se": 0.0,
              "pvalue": null,
              "lower": -3.078889027074875e-16,
              "upper": -3.078889027074875e-16
            },
            {
              "event_time": 0,
              "estimate": 0.22134176858033983,
              "se": 0.08279698703970774,
              "pvalue": 0.007820582422193228,
              "lower": 0.05856641689635353,
              "upper": 0.3841171202643261
            },
            {
              "event_time": 1,
              "estimate": 0.22221000780508646,
              "se": 0.09323788095650061,
              "pvalue": 0.01762961801140141,
              "lower": 0.0389083031707676,
              "upper": 0.4055117124394053
            },
            {
              "event_time": 2,
              "estimate": 0.16572263989646163,
              "se": 0.08071421481078957,
              "pvalue": 0.04070767624810018,
              "lower": 0.0070419297466800534,
              "upper": 0.3244033500462432
            }
          ],
          "BJS / did2s": [
            {
              "event_time": -3,
              "estimate": 3.423667599422586e-13,
              "se": 3.0772915761240268e-12,
              "pvalue": 0.9114696714961507,
              "lower": -5.707457472158507e-12,
              "upper": 6.392190992043024e-12
            },
            {
              "event_time": -2,
              "estimate": 6.780860074828698e-11,
              "se": 4.585634894179355e-12,
              "pvalue": 1.0017328442012462e-39,
              "lower": 5.879343776613122e-11,
              "upper": 7.682376373044275e-11
            },
            {
              "event_time": -1,
              "estimate": 6.780860074828698e-11,
              "se": 4.58663134227063e-12,
              "pvalue": 1.0330348554287769e-39,
              "lower": 5.87914787916046e-11,
              "upper": 7.682572270496938e-11
            },
            {
              "event_time": 0,
              "estimate": 0.2213417685812027,
              "se": 0.0825021486375885,
              "pvalue": 0.007604585256672018,
              "lower": 0.05914605664391262,
              "upper": 0.3835374805184928
            },
            {
              "event_time": 1,
              "estimate": 0.22221000780596967,
              "se": 0.0929058627415624,
              "pvalue": 0.017231622833229557,
              "lower": 0.039561036847528874,
              "upper": 0.40485897876441046
            },
            {
              "event_time": 2,
              "estimate": 0.16572263989740213,
              "se": 0.08042679311849893,
              "pvalue": 0.039997951614159685,
              "lower": 0.007606988558538114,
              "upper": 0.3238382912362662
            }
          ],
          "Sun\u2013Abraham": [
            {
              "event_time": -3,
              "estimate": -2.287841641361037e-16,
              "se": 0.0,
              "pvalue": null,
              "lower": -2.287841641361037e-16,
              "upper": -2.287841641361037e-16
            },
            {
              "event_time": -2,
              "estimate": -3.078889027074875e-16,
              "se": 0.0,
              "pvalue": null,
              "lower": -3.078889027074875e-16,
              "upper": -3.078889027074875e-16
            },
            {
              "event_time": 0,
              "estimate": 0.22134176858033983,
              "se": 0.08279698703970774,
              "pvalue": 0.007820582422193228,
              "lower": 0.05856641689635353,
              "upper": 0.3841171202643261
            },
            {
              "event_time": 1,
              "estimate": 0.22221000780508646,
              "se": 0.09323788095650061,
              "pvalue": 0.01762961801140141,
              "lower": 0.0389083031707676,
              "upper": 0.4055117124394053
            },
            {
              "event_time": 2,
              "estimate": 0.16572263989646163,
              "se": 0.08071421481078957,
              "pvalue": 0.04070767624810018,
              "lower": 0.0070419297466800534,
              "upper": 0.3244033500462432
            }
          ]
        },
        "target": {
          "event_times": [
            0.0,
            1.0,
            2.0
          ],
          "weights": [
            0.3333333333333333,
            0.3333333333333333,
            0.3333333333333333
          ],
          "weighting": "observations"
        },
        "checks": {
          "did2s_vs_direct_imputation_max_post_difference": 1.1102230246251565e-16,
          "package_aggregate_vs_estimable_cell_weights": null
        },
        "inference": {
          "standard_errors": "Cluster-robust; did2s uses two-stage covariance",
          "confidence_intervals": "Pointwise t, clusters minus one degrees of freedom"
        },
        "f_test": {
          "status": "not_identified",
          "pvalue": null,
          "reason": "Only one treated cohort remains on the common supported sample."
        }
      }
    },
    "alternative_models": {
      "y__d": [
        {
          "method": "CS-DID",
          "class": "csdid.att_gt.ATTgt",
          "package": {
            "csdid": "0.4.2",
            "drdid": "1.1.6"
          },
          "parameters": {
            "est_method": "dr",
            "covariate_basis": "cell-specific rank-reduced column space",
            "control_group": "notyettreated",
            "xformla": "y ~ 1 + x0",
            "panel": true,
            "effective_panel": true,
            "allow_unbalanced_panel": true,
            "weights_name": "weight",
            "fix_weights": null,
            "base_period": "universal",
            "clustervar": "cluster",
            "aggregate": "dynamic",
            "faster_mode": true
          },
          "data_structure": "panel",
          "aggregations": {
            "summaries": [
              {
                "typec": "dynamic",
                "aggregation": "Native CS-DID dynamic",
                "matches_treated_unit_year_target": false,
                "estimate": -0.03418813850425941,
                "se": 0.12404599071285954,
                "lower": -0.2773138127280541,
                "upper": 0.2089375357195353
              },
              {
                "typec": "simple",
                "aggregation": "Native CS-DID simple",
                "matches_treated_unit_year_target": false,
                "estimate": -0.03418813850425941,
                "se": 0.12404599071285957,
                "lower": -0.27731381272805417,
                "upper": 0.20893753571953536
              },
              {
                "typec": "group",
                "aggregation": "Native CS-DID group",
                "matches_treated_unit_year_target": false,
                "estimate": -0.03418813850425941,
                "se": 0.12404599071285957,
                "lower": -0.27731381272805417,
                "upper": 0.20893753571953536
              },
              {
                "typec": "treated_cells",
                "aggregation": "Observed treated observations, configured weights",
                "matches_treated_unit_year_target": true,
                "weight_sum": 444.0,
                "post_cells": 3,
                "estimate": -0.03418813850425941,
                "se": 0.12404599071285954,
                "lower": -0.2773138127280541,
                "upper": 0.2089375357195353
              }
            ],
            "same_group_time_effects": true,
            "additional_covariates": [
              "x0"
            ]
          },
          "estimate": -0.03418813850425941,
          "se": 0.12404599071285954,
          "lower": -0.2773138127280541,
          "upper": 0.2089375357195353,
          "event_study": [
            {
              "event_time": -3,
              "estimate": 0.0,
              "se": null,
              "lower": null,
              "upper": null,
              "relative_to_minus_one": 0.0,
              "n": 0.0
            },
            {
              "event_time": -2,
              "estimate": 0.0,
              "se": null,
              "lower": null,
              "upper": null,
              "relative_to_minus_one": 0.0,
              "n": 0.0
            },
            {
              "event_time": -1,
              "estimate": 0.0,
              "se": null,
              "lower": null,
              "upper": null,
              "relative_to_minus_one": 0.0,
              "n": 0.0
            },
            {
              "event_time": 0,
              "estimate": -0.015937842017882013,
              "se": 0.122422424976718,
              "lower": -0.2558813858723061,
              "upper": 0.22400570183654203,
              "relative_to_minus_one": -0.015937842017882013,
              "n": 148.0
            },
            {
              "event_time": 1,
              "estimate": -0.015069602793135706,
              "se": 0.13340757884358725,
              "lower": -0.27654365259125435,
              "upper": 0.24640444700498296,
              "relative_to_minus_one": -0.015069602793135706,
              "n": 148.0
            },
            {
              "event_time": 2,
              "estimate": -0.07155697070176051,
              "se": 0.12850695622972846,
              "lower": -0.3234259766748935,
              "upper": 0.18031203527137243,
              "relative_to_minus_one": -0.07155697070176051,
              "n": 148.0
            }
          ],
          "group_time_estimates": [
            {
              "group": 4,
              "year": 1,
              "att": 0.0,
              "se": 0.0,
              "event_time": -3,
              "mass": 0.0
            },
            {
              "group": 4,
              "year": 2,
              "att": 0.0,
              "se": 0.0,
              "event_time": -2,
              "mass": 0.0
            },
            {
              "group": 4,
              "year": 3,
              "att": 0.0,
              "se": null,
              "event_time": -1,
              "mass": 0.0
            },
            {
              "group": 4,
              "year": 4,
              "att": -0.015937842017882013,
              "se": 0.12242242497671792,
              "event_time": 0,
              "mass": 148.0
            },
            {
              "group": 4,
              "year": 5,
              "att": -0.015069602793135706,
              "se": 0.13340757884358728,
              "event_time": 1,
              "mass": 148.0
            },
            {
              "group": 4,
              "year": 6,
              "att": -0.07155697070176051,
              "se": 0.12850695622972838,
              "event_time": 2,
              "mass": 148.0
            }
          ],
          "treated_cell_att": -0.03418813850425941,
          "treated_cell_se": 0.12404599071285954,
          "checks": {
            "input_rows": 2388,
            "retained_rows": 2388,
            "all_observed_post_cells_estimated": true,
            "dynamic_cluster_se_error": 0.0
          },
          "target": "Equal average of nonnegative native CS-DID event-time effects",
          "donor_rule": "notyettreated",
          "inference": "Configured-cluster analytical influence-function intervals; observed-cell ratio includes estimated weight-share uncertainty",
          "warnings": [
            "No pre-treatment periods available for the Wald pre-test of parallel trends. The pre-test will not be reported."
          ],
          "seconds": 0.036388583946973085,
          "status": "estimated"
        },
        {
          "method": "SDID",
          "status": "unsupported",
          "reason": "sdid: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Matrix completion",
          "status": "unsupported",
          "reason": "matrix-completion: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Horizontal ridge",
          "status": "unsupported",
          "reason": "horizontal-ridge: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Multisynth (cohort-averaged)",
          "status": "unsupported",
          "reason": "multisynth-cohort: this adapter does not implement covariate adjustment; controls retained."
        },
        {
          "method": "Multisynth (individual)",
          "status": "unsupported",
          "reason": "multisynth-individual: this adapter does not implement covariate adjustment; controls retained."
        }
      ]
    },
    "combined_table": [
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Static TWFE",
        "Estimate (SDs)": 0.203091472093963,
        "SE": 0.07931487975847878,
        "Aggregation": "Coefficient",
        "Event study": "No",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Dynamic TWFE",
        "Estimate (SDs)": 0.2030914720939626,
        "SE": 0.07938161504984557,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "BJS / did2s",
        "Estimate (SDs)": 0.20309147209485817,
        "SE": 0.07909893871851346,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Sun\u2013Abraham",
        "Estimate (SDs)": 0.2030914720939626,
        "SE": 0.07938161504984557,
        "Aggregation": "observations",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "CS-DID",
        "Estimate (SDs)": -0.03418813850425941,
        "SE": 0.12404599071285954,
        "Aggregation": "Equal post-event times",
        "Event study": "Yes",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "CS-DID (treated cells)",
        "Estimate (SDs)": -0.03418813850425941,
        "SE": 0.12404599071285954,
        "Aggregation": "Treated cells",
        "Event study": "Same CS-DID path",
        "Status": "estimated",
        "Note": ""
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "SDID",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "sdid: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Matrix completion",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "matrix-completion: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Horizontal ridge",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "horizontal-ridge: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (cohort-averaged)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-cohort: this adapter does not implement covariate adjustment; controls retained."
      },
      {
        "Outcome / treatment": "y__d",
        "Estimator": "Multisynth (individual)",
        "Estimate (SDs)": null,
        "SE": null,
        "Aggregation": "Treated cells",
        "Event study": "No",
        "Status": "unsupported",
        "Note": "multisynth-individual: this adapter does not implement covariate adjustment; controls retained."
      }
    ],
    "adapter_sha256": {
      "validate_template.py": "9c8cc9bb42c9d4eb4f48bfa0a6ee09498fe83516d08aa9f26a49c21c4686618a",
      "mtgpax_worker.py": "7279b1b2aaa3f5909cd39ac1964d2e9c75907219011fe661a015511131affa85",
      "csdid_general.py": "07619c3b3dfee796ae9e4842afdbc6e367a74cece254ede73f7c403dfc924f6d",
      "runner.py": "58547dcbff39ff9f3c439b6db688064bd9e5f19237ca1cae4e68b0c77dde1096",
      "matrix_inputs.py": "3f675276f9022147996dd5b62762721be2dd436d5db171491a286b05628176ae",
      "csdid_model.py": "b9fd5536d4886e99a707d2b162db5b11da3ff463930eca5b7590d27500096a3f",
      "multisynth_model.R": "3ae0740c5b75b14f563dacc9961688e8286655866a6b435045a3ef6f453c1604",
      "csdid_streaming.py": "378198e98c44bd46862601bdcb514b19d9ea4038cddc38dad7fdba9b0aa0216b",
      "multisynth_sparse.R": "f9ab3d8d7f7b52a79ccd694c7173f626276a0830f23bb79e527c88c0f0292540",
      "matrix_models.py": "dc7188bf9bf709f0803169dfc3b1198e8b9d2b79d5904ebc5f010a48edde2ee2",
      "matrix_worker.py": "c70d8461b3cd9c702154ea38ff99ff31fc9daec8620914e6d5b49d3126ce6312",
      "csdid_aggregations.py": "cbed0fb13450d9398f9a59d53dbfdf8e275a74daa01158c38c0f3396a3e8c6ee",
      "bootstrap_matrix.py": "a55b171313d43a703063c87e668021b75eb3153fa30795b9ae3d9e2721d9b9d0",
      "eligibility.py": "f0eb686ff3f13e89c8f3d85f49890601c4a7f9a611a2938753be599b8ceac9a6"
    }
  }
}
