haniibrahim/scilab-samplestat
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
SampleSTAT - Toolbox for statistics of normal distributed univariate samples
============================================================================
This toolbox provides elementary tests for the evaluation of univariate measured
data which were generated by natural scientists and engineers in the first place.
These data have to be normal distributed. SampleSTAT is focused on small
sample sizes but offers routines for bigger distributions (>30 values), too.
It offers functions for calculates the range of dispersion of the values and the
mean regarding a given statistical confidence level. Furthermore it provides tests
on outliers and a method to test the data for normality.
-------------------------------------------------------------------------------
COMPATIBILITY
Can be build, installed and run with Scilab 5.5.x, 6.0.x and 6.1.x
BUILD:
* Decompress the source distribution file: samplestat-x.x.x_5.5_6.0_src.zip
* Start Scilab and move to the decompressed folder where "builder.sce" resides
* Execute builder.sce: exec("builder.sce",-1)
* For temporary use, execute loader.sce. (Does not resist "clear" command)
* For permanent use, zip the whole folder "samplestat" and run atomsInstall
INSTALLATION:
--> atomsInstall("/path/to/samplestat_x.x.x_x.x_bin.zip")
or with internet connection
--> atomsInstall("ST_2019")
DEPENDENCIES:
apifun >= 0.4.0
helptbx (just for the build)
-------------------------------------------------------------------------------
FUNCTIONS - Measures of Variation:
Gives you more information of your data as the standard deviation (S.D.) can
do with just 68% confidence. These tests provide confidence level of 95%, 99%
and 99.9% and calculate the range of dispersion not only for values but for
the mean, too. It extends the internal functions: mean, stdev, median.
* ST_strayarea:
Calculates the stray area (range of dispersion of the values)
* ST_trustarea:
Calculates the trust area (range of dispersion of the mean or S.D. of the mean)
* ST_studentfactor:
Determines the student factor for an amount of numbers, service
function for ST_strayarea and ST_trustarea
* samplestat.dem:
Demo for mean evaluation via "ST_strayarea()" and "ST_trustarea()"
FUNCTIONS - Tests on Outliers
It is not always easy to distinguish whether a value is a valid part of a
sample distribution or not. These outlier tests provides quick hints.
* ST_deandixon:
Dean-Dixon outlier test for small sample sizes (<30)
* ST_pearsonhartley:
Pearson-Hartley outlier test for bigger sample sizes (>30)
* ST_nalimov:
Nalimov test for small and larger sample sizes
* ST_outlier:
Basic and often used tests for medium to large sample sizes, based
on S.D. (standard deviation) or IQR (inter-quartile range)
FUNCTIONS - Distribution Tests
All routines above rely on a normal distributed data. To test for normality
a powerful test is provided.
* ST_shapirowilk:
Shapiro-Wilk test for normality is powerful even on small
sample sizes.
* ST_ivplot:
Very basic individual value plot (EXPERIMENTAL)
---------------------------------------------------------------------
CHANGELOG:
2.0.2 - Help-bug fixed
2.0.1 - Bug and compatibility fixes related to Scilab 6
2.0.0 - Outlier tests (Dean-Dixon, Pearson-Hartley, Nalimov) and
a basic test added
- Distribution tests (Shapiro-Wilk) added
- Individual Value Plot added (EXPERIMENTAL)
LITERATURE:
* R. Kaiser, G. Gottschalk; "Elementare Tests zur
Beurteilung von Meßdaten", BI Hochschultaschenbücher, Bd. 774, Mannheim 1972.
* Lohringer, H., "Grundlagen der Statistik", Oct, 10th, 2012,
http://www.statistics4u.info/
* Shapiro, Wilk: "An Analysis of Variance Test for Normality", Biometrika,
Vol. 52, No. 3/4. (Dec., 1965), pp. 591-611.