FromAlphaToRE: Function that calculates the random effect that corresponds...

Description Usage Arguments

View source: R/FromAlphaToRE_function.R

Description

Function that calculates the random effect that corresponds to a specific average probability of treatment.

Usage

1
FromAlphaToRE(alpha, lin_pred, alpha_re_bound = 10)

Arguments

alpha

Target average probability of treatment. Numberic in 0 - 1.

lin_pred

Linear predictor for the probability of treatment among the remaining units. Includes intercept and fixed effects.

alpha_re_bound

The lower and upper end of the values for bi we will look at. Defaults to 10, meaning we will look between - 10 and 10.


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