RDpar: RDD Parametric

Description Usage Arguments Details Value

View source: R/funcion parametrica 140419.R

Description

parametric regression discontinuity using the likelihood and pseudolikelihood estimator with and without sample weights

Usage

1
2
3
RDpar(D = muestra1$D, Z = muestra1$x, Y = muestra1$y, c = 0,
  type = "sharp", TreatLeft = T, W = NULL, svydesign_ = muestra,
  vcov_)

Arguments

D

variable with: 1 for treatment group and 0 for control group

Z

continuous variable

Y

outcome variable

c

cutpoint

type

sharp or fuzzy

TreatLeft

T if the treatment is applied for below of the cutpoint

W

sample weights 1/pik, NULL if there aren't sample weights

svydesign_

design sample using survey library

vcov_

variances and covariances type: HCO, HC1, HC2 y HC3

Details

RDD PARAMETRIC

Value

Impact estimation, e.e. and t test


NataliArteaga/rddsw documentation built on Sept. 9, 2020, 4:41 p.m.