Professional Documents
Culture Documents
Microsoft Excel
: .
Excel Spreedsheet
.
.
-1
.
-2 Excel Visual
) Basic for Applications (VBA
.
.
-3
.
2
-4
.
-5 Excel Add-Ins
.
-6
Microsoft Office
Windows
%95 .
-7 SAS SPSS
.
-8 Spreadsheet Modeling
.
-9 ) (
SAS )
(.
:
.
.
3
Code Pages
. :
16 ) (.
4
Workbooks
xls BankRecords.xls
Worksheet Sheet1 Sheet2.
A .1 A1
.Home
A,B,,Z,AA,AB,,AZ,BA,BB,,BZ,CA,,CZ,,ZA,ZB,
,ZZ etc
1,2,3,,65536
D5 D .5
8 16
2 2
) 16777216
( .
5
Excel
6
Book2
BankRecord.xls
.
3 ) (Default
Sheet1 Sheet2 Sheet3 Sheet1
Options Tools .
7
Excel
Format
Sheet Rename
Rename
Sheet1 .First Page
8
Excel
1- File -1
2- Edit -2
3- View -3
4- Insert -4
5- Format -5
6- Tools -6
7- Data -7
8- Windows -8
9- Help -9
9
File
Drop Down List
File
Alt+F )
Alt
( File
-1 ) New
(Ctrl+N
-2 ) Open
(Ctrl+O
-3 Close
-4 Save
Ctrl+S
-5 Save As
/
/
-6
-7 Search
-8 Print
-9
10
Send To
-10 Properties
-11
Alt+F+N .
.
11
EDIT
Edit
Alt+E
Edit:
-1
)
( .
.
-2
Cut
-3
Copy
-4
Paste
-5 Paste Special
Office Clipboard
-6 Fill
-7 Clear
12
-8 Delete
-9 Delete Sheet
-11 Find
-12 Replace
-13 Go To
13
View
View
Alt+V
View
-1
Normal
) (
-2 Task Pane
-3 Toolbars
-4
Formula Bar
-5 Status Bar
-7 Comments
-8 Custom Views
-9 Full Screen
-10 Zoom
14
Insert
Insert
Alt+I
Insert
-1 Cells
Rows Columns
Worksheet
Chart Symbol
-2 Function
-3 Name
-4 Comment
-5 Picture
-6 Diagram
-7 Object
-8 Hyperlink
15
Format
Format
Alt+O
Format
-1 Cells
-2 Row
-3 Column
-4 Sheet
-5 AutoFormat
-6 Conditional Format
-7 Style
16
Tools
Tools
Alt+T
Tools
-1 Spelling
-2 Error
Checking
-3 Protection
-4
Solver
-5
Goal
Seek
-6
Scenarios
-7 Macro
-8 Add-Ins
-9 AutoCorrection Options
-10 Options
17
-11 Conditional Sum
-12 Lookup
Data
Data
Alt+D
Data
:
-1 Sort
-2 Filter
-3 Form
-4 Subtotals
-5 Validation
-6 Table
-7 Text to Columns
-8 Consolidate
18
-9 Group and Outline
Windows
Windows
Alt+W
Windows
-1 New
Window
-2 Arrange
-3 ) Hide
(
-4 ) ( Split
-5 Freeze Panes
-6
19
Help
20
Range
Range
Range .
.A1
B2:B5
) (.
A1:D1
) (.
A1:D5.
21
(1 .
(2
.
+
.
:
.
) (
Insert Name
22
...
Input
...
23
Formula Bar
:
-1 + * )( ) /( ^ ) ( .
-2 :
.
-3 5.2 " ".
-4 SUM . AVERAGE
-5 .
:
=
...
:
-
) = (
.Enter
24
: .
- :
.
B2
Enter
25
Tools Options Formulas
26
:
~ ) Control + Control ~ (
.
27
Excel
) A1 (Home
Ctrl-Home.
End ) Arrow Key
(.
Shift
. .
Shift End
.
: Ctrl
.
)( : )(
) Ctrl +c (or x
.Ctrl+v
28
) (
)
(
) (
29
) (
.
:
Ctrl+Enter.
:
+
.
:
+
)(Double Click
Ctrl+c
Ctrl+x.
.
Edit Paste Special
.Values
30
) 1 .(A2
) (A2 Edit Fill
31
Series
1 Stop Value
...
1 A2
+
32
Fill Series
B2:B3 1 3
33
+
34
C2:C3 1 4
35
36
A1 :B1
= A1 + B1
B1
:A1
= A1 - B1
A1
:B1
= A1 * B1
A1
:B1
= A1 / B1
A1
:B1
= A1^ B1
37
AND OR NOT
AND OK
OR NOT
38
)=AND(A2,B2
)=OR(A2,B2
)=NOT(A2
A1
A ) 1 (.
:
A1
.
39
:
$ $A1
A
. A$1
. $A$1
.
: E5
E5 = A1 + B$3 + $C4 + $D$6
G9
G9 = C5 + D$3 + $C8 + $D$6
A1 E5 C5
G9
. B$3 E5 B
40
D$3 G9
3 .
$C4 $C8
C E5 G9
. $D$6
E5 G9
.
A1
Sheet2 1
=Sheet2!A1
1 A1 Sheet1
Budget.xls
=[Budget.xls]Sheet1!A1+1
=[Budget Analysis.xls]Sheet1!A1+1
.
=C:\MSOffice\Excel\[Budget Analysis.xls]Sheet1!A1+1
41
B1:B10 =A1+10
B1 B10 C1 C10
B1:B10 C1:C10
C1:C10
Edit Paste Special
42
Paste Special
Paste Values
43
:
!#DIV/0
?#NAME
44
#N/A
NA
!#NULL
!#NUM
!#REF
!#VALUE
) (########
.
45
Goal Seeking
.
"
" 20%
.
.
$325,000
20%
360 8%
B3:B6 B8:B11
B8: =(1-B4)*B3
)B9: =PMT(B6/12,B5,-B8
46
B10: =B9*B5
B11: =B10-B8
PMT
. $1,907.79
$1,200
) (
Tools Goal
Seek
47
$1,200
Set cell:
To value:
By changing cell: OK
48
$1,200
.$204,425
49
:
- Go
-
.
ABS OK
50
.
:Array
.
.
: Array Formula
. } { .
CTRL+SHIFT+ENTER
.
51
:
. :
- .
- . :
})={SUM(A1:D1*A2:D2
A1:D1 A2:D2
.
)=SUM(A1:D1*A2:D2
- CTRL+SHIFT+ENTER
} { .
:
20x12 + 30x11 + 50x9 + 10x12 = 1140
52
:
Array Arguments
:
- .
- . B A
TREND
C1:C3 :
- CTRL+SHIFT+ENTER :
53
(1:
)=SUM(A1:A3
A1+A2+A3
(2:
)=AVERAGE(A1:A3
A1, A2, A3
(3 :
)=SUMPRODUCT(A1:A3,B1:B3
54
A1B1+A2B2+A3B3
(4 :
)=ABS(A1
.A1
(5 :
)=SQRT(A1
. A1
55
(6 :
)=MAX(A1:A9
A1 .A9
(7 :
)=MIN(A1:A9
A1 .A9
56
(8 :
)=CEILING(Number or Range,significance
.significance
(9:
)=COMBIN(Number,number_chosen
Number .number_chosen
:
10
:
2
(10 :
)=COUNTIF(Range,Criteria
Range Criteria
57
:
A1:A5 32,54,75,86
55 ) .=COUNTIF(A1:A5,>55
.
(11 :
)=EVEN(Number
Number .
:
)=EVEN(1.5
:
(12 :e
)=EXP(Number
e .Number
:
)=EXP(2
58
:
(13 :
)=FACT(Number
.Number
)=FACT(5
.120
(14 :
)=FLOOR(Number,significance
.significance
:
)=FLOOR(2.5,1
:
59
(15 :
)=GCD(Number1,Number2,
:
)=GCD(24,36
:
(16 :
)=INT(Number
.Number
:
)=INT(8.9
:
(17 :
)=LCM(Number1,Number2,
60
:
)=LCM(5,2
:
(18 :
)=LN(Number
.Number
:
)=LN(86
:
(19 :
)=LOG(Number,base
base .Number
:
)=LOG(8,2
:
61
(20 :
)=MDETERM(Array
Array .
)}=MDETERM({1,3,8,5;1,3,6,1;1,1,1,0;7,3,10,2
(21 :
)=MINVERSE(Array
Array .
:
)} = MINVERSE({1,2,1;3,4,-1;0,2,0
:
62
(22 :
)=MMULT(Array1,Array2
Array1 Array2
.
:
)} = MMULT({1,3;7,2}, {2,0;0,2
:
CTRL+SHIFT+ENTER :
63
(23:
)=MOD(Number,divisor
Number .divisor
:
)=MOD(3,2
:
(24 :
)=ODD(Number
Number .
:
)=ODD(1.5
:
(25 ) ( :PI
)(=PI
.
:
)=SIN(PI()/2
64
:
(26 :
)=POWER(Number,power
Number .power
:
)=POWER(98.6,3.2
:
(27 :
)=PRODUCT(Number1,Number2,
.
:
A1:C1 5,15,30
)=PRODUCT(A1:C1
:
65
(28 :
)=QUOTIENT(Numerator,Denominator
Numerator .Denominator
:
)=QUOTIENT(5,2
:
(29 :
)(=RAND
0 1 ).U(0,1
:
)(=RAND
:
(30 :
)=ROUND(Number,num_digits
66
Number
.num_digits
:
)=ROUND(2.15,1
:
(31 :
)=ROUNDDOWN(Number,num_digits
Number
num_digits .
:
)=ROUNDDOWN(3.14159,3
:
(32 :
)=ROUNDUP(Number,num_digits
Number
num_digits .
67
:
)=ROUNDUP(3.14159,3
:
(33 :
)=SERIESSUM(x,n,m,coefficients
n + j 1 m
SERIES (x , n , m , a) a1x n + a2x n +m + a3x n +2m +L + a j x
:
COS
4
x2 x4 x6
COS ( x ) = 1 + + L
!2! 4! 6
68
A10 A8 .
(34 :
)=SUMSQ(Number1,Number2,
.
:
)=SUMSQ(3,4
:
69
:
:
:( 1
= NORMDIST(x,mean,standard_dev,cumulative)
:
( x )2
x
1 2 2
P( X < x) = e
: TRUE cumulative (
2
( x )2
1 2 2
f ( x; , ) = e
: FALSE cumulative (
2
:
=NORMDIST(25,20,3,TRUE)
=3 = 20 P ( X < 25)
=NORMINV(probability,mean,standard_dev)
P ( X < x 0 ) = probability x 0
:
=NORMINV(0.55,20,3)
70
:
=NORMSDIST(z)
z 2
1 z2
P (Z < z ) = e P ( Z < z ) = ( z )
2
=NORMSDIST(1.78)
=NORMSINV(probability)
1 (probability )
1 ( 0.55) :
=NORMSINV(0.55)
:t ( 2
= TDIST(x,degrees_freedom,tails)
degrees_freedom t x
: tails
71
df P (t df > x ) tails = 1 (
=TDIST(1.5,12,1)
:
=TDIST(1.5,12,2)
=TINV(probability,degrees_freedom)
P (t > t df ) = probability P (t < t df ) = probability t df
degrees_freedom df
=TINV(0.05,12)
:
72
:( 3
=POISSON(x,mean,cumulative)
:
P ( X = x ) = e = cumulative = FALSE (
x
x!
x
k
P (X < x ) = e = cumulative = TRUE (
k =0 k!
=POISSON(7,5,FALSE)
=POISSON(7,5,TRUE)
:
73
:( 4
=EXPONDIST(x,lambda,cumulative)
:
P ( X = x ) = e x cumulative = FALSE (
:
=EXPONDIST(40,1/20,FALSE)
:
:
=EXPONDIST(40,1/20,TRUE)
74
:( 5
=BINOMDIST(x,n,p,cumulative)
:
n n x
P ( X = x ) = p x (1 p ) cumulative = FALSE (
x
x n n y
P ( X < x ) = p y (1 p ) cumulative = TRUE (
y =0 y
:
=BINOMDIST(4,9,0.3,FALSE)
:
=BINOMDIST(4,9,0.3,TRUE)
:
:( 6
=CHIDIST(x,degrees_freedom)
.( )
75
:
)=CHIDIST(18.307,10
:
(7 :
)=CHIINV(probability,degrees_freedom
) (.
:
)=CHIINV(0.05,10
:
(8 :
)=CHITEST(actual_range,expected_range
2
r c Oij Eij
= 2
i=1 j =1 Eij
76
(9 :F
)=FDIST(x,df1,df2
F x df1 .df2
:
)=FDIST(15.20675,6,4
:
(10 :F
)=FINV(probability,df1,df2
.F
77
:
)=FINV(0.01,6,4
:
(11 :
)=CONFIDENCE(alpha,standard_dev,size
100*(1-alpha)% stdev
size .
:
50 30 2.5
95%
)=CONFIDENCE(0.05,2.5,50
0.69295 30-0.69295
30+0.69295 ) (29.3,30.7 0.95
(12 :F
)=FTEST(array1,array2
) F ( . array1
.array2
78
:
)}=FTEST({6,7,9,15,21},{20,28,31,38,40
0.648318
:
(13 :
)=HYPGEOMDIST(x,n,M,N
M N M N
= ) h ( x; n, M , N
x n x n
:
)=HYPGEOMDIST(1,4,8,20
:
79
(14 :Z
)=ZTEST(array,x,sigma
) z( sigma
.array
(15 :
)=AVEDEV(number1,number2,...
.
:
)=AVEDEV(4,5,6,7,5,4,3
80
:
(16 :
)=CORREL(array1,array2
array1 .array2
:
)}=CORREL({3,2,4,5,6},{9,7,12,15,17
:
81
(17 :
)=DEVSQ(number1,number2,...
.
:
)=DEVSQ(A2:A11
:
82
(18:
)=FREQUENCY(data_array,bins_array
data_array
.bin_array
Array FREQUENCY :
Formula
Ctrl+Shift+Enter
} { Excel.
:
83
(19 :
)=GEOMEAN(Number1,Number2,
.
:
)=GEOMEAN(A2:A11
:
(20 :
)=HARMEAN(Number1,Number2,
.
84
:
=HARMEAN(4,5,8,7,11,4,3)
:
:( 21
=MEDIAN(Number1,Number2,)
.
:
=MEDIAN(1,2,3,4,5)
:
:( 22
=MODE(Number1,Number2,)
85
.
:
)=MODE(5,6,4,3,4,2,4
:
(23:
)=PERCENTILE(array,k
0 < k < 1 .array
:
)=PERCENTILE({1,2,3,4},0.3
:
86
(24:
)=PERMUT(n,k
P k = n ! ( n k )! n
k ,n
)=PERMUT(10,3
:
(25:
)=QUARTILE(array,q
. q = 0 q =1,2,3
q = 4 .
87
:
:
(26 :
)=STANDARDIZE(x,mu,sigma
x (x - mu) / sigma
:
:
88
(27 :
)=STDEV(Number1,Number2,
.
:
)=STDEV(1,2,3,4,5
:
89
(1 :IF
)=IF(logical_test,value_if_true,value_if_false
logical_test
true false
value_if_true value_if_false .
Nesting 7.
:
)=IF(A4>4,B1+B2, B1 B2
B1+B2 A4 > 4 B1 B2 .4 A4
:Nesting
A1 :
))))"=IF(A1>89,"A",IF(A1>79,"B", IF(A1>69,"C",IF(A1>59,"D","F
(2 :SUMIF
)=SUMIF(range,criteria,sum_range
90
)=SUMIF(F1:F12, >60,G1:G12
G1+G2++G12 F1+F2++F12>60
:
160000
(3 :COUNTIF
)=COUNTIF(range,criteria
range .criteria
:
A1:A4 32,54,75,86
)=COUNTIF(A1:A4,>55
:
91
:
92
:LOOKUP (1
.
.Array
LOOKUP : Vector
) (
.
.
( :
)= LOOKUP(lookup_value,lookup_vector,result_vector
lookup_value lookup_vector
result_vector
: lookup_value
.
93
:
94
:(
= LOOKUP(lookup_value,array)
.array lookup_value
95
: lookup_value
.
:
:HLOOKUP (2
.
HLOOKUP
VLOOKUP
.
H HLOOKUP " ". :
)= HLOOKUP(lookup_value,table_array,row_index_num,range_lookup
lookup_value
table_array
)
96
Data Sort
Options Sort left to right OK Sort by
.(Ascending row_index_num
table_array
row_index_num = 1 table_array
range_lookup .
HLOOKUP .
range_lookup = TRUE HLOOKUP
. range_lookup = FALSE
#N/A .
:
97
:VLOOKUP (3
. VLOOKUP
HLOOKUP
. V VLOOKUP "" . :
)= VLOOKUP(lookup_value,table_array,col_index_num,range_lookup
lookup_value
table_array
. col_index_num
98
table_array
col_index_num = 1
table_array range_lookup .
VLOOKUP .
range_lookup = TRUE VLOOKUP
. range_lookup = FALSE
#N/A .
:
99
100
101
Import External Data
Excel
.
Raw Data Import
Data Import External
Data Import Data :
102
+Connect to New Data Source.odc
Open Data Connection
Wizard Data retrieval services :
103
104
.SharePoint
Excel
105
SharePoint
106
Knowledge Center
107
National Diabetes
Center Documents
108
>> ) Add All
> ( Add
109
Next
110
: . XML
111
:Web Query
Data Import External
Data New Web Query :
112
:
http://www.tadawul.com.sa/wps/portal/!ut/p/_s.7_0_A/7_0_4
BC?companySymbol=&ANN_ACTION=ANN_SEARCH&s
ymbol=2010&tabOrder=1&s8fid=112163990882
) (
Go
113
.Excel
:
114
Import
115
.Excel
116
: Database Query
Data Import External
Data New Database Query :
117
Suppliers )(
118
Next
Next
119
120
.
121
:
60 :
D B E C D B D C E A
B E C D B D D A E C
C D A C E D C C D B
D E D D A D D C D C
D A B D B D C D C E
D B C C E D C C D A
.
:
A3 A62
.A2
) (
: 1 2
3 0 1 2
100 110 120 .
A 65 B 66 .
) CODE(TEXT
.
122
)) (=CODE(A3 B3
. B62 B3 B62
C3 .C7
Tools Data
Analysis:
123
:
OK :
124
D F
:
125
:
D F
:
126
:
127
:
128
Format Plot Area
OK
129
Chart Options
:title Chart
130
.
131
:
.
:
51 95 70 74 73 90 71 74 90 67
91 72 83 89 50 80 72 84 85 69
62 82 87 76 91 76 87 75 78 79
71 96 81 88 64 82 73 57 86 70
80 81 75 85 74 90 83 66 77 91
132
:
-1 59 69 79 89 . 99
-2 Tools Data Analysis
-3 Histogram
133
-4
( Input Range:
Absolute Addressing
$
.
( Bin Range:
.
134
( Output options Output Range
)
(.
( Chart Output
. Histogram
( :
-5
( Clear
135
( .
136
(
137
( Options
138
(
139
C
.
Cumulative
Percentage Histogram
140
E F G H
G .50
141
)(
Pivot Tables
20 .
A 5 B 4
C 3 D 2 E 1 :
B C C B A A E D C C
C C B C C A E B B C
A B B C A D A C C B
C A C A A E B B A B
142
143
Next
144
$C$1:$D$21 Next
.F3 Finish
:
145
""
Row Area Add To
. "" Column
Area Add To
146
. ""
Data Area Add To
.
:
147
:
.
148
:
.
:1 40 .
:
101 101
%2 5% A
%5 10% B
%15 40% C
%15 30% D
%13 10% E
%50 5% F
40 .
:
149
40 :
150
:2
) N (165,25
60
H 0 : = 165
H 1 : 165
. = 0.05
:
:
Tools Data Analysis
151
60.
152
10000
)=ROUND(Range,precision
) =ROUND(Range,0
:
Tools Data Analysis ... Descriptive Statistics
153
OK
$B:$B $D$2
Summary statistics
Confidence Level for Mean 95% = 0.05
154
x = 164.3 s n = 0.76189
) (95% 1.5244
155
) (162.77,165.82 95% .H0
:
Test Statistic:
x 0 164.3 165
=z = = 0.9189
s n 0.7618
156
:3
) 2:4:3:1
( . 100 .
) 0.47 ( p-value
0.05
157
) (O E
2
= 02 = 2.525
i i
i Ei
( 0.05,3) = 7.815
2
158
:4
0.5
.
200 .
: A2:A201 1
200 Tools Data Analysis Random
Number Generation:
159
0.3477 7.8147
. = 0.05
160
:5
Lifetime
:
0.4 e 0.4 x , x 0
= ) f ( x
0 , otherwise
1000 :
-1 5
-2 3 6
-3 .
= 0.4 = 1 = 2.5
0.4
:
1000 ) (
)X = 1 ln ( R ) , X ~ Exp ( ) , R ~ U ( 0,1
EXCEL Tools Data Analysis Random
Number Generation Uniform
161
1000 0 1 )R ~ U ( 0,1
B2 ) =-2.5*LN(A2 :A
162
:
163
12 < xi 13 0.002 )0.997 = P ( X 13
13 < xi 14 0.002 ) 0.999 = P ( X 14
14 < xi 15 0.001 ) 0.999 = P ( X 15
15 < x i 0
:
-1 5
P ( X 5) = 1 P ( X < 5) = 1 0.860=0.14
.
-2 3 6
)P (3 X 6) = P ( X 6) P ( X 3
= 0.910 - 0.684 = 0.226
.
-3
)P ( X 5) = 0.4e 0.4x = 1 e 0.4(5
5
)1
0
= 0.864664717
1-P ( X 5) = 0.1353353
2) P (3 X 6) = 0.4e 0.4x
6
3
0.4 3 0.4 6
=e e
= 0.210476259
)
(.
164
:
:
:
1395
1400
1400 1399 1398 1397 1396 1395
513 460 407 331 257 212
A B:
165
) XY (Scatter
166
Next
Next
167
Next
Finish
168
169
170
:
1395 1400
1400 1399 1398 1397 1396 1395
375 343 322 273 209 177
138 113 85 58 48 35
171
Column Next
172
173
:
:
:
2
30.3
47.4
4.9
174
24.3
8.5
17.9
default Next
175
Next
176
177
:
.
.AVERAGE =
. .$A$2:$A$16
178
:
SUM
COUNT
179
=C1/C2 C3
180
:
:
x :
14-13 12-11 10-9 8-7 6-5
1 4 8 5 2
181
:
x w 3 65
70 40 4 3 2
:
w 1x 1 +w 2x 2 +L +w n x n
= xw
w 1 +w 2 +L +w n
:
:
60 ,72 ,40 ,80 ,63 :
:
MEDIAN
182
:
72 ,60 ,72 ,40 ,80 ,63
:
183
:
:
2 ,6 ,9 ,4 ,6 ,10 ,6
MODE
184
:
4 ,2 ,7 ,9 ,4 ,7 ,10 ,7
185
:
4 ,7 ,4 ,7 ,8 ,9 ,7 ,4 ,10
4 . 7 .
:
4 ,9 ,8 ,12 ,11 ,7 ,15
186
#N/A .
:
:
3 ,5 ,6 ,6 ,7 ,10 ,12
GEOMEAN
187
:
:
3 ,5 ,6 ,6 ,7 ,10 ,12
HARMEAN
188
:
:
67 90 74 71 90 73 74 70 95 51
69 85 84 72 80 50 89 83 72 91
79 78 75 87 76 91 76 87 82 62
70 86 57 73 82 64 88 81 96 71
91 77 66 83 90 74 85 75 81 80
PERCENTILE
)'=PERCENTILE('Data Range','Number Between 0 and 1
QUARTILE
189
:
:
x: 2, 6, 9, 4, 6, 10, 6, 6, 10
100
10 )
9 9
( :
y: 2, 6, 9, 4, 6, 10, 6, 6, 100
:
190
-1 : .
-2 : .
:
= -
:
82 ,40 ,62 ,70 ,30 ,80
:
191
:
= ) - ( 2 /
:
67 ,65 ,69 ,58 ,55 ,71 ,72 ,70
:
:
Interpolation
.
192
:
59 ,67 ,65 ,69 ,58 ,55 ,70 ,72 ,74
:
193
:
:
M .D . = 1 x i x
n
n i =1
:
6 ,5 ,7 ,7 ,8 ,9 ,9 ,5
:
AVEDEV .
194
:
n
1
( )
n 2
n 1
=s x i
x
i =1
:
8 ,9 ,7 ,6 ,5
STDEV
.
195
:
. .= s
CV
x
Q Q
. .= 3 1
CV
Q3 +Q1
:
8 ,9 ,7 ,6 ,5
196
:
xi x
= zi
s
.
:
8 ,9 ,7 ,6 ,5
197
:
:
6 ,3 ,5 ,5 ,9 ,4 ,6 ,7 ,1 ,2 ,4 ,8
198
:Excel
:
n r :
)PERMUT(number,number_chosen
number = n .number_chosen = r
:
.
:
:
6 2 5.
:
nP = !n
r
!) ( n r
:
199
)FACT(number
number number = n
!FACT(n) = n
:
.
:
6P
3 ! 5 5P2
:
:
200
5! = 120
5P = 20
2
6P
3 = 120
:
!0
:
:
:
3 3
:
:
201
:
:
)(
:
nP
r =
:
:
n r :
)COMBIN(number,number_chosen
number = n .number_chosen = r
202
:
5 6 4 7
, , ,
3 4 0 7
:
:
.
B3 C3 D3 E3:
5 6 4 7
= 10, = 15, = 1, = 1
3 4 0 7
:
2 3 .
:
3P
2 =
:
203
:
3P
2 =3
:
2 15 .
:
15P
2 =
15P
2 = 105
:
n1, n 2 ,K, nr n = n1 + n 2 +L + nr
!n
! n1!n 2 !Ln r
:
)MULTINOMIAL(number_1,number_2,,number_r
:
Probability
:
204
2 2 1 .
!11
!2!2!1!1!1!1!1!1!1
:
205
! 11
!2!2
11 !11
!2!2!1!1!1!1!1!1!1
! 11
!2!2
! 4 ! . 11
!2!2 !2!2
)= MULTINOMIAL(2,2,1,1,1,1,1,1,1
:
:
8 4
3 1
:
!8
!4!3!1
:
206
207
:Excel
. Resampling Methods
:
) A c = NOT ( A ) NOT (log ical
) A B = OR ( A , B )OR (log ical 1,log ical 2, ...
) A B = AND ( A , B )AND (log ical 1,log ical 2, ...
:
H .T
:
P ( H ) = P (T ) = 0.5
1500
.
:
E2 G2 .G3 E2:
)=VLOOKUP(RAND(),$E$2:$E$1501,2
E2 ) E1501 ( .
G2
208
)=COUNTIF($E$2:$E$1501,H
G3
)=COUNTIF($E$2:$E$1501,T
. .
:
F9
1500 .
. .
209
:
3 .
210
N R9 P19 .Q9:R19
.F9
:A
S2
)=IF($C2="H",1,0
.S1505 S2:S1505 A 1504
=8*SUM(S2:S1505)/1504
: P21
211
:B
T2
)=IF(OR($C2="H",$D2="H",$E2="H"),1,0
) T1505
+ (
.B
:C
U2
)=IF(AND($C2="T",$D2="H"),1,0
A B V2
)=IF(AND($S2=1,$T2=1),1,0
A B W2
212
)=IF(OR($S2=1,$U2=1),1,0
A c A c B c ) ( A B A c
c
)=IF(NOT($C2="H"),1,0
:
. .
:
0.25
:
. :A .
:B . :C .
:
( ( ) ( )
P ( A ) , P ( B ) , P (C ) , P ( A B ) , P ( A B ) , P A B , P B C , P B C )
:
213
D2 => =VLOOKUP(RAND(),CDF,2)
E2 => =VLOOKUP(RAND(),CDF,2)
F2 => =IF($D2="H",1,0)
G2 => =IF($D2="T",1,0)
H2 => =IF(OR($D2="H",$E2="H"),1,0)
I2 => =IF(AND($D2="H",$D2="T"),1,0)
J2 => =IF(OR($D2="H",$D2="T"),1,0)
K2 => =IF(NOT(OR($D2="H",$D2="T")),1,0)
L2 => =IF(AND(D2="T",NOT(OR(D2="H",E2="H"))),1,0)
M2 => =IF(OR(D2="H",AND(D2="T",E2="T")),1,0)
n )
:=( 2000
214
O P
.
:
1 50
.
4 .
1 50 A 1/50 = 0.2
B Tools => Data Analysis
=> Random Numbers Generation :
1000 A
B .C
10000 C
4
)=MOD(C2,4
215
D2 .D 4
C 0 .D 0
D
)=COUNTIF(D:D,0
E2 2416 10000 4
P(A) = 0.2416
A 4 .
0.24
:
52 26 .
1 52 B
27 52 .
) (= 1/52 C2 .
Tools Data Analysis Random Numbers Generation
:
216
10000 )( . 10000
.E
F2
)=IF(AND(D2>26,E2>26),1,0
1 0 .
F2 .
)=COUNTIF(F:F,1
1
) (10000
:
217
:
0.2495
. 0.245
30
.
:
.
. ( . (
( :
:
D2
)=VLOOKUP(RAND(),CDF,2
10/30 20/30
. E2
)""=IF(D2=$B$3,VLOOKUP(RAND(),CDF,2),
. F2:
)=IF(AND(D2=$B$3,E2=$B$3),1,0
218
. G2
)"=COUNTIF(F:F,"=1
.
0.4369
0.43678 . -0.00012
30
.
:
219
)
(.
:
.
4 . 3 1
.
)=VLOOKUP(RAND(),CDF,2
D2:G2 . 4.
)=CONCATENATE(D2,E2,F2,G2
D2:G2 .
=IF(H2="RRRW",1,IF(H2="RRWR",1,IF(H2="RWRR",1,IF
))))(H2="WRRR",1,0
3 1 1
0 1
:
220
:
I, II, III I 20 %
II 30 % III 50 %
4 %
3%. 2%
:
(i
( ii
. II
:
I 1 .
J2
221
)=VLOOKUP(RAND(),CDF,2
. K2
=IF(J2="I",VLOOKUP(RAND(),CDFI,2),IF(J2="II",VLOOK
)))UP(RAND(),CDFII,2),VLOOKUP(RAND(),CDFIII,2
. L2
)))=IF(K2="DI",1,IF(K2="DII",1,IF(K2="DIII",1,0
. M2
)=IF(K2="DII",1,0
.
.
:
4 6
8 3 .
:
. (i
( ii
.
:
222
:
223
:
: . .
} S = {HH , HT ,TH ,TT
= X : .
X
{HH } = 2, X
{HT } = 1, X {TH } = 1, X {TT } = 0
X.
A2:B3 CDF 1 ) 1000 (
C C2 D2
)=VLOOKUP(RAND(),CDF,2
F2
)"=IF(AND(D2="H",E2="H"),2,IF(AND(OR(D2="H",E2="H
)),OR(D2="T",E2="T")),1,0
)=COUNTIF(F:F,2)/MAX(C:C
)=COUNTIF(F:F,1)/MAX(C:C
)=COUNTIF(F:F,0)/MAX(C:C
)P ( X = 2) , P ( X = 1) , P ( X = 0
.:
224
F9 .
.X
:
: 1 . 6
.
= X : .
X . x = 2,3,4,...,12
A B C
A2:B7 CDF C
) .(1000
D2 E2
)=VLOOKUP(RAND(),CDF,2
225
.
F2 D2 E2 G
X 2 .12 H2
G2
)=COUNTIF(F:F,G2
.
.F9
:
3 . = X .
X
.
226
A .
B2
)=BINOMDIST(A2,3,0.5,FALSE
.
)=BINOMDIST(x,n,p,FALSE
) (FALSE
) .(TRUE:
D1 D2
.
:
40%
8 :
( 4 .
( 6 .
( 2 .
( 3 .
:
227
) (TRUE or FALSE
) (FALSE ) (TRUE :
.
:
X n = 5 p = 0.15
P X = 0 P X 1 P X 2
228
:
48 8 .
5 :
. (
( .
( .
. (
)=HYPGEOMDIST(x,n,a,N
a
b
x n x
, ) max ( 0, n b ) x min ( n , a
f (x ) = P (X = x ) = a + b
n
0, otherwise
n = 5, a = 8, b = 40, N = (a + b ) = 48
229
:
. = 0.4
.
:
.
3 .
230
:
500 300 .
:
)( ( .
.
( .
= X .
X X x = 0,1,2,...,300
X ~ b x ;300, 1 , x = 0,1,2,...,300
500
= np = 300 = 3 = 0.6
500 5
( ) 0.6
x
X ~ p ( x ;0.6) = f ) (
x = e 0.6 , x = 0,1,2,...
!x
231
:
X 100
100 ) X ~ N (100,100 :
)X ~ N (100,100
232
:
:
) . Z ~ N ( 0,1 :
233
:
)a) P ( X 14 ) X ~ N (16,16 )b ) P ( X 22
:
266
12 .
260 270.
234
:
X b 10,0.5 ) P ( X = 2
:
X b 16,0.5 ) P ( X = 6
235
:
X b 100,0.75 )P ( X 70
236
:
3 {a,
} b, c, d, e .
:
) (1 A1:B6
. CDF
) (2 C 1 .1000
) (3 D2 E2 F2
)=VLOOKUP(RAND(),CDF,2
3 .
) (4 G2:
)))=IF(D2=E2,0,IF(D2=F2,0,IF(E2=F2,0,1
. .1
) (5 H2
))=IF(G2=0,"",CONCATENATE(D2,E2,F2
.
.
237
:
:
3, 5, 7, 9, 11
:
. ( i
( ii n = 2
.
f ( X . ) X ( iii
( iv X X . X2
:
:
238
:
239
Rel Freq
0.25
0.2
0.15
0.1
0.05
0
4 5 6 7 8 9 10
: .
:
}) {1, 2, 3, 4, 5, 6
( . X 4 3 2
:
X2 = . N n
2
X = ,
n N 1
:
240
241
Sam pling Dist.
0.18
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
0
3
7
3
7
2
5
66
33
33
66
33
66
66
33
33
66
33
66
66
33
33
66
33
66
2.
2.
3.
3.
4.
4.
:
25
0.5
. 50
. X ) 25.1
.
( 24.9
242
:
)P (24.9 X 25.1
n = 50 X
, X ~ N ( 25, 0.005) :
n
)P ( 1.43 Z 1.43) = (1.43) ( 1.43
:
100
. 10 16
X 95 . 105
243
P (95 X 105) :
) X ~ N (100,6.25 )P ( 2 Z 2 ) = (2) (2
:
.
80
18.85 5.55 .
0.95 . E
z 2 = 1 0.95 = 0.05
z 2 = z 0.025
)=NORMSINV(0.025
:
244
:
:
. n
5
0.95
20 .
245
:
95%
.
:
. 8
:
246
167800, 136500, 108300, 126400
133700, 162000, 149400, 142600
.
t 2, = t 0.025,7
) =TINV( ,
2
:
12
27.33
247
4.28 . =
. 0.01
:
400 136 .
R . 0.95
248
:
150
108
. E
. 0.99
249
:
n 0.99
0.05 r . 0.2
250
:
64
155 5 .
= 160 ) ( 0.05
) ( . 0.01
251
:
9 .
6750 . ) (s 240 .
7000 . .
) ( 0.05 ) ( . 0.01
252
:
)=TINV(probability,degrees_freedom
)=TDIST(x,degrees_freedom,tails
:
:
n1 = 120 , x 1 = 62.7 m s1 = 2.50
n 2 = 150 , x 2 = 61.8 m s 2 = 2.62
253
:
:
7930, 7860, 8380, 8230, 8400 :
7660, 8070, 7720, 7690, 7510 :
. = 0.05
:
Tools Data Analysis
254
0.01837
= 0.05 .
:
90%
8 200
255
160 .
. = 0.01
1.21566E-06
= 0.01 .
:
A B 100 .
A ) B
( .
A 75 B 65
256
.
. 0.05
:
.
257
Y 13 9 19 15 11 8 16 11
X 15 7 17 15 10 9 14 10
258
:
r
) ( 3 2 .
259
:
X :
X 10 4 5 7 2
:
:
B, C, B, E, D, D, A
260
:
.
261
:
:
X A C C C B D
Y B B D C A E
262
:
17
:
5 5
3 4
263
c.c .
264
:
30
:
Y
X
6 4 10
7 2 9
6 5 11
19 11 30
c.c .
265
:
:
1 2 3 4 5 6 7
X
4 1 6 5 3 2 7
Y
4 2 5 6 1 3 7
.
.
266
:
Y X
.
Data Tools
Analysis Regression
:
267
m = 0.959 c = 1.1195 Y X
Y = 0.959X +1.1195
.
268
Curve Fitting
Least Squares and Sum of Squares of Errors
.
:
) (
)( .
) ( x 1, y 1 ) , ( x 2 , y 2 ) ,..., ( x n , y n x
y . ) ) f ( x ,
( d i , i = 1,2,..., n
) d 1 = y 1 f ( x 1, ) ,d 2 = y 2 f ( x 2 , ) ,...,d n = y n f ( x n ,
n 2 n 2
) Min S ( ) = Min d i = Min y i f ( x i ,
i =1 i =1
) f ( x ,
.Solver
269
6.5
5.5
y
5
yhat
4.5
3.5
1 1.5 2 2.5 3 3.5 4
.
) (.
.
.leastSquaresErrorsDemo.xls
270
:Solver
:
-1 .
-2 .
-3 .
-4 Sum
).of Squares of Errors (SSE
-5 ) Solver ( ) ( SSE
).Minimum Square Error (MSE
-6
) (.
:
Row x y
1 7 97
2 6 86
3 5 78
4 1 10
5 5 75
6 4 62
7 7 101
8 3 39
9 4 53
10 2 33
11 8 118
12 5 65
13 2 25
14 5 71
15 7 105
16 1 17
271
17 4 49
18 5 68
-1 x y
140
120
100
80
y
60
40
20
0
0 2 4 6 8 10
x
-2 x y :
yi = a + b xi + ei , i = 1,2,,18
-3 a = 1 b = 1
Row x y yhat
1 7 97 8
2 6 86 7
3 5 78 6
4 1 10 2
5 5 75 6
6 4 62 5
7 7 101 8
8 3 39 4
9 4 53 5
10 2 33 3
11 8 118 9
12 5 65 6
272
13 2 25 3
14 5 71 6
15 7 105 8
16 1 17 2
17 4 49 5
18 5 68 6
. a = 5 b = 10
273
a = 5 b = 10 .
-4 ) (
)C2 > =$G$1+$G$2*A2 ( yhat
)D2 > =B2-C2 (error
)E2 > = D2*D2 (errorS
)E20 > =SUM(E2:E19) (SSE
E20
274
Tools Solver Solver
275
Cells a b $G$1:$G$2
Solve
Solver OK
276
140
120
100
80
y
y
yhat
60
40
20
0
0 2 4 6 8 10
x
) error(
error
0
0 2 4 6 8 10
-2
-4
-6
-8
-10
277
:
1984 1994
Year 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994
)(t
Market 3.0 2.5 4.0 7.5 7.0 13.0 17.0 29.0 46.5 50.0 49.5
Value
)(x
278
S
:
= f t ;a,b ,c a ,t 0
1+ be ct
x i = f t i ;a,b ,c + ei , i = 1,2,...,10
a b c
D2 E2
:
) ( E2:E12 .E13
1984 )
( a = 10 b = 50 c = 1
Market Value Fit .
279
:
280
a = 40 b = 100 c = 1
E13 Solver
:
281
) $E$13 ( Min
$F$15:$F$17 Solve :
.
= ) x (t 57.76 ,t 0
1+138.3 e 0.729t
.
282
Overshoot and Collapse Model
Nonrenewable
Survive Overshoot
. Collapse
.
t ) p(t t
) r(t t + dt
) p (t + dt ) = p (t + B
r (t ) p
1 (t )dt
r )( 0
) p(t
).r(t
) r(t t + dt
r (t + dt ) = r (t ) C p (t )dt
t + dt
t ) r(t ) p (t .t
Rate Equations
)(
r t
d
dt
) p (t = B 1 p ) (t
r 0
283
d r
dt ) (t ) = C p (t
B .
C .
r 0 ) .( t = 0
. })B 1 {r (t ) r ( 0
r r 0
) (t
1
}){r (t ) r (0
})B 1 {r (t ) r ( 0
.B
284
r ) (t
1
1
r 0 }){r (t ) r (0
B - 1
) 1 ( })B 1 {r (t ) r ( 0
.
r ) r (t ) (t
) r (t :
.
Steady State
d p t = 0
dt
d r t = 0
dt
)(
r t
0 = B
1 p
r 0
) (t
) 0 = C p (t
285
(1) C = 0
/
B 1 {r (t ) r ( 0)} = 0
(2) p(t) = 0
C > 0
) (1 ) (2
100%
1
}){r (t ) r (0
Asymptotic
t
. p = 0, r = 0
286
. :
B3 C3
)p(t
. ) r(t
287
t ) r(t
) r(0
.
288
J
J
State Variables
.
J
.
.
.
289
J Venture Fund
)Internal Rate of Return (IRR
.
J .
:
x y
40 125
41 117
42 116
43 110
44 107
45 101
46 99
47 95
48 92
49 88
50 85
51 82
52 80
53 76
54 72
55 70
56 68
57 65
59 62
61 59
65 51
70 45
73 41
76 38
81 36
86 35
93 34
100 36
103 36
109 38
290
117 42
131 50
147 61
163 76
179 93
188 103
200 116
210 130
228 153
245 178
259 199
263 206
x y
250
200
150
100
50
0
0 50 100 150 200 250 300
J
y = a + bx +cx 2
a b c . x , y R
291
y = cx ax +b
a b c . x , y R
:
C2
=$B$45+$B$46*A2+$B$47*B2*B2
F2
)=$C$47*(A2)^($C$45*A2+$C$46
:
292
:
= ) f (x
(
a e bx e ax )
a b
293
Solver :
294
:
295
296
EXCEL SOLVER :
:
Minimize 0.6X 1 + 0.5X 2
ST 20X 1 + 50X 2 100
25X 1 + 25X 2 100
50X 1 +10X 2 100
X 1, X 2 0
:
B1 C1 . B2 C2
.
B4 C4 B4:C7
.F5:F7
D4 :
)=SUMPRODUCT($B$2:$C$2,B4:C4
D4 .D5:D7
D4 .
Tools Solver
297
" " Set Target Cell $D$4
3 " " Equal To
.Min By Changing Cells
$B$2:$C$2 Subject to the Constraints
Add
OK Solver Options
298
Assume Linear Model Assume Non-
Negative Use Automatic Scaling OK
Solver Solve
299
300
301
.
-1
302
:
303
-3
E3 +
304
ScrollBar1 ScrollBar ) .(Name
LinkedCell A4 .p
Max 9 Min
. 1
305
-4
A3 D p 0.1 . 0.9
-5 D2:D13
.p
306
307
308
-1
-2
-3
-4
-5
-6
-7
-8 F
-9
-10
-11
309
-12
-13
-14
-15
-16 t
-17 t
-18 t
-19 z
:
310
Anova: Single Factor
27 9
.
:
9 8 7 6 5 4 3 2 1
46 5 8 1 10 6 3 4 5 4 1
78 4 9 14 9 7 5 10 8 12 2
34 2 2 3 5 8 6 4 3 1 3
.
0.05
:
311
Anova: Single Factor
OK
312
313
Anova: Two-Factor With
Replication
100
2 1
58 75 1
56 68
61 71
60 75
62 66 2
60 70
59 68
68 68
0.05
314
OK
315
316
Anova: Two-Factor
Without Replication
4 A,B,C,D 4
1 4
0.05
:
317
318
Correlation
X Y :
X 42 36 63 55 42 60 49 68
Y . X
OK
319
320
Descriptive Statistica
) ( 50
) (
4932.40, 2625.58, 6691.17, 9172.67, 9053.80, 9659.41,
1918.87, 5140.86, 8878.62, 2936.39, 3809.27, 2172.88,
2065.52, 3145.85, 3600.81, 1940.14, 4137.35, 4613.33,
6339.82, 4730.45, 4849.07, 4715.93, 9264.51, 5621.34,
5294.52, 4292.01, 9800.80, 8414.65, 9928.18, 3901.36
9603.85, 2238.19, 7581.32, 8495.49, 9774.52, 5623.85,
4261.73, 7951.69, 4682.15, 8160.40, 2409.61, 3427.14,
2325.28, 4738.46, 5793.77, 5991.97, 4862.33, 9884.38,
2133.84, 3691.90
321
95%
OK
322
Exponential Smoothing
.
) : - :.
(
44.2 44.3 44.4 43.4 42.8 44.3 44.4 44.8
44.4 43.1 42.6 42.4 42.2 41.8 40.1 42.0
42.4 43.1 42.4 43.1 43.2 42.8 43.0 42.8
42.5 42.6 42.3 42.9 43.6 44.7 44.5 45.0
44.8 44.9 45.2 45.2 45.0 45.5 46.2 46.8
47.5 48.3 48.3 49.1 48.9 49.4 50.0 50.0
49.6 49.9 49.6 50.7 50.7 50.9 50.5 51.2
50.7 50.3 49.2 48.1
)(
323
324
F :
:
70 59 69 81 66 61 72 90 :1
84 77 69 91 80 66 78 85 61 :2
325
326
Moving Average
.
) :
- : . (
44.2 44.3 44.4 43.4 42.8 44.3 44.4 44.8 44.4 43.1
42.6 42.4 42.2 41.8 40.1 42.0 42.4 43.1 42.4 43.1
43.2 42.8 43.0 42.8 42.5 42.6 42.3 42.9 43.6 44.7
44.5 45.0 44.8 44.9 45.2 45.2 45.0 45.5 46.2 46.8
47.5 48.3 48.3 49.1 48.9 49.4 50.0 50.0 49.6 49.9
49.6 50.7 50.7 50.9 50.5 51.2 50.7 50.3 49.2 48.1
327
328
Rank and Percentile
44.2 44.3 44.4 43.4 42.8 44.3 44.4 44.8
44.4 43.1 42.6 42.4 42.2 41.8 40.1 42.0
42.4 43.1 42.4 43.1 43.2 42.8 43.0 42.8
42.5 42.6 42.3 42.9 43.6 44.7 44.5 45.0
44.8 44.9 45.2 45.2 45.0 45.5 46.2 46.8
47.5 48.3 48.3 49.1 48.9 49.4 50.0 50.0
49.6 49.9 49.6 50.7 50.7 50.9 50.5 51.2
50.7 50.3 49.2 48.1
329
330
Regression
X Y
42 125
36 118
63 140
55 150
42 140
60 155
49 145
68 152
331
332
333
334
Sampling
} {0,1 60 :
335
) (
HISTOGRAM
336
337
338
t t-Test: Paired Two
Sample for Means
0.05
339
340
t t-Test: Two-
Sample Assuming Equal Variances
341
342
t t-Test: Two-
Sample Assuming Unequal Variances
343
344
z z-Test: Two-Sample for
Means
345
.
346
:EXCEL
EXCEL
:
(1
) f (x + h ) f (x h
= ) f (x
2h
+O h 2) (
(2
) f ( x + 2h ) + 6f ( x + h ) 3f ( x ) 2f ( x h
= ) f (x
6h ) (
+O h 3
(3
) 2f ( x + 2h ) +16f ( x + h ) 16f ( x h ) + 2f ( x 2h
= ) f (x
24h
+O h 4 ) (
(1
) f ( x + h ) 2f ( x ) + f ( x h
= ) f ( x
h2 ) (
+O h 2
(2
) f ( x + h ) 2f ( x ) + f ( x h
= ) f ( x
h2 ) (
+O h 2
347
(3
) f ( x + 2h ) +16f ( x + h ) 30f ( x ) +16f ( x h ) f ( x 2h
= ) f ( x
12h 2 ) (
+O h 4
q > 0 ) g ( h ) O ( h q h = 0 C
D h D ) g ( h ) C h q ) sin ( h ) = h +O ( h 3
) ( cos ( h ) = 1+O ( h 2
:
) f ( ) (x
n
= ) f ( x + jh ( ( )
jh ) +O h k n +1 , j = 0, 1, 2,...
k n
n =0 !n
:
f ( x ) = e x x = 0 . h = 0.1
348
:
h = 0.01,0.001 .
) f ( x
) ( n ) pn 1 ( x:
(x 0 ) x x k
k
n 1 f
= ) p n 1 ( x
( !k )0
k =0
. :
j
)x x 0
( !j
j
p j ( x ) = p j 1 ( x ) + f
:
) f ( x ) = sin ( x . x 0 = 1
:
)p 0 ( x ) = f ( x 0 ) = sin (1
)p1 ( x ) = p 0 ( x ) + f ( x 0 )( x x 0 ) = sin (1) + cos (1)( x 1
1 1
)p 2 ( x ) = p1 ( x ) + f ( x 0 )( x x 0 ) = sin (1) + cos (1)( x 1) sin (1)( x 1
2 2
2 2
1 3 1 1
)p 3 ( x ) = p 2 ( x ) + f ( ) ( x 0 )( x x 0 ) = sin (1) + cos (1)( x 1) sin (1)( x 1) cos (1)( x 1
3 2 3
6 2 6
349
:
f ( x ) = e x . x 0 = 0
EXCEL
b
a f ( x )dx a,b
N > 1 . a = x 0 , x 1,..., x N = b
h > 0 x k +1 = x k + h
x k ) f k = f ( x k .
(1 :
h f + f , error = h 3 f
)2 ( 0 1 ) ( 12
x1
) ( x 0
f x dx
(2 :
h f + 4f + f , error = h 5 f
3( 0 )2 ) (
x2 4
) ( x 0
f x dx 1 90
(3 3
8
5
x 0 f ( x )dx 8 ( f 0 + 3f 1 + 3f 2 + f 3 ) , error = 80 f
3h 3h
) (
x3 4
(4 :
2h 7f + 32f + 32f + 7f , error = 8h 7 f
45 ( 0 )4 ) (
x4 6
x 0 f ( x )dx 2 3 945
350
:
h = x i +1 x i = b a x k +1 = x k + h
N
) f k = f ( x k .
(1 :
b f f N (b a) h 2
) f (
a f ( x ) dx h 0
2
+ f 1 +L + f N 1 +
2
, error =
12
(2 :
f f N h
) 2 24 ( 1 1 N 1 N +1
b
a f ( x ) dx h 0 + f 1 +L + f N 1 + + f + f + f f ,
2
11(b a ) h 4
) (
4
error = f
720
(3 :
a f ( x ) dx 3 f 0 + 4 ( f 1 + f 3 +L + f M 2 ) + 2 ( f 2 + f 4 +L + f M 1 ) + f M ,
b h
(b a) h 4
= b a , M = 2N
( ) ,
4
error = f
h
180 M
:
:
45.96977
:
351
a f ( x )dx h f ( x 1 ) + f ( x 2 ) +L + f ( x N ) , h = b a ,
b
N
x j = a + j 1 h , j = 1,2,..., N
2
:
1 1 f x , h = b a ,
( ) ( ) ( ) 2 ( N )
b
a f ( x ) dx h f x + f x + L + f x N 1 +
2
0 1 N
x j = a + jh , j = 0,1,2,..., N
: M
a f ( x )dx 3 [f ( x 0 ) + 4 f ( x 1 ) + f ( x 3 ) +L + f ( x M 1 )
b h
+ 2 f ( x 2 ) + f ( x 4 ) +L + f ( x M 2 ) + f ( x M )],
M = 2N , h = b a , x j = a + jh , j = 0,1,2,..., M
M
:
EXCEL
352
353
354
The Solution of Ordinary :
Differential Equations
:
( )
y ( x ) = f x , y ( x ) , y ( x 0 ) = y 0
(1 Eulers Formula
k 1 = f x j , y j
k 2 = f x j + h , y j + h k 1
2 2
y j +1 = y j + h k 2
(2 Heun Method
k 1 = f x j , y j
k2 =f x j
+ 2 h , y j + 2 h k 1
3 3
y j +1 = y j + h 1 k 1 + 3 k 2
4 4
355
Runge-Kutta Formula -( 3
k 1 = f x j , y j
k2 =f x j
+ 1 h , y j + 1 h k 1
2 2
k3 = f x j
+ 1 h , y j + 1 h k 2
2 2
k4 =f x + h , y j + h k 3
j
y j +1 = y j + h ( k 1 + 2k 2 + 2k 3 + k 4 )
6
:
y = x 2 + y 2 , y ( 0) = 0
. 0,1
356
357
358
359
: Monte Carlo Integration
) (
:
b
I = f ( x )dx
a
(b a) N
I
N
f
i =1
) (x i
x i .
1 N )
(.
:
:
1 1
= f ( x , y )dxdy
1 1
x 2 + y 2 1
) f (x , y = 1,
0, otherwise
1, x 2 + y 2 1
4 ( i i ) ( ) 0, otherwise
N
N
f x , y , f x , y =
i =1
360
:
4
= ) f (x x dx
0
:
-1 n x 1, x 2 ,..., x n ) x i ~ U ( 0,4 . i
. f = n f (x i ) = n x i
1 n
1 n
-2
i =1 i =1
-3
a f ( x )dx (b a ) f
b
x dx ( 4 0) f = 4f
4
0
2
f 2 f
) error (b a , f 2 = 1 f ) (x i
n
2
n n i =1
Excel :
361
-1 A1 n 1 1500 . A2-A1501
-2 B1 x B2 ))( =4*(RAND
.B1501
-3 C1 ) f(x C2 ). =SQRT(B2
-4 D1 fHat D2 ).=AVERAGE(C:C
-5 E1 Integration E2 .=4*D2
-6 .
:
4
= ) f ( x . x 0,1 -1
1+ x 2
-2 f ( x ) = x + x . x 0,1
f ( x , y ) = 4 x 2 y 2 :
4
( )
5 5
4 x 2 y 2 dy dx
4
. 0 0
:
362
( () )
-1 n ) x 1, y 1 , x 2 , y 2 ,..., ( x n , y n
0, 5
x i ~ U y i ~ U 0, 5 4 . i 4
) . f = n f ( x i , y i ) = n (4 x i y i
1 n
1 n
2 2
-2
i =1 i =1
-3
a c f ( x , y )dydx (b a ) (d c ) f
b d
( 0 0 )
5 5
5 5 25
4 x 2 y 2 dydx 0 0 f = f
4 4
4 4 16
2
f 2 f
) error (b a ) (d c , f 2 = 1 f ) (x i , y i
n
2
n n i =1
Excel :
-1 A1 n 1 1500 . A2-A1501
-2 B1 x B2 ))( =(5/4)*(RAND
.B1501
-3 C1 y C2 ))( =(5/4)*(RAND
.C1501
-4 D1 ) f(x D2 . =4-B2*B2-C2*C2
-5 E1 fHat E2 ).=AVERAGE(D:D
-6 E1 Integration E2 .=(5/4)*(5/4)*D2
363
-7 .
-1 f ( x , y ) = 4 x 2 y 2
. x 0,5 4 , y 0,5 4
f (x , y , z ) = 4 x 2 y 2 z 2 -2
9 10 1 11 10
( 0 0 )
0
4 x 2 y 2 z 2 dz dy dx
=. 2.9634
-3 f ( x , y , z ,u ) = 5 x y z u
2 2 2 2
4 5 9 10 1 11 10
0 0 (5 x )
0 0 y z u
2 2 2 2
du dz dy dx
=. 2.99663
364
:
1 z 2 2
. z
4,0
f ( z ) = e
2
Excel
: ) P ( z < 0 ) z ~ N ( 0,1
)) . z ( ,0 4 4
(.
365
) (
- 50 100 ) ( 5
10 )(.
- 3 8 10
Factors 2 .
- t .z
- 4 5 .
-
Data Screening
.
-
)( )(.
- .
-
.
- ) (
. ) (
. ) (
. ...
366
- .
. . ...
-
.
...
-
...
.
!!!
!!!
!!!
) !!!..... (
:
-
-
.
:
- Online Analytical Processing
) ( OLAP
- Data Warehousing and
Dataminning
367
- ) Collaborative Filtering
(Amazon
- Databases Queries
- )Relational OLAP (ROLAP
- )Decision Trees (CART and CHAID
- ) Boosting Algorithms
(Machine Learning Meta-Algorithm
- Association Rules
- Adaptive Variables Selection
- Artificial Neural Networks
...
) Online Analytical Processing ( OLAP
Data Warehousing and Dataminning
368
)(
) Online Analytical Processing ( OLAP
.
.
Business Intelligence
.Data Warehouses
.
.
:
.
" 1429/11/10 45o C "
1429/11/10 45o .
" 1429/7/27 28.75"
27
1429 28.75 .
" " .Field
"" Compay Field 28.75
369
Closing Price Field 1429/7/27
.Date Field )
( "" .Record
: 1429/7/27 28.75 1429/5/17 22.50 .
.Database
:
Business Intelligence
.
.
.
.
.
370
:
OLAP ) Data
Mining Circulation(
Multidimentional Data Hierarchical Data
)
( ) (
) ( .
.
)
( 1 2
.
)(
.
OLAP
1000
.
3 9
= 10 1 = 8 0 1 = 1024. 1
12 2
10
371
) 10 (.
) ( .
OLAP Fact Table
)
Toy Examples ( .
Day Month Year Quarter
Date )
(OLAP Date
Geographic Region .
OLAP
.
:
-1 Day Moth Year Quarter
.Time Category
372
-2 Customer Sales Region
Customer State Sales Geography
.Category
-3 Sales Manager ID
Salesperson ID .Sales Staff Category
-4 Car Series Car Type
Color . Car Information Category
"" Dimentions .OLAP
"" OLAP
Dates Geographical Areas
)( Product and Service Offerings
Employee Reporting Structures .
""
.Levels )(
)( . Time
Dimention Year Level Quarter
Level Month Level Day Level
.
:
-1 Region Level .State
373
-2 Sales Manager ID Level
Salespersons ID
.
-3 Car Series Car Type
Color.
) (Unique
"" .Members
Payment Type Dimension
. ) ( Parent Level
) ( Child Levels Child
Members .
" " .Leaf Members :
-1 Year 2000 : 2001
.Quarter
-2 Quarter 4 1 2 3 4
.Month
-3 Month 12 ) 1 (12
.Day
-4 Day 31 1 .31
-5 Customer Sales Region West
.Customer State
-6 Customer State 3 CA OR .WA
374
-7 Sales Manager ID 4 100 101 102
103 .Salesperson ID
-8 Salesperson ID 10 1 .10
-9 Car Series Standard Deluxe
.Car Type
-10 Car Type 5 Coupe Minivan Sedan
Sport Utility Station Wagon .Color
-11 Color 5 Black Blue Green Red
.White
-12 Payment Type 4 36 Month Lease
48 Mothly Payments 60 Monthly Payments .Cash
Price Measures
" " .
9
OLAp .
OLAP
"" .Cube
: OLAP
:
-1 Time Year Quarter Month .Day
375
Customer Sales Region Sales Geography -2
.Customer State
Sales Manager ID Sales Staff -3
.Salesperson ID
Car Type Car Series Car Information -4
.Color
.Payment Type Payment Type -5
. Price -6
:
376
OLAP :
OLAP
.
:
-1
-2
-3
-4
.
.
377
Connecting to OLAP Data : OLAP
OLAP ) (
. OLAP Cubes
Servers ) OLAP
(Offline OLAP
(OLAP Server Name) OLAP
(OLAP Database Name) OLAP OLAP ) OLAP
(Cube Name
. OLAP
Oracle DB2 Mainframe Systems
.
Microsoft
SQL Server 2000 Analysis Services
.
:
OLAP
.OLAP
378
OLAP
Connecting to OLAP Data with Microsoft Excel
OLAP Summarizations
OLAP .
OLAP :
New -1 Data Import External Data
Database Query
379
.OK New Data Source OLAP Cubes -2
Connect
380
Analysis Server OLAP server
Cube File .
381
Finish
OK
382
OK
Finish
383
384
385
386
.
: .
387
:OLAP
-1 XML *.odc
-2 Universal Data Link
*.udl
Open Database -3
) Connectivity (ODBC *.dsn
-4 *.dqy *.rqy
-5 OLAP *.oqy
-6 OLAP *.cub
:OLAP
OLAP
.OLAP
. OLAP
OLAP
OLAP
388
.
OLAP
)( .
.
389
.Next External Data Source
Get Data
390
391
Sum Of Price
A3 Number Currency Decimal
Places 0 OK
2001 2002
.
392
OK
+
OLAP
Check Boxes
.
393
103 101 102
. 103
.
Sales Manager ID
OK
394
103
10 3 .
395
:1
) ( 1 ) :
( 1395.1396 1400.1401
.
1395/9 1396/9 1397/9 1398/9 1399/40 1400/40
6 7 8 9 0 1
220 369 345 370 372 491
593 667 763 902 962 1152
:
) ( .
) ( .
) ( 2
) : (
1395/1396 . 1400/1401
1395/96 1396/97 1397/98 1398/99 1399/400 1400/401
396
756 722 946 929 984 963
:
) ( .
) ( .
) ( .
) ( 3
1395/1396 . 1400/1401
1395/96 1396/97 1397/98 1398/99 1399/400 1400/401
397
) (4 100
:
0 1 2 3 4
11 23 32 25 9
) ( i .
) ( ii
. 0, 1, 2, 3, 4
) (5 80
.
130 122 118 114 103 119 106 125 114 100
125 128 106 111 116 123 119 114 117 143
398
146 126 119 119 105 132 126 118 100 113
106
125 117 102 146 129 124 113 95 148
) ( i :
80-89, 90-99, 100-109, , 140-149
) ( ii .
. ) ( iIi
) ( iv
.
) ( v 125 .
) (6
:
.
) (
399
.
) (7 :
44 98 40 60 66 71 82 64 72 68
55 69 77 78 88 60 65 68 79 69
62 64 71 66 61 75 83 70 55 62
57 72 61 62 74 62 67 66 60 50
) ( i
40-49, 50-59, ., 90-99
) ( ii
.
) ( iii .
) ( iv :
400
0-59
60-69
70-79
80-89
90-99
.
) (8 70
8 10 16 15 10 8 3
) ( i .
) ( ii .
. ) ( iii
) (9
401
7.7 6.9 6.6 6.0 7.9 7.7 6.9 6.6
) (10
.
1 2 3 4 5 6 7 8 9 10 11
402
12
1 7 12 16 10 4 5 2 1 1 0 1
) (11
.
4 10 77 235 368 220 80 6
) (12
. .
80
42
1 2
7
2 3
403
4
3 4
3
4 5
2
5 6
) (13
.
3, 8, 13, 18, 23, 28, 33
) ( i .
) ( ii .
) (14 180
.
18 51 66 32 13
) ( i .
) ( ii .
) ( iii .
404
) (15 .
4.1 5.0 4.8 4.3 4.2 5.3 4.2 3.6 4.2 4.4
4.5 3.2 4.0 3.8 3.8 5.3 4.5 4.6 4.0 5.2
5.2 4.4 4.7 4.1 4.6 4.9 4.1 5.8 4.2 4.2
4.8 4.1 5.6 4.5 5.1 4.6 4.3 5.2 4.7 3.2
4.0 4.6 4.0 4.2 4.5 3.5 4.7 4.9 3.9 4.8
3.7 5.4 4.9 4.6 4.3 5.4 5.0 4.5 4.7 4.3
) ( i :
)(3.0-3.4), (3.5-3.9), (4.0-4.4), , (5.6-5.9
) ( ii .
) ( iii .
) ( iv 4.6 .
:2
405
) (1
6, 6, 9, 8, 6, 10, 9, 9, 8, 7, 8, 6, 7, 8, 8, 11, 10, 11, 8, 8
. (
( .
( .
3 (
.
) ( 2 5 .
90, 40, 81, 72, 66
. (
(
( 2
) (3
:
406
2 8
3 10
5 20
7 20
8 6
9 6
) (4 60 :
40 45 50 55 60 65 70 75 80 85 90 95
- - - - - - - - - - - -
44 49 54 59 64 69 74 79 84 89 94 99
3 3 4 6 6 11 9 8 2 4 3 1
) (5 :
407
65 66 67 68 69 70 71 72 73 74
2 0 2 0 3 6 4 3 4 1
) (6 :
9 12 15 8 4 2
. (
( .
(
. (
) (7 :
0, 2, 4, 6
408
) (8 :
2, 10, 15, 8, 6, 17, 2, 10, 3, 9, 5, 9, 1, 10, 13
. (
( 3
( 5
) (9 3000
.
.
13 165 (
( 12 123
.
175
) (11 :
409
204.71 99.900
285.48 32.600
330.22 40.400
) (12 46
.
xi 0 1 2 3 4
fi 20 10 8 5 3
410
:3
) ( 1
:
6, 3, 5, 5, 9, 4, 6, 7, 1, 2, 4, 8
) ( 2 50 .
2 7 14 15 8 4
:
. (
( .
( .
) ( 3 ) ( 2 :
(i ) x 1(s ) , (ii ) x 2(s ) , ) (iii ) x 3(s
) (4 . 2
411
) (5 B A
x B = 1500 x A = 1200
s B = 3000 s A = 250
.
) (6 :
10-14 15-19 20-24 25-29
10 30
5 20 35 19 13 8
) (7 :
2, 5, 9, 4, 3, 6
.
) (8 :
70, 70, 70, 70, 70, 70, 70
.
412
) (9 :
50 40
i =1
x i = 300
i =1
y i = 280
50 40
x i2 = 1950
i =1
i =1
y i2 = 2100
. (
( .
(
.
) (10
:
x = 160 cm , s = 8 cm : )(i
20 20
x i = 1200 kg , x i2 = 72687 kg
i =1 i =1
) (ii :
413
) (11 C 0.24
0.004 .
) 0.232
, 0.248 ( .
) (12 B
0.260 0.005
. B :
35
.
36
63
.
64
) (13
4.6 1.6
. ) 1.8
7.4 ( .
: ) ( 14
6, 5, 7, 2, 3, 9
.
414
:4
:
) ( 1
7 7 8 8
7! , 5! , 10! , 10P , 10P , , , ,
2 4 0 3
!9 10 0
) ( 2 a, b, c, d
:
( i .
( ii .
) ( 3 . Statistics
) ( 4 1, 2, 3, 4, 5 :
:
. (i
( ii . 300
( iii .
) ( 5
:
. (i
( ii .
415
) ( 6 9
:
. (i
( ii .
) ( 7 101
.
. (i
( ii
.
) (8 :
. (i
( ii .
( iii .
( iv .
) (9 5
) (10 10
5 .
416
A B B C ) ( 11
A C
B
" " ) ( 12
) ( 13
7
:
( i .
( ii .
) ( 14
.
28 .
) ( 15
.
. (i
417
( ii
.
( iii
.
: ) ( 16
9
. .......................
" = " committee
.............
15
. = ............................ 15
P2 ..............................
2
" "
............................
418
:5
:
)(1
D
G :
} { = A
} { = B
} { = C
:
A B , B C , B C
) (2 15
10 ) (G 5 ) . (D
:
.
.
.
.
) (3 4 6 .
.
419
. (i
( ii
.
) (4 0.3
. 0.58
. 0.4
.
.
.
) (5 :
P(G) = 0.46 , P(H) = 0.53 , P(GH) = 0.21
:
) P (G ) , P (H ) , P (G H ) , P (G H ) , P (G H
) (6 12 5
4 3
A B
C
. :
420
:
)P(AB) , P(C) , P(C|A
A, C
) (7 9
:
1402 1400 1376
1403 1400
. A B
C 1400
:
). P(C) , P(C|A
). P(C|Bc
) (A, C .
) (C, B .
421
) (8 4 6 4
:
.
.
.
) (9
0.15 . 0.2
.
.
) (10 A, B :
P ( A ) = t , P (A B ) = 1 , P ( B ) = 1
2 3
:
t A, B .
t A, B .
422
1
) (11
3
1
.
5
) (12 P (H ) = 1
3
. P (T ) = 2
3
1 11
1 . 7
.
) (13 ) P(.|A
.
) (14 0.4
0.2 0.1
:
.
423
) (15 15 8
:
.
.
.
.
1 2
. = =
4 3
" "
" " " " .
) (17
:
20 40
424
10 30
:
( i
( ii
.
.
) (18 A, B, C
.
.
A 40 % 3%
B 25 % 5%
C 35 %
425
8%
:
.
B .
) (19 . .
1
A
8
1
. B
6
1
D C
4
9
.
10
:
.
:
( i . D
( ii . A
426
) (20 .
0.5
. 0.75
:
.
.
) (21 A B C
. A 0.6 B 0.7 C
0.5 :
.
B
) (22 150 111
50 30 .
:
.
.
.
.
427
) (23
. s . f 3
:
. :
} { = A
} { = B
=C } {
. A, B, C
A B . B, A
. .
:6
:
) (1
. 0.5 R G .
. (i
( ii X
X
. X
428
) (2 X } . {1, 2, 3, 4
2
f (x ) = x :
30
. X (i
( ii X .
( iii X 2 .
) (3 X
. X
) f (x .
) (4 P (T ) = 1 P (H ) = 3
4 4
4 X .
) f (x . 2
) (5
0.6
5
X . :
. (i
( ii . X
(iii .
( iv .
429
) (6
.
15
4
X
:
. X (i
( ii . X
( iii . X
) (7 4 1, 2, 3, 4
. X
.
X (i
. . X
( ii ) ( i .
) (8 4
3 X
.
) ( . X
.
430
) (9 12 4
) ( . X
.
. X (i
( ii .
( iii . X
. 0.3 ) ( 10
5 X
.
. X (i
( ii . X
( iii .
10 5 . ) ( 11
. X .
. X (i
( ii .
( iii .
431
) (12 6 3
. :
1 . 2
3 . 4
5 . 6 :
. (i
( ii .
( iii .
( iv .
) (13
. 3 5
.
.
) (14 16 3
. :
. (i
( ii .
( iii .
( iv .
432
) (15 80 4 . 3
.
.
) (16
X .
X :
. (i
( ii .
) (17 10 % 5
. :
. (i
( ii .
( iii .
( iv .
3
. ) (18
5
4 . :
. (i
( ii .
( iii .
433
5
) (19 15
. :
. (i
( ii .
( iii .
40 ) ( 20
80 % 5 . :
. (i
( ii .
( iii .
) ( 21
. = = 20.8 4.5
:
18 . (i
( ii 22 .
( iii 20 30 .
434
) (22 70 %
150
100 .
) (23 ) f ( x , :
f (x , ) = e , > 0, x = 0,1,2,...
x
!x
:
)f (3, 1 ) , f (5,2) , f (6,1
5
) (24 0.003
6000
) (26 Z
:
)P (Z < 1.8 ; ) (0.32 (i
435
)P (Z > -0.5 ; ) (1.25 ( ii
)P (0.2 < Z < 0.5 ; (-0.82) (iii
) (27 500
132 10 .
:
130 140 . (i
( ii 150 .
( iii 130 .
) (28
=74 , =12
:
92 (iv 86 (iii 74 ( ii 65 ( i
) (29 36 :
1.7 ( iv 1.25 (iii 74 ( ii -1 ( i
: ) ( 30
( ii Z=0 , Z= - Z= 0.87, Z=0 (i
1.66
Z = 1.3 ( iv ( iii Z = 0.48
436
=Z ( vi Z = 0.55 ( v Z = -0.79
1.12
( vii Z = -1.05 Z = -1.75
) (31 X 80
. 4.8
:
( ii 76.4 87.2 (i
(iv 88.4 71.6 ( iii 81.2 86.0
) (32
20C . 3.33C
26.66C 21.11C .
) (33 . 62.4
20 %
. 79.2
) (34
5 52.5
. 0.8264
437
) (35
. 4.3
0.04 . :
4.25 . (i
( ii 4.40 .
( iii 4.30 4.42 .
) ( i (36 X ) N ( 7, 2 20%
9 .
( ii X ) N(,100
80.5 . 0.3264
) (37 Za/2 Z
a :
2
P (-z a /2 < Z < z a /2 ) = 1 a
Za/2 a :
)i ) a = 0.01 , ii ) a = 0.1 , iii a = 0.05
) (38
70
12 .
90 % .
438
) (39 30% . 120 .
:
30 . (i
( ii 40 .
( iii 50 .
80 . ) ( 40
:
25 . (i
( ii 30 .
( iii 45 .
) (41 60% .
60 30 .
) (42 X
) ( = 67 ) . ( 2 = 64
.
75 . 65 (i
( ii
600 . 60
439
) (43 . 0.1
(i
.
( ii 25
350 .
) (44
) (=20C ) . ( = 3C
:
. 23C (i
( ii 26C . 15C
( iii . 20C
( iv
. 0.937
Z ) ( )( i (45
Z .
) (iii 0.36 ) (ii . 0.46 ) (i . 1.24
-0.23
( ii 25%
. 26 .
440
) (46
25%
.
4 (i
.
( ii
) ( 30
5 .
) (47 5 7
. :
. (i
( ii .
( iii .
:7
n = 2 )(i (1
:
N = 24 , N = 15 , N =10 , N = 6
441
( ii n = 3
N = 50, N = 25,
N = 20 .
( iii ) ( .
n = 4 N (
. = 12
( n = 5 N = 22
.
12 10 8 . 6 )(2
X .
.
) ( 3 n = 64
=12 =4 X .
X . X (i
( ii . 0.8
) ( n = 3 )(i (4
. a, b, c, d, e
.
442
.
( ii b
( iii c d
.
) ( 5 2
. 5, 6, 7, 8, 9, 10 :
7.5 0.35112 (i
.
( ii .
1
( iii ) (ii
15
2 .
( iv )(iii
.
) ( 6 3 ) ( 5
). (iv) (iii) (ii
) ( 7 :
n=5 , ) N = 200 a
n = 10 , ) N = 300 b
, N = 45 ) n = 15 c
443
n = 36 )(8
. = 9
4.5 .
: )(10
N = 200 , n=5 (i
N = 300 , n = 100 ( ii
N = 5000 , n = 100 ( iii
) (11 X 25
. 16 X . 8
.
( 31 26 (
29 28 ( ( 21
) (12
2
. 9
) (14 X ) ( 12
. 36
444
) (15 7 .
100
1 .
) (16 25
.
1
2
1
2
) (17 100 .
445
:8
X ) ( 1
40 1.45
. 0.95
) ( 2 ) ( 1 = = 0.01,
0.05 .
) ( 3 50
44.8 . 4.7
:
) 99% ( ii ) 95% ( i
) ( 4 ) ( 3
. 0.99
) ( 5 300
.
415
3943
:
. 0.99 (i
( ii 0.99 .
446
) ( 6
.
3.2
24
. 0.95
) ( 7
45 0.99
. 320
) ( 8
6 13, 14, 12, 6, 12, 11 : .
. 0.05
447
95% ) ( 11
.
1.2
2.6 .
10 4.38 ) ( 12
0.06 . :
) ( 99% . ) ( . 95%
) ( 13
0.05 . ) 95% ( i
99% ( ii ) , 0.01
95% ) ( 14
800 . 50
805 100 1
805 200 2
805 400 3
. 99%
448
) ( 15
300.000
:
8 7 6 5 4 3 2 1
95% .
.
) ( 16
:
2.4 , 2.3 , 1.5 , 1.4 , 1.6
1.8 . 95%
99% ) ( 17
.
1.6 1.2
449
50 50
21.6 22.3
12 ) ( 18
) ( 15 ) (
:
) ( 35, 31, 30, 24, 22, 13, 25, 24, 34, 28, 30, 26
) ( 21, 18, 35, 32, 30, 40, 31, 47, 8, 22, 34, 44, 22, 27,
35
. 95%
n = 4 : ) ( 19
14.29, 14.33, 12.27, 14.31
0.99
.
450
6 2, 3, 6, 0, 4, 3 ) ( 20
.
(i
. 0.01
( ii . 0.1
X = 82 = 16 n = 100 ) ( 21
= 86 .
X = 82 = 26 n = 25 ) ( 22
= 86 . 0.05
) ( 23
64 8
. 55
68
. 0.05
8 ) ( 24
50
X =7 s = 1.4 .
451
300 500 ) ( 25
60 200
.
) 99% ( ii 95% ( i ) :
.
. ) ( 26
60
70% .
) 99% ( ii 90% ( i ) :
.
95% ) ( 27
. 200
18 .
) . 0.05 ( ii ) 0.01 ( i
A ) ( 28
10%
40 A 300 .
) 0.01 ( ii ) 0.05 ( i
.
452
) (29 300 A 200 B
28 A 15 B .
:
. (i
( ii B . A
) ( ) 0.01 ( . 0.05
:9
) ( 1 :
3 2 1 1 5 6 1 4
X
31 44 60 70 18 17 71 29
Y
. (
( Y . X
( X . Y
) ( 2 :
x 0 1 2 3 4 5
453
2
y -1 2 2 8 4 14 5
Y X (
.
( Y . X
) ( 3 .
A B D E C D E B
A C E D C D E B
) ( 4 X Y .
x 56 66 42 44 38 27 39 40
y 31 38 27 22 19 25 20 28
454
. (
( Y . X
( X . Y
6000 . (
) ( 5
:
X 25 30 32 33 35 40 37
44 45 33 38 30 27 41
Y
. (
( Y . X
( X . Y
. 45 (
) ( 6 X Y :
X 42 36 63 55 42 60 49 68
455
Y . X (
( Y . X
( 46 .
) ( 7 8 X . Y
64 62 62 70 67 71 64 68
X
66 67 65 69 67 70 65 69
Y
Y . X (
( Y . X
( 46 .
X ) ( 8 100
. Y
X
40-49 50-59 60-69 70-79 80-89 90-99
Y
90-99 2 4 4
80-89 1 4 6 5
456
70-79 5 10 8 1
60-69 1 4 9 5 2
50-59 3 6 6 2
70-49 3 5 4
Y X (
( Y . X
) ( 9 480
.
10 20 100 130
30 170 40 240
60 30 20 110
457
) ( 10
. .
18 5 23
12 20 32
25
30 55
458
Database & List Management Functions
DGET Extracts from a database a single record that matches the specified
criteria
DPRODUCT Multiplies the values in a particular field of records that match the
criteria in a database
DSUM Adds the numbers in the field column of records in the database that
match the criteria
Date & Time Functions
459
DATEVALUE Converts a date in the form of text to a serial number
DAYS360 Calculates the number of days between two dates based on a 360-day
year
EDATE Returns the serial number of the date that is the indicated number of
months before or after the start date
EOMONTH Returns the serial number of the last day of the month before or after
a specified number of months
NOW Returns the serial number of the current date and time
WORKDAY Returns the serial number of the date before or after a specified
number of workdays
YEARFRAC Returns the year fraction representing the number of whole days
between start_date and end_date
DDE & External Functions
REGISTER.ID Returns the register ID of the specified dynamic link library (DLL) or code
resource that has been previously registered
SQLREQUEST Connects with an external data source and runs a query from a
worksheet, then returns the result as an array without the need for
macro programming
460
Engineering Functions
461
IMEXP Returns the exponential of a complex number
Financial Functions
ACCRINT Returns the accrued interest for a security that pays periodic interest
ACCRINTM Returns the accrued interest for a security that pays interest at maturity
COUPDAYBS Returns the number of days from the beginning of the coupon period to
the settlement date
COUPDAYS Returns the number of days in the coupon period that contains the
settlement date
COUPDAYSNC Returns the number of days from the settlement date to the next
coupon date
COUPNCD Returns the next coupon date after the settlement date
462
COUPNUM Returns the number of coupons payable between the settlement date
and maturity date
COUPPCD Returns the previous coupon date before the settlement date
CUMPRINC Returns the cumulative principal paid on a loan between two periods
DDB Returns the depreciation of an asset for a spcified period using the
double-declining balance method or some other method you specify
FVSCHEDULE Returns the future value of an initial principal after applying a series of
compound interest rates
IPMT Returns the interest payment for an investment for a given period
IRR Returns the internal rate of return for a series of cash flows
MDURATION Returns the Macauley modified duration for a security with an assumed
par value of $100
MIRR Returns the internal rate of return where positive and negative cash
flows are financed at different rates
ODDFPRICE Returns the price per $100 face value of a security with an odd first
period
463
ODDLPRICE Returns the price per $100 face value of a security with an odd last
period
PPMT Returns the payment on the principal for an investment for a given
period
PRICE Returns the price per $100 face value of a security that pays periodic
interest
PRICEDISC Returns the price per $100 face value of a discounted security
PRICEMAT Returns the price per $100 face value of a security that pays interest at
maturity
RECEIVED Returns the amount received at maturity for a fully invested security
TBILLPRICE Returns the price per $100 face value for a Treasury bill
XIRR Returns the internal rate of return for a schedule of cash flows that is
not necessarily periodic
XNPV Returns the net present value for a schedule of cash flows that is not
necessarily periodic
YIELDDISC Returns the annual yield for a discounted security. For example, a
treasury bill
YIELDMAT Returns the annual yield of a security that pays interest at maturity
464
Information Functions
ISERR Returns TRUE if the value is any error value except #N/A
Logical Functions
465
NOT Reverses the logic of its argument
( )
Lookup & Reference Functions
HLOOKUP Looks in the top row of an array and returns the value of the indicated cell
VLOOKUP Looks in the first column of an array and moves across the row to return
the value of a cell
Math & Trigonometry Functions
466
ACOS Returns the arccosine of a number
COUNTIF Counts the number of non-blank cells within a range which meet the
given criteria
467
MOD Returns the remainder from division
SUMX2PY2 Returns the sum of the sum of squares of corresponding values in two
468
arrays
Statistical Functions
AVEDEV Returns the average of the absolute deviations of data points from
their mean
AVERAGEA Returns the average of its arguments, including numbers, text, and
logical values
BETAINV Returns the inverse of the cumulative beta probability density function
CRITBINOM Returns the smallest value for which the cumulative binomial
distribution is less than or equal to a criterion value
469
EXPONDIST Returns the exponential distribution
470
MODE Returns the most common value in a data set
PROB Returns the probability that values in a range are between two limits
STEYX Returns the standard error of the predicted y-value for each x in the
regression
471
TREND Returns values along a linear trend
Text Functions
CODE Returns a numeric code for the first character in a text string
472
REPT Repeats text a given number of times
473
:
1- Excel Data Analysis, 2003, Jinjer Simon, Wiley
2- Accessing and Analyzing Data with Microsoft Excel,
2003, Paul Cornell, Microsoft Press
3- Data Analysis Using Microsft Excel, 2000, Michael
R. Middleton, Duxbury
4- Excel 2002 Formulas, 2001, John Walkenbach,
M & T Books
5- Microsoft Excel Help
" -6
. . "
. 1424
474