Skip to content

lakerwsl/WUNT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WUNT

This package implements the new weighting framework by uniform transformer (WUNT), proposed by Yu and Wang (2020).

To install this package in R, run the following commands:

library(devtools) 
install_github("lakerwsl/WUNT")

Example usage:

library(WUNT)

x1=rnorm(1000)
x2=rnorm(1000, mean=0.5)
x=cbind(x1,x2)
ix=sample(1:1000,300)
z=numeric(1000)
z[ix]=1
y=x1*x2
res1=wunt(x,z,y,type='constant',marginal=FALSE,method='Kernel')
res1$est
res2=wunt(x,z,y,type='constant',marginal=FALSE,method='Projection')
res2$est

References

Ruoqi Yu and Shulei Wang. Covariate Balancing by Uniform Transformer. 2020. [arxiv]

About

Covariate Balancing by Uniform Transformer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages