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
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
shopping mall management system 1.0
WinPoker 2.02
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
sipmethod 1.0
STDF file reader 1.0
Maios 1.0
School Management Script 1.0.4
jArt Java Operating System 1.0
Planyo online reservation system module 6.x-1.8
Bank Transfer 6.x-1.x-dev
Azizi search engine script PHP 4.1.10
SuperGeek Free Document OCR 2.5.6
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Two-sample Two-diensional Kolmogorov-Smirnov Test 1.0
File ID: 83169






Two-sample Two-diensional Kolmogorov-Smirnov Test 1.0
Download Two-sample Two-diensional Kolmogorov-Smirnov Test 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 31
Submit Rating:
Two-sample Two-diensional Kolmogorov-Smirnov Test 1.0 Description
Description: kstest_2s_2d.m: function to do two-sample two-dimensional Kolmogorov-Smirnov test

It's similar to the MATLAB built-in funtion "kstest2" from Statistics Toolbox except that "kstest_2s_2d" deals with two-dimensional data.

[H, pValue, KSstatistic] = kstest_2s_2d(x1, x2, alpha, tail);

The function takes in 2-column inputs "x1" and "x2", where each column represents one dimension. The other options and the outputs are of the same meaning and format as "kstest2".

Algorithm summary (Peak, 1983): consider the four quadrants (x<X,y<Y), (x<X,y>Y), (x>X,y<Y) and (x>X,y>Y) in turn, and adopt the largest of the four differences between the two empirical cumulative distributions as the final KS statistic.

test_kstest_2s_2d.m: test-bench of "kstest_2s_2d"

Please feel free to contact me if you find any bugs in the code. Hope I understood and implemented the ideas in the references correctly...

Author: Qiuyan Peng @ ECE/HKUST
Date: 11th May, 2011

References:
J. A. Peacock, "Two-dimensional goodness-of-fit testing in astronomy", Monthly Notices Royal Astronomy Society 202 (1983) 615-627.

License: Shareware

Related: Statistic, final, Distributions, test kstest, testbench, understood, Contact, cumulative, empirical

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

File Size: 10.0 KB

Downloads: 31



More Similar Code

This m-file is a two-sample Student's t-test when one of the samples has only one observation.

Inputs:
x - vector data of one of the samples
y - one data of the other sample
alpha - significance value (=0.05 by default)

Output:
Complete table of the Student's t-test



Single Sample Kupier Goodness-Of-Fit Hypothesis Test. Similar to Kolmogorov-Smirnov (K-S) test, but (K-S) test tend to be most sensitive around median value of the distribution and less sensitive at the distribution tails.

Doesn't...



Hotelling's T-Squared multivariate test for one sample, two independent samples [homoskedasticity or heteroskedasticity (to test)] and two dependent samples.



The Anderson-Darling test (Anderson and Darling, 1952) is used to test if a sample of data comes from a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails than the K-S test. The K-S...



The Anderson-Darling test (Anderson and Darling, 1952) is used to test if a sample of data comes from a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails than the K-S test. The K-S...



The Anderson-Darling test (Anderson and Darling, 1952) is used to test if a sample of data comes from a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails than the K-S test. The K-S...



The Anderson-Darling test (Anderson and Darling, 1952) is used to test if a sample of data comes from a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails than the K-S test. The K-S...



This file performs the Stuart-Maxwell's test for all the marginal homogeneity (i.e. across all the categories simultaneously) for each of the two sample times (nominal samples). Obviously, it need a square KxK table.

It is a...



This release contains SoundSim's 2.5D Acoustic Simulation Core and two sample MATLAB scripts to simulate a 5MHz tone burst scattering from an air bubble and an oil droplet suspended in water. See the included PDF for more information about the...



Simple test runner for QTestLib tests. Allows to run multiple different tests, provides interface similar to some XUnit applications, can be used with TDD (sort of). Consists of two different applications: GUI and console test runners.

User Review for Two-sample Two-diensional Kolmogorov-Smirnov Test
- required fields
     

Please enter text on the image