How to perform the delete-d jackknife in matlab?

1 view (last 30 days)
amj
amj on 8 Jan 2018
Edited: amj on 8 Jan 2018
Hi, Can anyone advice me on how o extend the delete-d jackknife code sample. This sample code i have done in delete-1 jackknife:
X1 = [1,2,3,4,5];
X2 = [1,2,3,4,5];
for i = 1 : n
if i ==1
fprintf('i : %d \n', i);
disp(X(i+1:n,:))
disp('-----------')
elseif i == n
fprintf('i : %d \n', i);
disp(X(1:(n-1),:))
disp('-----------')
else
fprintf('i : %d \n', i);
disp(X([(1:i-1),(i+1):n],:)) %(1:i-1) || (i+1:n);
disp('-----------')
end
end
I would like to enhance to delete-d jackknife. I will appreciate if anyone can advice me to enhance without using he existing package in matlab because i will combine with my current model.
Thank you

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!