On Fri, May 20, 2022 at 10:35 AM Sven Schreiber <svetosch(a)gmx.net> wrote:
Hi, one other trivial question about regls:
In the result bundle we have the member "B" with all coefficients, and
"nzb" with the non-zero coefficients. Fine, but then we also have
"nzX".
What I'm saying is that we have a mixture of upper- and lowercase
conventions here. Would it be too late to introduce "nzB" as an alias
for "nzb"? Or maybe even better to have "b" mean the same thing as
"B",
since the beta vector is also a small greek letter?
I see your point, but here's my rationale for the use of 'b' versus
'B'. Other than in the (unlikely, not very practical) case where the
user wants results for a single penalty value, the object "B" in the
bundle returned by regls will be a matrix with several columns, while
nzb will always be a column vector holding the non-zero elements of
the "optimal" coeff vector (where "optimality" is determined either
via BIC or cross validation).
Allin