Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
dbExpress driver for SQLite 4.2
dbForge SQL Complete 6.5
Advanced Amazon Clone App 2.0
Appjetty Delivery Date Manager 1.0.0
The C# Barcode Library 2020.5.0
Chowtro - Online Restaurant Food Ordering Software 1.0
Alvas.Audio.Core 2019.0
Sainsburys Script 1.3.2
Top Code
dbForge SQL Complete 4.8
dbExpress Driver for SQLite 3.9
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
SentiVeillance SDK Trial 7.3.2020.03.02
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Non-parametric error/confidence intervals 1.0
File ID: 82785






Non-parametric error/confidence intervals 1.0
Download Non-parametric error/confidence intervals 1.0http://www.mathworks.com/Report Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 2
Submit Rating:
Non-parametric error/confidence intervals 1.0 Description
Description: The entire function is as follows:

function Err = DataSeriesNonParamErr(Dat,Type,alpha)
%function Err = DataSeriesNonParamErr(Dat,Type,'alpha)
%
% Calculate non-parametric error bars at every point in the input array
% Dat, based on Type. If Type is 0, the program will calculate the standard
% error of the mean. If Type is 1 it will calculate (conservative)
% confidence intervals based on the Vysochanskijd-deOCtPetunin inequality using
% the standard error of the mean, or if Type is 2 it will use the Chebyshev
% inequality to produce even more conservative confidnece intervals.
%
% Inputs: Dat- Input data series (nSamp x nTimePoints). An error
% estimate is given for each time point. NaNs in the input.
% Type- What type of an error estimate to use. Options are 0
% (default) for the standard error of the mean, 1 for
% Vysochanskijd-deOCtPetunin confidence intervals, or 2 for
% Chebyshev confidence intervals.
% alpha- The alpha level used for the confidence intervals. This
% value is ignored if plotting the standard error of the
% mean.
%
% Outputs: CHi- A 2 x nTimePoints array of error estimates, where the
% first row stores the High error estimate, and the
% second row stored the Low error estimate.
%
% According to: http://en.wikipedia.org/wiki/Vysochanski%C3%AF-Petunin_inequality
% the Vysochanskijd-deOCtPetunin inequality is like the Chebyshev inequality, but
% can be slightly less conservative because of an assumption that the
% underlying distribution is unimodal.
%
% 100322 by Matthew Nelson
% nelsonmj@caltech.edu

if nargin<3 || isempty(alpha); alpha = 0.05; end
if nargin<2 || isempty(Type); Type = 0; end

switch Type
case 0
lam=1;
case 1 %Vysochanskijd-deOCtPetunin
lam=sqrt(4/(9*alpha));
case 2 %Chebyshev
lam=sqrt(1/alpha);
end

sem= nanstd(Dat,1) ./ sqrt( sum(~isnan(Dat),1) ) * lam;
tmpmn=nanmean(Dat,1);

Err=[tmpmn + sem; tmpmn-sem];

License: Shareware

Related: assumption, slightly, underlying, Distribution, unimodal, stored, estimates

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 2



More Similar Code

Plots shaded confidence intervals. Uses the matlab fill function, rather than area. This allows for multiple confidence plots to be overlayed for statistical comparison.



This function allows you to plot one or more lines with their error range/confidence intervals/whatever bounds you require. It provides an advantage over several other similar entries on the FEX in that it:

1) allows x-y input similar...



The Mann-Kendall Tau-b non-parametric function computes a coefficient representing strength and direction of a trend for equally spaced data. While you do not need the Statistics Toolbox to compute Taub, you do need it to test for significance....



Computes intraclass coefficients after the model ICC(2,1) given by Shrout & Fleiss (1979). Also computes confidence intervals and performs test for significant difference to a given value.



This is a demo program of the paper J. Tian, L. Chen and L. Ma, "A wavelet-domain non-parametric statistical approach for image denoising," IEICE Electronics Express, Vol. 7, Sep. 2010, pp. 1409-1415.



In statistics, McNemar's test is a non-parametric method used on nominal
data to determine whether the row and column marginal frequencies are equal. It is named after Q. McNemar, who introduced it in 1947. It is applied to 2x2 contingency...



This file execute the non parametric Wilcoxon test to evaluate the difference between paired (dependent) samples. If the number of difference is less than 15, the algorithm calculate the exact ranks distribution; else it uses a normal distribution...



This file executes the non parametric Mann-Whitney-Wilcoxon test to evaluate the difference between unpaired samples. If the number of combinations is less than 20000, the algorithm calculate the exact ranks distribution; else it uses a normal...



H = COCHRANQTEST(X) performs the non-parametric Cochran's Q-test on the hypothesis that the K columns of N-by-K matrix have the same number of successes and failures. H==0 indicates that the null hypothesis cannot be rejected at the 5 significance...



This function can calculate any of the 6 different ICCs defined by McGraw as well as their confidence intervals. In addition a hypothesis test is performed with the null hypothesis that ICC = r0. This function calls anova_rm (provided inside the...

User Review for Non-parametric error/confidence intervals
- required fields
     

Please enter text on the image