You are on page 1of 17

14

I
Computer Application in Statistics by Excel




SAS
(Statistical Analysis System), MINITAB, SPSS, Microsoft
Excel (spreadsheets)

Excel Analysis Tool Pak Add-In
Excel
SAS Notepad (raw data)
Excel
2003 Excel


1. Analysis Tool Pak Add-In Microsoft Excel
2. Excel (regression)


Data Analysis

Descriptive Statistics

Excel

ANOVA Excel

P-value > 0.05

(non significant difference; NS)

P-value < 0.05 0.01

(significant difference; *,**)

Excel
start Programs
Excel

2 icon

microsoft excel

Add-Ins
1. Tools () Add-Ins
2. Analysis Tool Pak
3. tools Data analysis


CRD
5 1000
10 100

12
7

1
2
3
4
5
6
7
8
9
10

50
55
58
60
54
52
48
62
60
53

2
55
52
51
53
56
58
59
66
64
48

3
49
48
55
50
51
53
62
63
64
59

4
58
66
48
50
53
61
62
49
48
63

5
65
64
63
55
58
49
49
53
54
56

1.
1) Microsoft Excel Tools Data Analysis
Descriptive Statistics OK

2) OK Descriptive Statistics

Input Range
Grouped By
Labels in first row
Output option

= Excel
= Excel (columns)
(rows)
= ; 1

= Excel
3
Output Range

New Worksheet Ply (worksheet)


New Workbook
(workbook)

Summary Statistics

Kth Largest
Kth Smallest

= Excel

Mean

Standard Error

Median
2
Mode

Standard Deviation

Sample Variance

Kurtosis

Skewness

Range

Minimum

Maximum

Sum

Count

= Maximum
= Mainimum

3) Descriptive Statistics OK

2. (ANOVA)
1) Excel Tools Data Analysis
Data Analysis
CRD Anova: Single Factor, RCBD Anova: Two-Factor
Without Replication OK

2)
CRD Anova: Single Factor

3) Anova: Single Factor

Input Range
Grouped By

= Excel
= Excel (columns)
(rows)
Labels in first row = ; 1

Output option
= Excel
3
Output Range

New Worksheet Ply (worksheet)


New Workbook
(workbook)

4) Excel
Anova: Single Factor
SUMMARY
Groups
1
2
3
4
5

Count
10
10
10
10
10

Sum
552
562
554
558
566

Average
55.20
56.20
55.40
55.80
56.60

Variance
21.73
32.40
37.60
48.40
34.04

ANOVA
Source of Variation
Between Groups
Within Groups

SS
13.12
1567.60

df
4.00
45.00

MS
3.28
34.84

F
0.09

Total

1580.72

49.00

P-value
0.98

F crit
2.58

5) (ANOVA)
SOV
Treatment
Error
Total

Df
4
45
49

SS
13.12
1567.60
1580.72

MS
3.28
34.84

P-value
0.98NS

: P-value Ftrt F
P-value < 0.01
**
0.01 < P-value < 0.05
*
P-value > 0.05
ns
6)
P-value 0.98 0.05 5
(non significant difference; ns) 5

3. (Regression Analysis)
1) ( X )
( Y )
12

Xi
110
111
110
111
112
110
112
115
114
120
122
120

Yi
210
235
220
226
240
230
235
258
245
270
285
280

2) Excel Tools Data Analysis


Data Analysis Analysis Tools Regression OK
Regression Regression

Input Y Range
Input X Range
Label
Constant is Zero
Confidence Level
Output option

= (dependent variable)
= (independent variable)
= 1
= excel y (intercept)
=
= Excel
3

Output Range

New Worksheet Ply (worksheet)


New Workbook
(workbook)
Residuals
= Excel error
residual 4
Residuals
(predicted)

(residuals)
Standardized Residuals (predicted)
(residuals)
Residuals Plots

Line Fit Plots

Normal Probability Plots =


Excel
3) OK output


Regression Statistics
Multiple R
= X Y
R square
=
Adjusted R square =

Standard error
=
Observations
=
ANOVA
Coefficients
= y = a+bX
Standard error
=
t Stat
= t
P-value
=
P-value < 0.01
coefficients

0.02 < P-value < 0.05


coefficients

P-value > 0.05


coefficients

Lower 95 %
= 95 %
Upper 95 %
= 95 %
Lower 99 %
= 99 %
Upper 99 %
= 99 %
Residuals Output error


1

Excel
Year

Dairy Cow
(Head)
15,000
12,000
11,000
16,000
9,800
6,500
5,000
3,000
24,000
18,000
36,000
29,000
30,000
24,000
17,000
23,000

2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548

Buffalo
(Head)
6,200
1,200
2,100
1,600
4,800
2,500
1,000
2,000
2,000
4,500
3,600
2,900
3,000
2,400
5,700
2,300

1. Excel
Mean
Standard Error
Median
Mode
Standard Deviation
Sample Variance
Kurtosis
Skewness
Range
Minimum
Maximum
Sum
Count

=
=
=
=
=
=
=
=
=
=
=
=
=

2. Excel
Mean

Standard Error

Median

Mode

Standard Deviation

Sample Variance

Kurtosis

Skewness

Range

Minimum

Maximum

Sum

Count

2
(ANOVA)

()
Animal
Pig 1
Pig 2
Pig 3
Pig 4

A
2
3
2
5

B
3
9
6
14

C
2
6
4
10

D
5
16
10
25

E
6
18
12
34

SOV

df

SS

MS

..
..
..
..

..
..
..
..

..
..
..
..

..
..
..

..
..
..

3
(BW) (liver weight)

Duck
1
2
3
4
5
6
7
8
9
10

Liver wight (g)


159
179
100
384
230
320
220
320
150
250

BW (kg)
1.44
1.52
1.13
2.27
1.49
1.58
1.54
1.73
1.22
1.66

1. (ANOVA of Regression) Excel

2. simple regression
2 (y = a+bX)

You might also like