ateclas: Estimates the avarage treatment effect (ATE) using the...

Description Usage Arguments Value

Description

Estimates the avarage treatment effect (ATE) using the classical model (epsilon=delta=0)

Usage

1
2
ateclas(x, a, y, phi = expit, dphi = dexpit, phiinv = expitinv,
  estim.method = "ML", maxit = 25, type = 1)

Arguments

x

A matrix of covariates of dimension n x p

a

A vector a of 0s and 1s of dimension n

y

A vector of responses or outcomes

phi

A function that maps the real line onto the interval (0,1)

dphi

The derivative of phi

phiinv

The inverse of phi

estim.method

The estimation method to be used for estimating the parameters "ML" (default) or "LS"

maxit

The maximum number of iterations to be performed.

type

The type of IPW estimator to be used: type 1 , type 2 and type 3 combine SPPS with, respectively, IPW1, IPW2 and IPW3 in Lunceford and Davidian(2004)

Value

a list containing the ATE and the estimator of beta


mvaldora/SPPS documentation built on May 7, 2019, 12:53 a.m.