You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The identity Var(X) = E(X^2) - E(X)^2 is prone to numerical cancellation (see, e.g., here). In a similar form, this identity is used in the predictive variances from predvar_gauss() (perhaps at other places, too):
Perhaps this doesn't have any larger impact in projpred, but I wanted to highlight it anyway. Alternatives to the current implementation could be those mentioned here.
The text was updated successfully, but these errors were encountered:
fweber144
added a commit
to fweber144/projpred
that referenced
this issue
Mar 2, 2023
The identity
Var(X) = E(X^2) - E(X)^2
is prone to numerical cancellation (see, e.g., here). In a similar form, this identity is used in the predictive variances frompredvar_gauss()
(perhaps at other places, too):projpred/R/extend_family.R
Lines 125 to 126 in 6cec7d6
Perhaps this doesn't have any larger impact in projpred, but I wanted to highlight it anyway. Alternatives to the current implementation could be those mentioned here.
The text was updated successfully, but these errors were encountered: