conformal_inf_multiout: Conformal inference procedure to compute p-values and...

View source: R/inference.R

conformal_inf_multioutR Documentation

Conformal inference procedure to compute p-values and point-wise confidence intervals

Description

Conformal inference procedure to compute p-values and point-wise confidence intervals

Usage

conformal_inf_multiout(
  ascm_multi,
  alpha = 0.05,
  stat_func = NULL,
  type = "iid",
  q = 1,
  ns = 1000,
  grid_size = 1,
  lin_h0 = NULL
)

Arguments

alpha

Confidence level

stat_func

Function to compute test statistic

type

Either "iid" for iid permutations or "block" for moving block permutations

q

The norm for the test static '((sum(x ^ q))) ^ (1/q)'

ns

Number of resamples for "iid" permutations

grid_size

Number of grid points to use when inverting the hypothesis test (default is 1, so only to test joint null)

ascm

Fitted 'augsynth' object

Value

List that contains:

  • "att"Vector of ATT estimates

  • "heldout_att"Vector of ATT estimates with the time period held out

  • "se"Standard error, always NA but returned for compatibility

  • "lb"Lower bound of 1 - alpha confidence interval

  • "ub"Upper bound of 1 - alpha confidence interval

  • "p_val"p-value for test of no post-treatment effect

  • "alpha"Level of confidence interval


ebenmichael/augsynth documentation built on Sept. 9, 2024, 3:29 p.m.