Ypop: Estimates and asymptotic variance of the population average...

Description Usage Arguments

View source: R/Ypop_function.R

Description

Estimates and asymptotic variance of the population average potential outcome for known or estimated propensity score model.

Usage

1
2
Ypop(ygroup, ps = c("true", "estimated"), scores = NULL, dta = NULL,
  use = "everything")

Arguments

ygroup

An array including the group average potential outcome estimates where the dimensions correspond to group, individual treatment and value of alpha.

ps

String. Can take values 'true', or 'estimated' for known or estimated propensity score. Defaults to 'true'.

scores

A matrix with rows corresponding to the parameters of the propensity score model and columns for groups. Includes the score of the propensity score evaluated for the variables of each group. Can be left NULL when ps is set to 'true'.

dta

The data set including the variable neigh. Defaults to NULL. Can be left NULL when the true propensity score is used.

use

Whether the data with missing values will be used for the estimation of the variance. Argument for cov() function. Defaults to 'everything'.


gpapadog/Interference documentation built on Oct. 17, 2018, 3:27 a.m.