%X,Z是长度为n的序列n=length(X);D=n*(dot(Z,Z)-sum(Z))^2;U=1/D*(sum(Z)*(-dot(X,Z))+dot(Z,Z)*sum(z))a=1/D*(-n*dot(X,Z)+sum(Z)*sum(X));