how to create confidence of interval for uniform distribution ?

2 views (last 30 days)
i would like to design a matlab code for 90% confidence interval with sample size = 3 from a uniform distribution between 0 and 1, in other words i would like to find the value of a such that (-a,a) contains the true means 90% of the time. using the matlab to test if a=0.15 then a=0.35

Answers (1)

Walter Roberson
Walter Roberson on 20 Nov 2015
I do not understand what you are asking about sample size 3, or why you are looking at (-a,a) when you know your values are in the range (0,1) ?

Community Treasure Hunt

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

Start Hunting!