Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Laboratory work 4.6 eng.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
1.06 Mб
Скачать

Laboratory work №4.6

Automation of statistical computing

The purpose of the work: formation of practical skills in determining numerical characteristics of one-dimensional samples.

In most statistical calculations we work with samples: either with random data, obtained in the course of any experiment or the results of random number generation. Consider the possibilities of MathCad calculation of numerical characteristics of random data. Mathcad has a number of built-in functions for calculations of the numerical statistical characteristics of random data series.

Primary data processing usually consists of finding the maximum and minimum values ​​of the sample, as well as in the construction of a series of variations - array of sample values, ​​recorded in ascending order. The minimum and maximum elements of a sample are related to indicators of the position. For these calculations are the corresponding functions max (x), min (x) - the maximum and minimum value of a sample. To built a variation series, it is used the function sort (x).

Each random variable is completely determined by its distribution function. During the solution of practical tasks, sometimes it is necessary to know several numerical parameters that allow you to present the main features of the random variable in a condensed form. These variables include primarily the mathematical expectation and variance.

The average value of the sample is calculated by the formula

n

x i

m* i1

n

To calculate in Mathcad sample mean it should be used the function mean (x).

The sample median splits the sample in half: left and right of it appears the same number of elements in the sample. If the number of elements in the sample is even, n = 2k, then the sample median is determined by the formula: (xk+x k+1)/2, xk and x k+1k-і і (k+1)-е are sample values ​​of the series variations. In an odd sample size (n = 2k + 1), as the median values ​​it is taken value x k+1 .

In Mathcad to calculate the sample median of the sample, stored in the matrix x, assigned the function median (x) - the sample median (median) – the argument value that divides the histogram of probability density into two equal parts.

The indicators of dispersion include the dispersion sample (sample variance), standard deviation, the scope of the sampling, the coefficient of kurtosis (kurtosis sampling).

The variance of a random variable characterizes the degree of decoding values of a random variable around its mathematical mean.  The sample variance is called the value:

1

n

D*

( xi m*)2

n

i1

Corrected sample variance:

~

1

n

D 

( xi m*)2

n

1 i1

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]