How to perform the delete-d jackknife in matlab?

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by