SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1610.02351 · 2016

Panning for Gold: Model-X Knockoffs for High-dimensional Controlled Variable Selection

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 24 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
amspector100/knockpy pwc_unofficial 0 of 24
FunctionStatusWhere it lives
DirichletCorr Not yet run amspector100/knockpy/knockpy/dgp.py
code served (permissive licence) · get_code("da14134814dc0e78")
UniformDot Not yet run amspector100/knockpy/knockpy/dgp.py
code served (permissive licence) · get_code("90012e7ae0e81f67")
Wishart Not yet run amspector100/knockpy/knockpy/dgp.py
code served (permissive licence) · get_code("d72098be902237e9")
calc_group_sizes Not yet run amspector100/knockpy/knockpy/utilities.py
code served (permissive licence) · get_code("adc23ee77dec077a")
calc_mse Not yet run amspector100/knockpy/knockpy/knockoff_stats.py
code served (permissive licence) · get_code("aefd4b54e9f03113")
cholupdate Not yet run amspector100/knockpy/knockpy/mrc.py
code served (permissive licence) · get_code("5458ec42b388ef4f")
compute_ggm_threshold Not yet run amspector100/knockpy/knockpy/ggm.py
code served (permissive licence) · get_code("57e1e9e9cc014bfb")
create_batches Not yet run amspector100/knockpy/knockpy/kpytorch/deeppink.py
code served (permissive licence) · get_code("746a83193745ebea")
discovered_edges Not yet run amspector100/knockpy/knockpy/ggm.py
code served (permissive licence) · get_code("420aa22ddd8ec2dd")
divide_computation Not yet run amspector100/knockpy/knockpy/smatrix.py
code served (permissive licence) · get_code("59022b18d4ea7f9c")
fetch_group_nonnulls Not yet run amspector100/knockpy/knockpy/utilities.py
code served (permissive licence) · get_code("90ca0e3347784798")
gaussian_log_likelihood Not yet run amspector100/knockpy/knockpy/metro.py
code served (permissive licence) · get_code("ce1e7a9ba67294a2")
get_ordering Not yet run amspector100/knockpy/knockpy/metro.py
code served (permissive licence) · get_code("7cea7af4558ec0ff")
merge_groups Not yet run amspector100/knockpy/knockpy/smatrix.py
code served (permissive licence) · get_code("b135d8a164d09c72")
mvr_loss Not yet run amspector100/knockpy/knockpy/mrc.py
code served (permissive licence) · get_code("ec3479c58d959f97")
parse_logistic_flag Not yet run amspector100/knockpy/knockpy/knockoff_stats.py
code served (permissive licence) · get_code("9d353e743b90dcec")
parse_method Not yet run amspector100/knockpy/knockpy/smatrix.py
code served (permissive licence) · get_code("f25da86a45abedd6")
parse_y_dist Not yet run amspector100/knockpy/knockpy/knockoff_stats.py
code served (permissive licence) · get_code("96949d6294410a08")
preprocess_groups Not yet run amspector100/knockpy/knockpy/utilities.py
code served (permissive licence) · get_code("89a86b326fa4a15d")
produce_FX_knockoffs Not yet run amspector100/knockpy/knockpy/knockoffs.py
code served (permissive licence) · get_code("be4d3e6ef956e7e3")
produce_MX_gaussian_knockoffs Not yet run amspector100/knockpy/knockpy/knockoffs.py
code served (permissive licence) · get_code("69bdab92b1aba81b")
solve_mvr_factored Not yet run amspector100/knockpy/knockpy/mrc.py
code served (permissive licence) · get_code("9069f8af21c2d20d")
t_log_likelihood Not yet run amspector100/knockpy/knockpy/metro.py
code served (permissive licence) · get_code("4a5aafb88e81d20d")
train_deeppink Not yet run amspector100/knockpy/knockpy/kpytorch/deeppink.py
code served (permissive licence) · get_code("a0f72bcdefa8751d")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Many contemporary large-scale applications involve building interpretable models linking a large set of potential covariates to a response in a nonlinear fashion, such as when the response is binary. Although this modeling problem has been extensively studied, it remains unclear how to effectively control the fraction of false discoveries even in high-dimensional logistic regression, not to mention general high-dimensional nonlinear models. To address such a practical problem, we propose a new framework of $model$-$X$ knockoffs, which reads from a different perspective the knockoff procedure (Barber and Candès, 2015) originally designed for controlling the false discovery rate in linear models. Whereas the knockoffs procedure is constrained to homoscedastic linear models with $n\ge p$, the key innovation here is that model-X knockoffs provide valid inference from finite samples in settings in which the conditional distribution of the response is arbitrary and completely unknown. Furthermore, this holds no matter the number of covariates. Correct inference in such a broad setting is achieved by constructing knockoff variables probabilistically instead of geometrically. To do this, our approach requires the covariates be random (independent and identically distributed rows) with a distribution that is known, although we provide preliminary experimental evidence that our procedure is robust to unknown/estimated distributions. To our knowledge, no other procedure solves the $controlled$ variable selection problem in such generality, but in the restricted settings where competitors exist, we demonstrate the superior power of knockoffs through simulations. Finally, we apply our procedure to data from a case-control study of Crohn's disease in the United Kingdom, making twice as many discoveries as the original analysis of the same data.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1610.02351")
get_code_for_paper("1610.02351")
have("1610.02351")

Connect an agent — have() is free.