selective-inference / R-software

R software for selective inference
GNU General Public License v2.0
34 stars 18 forks source link

fixedLassoInf with constrained lasso? #55

Open mg1655 opened 2 years ago

mg1655 commented 2 years ago

We are fitting a lasso model in glmnet as follows: fit = glmnet(x, y, alpha=1, intercept=F, standardize=F, lower.limits=0)

We were hoping to use selective inference to get p-values on the coefficients. However, there are differences between our model (above) and the given example. For example, we are fitting without an intercept or standardization - but perhaps more importantly, limits on the coefficients. Do you have advice for extending selective inference to the above example? If so, we would really appreciate it. Thank you!