May I ask how I can find 95% confidence interval of skew_FP() from these codes?

1 view (last 30 days)
rng(1000)
nn=143;
for n=1:1000;
r=rand(nn,1);
ss(n)=std(r);
m(n)=mean(r);
med(n)=median(r);
nu(n)=numel(r)
skew_FP(n) = sum((r-m(n)).^3)/(nn-1)/ss(n).^3
end
hist(skew_FP())
xlabel('Skew_FP()')
ylabel('Frequency')

Accepted Answer

Jeff Miller
Jeff Miller on 30 Oct 2022
LBUB = prctile(skew_FP(),[2.5,97.5]);

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!