ConfIntervals: GeoLift Confidence Intervals

View source: R/post_test_analysis.R

ConfIntervalsR Documentation

GeoLift Confidence Intervals

Description

[Stable]

Calculate the Aggregate ATT Confidence Intervals

Usage

ConfIntervals(
  augsynth,
  treatment_start_time,
  treatment_end_time,
  alpha,
  stat_func,
  method,
  grid_size,
  conformal_type,
  ns
)

Arguments

augsynth

Augsynth object.

treatment_start_time

Time index of the start of the treatment.

treatment_end_time

Time index of the end of the treatment.

alpha

Significance level. Set to 0.1 by default.

stat_func

Function to compute the test statistic.

method

A string indicating the method used to calculate the aggregate ATT Confidence Intervals.

  • "conformal": Conformal Inference.

  • "jackknife+": Jackknife+.

grid_size

Number of grid points to use when inverting the hypothesis test for Conformal Inference.

conformal_type

Type of conformal inference used. Can be either "iid" for Independent and identically distributed or "block" for moving block permutations. Set to "iid" by default.

ns

Number of resamples for "iid" permutations if ⁠conformal_type = "iid⁠. Set to 1000 by default.

Value

List the Confidence Interval for the specified alpha.


facebookincubator/GeoLift documentation built on May 31, 2024, 10:09 a.m.