Skip to content

Commit

Permalink
tidied up a little bit of code in bootlm
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Jun 16, 2024
1 parent ebd63a1 commit 6970bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/bootlm.m
Original file line number Diff line number Diff line change
Expand Up @@ -2093,8 +2093,8 @@

% Compute observed statistics
Nt = numel (DF) - 1;
[jnk, RSS, RESID] = arrayfun (@(j) lmfit (X(:,1:sum (DF(1:j))), Y, ...
ISOCTAVE), (1:Nt + 1)', 'UniformOutput', false);
[jnk, RSS] = arrayfun (@(j) lmfit (X(:,1:sum (DF(1:j))), Y, ISOCTAVE), ...
(1:Nt + 1)', 'UniformOutput', false);

% Compute refined bootstrap estimates of prediction error (PE)
% See Efron and Tibshirani (1993) An Introduction to the Bootstrap. pg 247-252
Expand Down

0 comments on commit 6970bb2

Please sign in to comment.