%%Demo showing 2 methods of computing standard errors of 3-parameter Weibull distribution. % Both methods require Cupid available at https://github.com/milleratotago/Cupid % Method 2 also requires RawRT available at https://github.com/milleratotago/RawRT % Here are some sample data to be used for this demo. myDist = Weibull(550,1.9,300); % Arbitrary parameter values to generate some data. myDist.PlotDens; data = myDist.Random(300,1); % Replace this with your own data. figure; histogram(data); %%Method 1: Estimate SEs using Fisher Information myDist = Weibull(500,1.8,200); % Use your best guesses for the initial parameter values. myDist.EstML(data); % Estimate the parameter values. estparms = myDist.ParmValues; [SEs, Cov] = myDist.MLSE(data,'rrr'); % This step computes the standard errors. %%Method 2: Estimate the SEs using bootstrapping. % This option requires Cupid, as above, and also RawRT. datatbl = table(data); % Data must be in a MATLAB table nBootSamples = 100; % Probably you would want a lot more for any real analysis. sEval = 'CondFitDist(OneSample,''data'',{},Weibull(500,1.8,200))'; ManyEstimates = CondBootstrap(datatbl,{},sEval,nBootSamples); SEparm1 = std(ManyEstimates.scale); SEparm2 = std(ManyEstimates.power); SEparm3 = std(ManyEstimates.origin);
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.