ÿþhttp://jabbarinh.profcms.um.ac.ir/imagesm/920/Cdes_Shabani_PHD_stu_1398/var  function[D]=D_estimation(x,y,t,s,l)  %Fn=fhatn(x,y,t);  y=y(x>=t);  x=x(x>=t);  delta=(x<=y);  z=min(x,y);  n=length(x);  D1=zeros(1,n-l+1);  for j=0:n-l  dd=0;  dd1=0;  for i=j+1:j+l  for k=1:n  dd1=dd1+delta(k).*(z(k)<=min(z(i),s))/(sum((z>=z(k)))).*2;  end  dd=dd+delta(i).*(z(i)<=s)/sum((z>z(i)))-dd1;  dd(isnan(dd))=1;  end  D1(j+1)=dd;  end  function[D]=D_estimationlung(z,d,t,s,l)  d=d(z>=t);  z=z(z>=t);  n=length(z);  D1=zeros(1,n-l+1);  for j=0:n-l  dd=0;  dd1=0;  for i=j+1:j+l  for k=1:n  dd1=dd1+d(k).*(z(k)<=min(z(i),s))/(sum((z>=z(k)))).*2;  end  dd=dd+d(i).*(z(i)<=s)/sum((z>z(i)))-dd1;  dd(isnan(dd))=1;  end  D1(j+1)=dd;  end  D=(n/((n-l+1)*l)).*sum(D1.^2);  end  function[w]=Z_n_t(x,y,t,s)  f=fhatn(x,y,t);  y=y(x>=t);  x=x(x>=t);  delta=(x<=y);  z=min(x,y);  z1=sort(z(delta==1));  n=length(x);  d=s-z1;  u=find(d==max(d(d<0)));  w=sqrt(n).*(f(u)-normcdf(s,12,100/96))./(1-f(u));  function[v]=v_estimationlung(z,d,t)  n=length(z);  x1=(0:0.01:3.6);  n1=length(x1);  w2=zeros(1,n1);  w1=w2;  v=ones(1,n1);  for i=1:n1  for j=1:n  w2=(z(j)<=x1(i) && d(j)==1);  end  w1=cumsum(w2);  end  c=cnz(z,d,t);  v1=w1./(c.*(w1-c));  v=cumprod(v1);  end
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in  on line 0. in /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/ErrorHandler.php(135): yii\web\ErrorHandler->renderException()
#3 [internal function]: yii\base\ErrorHandler->handleException()
#4 {main}
Previous exception:
yii\web\HeadersAlreadySentException: Headers already sent in  on line 0. in /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Application.php(656): yii\web\Response->send()
#2 /var/www/html/prof-homepages/vendor/faravaghi/yii2-filemanager/models/Files.php(696): yii\base\Application->end()
#3 /var/www/html/prof-homepages/vendor/faravaghi/yii2-filemanager/controllers/FilesController.php(484): faravaghi\filemanager\models\Files->getFile()
#4 [internal function]: faravaghi\filemanager\controllers\FilesController->actionGetFile()
#5 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#6 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams()
#7 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#8 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#9 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#10 /var/www/html/prof-homepages/backend/web/index.php(16): yii\base\Application->run()
#11 {main}