- •Laboratory work №4.6
- •Automation of statistical computing
- •In Mathcad to determine the sample variance stored in the matrix X, intended the function var (X) - sample variance, and the value of d can be calculated by the formula:
- •Variance and standard deviation (two methods of calculation).
- •Picture 2.3- Solutions Example 2.2
- •2. The duration of the operation of electron tubes of the same type (the times)
- •3. Measuring the capacity of 80 field-effect transistors
- •4. Hour of recovering diodes from the same batch (nanoseconds)
- •5. The hours of reaction (in seconds):
- •6. Given a sample mass of steel billets (g).
- •7. Changes of the limits of the strength on break for the steel sheet
- •8. The depth of the diffusion layer, defined by the sample from the party of the chips, has the following values (μm)
- •9. At a given current of 10 mA was measured direct voltage drop on the diodes Obtained the following values (volts)
- •10. Measuring the mass of a substance as the result of a chemical reaction (g)
- •11. The productiveness of the Department within 20 working days was characterized by the following numbers (in conventional units)
- •12. For 24 details was obtained the following deflection of control size from the nominal value (μm)
- •13. Measured resistivity in the sample batch of chips after doping the polysilicon
- •14. Data on the average number of family members
- •15. Given the following data on the yields of wheat
- •16. Data about tariff rank of 50 workers of one of the department of the plant
- •17. The output of services by category (2010/2009%)
- •18. Interest rates on loans (collateral loan, %)
- •19. The average population growth (cm)
- •20. The importance of the results on a 10-point greatest scale
- •21. The structure of gdp(gross domestic product) in 2000 and 2010 (industry - construction)
- •22. The fact of the execution of the plan by the company by product types (th.Units)
- •23. Data about the value of fixed assets of 50 enterprises
- •24. The dynamics of power consumption 24 1990 2010 (gw.H)
- •25 Coefficient of work motivation
Picture 2.3- Solutions Example 2.2
The most obvious form of graphical representation of the samples is the histogram. The histogram is a graph, that approximates random data density distribution. During the building of histogram the range of values of random variables [a,b] is divided into several segments, and then is the calculate of the percentage of entering data in each segment. In MathCad to build the histogram are several built-in functions.
• histogram (seg, x) - histogrammy matrix consisting of column segments partitioning and column frequencies entering these intervals of histogram.
• seg - number of segments constructing histogram
• x - vector of random data.
Using this function it can built a frequency polygon - a broken line connecting the points with abscissa equal the middle of intervals group, and the ordinate equal to the corresponding frequencies.
Examples of using the histogram shown in picture.2.4
c rnorm(1000 0 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
1 |
|
|
f histogram(10 c) |
|
|
0 |
0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
1 |
1 |
12 |
|
|
|
|
|
|
|
|
|
|
|
2 |
2 |
48 |
|
|
|
|
|
|
|
|
|
|
|
3 |
3 |
166 |
|
|
|
f |
|
|
|
|
|
|
4 |
4 |
300 |
|
|
|
|
|
|
|
|
|
|
|
|
5 |
5 |
287 |
|
|
|
|
|
|
|
|
|
|
|
6 |
6 |
144 |
|
|
|
|
|
|
|
|
|
|
|
7 |
7 |
35 |
|
|
|
|
|
|
|
|
|
|
|
8 |
8 |
7 |
|
|
|
|
|
|
|
|
|
|
|
9 |
9 |
0 |
|
|
|
|
|
|
|
|
-
320
280
240
f
1
200
160
120
80
40
40
0
0
2
4
6
8
f
0
Picture 2.4 Graph and matrix of histogram
To create a schedule in the form histogram you need:
• build a two-dimensional graph on the axes, set variables on the axes and limit x-axis;
• In the dialog window Formatting Currently Selected Graph selected graphics accessing the Traces;
• Set to the given histograms in field Type list item bar or solidbar;
• Click the OK button.
Configure Windows histohram images and graphs are presented in picture.2.5
Picture 2.5 - Windows setting histograms
Variants for individual tasks
To build a variational series. To calculate the sample characteristics:mathematical expectation, sampling variance, corrected sample variance, standard deviation, the scope of the sample, sample kurtosis. To draw a graphic representation of the sample (empirical function, the cumulative curve, histogram).
1 Hour decision control task (min.):
38 |
|
60 |
|
41 |
|
51 |
|
33 |
|
42 |
|
45 |
|
21 |
|
53 |
60 |
|
68 |
52 |
47 |
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
14 |
|
57 |
|
54 |
|
59 |
|
11 |
|
47 |
|
28 |
|
48 |
58 |
|
32 |
42 |
58 |
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
