No BSD License  

Highlights from
ci.m

Be the first to rate this file! 18 Downloads (last 30 days) File Size: 3.04 KB File ID: #13097

ci.m

by Raymond Reynolds

 

23 Nov 2006 (Updated 27 Nov 2006)

calculates 90, 95 or 99% confidence interval.

| Watch this File

File Information
Description

interval=ci(x,confidence,dim);

90%, 95% or 99% confidence interval of a vector or 2d matrix
Optional dim refers to dimension and must be 1 or 2 (default is 1).
Optional confidence must either 90, 95 or 99 (default is 95).

Calculated as the standard error multiplied by the critical two-tailed value of t for a=0.10, 0.05 or 0.01 (see Statistical methods in psychology, D.C. Howell). This formula applies when the Population standard deviation is unknown. As n gets larger then the t distribution approaches the normal distribution. So, if n>120, uses z instead of t (e.g. 1.96 standard errors, for 95% interval)

Raymond Reynolds 23/11/06

Acknowledgements
This submission has inspired the following:
Reverberation Time Calculator
MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
statistics Raymond Reynolds 22 Oct 2008 08:49:57
probability Raymond Reynolds 22 Oct 2008 08:49:57
confidence Raymond Reynolds 22 Oct 2008 08:49:57
interval Raymond Reynolds 22 Oct 2008 08:49:57
90 Raymond Reynolds 22 Oct 2008 08:49:57
2d matrix Raymond Reynolds 22 Oct 2008 08:49:57
99 Raymond Reynolds 22 Oct 2008 08:49:57
vector Raymond Reynolds 22 Oct 2008 08:49:57
95 Raymond Reynolds 22 Oct 2008 08:49:57
interval Antonio Candel 04 Jan 2010 03:09:26
interval Divya Kanagavel 03 Feb 2012 01:53:35

Contact us at files@mathworks.com