liuxin9023 发表于 2011-7-20 07:28 
写似然函数然后最优化 只能这么处理哈
为什么我的MATLAB里总是有错啊?
??? Error using ==> mlecustom>llf_pdfcdf at 443
The PDF function returned negative or zero values.
Error in ==> fminsearch at 310
x(:) = xr; fxr = funfcn(x,varargin{:});
Error in ==> mlecustom at 186
[phat,nll,err,output] = ...
Error in ==> mle at 227
[phat, pci] = mlecustom(data,varargin{:});