Vous êtes sur la page 1sur 27

APPLIED PROBABILITY &

STATISTICS(MT-330)

PRACTICAL NO. 01
Introduction to Minitab

Syed Tauqeer Ahmed Hashmi


Lecturer,
Department of Mathematics
NED university of Engineering & Technology, Karachi

(1)
Following table gives some facts on 10 major
countries.
(a)
Enter, Save and Print data.
(b)
Sort data according to alphabetical order and print.
Country
Population
Area
Poland

38600000

120728

China

1217600000

3691500

United States

265200000

3615278

Taiwan

21400000

13900

Netherlands

15500000

16133

Egypt

63700000

386661

Russia

147700000

6592850

Sweden

8800000

170250

Bangladesh

119800000

55598

Indonesia

949600000

1222244

(c) Insert following information in dictionary order and print.


Country

Population

Area

Pakistan

133500000

307374

SESSION WINDOW

Session window is used to enter Minitab commands


and to display output

DATA WINDOW
Data window, sometimes called the worksheet, displays active
data entered by you or produced by the computer

How To Enable Minitab Commands ?

1.

To make Session window active, place the mouse pointer


on the window and just click it.
Choose Editor Enable Command Language.

2.

How to Enter data in Minitab ?


To enter Text data

MTB > SET C1;


SUBC > FORMAT (A15).
DATA > Poland
DATA > China
.
DATA > END
To enter Numeric data

MTB > SET C2


DATA > 38600000
DATA > 1217600000
.
DATA > END

To enter multiple column entries at same time


MTB > READ C2-C3
DATA > 38600000
120728
.
DATA > END
Name column (s)
MTB > NAME C1 Country C2 Population C3 Area
Print worksheet on session window
MTB > PRINT C1-C3
To save in default directory
MTB > SAVE
To save in destination directory
MTB > SAVE D:\PRACTICAL 1.MTW

Row

Country

Population

Area

1
2
3
4
5
6
7
8
9
10

Poland
China
United States
Taiwan
Netherlands
Egypt
Russia
Sweden
Bangladesh
Indonesia

38600000
1217600000
265200000
21400000
15500000
63700000
147700000
8800000
119800000
949600000

120728
3691500
3615278
13900
16133
386661
6592850
170250
55598
1222244

Single Column Sorting


Sort column 1 and store in column 2

MTB > SORT C1 C2

Multiple Columns Sorting


Sort column 1, 2 & 3 and store respectively in column
4, 5 & 6

MTB > SORT C1 C2 C3 C4 C5 C6

Before Sorting
Country

Population

Area

Poland
China
United States
Taiwan
Netherlands
Egypt
Russia
Sweden
Bangladesh
Indonesia

38600000
1217600000
265200000
21400000
15500000
63700000
147700000
8800000
119800000
949600000

120728
3691500
3615278
13900
16133
386661
6592850
170250
55598
1222244

Country

Population

Area

Bangladesh
China
Egypt
Indonesia
Netherlands
Poland
Russia
Sweden
Taiwan
United States

119800000
1217600000
63700000
949600000
15500000
38600000
147700000
8800000
21400000
265200000

55598
3691500
386661
1222244
16133
120728
6592850
170250
13900
3615278

After Sorting

INSERT [ between rows K and K ] of C ... C

MTB > INSERT 5 6 C4;


SUBC > FORMAT (A10).
DATA > Pakistan
DATA >END

MTB > INSERT 5 6 C5-C6


DATA > 133500000
DATA >END

307374

Row

Country

Population

1
2
3
4
5
6
7
8
9
10
11

Bangladesh
China
Egypt
Indonesia
Netherlands
Pakistan
Poland
Russia
Sweden
Taiwan
United States

Area

119800000
1217600000
63700000
949600000
15500000
133500000
38600000
147700000
8800000
21400000
265200000

55598
3691500
386661
1222244
16133
307374
120728
6592850
170250
13900
3615278

2.

Plot the given four relative functions for0 x 64


and
step size h = 0.5, on the same graph.

yx
y x ( log 2 x )

y x log 2 x 2
y x2
log 2 x

log10 x
log10 2

Arithmetic Operations Can Perform in


Minitab
ADD +
SUBTRACT MULTIPLY

DIVIDE

POWER

**

ABSO

calculate Absolute of number (s) or column (s)

SQRT

calculate Square Root of number (s) or column (s)

LOGE

calculate Natural Log of number (s) or column (s)

LOGTEN

calculate Base 10 Log of number (s) or column (s)

EXPO
(s)

calculate Exponentiation of number (s) or column

ANTILOG

calculate Antilog of number (s) or column (s)

SUM

calculate Sum of numbers or columns

MEAN

calculate Mean of column (s)

STDEV

calculate Standard Deviation of column (s)

MEDIAN

calculate Median of column (s)

MINIMUM

calculate Minimum of column (s)

MAXIMUM

calculate Maximum of column (s)

MTB > SET C1


DATA > 0:64/0.5
DATA > END

MTB > LET C2=C1

MTB > LET C3=C1*(LOGTEN (C1)/LOGTEN (2))

2
MTB > LET C4=C1*(LOGTEN (C1)/LOGTEN (2))**2 y x ( log 2 x )

MTB > LET C5=C1**2

yx

y x ( log 2 x )

y x2

Row

Y=X

Y= X (LOG X)

Y= X (LOG X)**2

Y= X**2

1
2
3
4
5
6

0.0
0.5
1.0
1.5
2.0
2.5

0.0
0.5
1.0
1.5
2.0
2.5

*
-0.500
0.000
0.877
2.000
3.305

*
0.50
0.00
0.51
2.00
4.37

0.00
0.25
1.00
2.25
4.00
6.25

128
129

63.5
64.0

63.5
64.0

380.281
384.000

2277.39
2304.00

4032.25
4096.00

Single variable plotting


MTB > PLOT C2*C1;
SUBC > CONNECT;
SUBC > TITLE GRAPH OF Y=X.

Multiple variables plotting on same graph (Superimposing


graph)

MTB > PLOT C2*C1 C3*C1 C4*C1 C5*C1;


SUBC > CONNECT;
SUBC > OVERLAY;
SUBC > TITLE GRAPH OF FOUR RELATIVE FUNC.

3.

Evaluate the following expressions using default


Minitab commands and store in constants K1, K2 K10
and print.
Given

x1 1

y1 6

x2 2

y2 7

x3 3

y3 8

x4 4

y4 9

x5 5

y 5 10

(a)

x y
i

i 1

(b)

i 1

(c )

x
i 1

yi
yi

i 1

(e)

i 1

i 1

(2 xi yi 3)
5

(5 x y )

(g)
5

( h)

i 1

log 10 ( xi )

(i )

(x y )
i 1

ln ( yi )

2 xi 5 yi

(d )

(f)

i 1

i 1

( j ) exp ( xi )
i 1

FOR EXAMPLE TO CALCULATE


5

(a )

x y
i 1

i 1

MTB > LET K1=SUM (C1)*SUM(C2)


MTB > NAME K1SUM X*SUM Y =
MTB > PRINT K1
Data Display
SUM X*SUM Y =

600.000

MTB > LET K1=SUM (C1)*SUM(C2)

MTB > LET K2=SUM (C1*C2)

MTB > LET K3=SUM (((C1)**2)*C2)

MTB > LET K4=SUM (LOGTEN (C1))

MTB > LET K5=SUM (LOGE (C2))

MTB > LET K6=SUM (2*C1+C2-3)

MTB > LET K7=SQRT (SUM(5*C1+C2))

MTB > LET K8=SUM(ABSO(2*C1-5*C2))

MTB > LET K9=SUM((C1+C2)**3)

MTB > LET K10=EXPO (SUM(C1))

MTB > NAME K1'SUM X*SUM Y' K2 'SUM (X*Y)++


CONT> K3'SUM ((X**2)*Y)'K4'SUM LOG X'K5'SUM LN Y++
CONT> K6'SUM (2X+Y-3)' K7'SQRT (SUM(5X+Y))'++
CONT> K8'SUM (ABSO(2X5Y))'K9'SUM(X+Y)**3'K10'EXPO(SUM X)

MTB > PRINT K1-K10

SUM X*SUM Y
SUM (X*Y)
SUM ((X**2)*Y)
SUM LOG X
SUM LN Y
SUM(2X+Y-3)
SQRT (SUM(5X+Y))
SUM (ABSO(2X-5Y))
SUM(X+Y)**3
EXPO(SUM X)

=
=
=
=
=
=
=
=
=

600.000
130.000
500.000
2.07918
10.3169
=
55.0000
10.7238
170.000
7975.00
3269017

Vous aimerez peut-être aussi