How to perform the delete-d jackknife in matlab?

3 vues (au cours des 30 derniers jours)
amj
amj le 8 Jan 2018
Modifié(e) : amj le 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

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by