Skip to content

liusf15/selinf_sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

selinf_sampler

Code for conducting post-selection inference after lasso selection.

The algorithm is proposed in Liu, S. (2023). An Exact Sampler for Inference after Polyhedral Model Selection.

Installation:

git clone https://github.com/liusf15/selinf_sampler.git

The proposed SOV sampler is written in cython so it requires compiling:

cd src
python setup.py build_ext --inplace

The vignette provides an example showing how to use the implemented method to construct confidence intervals and compute p-values for variables selected by the lasso. The lasso uses a subset of the data and the inference is performed conditioned on the selection.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published