Bootstrap CI for proportions

11 views (last 30 days)
Cristiano df
Cristiano df on 9 Oct 2013
I have a simple dataset with values and absolute frequencies, like the table below:
value|freq
-----------
1 | 10
3 | 20
4 | 10
3 | 10
And now I'd like to calculate the frequency table, like:
value| %
-----------
1 | 1/5
3 | 3/5
4 | 1/5
And last step, I'd like to compute the *bootstrap CI* with matlab. I have a lot of rows in the dataset.
I've calculated the frequency table via `grpstats`command in Matlab, but I don't know how I can use it in the `boostrp` function in matlab.
Any help or suggestions would be really appreciated.

Answers (0)

Categories

Find more on Downloads 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!