Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check multiplication with N #180

Open
jhorzek opened this issue Feb 27, 2023 · 1 comment
Open

Check multiplication with N #180

jhorzek opened this issue Feb 27, 2023 · 1 comment

Comments

@jhorzek
Copy link
Owner

jhorzek commented Feb 27, 2023

lambda is internally multiplied with sample size N:

tp.lambda = lambda_*N;
. Check if this affects the penalty in multi-group models, when the regularized parameter is only present in one of the subgroups.

@jhorzek
Copy link
Owner Author

jhorzek commented Apr 9, 2023

Currently, all penalties are scaled with the overall sample size. In multi-group models this is the number of subjects in all groups combined. The problem is that it is not always easy to find out if a parameter is group specific or not (e.g., when transformations are used that redefine some seemingly group specific parameters as multi group parameters). For the time being, this issue remains open until a good solution can be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant