CalcScore: Matrix of score for the propensity score.

Description Usage Arguments

View source: R/CalcScore_function.R

Description

Matrix of score for the propensity score.

Usage

1
2
CalcScore(dta, neigh_ind = NULL, phi_hat, cov_cols, trt_name = NULL,
  integral_bound = 10)

Arguments

dta

The data set including (at least) the treatment and covaratiates.

neigh_ind

A list including one element for each neighborhood. That element includes the indices of the observations in dta that belong to each neighborhood. Can be left NULL if dta includes a column neigh.

phi_hat

A list with two elements. The first one is a vector of coefficients of the propensity score, and the second one is the random effect variance.

cov_cols

The indeces including the covariates of the propensity score model.

trt_name

The name of the treatment column. If it is 'A', you can leave NULL.


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