Hi,
I generate data x using the code :
x=generate_sample(n,eta,beta,theta);
f1=pdf_WP(sort(x),eta,beta,theta);
F=cdf_WP(sort(x),eta,beta,theta);
the function is:
function [x]=generate_sample(n,eta,beta,theta)
x(i)=theta.*(1./eta.*(log(1/(1-u)))).^(1./beta);
How can I make doule truncate from t1 to t2 from x
with my best regurds