nopodec_Fhat | R Documentation |
The results are all the components necessary to perform a decomposition of the ecdf difference between two groups, in four components (as in Nopo (2004)).
nopodec_Fhat(...)
## Default S3 method:
nopodec_Fhat(.reweight_strata_all, y = NULL, weights = NULL, value, ...)
## S3 method for class 'reweighted'
nopodec_Fhat(.reweighted, value, ...)
... |
arguments passed to or from other methods. |
.reweight_strata_all |
output of |
y |
name of the outcome variable for which you want to make the decomposition. If NULL (default), the value is inherited from the attributes of |
weights |
name of the weight variable (sample weights). If NULL (default), the value is inherited from the attributes of |
value |
value of y for which the ecdf is estimated |
.reweighted |
an object of class |
data(invented_wages)
r00 <- reweight_strata_all2(invented_wages, treatment = "gender",
variables = c("sector", "education"),
y = "wage", weights = "sample_weights")
nopodec_Fhat(r00, value = 5000)
r00 <- reweight_strata_all4(invented_wages, treatment = "gender",
variables = c("sector", "education"),
y = "wage", weights = "sample_weights")
str(r00)
names(r00)
class(r00)
nopodec_Fhat(r00, value = 5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.