confseq_ate_unadjusted: Unadjusted estimator

View source: R/confseq_ate.R

confseq_ate_unadjustedR Documentation

Unadjusted estimator

Description

Unadjusted estimator

Usage

confseq_ate_unadjusted(
  y,
  treatment,
  t_opt,
  propensity_score = NULL,
  alpha = 0.05,
  times = NULL,
  lyapunov = FALSE
)

Arguments

y

The measured outcome (a real vector).

treatment

Whether the subject received treatment (a boolean vector or 0/1-valued integer vector).

t_opt

Time for which the CS should be tightest

propensity_score

The propensity scores ((0, 1)-valued reals or NULL). If left as NULL, this will be set to the (regularized) cumulative mean of 'treatment'. See 'cumul_mean' for more information.

alpha

Confidence level between 0 and 1 (real)

times

The times for which the doubly-robust variables should be calculated. Can be a vector of times (an integer vector) or a single time (integer). If left NULL, the variables will only be computed at time n.


WannabeSmith/drconfseq documentation built on Sept. 13, 2023, 3:05 a.m.