You are on page 1of 8

A USER’S MANUAL TO GSTAT-2004

A user's guideline to GSTAT-2004. A statistical software package


with following programs for PG students of STAT-421 course.

1. FREQUECNY DISTRIBUTION
2. MEAN, SD, CV, SKEWNESS & KURTOSIS
3. FITTING OF DITRIBUTIONS
4. CORRELATION ANALYSIS
5. REGRESSION ANALYSIS
6. HYPOTHESIS TESTING
7. CHI-SQUARE TEST
8. ANALYSIS OF VARIANCE
9. STATISTICAL TABLES
10. HELP

After booting the system in windows, if the program is not


installed, install the program GSTAT-2004 on the hard disc in the
directory / folder named ‘gstat’. Execute the program at DOS prompt by
typing gstat04 (either case) and press 'Enter'. The main menu as shown
above appears on the screen. Select the relevant option; if there is a
sub menu then choose the required one.
Follow / Answer the instructions displayed on the screen.

Data input/output file name:

When you get the message on the screen ‘GIVE DATA FILE NAME’ - type
your data file name along with its source i.e. drive/folder name.
For example, if you have a data file named ST01.D1 on the hard disc
C in the directory / folder named DATA, then type C:\DATA\ST01.D1 and
press 'Enter' key. This will be followed by the message on the screen.
GIVE FILE/DEVICE NAME FOR OUTPUT. You can opt for any one of the
three devices used for output viz. console/screen, printer or file on a
particular disc / drive.
a) If the output is to be obtained on the screen type CON and press
'Enter' key. Note: If the output is of more than 23 lines, the
last 23 lines will be displayed on the screen and the rest would
be lost while screen will scroll.
b) If the output is to be obtained directly on the printer type PRN
and press 'Enter' key Note: Before typing PRN the printer should
be ready with paper properly in place.
c) If the output is to be written in a file on the hard disc or on a
floppy diskette or CD type a new file name along with its source
i.e. drive/folder name.

Rules for the data input file:

a) The FIRST line of each data set of input file for ANY Choice from
the main menu is IDENTIFICATION LINE i.e. set name / no.
b) Number of columns used per line for data input is not
restricted.
c) No characters other than digits (0 - 9) and special characters
plus (+), minus (-), period (.), comma (,), blank () are allowed
in the data file except in the identification line, i.e. first
line where all characters are allowed.
d) Any number of data sets of similar type can be punched in one
data file. Output of all the data sets can be obtained by
executing the program once if data is punched correctly according
to the format of the program used.
e) The values of the input parameters pertaining to whole numbers
must be non negative integers without decimal point e.g. in case
of RBD if there are fifteen treatments, the value of the
parameter NT (number of treatments) must be entered 15 and not
15. Or 15.00.
f) Parameters of the data set: Values of the parameters are to be supplied
in second line or third line of the data set in the given order with at
least one blank among them.
g) Store the data file in NOTEPAD with file name of 8 characters and
extension of max 3 characters (optional). If you did not add extension
name ‘notepad’ will ‘txt’ as the extension. eg. normal.dat or normal.txt

FREQUENCY DISTRIBUTION

The 2nd line is:


No of Obs.
The 3rd line is:
Sr.No., Value of variable,
Continue rest data on next lines.
Data example:
FREQ DIST / Set 1
3
1 5
2 2
3 5
Answer questions on screen i.e. Lower limit of the starting class,
Class Width, No. Of classes.

MEAN, SD, CV, SKEWNESS and KURTOSIS

For First option (Grouped Data)


The second line is:
No of Groups
The third line is:
Sr. No, Mid Value of Class Interval, Freq. of variable
Continue rest data on next lines.
Data example:
Set no1
4
1 32.5 5
2 37.5 14
3 42.5 16
4 47.5 25
For second option (Ungrouped Data)
The second line is:
No. of Variables, No.of Obs.
The third line is:
Sr.No., Data for Var1, 2, 3 ---.
Continue rest data on next lines.
Data example:
UNGROUPED TEST DATA
2 3
1 55 65
2 70 40
3 40 30
FITTING OF DISTRIBUTIONS

Sub Menu
1 FITTING OF BINOMIAL DISTRIBUTION
2 FITTING OF POISSION DISTRIBUTION
3 FITTING OF NORMAL DISTRIBUTION

The 1st option of the sub menu has two choices:


1 Prob. Of Attribute known
2 Prob. Of Attribute unknown
Select the appropriate option.
The second line of data file for Choice 1 and 2 is:
Attribute value, Freq. of each attribute value.
Starting from(r=0,1,2--n) Continue rest data on next lines.
Answer questions on screen i.e. No.of trials, Prob. Value if known.
Data example:
FITTING OF BINOMIAL DISTRIBUTION / set 1
0 3
1 6
2 19
3 35

The second line for Fitting of POISSON Distribution is:


Attribute value, Freq. of each Attrib value.
Answer questions on screen, Asking no. of groups including 0.
Data example:
SET 2
0 211
1 90
2 19
3 5

The second line for Fitting of NORMAL Distribution is:


No. of Groups / Classes
The third line is:
Sr.No, Lower Value, Upper Value of CONTINOUS Class Interval and
frequency of the class, Continue rest data on next lines.
Data example:
SET 1
3
1 149.5 158.5 18
2 158.5 167.5 48
3 167.5 176.5 102

CORRELATION ANALYSIS

Sub Menu
1 PEARSON’S PRODUCT MOMENT CORR.
2 BIVARIATE CORR. FOR GROUPED DATA
3 PARTIAL CORRELATION
4 SPEARMAN’S RANK CORRELATION
5 KENDALL’S RANK CORRELATION (TAU)
The 2nd line for Option 1, 3, 4 is:
No. of Variables, No.of Obs.
The third line for Option 1, 3, 4 is:
Sr.No, Data for Var 1, 2, 3, ----.Continue rest data on next lines.
Data example:
CORR./PARTIAL
3 4
1 16.2 69.6 0
2 31.5 69.6 40
3 30.6 69.6 60
4 39.4 69.6 80
Answer the on screen question for partial corr.
The second line for Option 2 i.e. Grouped data is :
No of Classes of Y, X variable ie. (No of Rows, Cols.)
The third line is :
All Mid Value of Class Intervals (CI) of X variable
1st Mid Value of CI of Y vari., Then All Frequencies of (X,Y)
variable pair for this CI. Continue rest data on next lines.
Data example:
GROUPED DATA CORR
4 4
175 225 275 325
1125 9 10 7 0
1375 5 5 12 1
1625 1 6 20 2
1875 0 1 4 7
The second line for Option 5 for(X,Y) is :
2, No.of Obs.
The 3RD Line is :
No. of Ties In X, No. of Ties In Y
The 4 th line is:
Sr.No, Data for Var X and Y.
Data example:
KENDALL TAU
2 4
0 4
1 3 1.5
2 4 1.5
3 2 3.5
4 1 3.5
REGRESSION ANALYSIS
SUB MENU
1 SIMPLE LINEAR REGRESSION
2 POLYNOMIAL REGRESSION
3 MULTIPLE LINEAR REGRESSION
4 EXPONENTIAL REGRESSION (Form)
5 POWER REGRESSION (Form)

The 2nd line for all Options is:


Total No. of Variables, Total No.of Obs.

The 3rd line for All Options is :


No. of Independent variables (X`s), Index of X`s (Col. location),
Index of Dependent variable (Y) (Col. location),Expected Y required
then 1 otherwise 0.
The 4th line for All Options is:
Sr.No, Data for Var 1, Var 2, Var 3, ---. Continue rest data on
next lines.
Data example:
MULTI REG FITTG D3
3 4
2 2 3 1 1
1 5 6 36
2 4 8 64
3 8 9 81
4 11 6 55
NOTE: For Option 1 and 2 in 3rd line, No. of X`s vari.= 1

HYPOTHESIS TESTING

Sub Menu
1 SINGLE PROPORTION
2 DIFFERENCE OF TWO PROPORTION
3 SINGLE MEAN
4 DIFFERENCE OF TWO MEAN
5 DIFFERENCE OF TWO MEAN (Unequal Var)
6 PAIRED ‘T’ TEST
7 CORRELATION COEFF. (ρ ≠ 0)
8 DIFFERENCE OF TWO CORR. COEFF.
9 DIFFERENCE BETWEEN VARIANCES

NOTE : NOB stands for No.of Observations

The second line for choice 1 is:


Sample size, Hypothesized value of prop., No. of desired attr.(r).
Data example:
Set1 / Single Prop.
500 .5 280
The second line for choice 2 is:
Sample size 1, No. of desired attr. (r)1, Sample size 2, No. of
desired attr. (r)2.
Data example:
DIFF OF 2 prop
600 500 500 400
The second line for choice 3 is:
NOB, Hypothesized value of mean
The third line for choice 3 is:
Sr.No.,data for variable,Continue rest data on next lines.
Data example:
SINGLE MEAN / set 2
3 100
1 100.5
2 98.5
3 100.2

The second line for choice 4 is:


NOB-1, NOB-2
The third line for choice 4 is:
All Obsd. values of 1st var. row-wise until it finishes
Then start for 2nd variable from new line.
Data example:
DIFF OF 2 MEAN
6 6
20.5 24.6 23.06 29.98 30.37 23.83
24.86 26.76 28.19 30.75 29.97 22.04
Set 2
6 8
3 5 4 7 6 5
4 6 7 6 8 5 3 9
The data file for choice 5 is same as choice 4:

The second line for choice 6 is:


NOB
The third line for choice 6 is :
Sr.No., Data for Var 1,2. Continue rest data on next lines.
Data example:
PAIRED t TEST
4
1 49 52
2 53 55
3 51 52
4 52 53
The second line for choice 7 is:
NOB, Hypothesized value of Corr., Sample Corr.(r)
Data example:
Set 1
28 0.79 0.67

The second line for choice 8 is:


NOB 1, Sample Corr.(r)1, NOB 2, Sample Corr.(r)2
Data example:
Set1
12 0.81 16 0.85
The data file for choice 9 is same as choice 4:

Chi-Sq Test
Sub Menu
1 Ind. Of Attributes (R x C)
2 GOODNESS OF FIT
3 MULTI - PROPORTIONS (1 x C)
4 SINGLE POPULATION VARIANCE
5 HOMOGENIETY OF VARIANCE FOR K- POPULATIONS

The FIRST line for any choice of the tests under Chi-Sq Test
from the main menu is test name or set no.

The second line for choice 1 is:


No of Rows, Cols. (of classes)
The third line is:
Sr.No, Data for Var 1, 2, 3, -- . Continue rest data on next lines.
Data example,
CHI 1
2 2
1 5 8
2 2 9

The second line for choice 2 is:


No. of Groups, No. of Estimated Parameters of the Distribution
Fitting used, ie. For BD it is 1 (say), PD it is 1, ND it is 2

The third line is:


Sr.No, Data for Obsd. Freq., Expected Freq. Continue rest data on
next lines. Feed all the data even if some are zero.
Data example,
GOODNESS OF FIT -SET1
4 1
1 0 6
2 20 19.1
3 28 24
4 32 0

The second line for choice 3 is:


No of Groups/classes
The third line for choice 3 is:
Sr.No, Hypothesized value of Prop., Data for Obsd. Freq.
Continue rest data on next lines.
Data example,
Multi Prop. / Set1
3 3
1 .3 12
2 .1 6
3 .6 18

The second line for choice 4 is:


NOB, Hypothesized value of variance
The third line for choice 3 is:
Sr.No., Data for Var 1. Continue rest data on next lines.
Data example,
CHI SQ TEST SINGLE VAR
3 187
1 60
2 70
3 50
The second line for choice 5 is:
No of estimated variances
The third line for choice 5 is:
Sr.No., df of the 1st variance, value 1st estimated variance.
Then start for 2nd, 3rd,--- variances on next lines.
Data example,
Set1
3
1 6 2.1
2 9 1.6
3 11 2
ANOVA
Sub Menu
1 ONE WAY CLASSIFICATION (CRD)
2 TWO WAY CLASSIFICATION (RBD)

The FIRST line for any choice ANOVA is Set No.Name

The second line for choice 1 is:


IF Equal Reps Give No. of Reps.-For Unequal rep 0, No. of
Treatments,
0 for no transformation, 1 for Arc Sine, 2 for Sq Root, 3 for Log
The third line for unequal rep. is :
The data of the set are to be supplied for all the treatments
giving Sr,no., number of replications and values of all the
replications for each treatment in one line.
Repeat steps 1 to 3 for more sets of data
For equal rep. Enter All Data values of the Treat. row-wise until
it finishes
Otherwise after Sr.no.start with data values.

NOTE: For Pairwise Comparisons (In case of Unequal Reps)


After entering data for all the treatments, Give No. of Pair
Comparisons. On Next Lines Index of Treatments (one index each
line) within which Pair Comparisons are required.
Data example,
SET 1
0 4 0
1 1 1.5
2 2 4.7 4.3
3 3 5.7 5.8 5.3
4 3 3.7 3.2 2.9
2
2 3
1 3

The second line for choice 2 is:


Give No. of Reps., No of Treatments
0-for no transformation, 1-for Arc Sine,2-for Sq Root, 3-for Log
The third line is:
Sr.No., Start with Data Values. Enter All Data values of the vari.
row-wise until it finishes. Then start for 2nd, 3rd,--- variables

Wheat Yield (1987-88, 1988-89)


3 4 0
1 1.5 1.8 1.6
2 4.7 4.4 5.3
3 5.7 5.8 5.3
4 3.7 3.2 2.9

You might also like