Академический Документы
Профессиональный Документы
Культура Документы
General Experiment
(CREATING A DATA FILE)
AIM:
To practice entering the data in SPSS.
PROCEDURE:
Step 1: Go to All programs SPSS SPSS statistics and click to open SPSS main
window.
Step 2: Go to File Open Data to open the data sheet.
Step 3: It will ask for the destination to store the file. Select the destination folder
in the computer and name the document and click on save to save the statistics
document file.
Step 4: Go to variable screen from the bottom toolbar of the sheet.
Step 5: Type the Variable Name, Type, Width, Decimal Points required and
other required information to create the variable.
Step 6: Use the same procedure for creates the required data variables.
Step 7: Go to data view table and type the data on the variable in the sheet.
RESULT:
Data have been stored in the table.
Ex No: 1 a DESCRIPTIVE STATISTICS - FREQUENCIES
AIM:
To find Frequency analysis using SPSS.
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the data given in general experiment.
Step 2: Click Analyze to get the sub – menu.
Step 3: Now click Descriptive Statistics Frequencies from the Analyze sub –
menu.
Step 4: Select the Variable1 from frequency table and take it to the Variable(s)
list box by clicking button.
Step 5: Keeping all other options unchanged, click OK to execute command.
Step 6: The output will be published in a new window.
OUTPUT:
FREQUENCIES
Statistics
gender
N Valid 10
Missing 0
gender
Cumulative
Frequency Percent Valid Percent Percent
RESULT:
Descriptive Statistics (Frequencies) is conducted and the result is identified.
Ex No: 1b DESCRIPTIVES
AIM:
To find Descriptive analysis using SPSS.
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the data given in general experiment.
Step 2: Click Analyze Descriptive Statistics Descriptives.
Step 3: Holding Shift Key (or) Ctrl Key to select Variable and move them into the
Variable(s) list box by clicking button.
Step 4: Click the Options button to get the dialogue box.
Step 5: Select the desired statistics by clicking the appropriate check boxes.
Minimum, Maximum, Mean and Standard Deviation are selected by default.
Here, we shall keep the default selection of statistics.
Step 6: Keeping default value for Display Order click the Continue button to go
back to the previous dialogue box click the OK button to execute the command.
Step 7: Following output shall be displayed in the Output Viewer Window.
OUTPUT:
DESCRIPTIVES
Descriptive Statistics
Valid N (listwise) 10
RESULT:
Descriptive Statistics table is displayed and the result is identified.
Ex No: 1c CROSSTABS
AIM:
To make Crosstabs analysis using SPSS.
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the data given in general experiment.
Step 2: Click Analyze Descriptive Statistics Crosstabs
Step 3: Select Variable1 and move it to the Rows list box and select Variable2
and move it to the Columns list box.
Step 4: Click the Cells button to get the dialogue box.
Step 5: This allows you to add additional values to your table. Click the check box
to select Observed, Expected in the Counts frame; and the Row, Column and
Total in the Percentage frame.
Step 6: Click the Continue button to go back to the previous dialogue box and
then click the OK button to execute the command.
Step 7: Following output shall be displayed in the Output Viewer Window
OUTPUT:
CROSSTABS
Cases
age 25 Count 1 0 1
26 Count 0 1 1
28 Count 1 0 1
32 Count 0 1 1
41 Count 1 0 1
45 Count 1 0 1
49 Count 1 0 1
51 Count 0 1 1
53 Count 0 1 1
62 Count 0 1 1
Total Count 5 5 10
AIM:
PROCEDURE:
Step 1: Enter data given in the table above in the data editor and save it as
bulblife.sav.
OUTPUT
RESULT:
T-Test followed by two tables – One Sample Statistics and One Sample Test
and the result is identified.
Ex No. 2b INDEPENDENT SAMPLE T-TEST
AIM:
PROCEDURE:
Step 4: Select the Variable and move it in the Test Variable(s) box by clicking
button.
Step 5: Click Define Groups assign code 0 to Group1 and 1 to Group 2and
click Continue button to return to previous dialogue box.
Step 6: Click the Options button to select the Confidence Interval. The dialogue
box will appear;
Step 7: Since the chosen value of α is 0.05, we keep the value of Confidence
Interval of 95%.
OUTPUT:
T-Test
Group Statistics
95% Confidence
Interval of the
Difference
Sig. (2- Mean Std. Error
F Sig. t df tailed) Difference Difference Lower Upper
Equal variances
.013 6.665 .990 .01000 .77877 -1.85042 1.87042
not assumed
RESULT:
T-Test followed by two tables – Group Statistics and Independent Sample Test
and the result is identified.
PROCEDURE:
Step 3: Now click Compare MeansPaired Sample t–Test from the Analyze sub
– menu to get the dialogue box;
Step 4: Holding Shift Key (or) Ctrl Key to select two variables and shift them to
Paired Variable(s) list box by clicking button in the centre.
OUTPUT:
N Correlation Sig.
Paired Differences
Pair 1 Before -
5.500 3.028 .957 3.334 7.666 5.745 9 .000
After
RESULT:
The output displays three tables – Paired Samples Statistics, Paired Samples
Correlations and Paired Sample Test under the title t-Test and the result is
identified.
PROCEDURE:
Step 4: Select and bring the variable1 to the Dependent List box and Select
variable2and bring it to the Factor Text box by clicking button in the centre.
Step 6: Select Descriptive, Homogeneity of variance test and Means plot click
Continue button to go to the previous dialogue box and then click OK to execute
command.
Step 7: In the output viewer window, table for the descriptive and ANOVA will be
displayed
OUTPUT:
RESULT:
AIM:
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the following data
Step 4: Select Variable and move it to Test Variable List box by clicking
button.
Step 6: Select the desired statistics by clicking the appropriate check boxes
Descriptive and Quartiles Check boxes. Here, we shall keep the default selection
of statistics.
Step 7: Click Continue button to go to the previous dialogue box and then click
OK to execute command.
NPar Tests
Descriptive Statistics
Percentiles
Std. 50th
N Mean Deviation Minimum Maximum 25th (Median) 75th
Runs Test
Sequence
Test Valuea 2
Total Cases 38
Number of Runs 18
Z -.346
a. Median
RESULT:
The output displays two tables – Descriptive Statistics and Runs Test are
displayed under the heading NPar Tests and the result is identified.
Ex No: 3b CHI – SQUARE TEST
AIM:
PROCEDURE:
OUTPUT:
CROSSTABS
Cases
Count
Count
1 2 3 Total
Fruits Apple 1 2 3 6
Banana 2 1 0 3
Mango 1 2 3 6
Orange 1 3 1 5
Total 5 8 7 20
Chi-Square Tests
N of Valid Cases 20
AIM:
PROCEDURE:
Step 5: Click Define Groups assign code 0 to Group1 and 1 to Group 2and
click Continue button to return to previous dialogue box.
Step 6: Click Options button to get the dialogue box.
Step 7: Select Descriptive and Quartiles options in Statistics frame by clicking
them.
Step 8: Click Continue button to go back to the previous dialogue box and keeping
all other options unchanged.
Step 9: Click OK to execute the command.
Step 10: The output will be appear in output viewer window.
OUTPUT:
NPar Tests
Descriptive Statistics
Percentiles
Mann-Whitney Test
Ranks
Total 34
Test Statisticsb
Cholestral
Mann-Whitney U 120.500
Wilcoxon W 273.500
Z -.827
RESULT:
Under the title – Npar Test, a table – Descriptive Statistics are displayed. Just
below this table, two more tables – Ranks and Test Statistics are displayed under
the heading Mann-Whitney Test and the result is identified.
AIM:
PROCEDURE:
Descriptive Statistics
Percentiles
Ties 7c
Total 25
c. After = Before
Test Statisticsb
After - Before
Z -3.572a
RESULT:
Descriptive Statistics table is displayed under the heading Npar Tests and two
more tables – Ranks and Test Statistics are displayed under the heading
Wilcoxon Signed Ranks Test and the result is identified.
PROCEDURE:
NPar Tests
Descriptive Statistics
Percentiles
ExamPerformanc
40 61.00 23.928 10 100 43.00 65.00 77.75
e
Kruskal-Wallis Test
Ranks
Medium 21 23.00
High 7 37.00
Total 40
Test Statisticsa,b
ExamPerformanc
e
Chi-Square 32.154
df 2
RESULT:
Descriptive Statistics table is displayed under the heading Npar Tests and two
more tables – Ranks and Test Statistics are displayed under the heading Kruskal-
Wallis Test and the result is identified.
Ex No: 4a CORRELATION
AIM:
To make correlation analysis using SPSS.
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the data.
Step 2: Click Analyze to get the sub – menu
Step 4: Holding Shift Key (or) Ctrl Key to select two or more variables and move
these variables to the Variables box by clicking button in the centre.
Step 6: To find out Means and standard deviations for each of the selected
variables, select appropriate check boxes in the Statistics frame.
Step 7: Click Continue button to go back to the previous dialogue box and keeping
all other options unchanged.
Step 8: Click OK to execute the command.
Step 9: The output will be appear in output viewer window.
OUTPUT:
CORRELATIONS
Descriptive Statistics
Xvalue Yvalue
N 6.000 6
N 6 6.000
RESULT:
Under the major heading – Correlations, a table titled Correlations is displayed
and the result where identified.
Ex No: 4b REGRESSION
AIM:
To make Multiple Regression analysis using SPSS.
PROCEDURE:
Step 1: Open the SPSS datasheet and feed the data.
Step 2: Click Analyze to get the sub – menu.
Step 4: Select Variable1 and move it to Dependent text box and holding Shift
Key (or) Ctrl Key to select two or more Variables and bring these variables to the
Independent(s) list box by clicking button in the centre.
OUTPUT:
Regression
Variables Entered/Removedb
Variables
Model Variables Entered Removed Method
1 Incomea . Enter
ANOVAb
Total 3.960E7 9
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Calculates, or predicts, a future value by using existing values. The predicted value
is a y-value for a given x-value. The known values are existing x-values and y-
values, and the new value is predicted by using linear regression. You can use this
function to predict future sales, inventory requirements, or consumer trends.
The example dataset is shown in the following table;
A B
Known Y Known X
1
2 6 20
3 7 28
4 9 31
5 15 38
6 21 40
7 ? 30
Syntax:
FORECAST(x, known_y's, known_x's)
* The FORECAST function syntax has the following arguments:
X Required. The data point for which you want to predict a value.
Known_y'sRequired. The dependent array or range of data.
Known_x'sRequired. The independent array or range of data.
AIM:
PROCEDURE:
Step 1: Click Start All Programs Microsoft Office Microsoft Office Excel
Spreadsheet will appear on your screen.
Step 5: The Predicts a value for y given an x value of 30 is shown in A7th Cell.
Output:
RESULT:
We get the predict value of known y using forecast analysis for the value 30.
Ex No: 6 REVENUE MANAGEMENT
LINEAR PROGRAMING MINIMIZING AND MAXIMIZING
AIM:
PROCEDURE:
Step 4: Select enter new problem in the input mode and go to input screen.
Step 5: Enter problem title, no of vacancies and constraints value in the input grid.
Step 6: Enter the variables and constraints value in the input grid.
Step 9: Then click go to output screen, the output summary displayed on the
screen.
OUTPUT:
RESULT:
TRANSPORTATION PROBLEM
AIM:
PROCEDURE:
Step 5: Enter the sources and destination names and demand and supply in the
input grid.
RESULT:
AIM:
PROCEDURE:
Step 7: Choose solve problem Final solution the output displays on the output
summary.
OUTPUT:
RESULT:
We get the output display for assignment problem using TORA window.
Ex No: 8 NETWORKING MODELS
AIM:
PROCEDURE:
Step 3: Choose project planning CPM (critical path method) in main menu.
Step 4: Enter the problem title and enter the values in the input grid.
Step7: Select output option in project planning CPM window chooses CPM bar
chart.
Step 8: The output will be displayed in the critical path method schedule.
OUTPUT:
RESULT:
AIM:
PROCEDURE:
Step 4: Enter the problem title, enter the no of scenarios and enter the input grid.
Step 7: The output screen for the problem is displayed on the screen.
OUTPUT:
RESULT:
PROCEDURE:
Step 1: Click Start All Programs Microsoft Office Microsoft Office Excel
Spreadsheet will appear on your screen.
OUTPUT:
RESULT: