SOCR EduMaterials AnalysisActivities KolmogorovSmirnoff

From Socr

Revision as of 19:57, 20 October 2008 by IvoDinov (Talk | contribs)
Jump to: navigation, search

Contents

SOCR Analysis Activities - SOCR Analyses Example on Kolmogorov-Smirnoff Test

Overview of the Kolmogorov-Smirnoff Test

The Kolmogorov-Smirnoff test (KS-test) compares how distinct two datasets are. The KS-test has makes no assumption about the distribution of data, and therefore is a non-parametric, or distribution-free, test. Other parametric tests, e.g., Student's t-test, Normal Z-test, etc., may be more sensitive if the data meet the requirements of the test. More information about the Kolmogorov-Smirnoff Test is available here.

Examples

Oats Example

This example is based on a dataset from the R package under the library MASS. The dataset's name is oats. The quantitative variable Y (yields of oats field) is grouped by three varieties (the categorical variable here), Victory, Golden.rain and Marvelous.

The treatment structure in this experiment was a 3 × 4 full factorial, with 3 oat varieties and 4 nitrogen concentrations. The agricultural plots for this experiment were grouped into 6 blocks, each with 3 plots. Each plot was subdivided into 4 subplots. The varieties were randomly assigned to the plots within each block. The nitrogen concentrations were randomly assigned to the subplots within each plot. Physically, there are three levels of grouping of the experimental units: block, plot, and subplot. Because the treatments are randomly assigned at each level of grouping, we may be tempted to associate random effects with each level.
  • As you start the SOCR Analyses Applet, click on Kolmogorov-Smirnoff Test from the combo box in the left panel. Next, click on Example 4 and then the Data tab on the top of the right panel. You will see something like below. The data have been divided into 6 columns by groups.
  • Click on the Mapping tab to map the groups you would like to include in the analysis. Select two groups.
  • Now you will click on Compute to let the program produce the results. Click on Result to view the results.
  • Click on Graph to view plots.


Note: if you happen to click on the "Clear" button in the middle of the procedure, all the data will be cleared out. Simply start over from step 1.

Example 2: Control-Treatment test

This examples also illustrates a control vs. treatment examples that compares the (independent) T-test and the corresponding analysis using the Kolmogorov-Smirnoff Test




Translate this page:

(default)

Deutsch

Español

Français

Italiano

Português

日本語

България

الامارات العربية المتحدة

Suomi

इस भाषा में

Norge

한국어

中文

繁体中文

Русский

Nederlands

Ελληνικά

Hrvatska

Česká republika

Danmark

Polska

România

Sverige

Personal tools