estforboot: estforboot

Description Usage Arguments Value

View source: R/psace.R

Description

A function calculates all estimators

Usage

1
estforboot(X, Z, S, Y, family.Y)

Arguments

X

is a matrix of pre-treatment covariates without intercept (n x p).

Z

is a vector of treatment (n x 1).

S

is a vector of binary intermidiate outcome (n x 1).

Y

is a vector of outcome ( n x 1).

family.Y

specifies the family for the outcome model. "gaussian": a linear regression model for the continuous outcome.

"binomial": a logistic regression model for the binary outcome.

Value

all point estimators


shuyang1987/psace documentation built on May 6, 2020, 12:37 a.m.