You are on page 1of 10

I.Determinare histograma pacienti (18.10.

2017)

Pasi histograma - gen,varsta

https://archive.ics.uci.edu/ml/datasets/heart+disease
- intram pe data folder- save as- folder Farmacie an 1….
- deschidere cu notepad++
- ctrl+F – inlocuire enter=\n ;x= name
-salvare fisier csv

Count of age gender


age 0 (blank) Grand Total
(blank)
28-32 10 10
33-37 24 24
38-42 43 43
43-47 50 50
48-52 72 72
53-57 67 67
58-62 23 23
63-66 5 5

Grand Total 294 294

Chart Title
200

150

100

50

0
(blank) 28-32 33-37 38-42 43-47 48-52

Series1 Series2 Series3


(25.10.2017)

II.Pasi histograma- age

- https://archive.ics.uci.edu/ml/datasets/heart+disease
- search age – alegem pagina google –data folder- adult data
- save as- nume,prenume….an. CSV.
- Deschidem in excel 2013- selectam colaona A-Data- Text to collums (age)
- Delimited-tab/comma-next-finish
- Deschidem + o noua pagina excel-copy-paste -selectam coloana-insert pivot
table
- Click dreapta pe colaoana- group by 5
- Bifam age-tragem in values- selectam colaoana-insert chart- grafic 3D
- Save as…

Row Count
Labels of 30
(blank)
7-11 1
17-21 3
22-26 12
27-31 20
32-36 24
37-41 25
42-46 17
47-51 21
52-56 12
57-61 9
62-66 5
67-71 3
72-76 1
77-81 1
Grand
Total 154
Total

30
20
10 Total
0 Total

67-71
(blank)
7-11
17-21
22-26
27-31
32-36
37-41
42-46
47-51
52-56
57-61
62-66

72-76
77-81
( 01.11.2017 )

III. DETERMINARE INTERVAL VARSTA PACIENTI


-in excel copy-paste coloana A
- click dreapta –select-dublu click dreapta = MIN C
= MAX D
- min click dreapta –select minim-enter.
- max- click – select max+ 5-enter
- select E ambele min+ max - + tragem in jos 3 randuri
- select tot + F5- cancel
Data- analysis - input-coloana A
- bin range - 17
-
-
- 47
- insert chart – graphic
- save excel

MIN 17 17 Bin Frequency


MAX 90 22 17 395
27 22 3500
32 27 4136
37 32 4257
42 37 4393
47 42 4025
47 3673
More 8182

Frequency

10000

5000

0 Frequency
17 22 27 32 37 42 47 More

(08.11.2017)

IV. Descriptive Statistics


Pasi: - data analysis- descriptive statistics-ok

- Input range –select coloana A


- Output –select colaoana B
- Summary statistics – ok
- Click H4- scriem media –click langa media-= AVERAGE-dublu click pe el-select A-
enter (acelasi nr. Media = median)
- La fel – median (median)
-mode (mod)

30 Column1
50
78 Mean 41.2
Standard MEDIA 41.2
31 Error 1.009316
MEDIAN 39
34 Median 39
MOD 30
34 Mode 30
Standard
51 Deviation 12.56588
Sample
23 Variance 157.9013
39 Kurtosis -0.10627
30 Skewness 0.365294
39 Range 71
32 Minimum 7
41 Maximum 78
30 Sum 6386
47 Count 155

MEDIA ARITMETICA=AVERAGE
MEDIANA=MEDIAN
MODULUL=MODE
MEDIA GEOMETRICA=GEOMEAN
MEDIA ARMONICA=HARMEAN
VALOAREA CENTRALA=maxim-minim

DISPERSIA 15.11.2017

AMPLITUDINEA

- in coloana G A=xmax-xmin- enter

7 min amplitudinea 71
78 max

Pe coloana K1 = A1- J1- ENTER –tragem in jos de steluta pana la ultimul pacient
(x- 𝑥̅ )
Pe coloana L- K1* k1 = enter- tragem in jos pana la ultimul
(x-𝑥̅ )2
Selectam o coloana libera =SUM , dublu click pe coloana L- enter
∑ (x-𝑥̅ )2

= COUNT – dublu click –select coloana A

- Data analysis- statistica descriptive-input select A


- output alta coloana spre mijloc
-summary – ok
VARIANȚA
S2= ∑ (x-𝑥̅ )2= SS
n n

= click suma/ click count – enter


DEVIATIA STANDARD
= SQRT click pe variant- enter

S2= ∑ (x-𝑥̅ )2= √𝑆𝑆


n n

50 24190.55 41.27273 8.727273 76.16529 157.0815 12.53321


78 154 41.27273 36.72727 1348.893
31 7 min amplitudinea 71 41.27273 -10.2727 105.5289
34 78 41.27273 -7.27273 52.89256
34 41.27273 -7.27273 52.89256
51 41.27273 9.727273 94.61983
23 41.27273 -18.2727 333.8926
39 41.27273 -2.27273 5.165289
30 41.27273 -11.2727 127.0744
39 41.27273 -2.27273 5.165289
32 41.27273 -9.27273 85.98347
41 41.27273 -0.27273 0.07438
30 41.27273 -11.2727 127.0744
47 Column1 41.27273 5.727273 32.80165
38 41.27273 -3.27273 10.71074
66 Mean 41.27273 41.27273 24.72727 611.438
40 Standard Error
1.01325 41.27273 -1.27273 1.619835
38 Median 39 41.27273 -3.27273 10.71074
38 Mode 34 41.27273 -3.27273 10.71074
22 Standard Deviation
12.57411 41.27273 -19.2727 371.438
27 Sample Variance
158.1081 41.27273 -14.2727 203.7107
31 Kurtosis -0.10728 41.27273 -10.2727 105.5289
42 Skewness 0.354091 41.27273 0.727273 0.528926
25 Range 71 41.27273 -16.2727 264.8017
27 Minimum 7 41.27273 -14.2727 203.7107
49 Maximum 78 41.27273 7.727273 59.71074
58 Sum 6356 41.27273 16.72727 279.8017
61 Count 154 41.27273 19.72727 389.1653
51 41.27273 9.727273 94.61983

22.11.2017 - DIAGNOSTIC ARITMIA


https://archive.ics.uci.edu/ml/machine-learning-databases/arrhythmia/arrhythmia.data
- FACEM HISTOGRAMA PT SETUL DE DATE

Count of
Row Labels age
(blank)
0-9 11
10-19 20
20-29 30
30-39 90
40-49 107
50-59 91
60-69 66
70-79 32
80-89 4
Grand Total 451

Total
120
100
80
60
Total
40
20
0
Column1
56 46.40798 -9.59202 92.0068 121472.9 451 269.3413 16.41162 35.36379 0.772793
54 Mean 46.40798 46.40798 -7.59202 57.63873
55 Standard Error 0.773651 46.40798 -8.59202 73.82277
75 Median 47 46.40798 -28.592 817.5035
13 Mode 46 46.40798 33.40798 1116.093
40 Standard Deviation 16.42985 46.40798 6.407982 41.06224
49 Sample Variance 269.9398 46.40798 -2.59202 6.718556
44 Kurtosis -0.19682 46.40798 2.407982 5.798379
50 Skewness -0.28955 46.40798 -3.59202 12.90259
62 Range 83 46.40798 -15.592 243.111
45 Minimum 0 46.40798 1.407982 1.982414
54 Maximum 83 46.40798 -7.59202 57.63873
30 Sum 20930 46.40798 16.40798 269.2219
44 Count 451 46.40798 2.407982 5.798379
47 46.40798 -0.59202 0.350485
47 46.40798 -0.59202 0.350485
46 46.40798 0.407982 0.16645
73 46.40798 -26.592 707.1354
57 46.40798 -10.592 112.1908
28 46.40798 18.40798 338.8538
45 46.40798 1.407982 1.982414
36 46.40798 10.40798 108.3261
57 46.40798 -10.592 112.1908
40 46.40798 6.407982 41.06224
44 46.40798 2.407982 5.798379
34 46.40798 12.40798 153.958
31 46.40798 15.40798 237.4059
56 46.40798 -9.59202 92.0068
51 46.40798 -4.59202 21.08663

COEFICIENTUL DE VARIATIE
𝑆
CV(%) = × 100 (deviatia standard/ average x 100)
𝑥̅

EROREA STANDARD
𝑠
ES= → (deviatia standard / SQRT click count)- enter
√𝑛

Corelatii 06.12.2017

[ 0 ; 0.2 ] – corelatie foarte slaba


[0.2 ; 0.4] – corelatie slaba
[0.4 ; 0.6] – corelatie rezonabila
[0.6; 0.8] – corelatie inalta
[0.8 ; 1] – corelatie foarte inalta

http://archive.ics.uci.edu/ml/datasets/vertebral+column
Data folder
- Save as – deschidere arhiva
Extract to….
Column 2 c. dat - Deschidere cu excel
Clic col A ctrl C - copy – paste in pagina noua
Select A – data analysis- input / output
Select B – data analysis- input/output

A B D E G H R S T U V

63.03 39.61 Column1 Column1 60.49648 2.533516 51.93071 -12.3207 -31.2147


39.06 25.02 60.49648 -21.4365 51.93071 -26.9107 576.871
68.83 50.09 Mean 60.49648 Mean 51.93071 60.49648 8.333516 51.93071 -1.84071 -15.3396
69.3 44.31 Standard Error
0.978945 Standard Error
1.053783 60.49648 8.803516 51.93071 -7.62071 -67.089
49.71 28.32 Median 58.69 Median 49.565 Column 1 Column 2 60.49648 -10.7865 51.93071 -23.6107 254.6765
40.25 25.12 Mode 63.03 Mode 47 Column 1 1 60.49648 -20.2465 51.93071 -26.8107 542.8226
53.43 37.17 Standard Deviation
17.23611 Standard Deviation
18.55377 Column 2 0.717286 1 60.49648 -7.06648 51.93071 -14.7607 104.3063
45.37 29.04 Sample Variance
297.0835 Sample Variance
344.2422 60.49648 -15.1265 51.93071 -22.8907 346.256
43.79 42.69 Kurtosis 0.223538 Kurtosis 0.161667 60.49648 -16.7065 51.93071 -9.24071 154.3798
36.69 41.95 Skewness 0.520385 Skewness 0.599374 Chart Title y = 0.7721x + 5.2201
60.49648 -23.8065 51.93071 -9.98071 237.6056
R² = 0.5145
49.71 31.33 Range 103.68 Range 111.74 140 60.49648 -10.7865 51.93071 -20.6007 222.2092
31.23 15.5 Minimum 26.15 Minimum 14 60.49648 -29.2665 51.93071 -36.4307 1066.199
120
48.92 40.26 Maximum 129.83 Maximum 125.74 60.49648 -11.5765 51.93071 -11.6707 135.1058
53.57 33.1 Sum 18753.91 Sum 16098.52 100 60.49648 -6.92648 51.93071 -18.8307 130.4306
57.3 47 Count 310 Count 310 60.49648 -3.19648 51.93071 -4.93071 15.76093
80
44.32 36.1 60.49648 -16.1765 51.93071 -15.8307 256.0852
63.83 54.55 60 60.49648 3.333516 51.93071 2.61929 8.731447
31.28 32.56 60.49648 -29.2165 51.93071 -19.3707 565.944
40
38.7 31 70879.71 60.49648 -21.7965 51.93071 -20.9307 456.2159
41.73 30.12 0.714972 20 60.49648 -18.7665 51.93071 -21.8107 409.3103
43.92 37.83 60.49648 -16.5765 51.93071 -14.1007 233.7402
0
54.92 42.2 0 20 40 60 80 100 120 140 60.49648 -5.57648 51.93071 -9.73071 54.26315
63.07 54 60.49648 2.573516 51.93071 2.06929 5.325352
45.54 30.3 60.49648 -14.9565 51.93071 -21.6307 323.5194
36.13 29 60.49648 -24.3665 51.93071 -22.9307 558.7408
54.12 35.33 60.49648 -6.37648 51.93071 -16.6007 105.8542
26.15 14 60.49648 -34.3465 51.93071 -37.9307 1302.787

Select AB – insert bulinute – click dreapta – bifam – display (ultimele


doua)- close dreapta sus
- Mutam formula sus pe alb
R = average –dublu click A – enter –tragem de cruciulita pana la 310
S = A1- R dublu click
T = average dublu click B – enter –tragem jos
U = B1-T1 (primele casute doar)- enter, trgem in jos
V = S1-U1- enter-trage jos

= SUM – V (toata coloana)- enter


= cel de sus / (count x valoarea de la standard din colona 1 x valoare
standard coloana2 - enter