selective-inference / R-software

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

fixedLassoInf: practical example #52

Open alyst opened 5 years ago

alyst commented 5 years ago

I'm trying to apply glmnet and then fixedLassoInf() to some random-effects linear model. I'm looking at the example in the man page of fixedLassoInf() to figure how to pre-process the experimental design matrix. But this example uses some randomly generated data experimental design matrix, so I'm not sure whether what I'm doing is right (For some input data I get strange results, even though I try to raise the precision of confidence interval calculation). It would be nice if there would also be an example showing how to apply it to the more realistic datasets: how to scale and center the real experimental design matrix, how to post-process the output of glmnet and fixedLassoInfo() to get the correct estimates and p-values for the original problem. (Well, it would be even nicer if the functions of selectiveInference would take care of doing all necessary transformations of the original problem behind the scene).

raubreywhite commented 4 years ago

Is there any update on this?