bigsnpr icon indicating copy to clipboard operation
bigsnpr copied to clipboard

Can 'delta' be 0?

Open xcyang17 opened this issue 3 years ago • 3 comments

Thank you for the great software! We have two questions about the value of 'delta':

Q1: Can 'delta' in the example code at https://privefl.github.io/bigsnpr/reference/snp_lassosum2.html be set to 0, so that lassosum2 runs without L2 regularization? q2: If the current version of lassosum2 does not accept 0 for the value of 'delta', is it possible to modify lassosum2 so that it accepts 0?

xcyang17 avatar Sep 29 '22 19:09 xcyang17

I guess it can, but it will either lead to possible divergence, or provide similar results as with e.g. delta=0.001.

Have you tried it?

privefl avatar Sep 29 '22 19:09 privefl

Have you tried it?

privefl avatar Oct 11 '22 05:10 privefl

Hi, sorry I have not tried it. I will let you know when I try it, hopefully in next 1-2 weeks.

On Tue, Oct 11, 2022 at 1:35 AM Florian Privé @.***> wrote:

Have you tried it?

— Reply to this email directly, view it on GitHub https://github.com/privefl/bigsnpr/issues/370#issuecomment-1274111166, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLDHENJ75J5HITFHMSTGATWCT4DDANCNFSM6AAAAAAQZCJ33U . You are receiving this because you authored the thread.Message ID: @.***>

xcyang17 avatar Oct 11 '22 05:10 xcyang17

Any update on this?

privefl avatar Nov 10 '22 07:11 privefl