Professional Documents
Culture Documents
INDEX
S.N
O
Ex
No
5
6
5
6
8
9
10
8a
8b
9
11
10
12
13
14
11
12
13
Ex No:1
Date
Title
Exploring SPSS Package, Meaning Scope
Limitations of SPSS
Data Entry in SPSS
Using SPSS data sheet data entry to made
using options
Edit data , Analysis with menu optionsSteps
Creating database for application of SPSS
Use of Charts and Graphs for Output
Using data Applying descriptive statistical
applications
Skewness
Kurtosis
Applications of t- test
Comparing the effectiveness of three different
courses undertaken by different employees
groups and finding the best course using
ANOVA.
Application of Chi square
Correlation & Rank Correlation
Regression
Page
No
2
6
8
13
14
26
29
34
36
38
41
44
46
49
Date:
Various features of SPSS Statistics are accessible via pull-down menus can be
programmed with a proprietary 4GL command syntax language. Command syntax programming
has the benefits of reproducibility, simplifying repetitive tasks, and handling complex data
manipulations and analyzes. Additionally, some complex applications can only be programmed
in syntax and are not accessible through the menu structure. The pull-down menu interface also
generates command syntax: this can be displayed in the output, although the default settings have
to be changed to make the syntax visible to the user. They can also be pasted into a syntax file
using the "paste" button present in each menu. Programs can be run interactively or unattended,
using the supplied Production Job Facility.
SPSS Statistics places constraints on internal file structure, data types, data processing,
and matching files, which together considerably simplify programming. SPSS datasets have a
two-dimensional table structure, where the rows typically represent cases (such as individuals or
households) and the columns represent measurements (such as age, sex, or household income).
Only two data types are defined: numeric and text (or "string"). All data processing occurs
sequentially case-by-case through the file. Files can be matched one-to-one and one-to-many, but
not many-to-many.
The graphical user interface has two views which can be toggled by clicking on one of
the two tabs in the bottom left of the SPSS Statistics window. The 'Data View' shows a
spreadsheet view of the cases (rows) and variables (columns). Unlike spreadsheets, the data cells
can only contain numbers or text, and formulas cannot be stored in these cells. The 'Variable
View' displays the metadata dictionary where each row represents a variable and shows the
variable name, variable label, value label(s), print width, measurement type, and a variety of
other characteristics. Cells in both views can be manually edited, defining the file structure and
allowing data entry without using command syntax. This may be sufficient for small datasets.
Larger datasets such as statistical surveys are more often created in data entry software, or
entered during computer-assisted personal interviewing, by scanning and using optical character
recognition and optical mark recognition software, or by direct capture from online
questionnaires. These datasets are then read into SPSS.
SPSS Statistics can be read and write data from ASCII text files (including hierarchical
files), other statistics packages, spreadsheets and databases. SPSS Statistics can read and write to
external relational database tables via ODBC and SQL.
Statistical output be in a proprietary file format (*.spv file, supporting pivot tables) for
which, in addition to the in-package viewer, a stand-alone reader can be downloaded. The
proprietary output can be exported to text or Microsoft Word, PDF, Excel, and other formats.
Alternatively, output can be captured as data (using the OMS command), as text, tab-delimited
text, PDF, XLS, HTML, XML, SPSS dataset or a variety of graphic image formats (JPEG, PNG,
BMP and EMF).
analyzing the data. From version 10 (SPSS-X) in 1983, data files could contain multiple record
types.
SPSS Statistics versions 16.0 and later run under Windows, Mac, and Linux. The
graphical user interface is written in Java. The Mac OS version is provided as a Universal binary,
making it fully compatible with both PowerPC and Intel-based Mac hardware. Prior to SPSS
16.0, different versions of SPSS were available for Windows, Mac OS X and Unix. The
Windows version was updated more frequently and had more features than the versions for other
operating systems.
Scope of SPSS
Faster and easier basic function access like descriptive statistics (i.e. mean, standard
deviation or median). While Excel does have built-in functions, SPSS has these basic
statistics elements in pull down menus.
Wider variety of graphs and charts in SPSS. Excel does have a wide range of basic
charts, but if you want to create complex graphs like contingency tables, this is much
easier in SPSS with the pull-down menus.
Easier to find statistical tests. While Excel does have a wide range of statistical tests
built-in, the pull-down menus in SPSS make for faster access.
Advantages of SPSS
Statistical analysis can be conducted using two main methods. One is simply by using a
generalized spreadsheet or data management program such as MS Excel or through using a
specialized statistical package such as SPSS. Here are key reasons why SPSS is the best option
to use.
Limitations of SPSS
For academic use SPSS lags notably behind SAS, and Even perhaps others that are on the
more mathematical rather than statistical side for modern data analysis.
It is expensive
There are often compatibility issues with prior versions
Ex no: 2
Date:
Aim:
To enter data's in SPSS
Algorithm
1. Start - All programs - SPSS - SPSS 16.0
OUTPUT:
Result:
Thus the data is entered in SPSS and output was verified
Ex No: 3
Date:
Using SPSS data sheet data entry to made using options
AIM:
Using SPSS data sheet data entry to made using options
Algorithm:
Step: 1
Start SPSS16.0 -> Type in Data -> File -> open -> My computer -> Local Disk C
-> program files -> SPSS Inc -> Files of type.
Step: 2
Inserting a case and variable -> select the required variable location in the left side
of the window -> then edit -> insert case select to insert o variables, select the
particular location in the top of the window -> edit -> insert variable.
Step: 3
Reading the Dataset data can be obtained in several formulas -> SPSS files
-> spread sheet -> database -> files from other statistical programs -> ASCII text ->
complex data base formats.
Step: 4
In SPSS, go to FILE OPEN -> click on the button Files of Type -> select the
option SPSS (*sav) -> click on open.
Step: 5
Submenu -> New query -> Edit query -> Run query -> option menu -> save the
currently opened SPSS syntax window.
Step: 6
Syntax window -> save as -> save the more copy of currently saved file or current
data set -> save all data to save all data and variables -> print preview of current
data set. -> Print current database -> Close the function closes the current SPSS
Syntax window.
OUTPUT:
10
11
12
Result:
13
Thus Using SPSS data sheet data entry to made using options is created and output was
verified
Ex No: 4
Date:
Edit data, Analysis with menu options- Steps
Aim:
To edit data, analysis with menu options
Algorithm:
1. Start all programs - SPSS - SPSS 16.0
Output:
14
Result:
Thus the editing of data and analysis with menu options is are done and output is verified
Ex No:5
Date:
Creating database for application of SPSS
Aim:
To create database for the application using SPSS.
Algorithm:
Step 1: Start All Programs SPSS Inc SPSS 16.0
Step 2: Edit the data in data view.
Step 3: Click on the variable view and change the name of the variable.
Step 4: If you want the change the values of given variables click on the value and enter the
value and label, click add then click ok.
Step 5: If you want to change the measure click on measure and choose the scale.
Step 6: Go to Data view and save the data.
OUTPUT:
15
16
17
18
19
20
21
22
23
24
25
Result:
26
Thus the database for the application using SPSS is created and output is verified.
Ex No 6
Date:
Use of Charts and Graphs for Output
Aim
To draw a charts and graphs using SPSS.
Algorithm
1. Start - all programs - SPSS - SPSS 16.0
2. Select type in data and click ok
3. Feed the variable details in variable view
4. Type the corresponding data's in data view
5. Go to Analyze - Descriptive statistics - Frequencies
6. Frequency dialog box will open
7. Go to chart - select required type of charts
8. Click ok
9. Output is shown in output window
27
Output:
28
Result:
Thus the Charts and graphs is created and output was verified
29
Ex No:7
Date:
Using data Applying descriptive statistical applications
Aim:
To calculate the descriptive statistics such as Mean, Median, Mode & SD using SPSS.
Algorithm
Step 1: Click Start Programs SPSS
Step 2: Enter the data in the corresponding variable column
Step 3: Click Analyze Descriptive Statistics Frequencies
Step 4: Select the desired variable from the frequency dialog box by moving the selected
variable from left to right side box.
Step 5: Click Statistics in frequencies dialog box
Step 6: Select desired tools such as Mean, Median, Mode, SD, and etc.
Step 7: Click continue click ok
Step 8: Output will appear & save the output
Step 9: Save the data file & close the SPSS window
30
OUTPUT
31
32
Salary
Cumulative
Frequency
Valid
Percent
Valid Percent
Percent
below10000
15.0
15.0
15.0
10001 to 20000
25.0
25.0
40.0
20001 to 30000
25.0
25.0
65.0
30001 to 40000
25.0
25.0
90.0
above 40000
10.0
10.0
100.0
20
100.0
100.0
Total
Result:
Thus the descriptive statistics such as Mean, Median, Mode & SD was calculated using SPSS
and output is verified.
33
Ex No: 8a
Date:
SKEWNESS
Aim:
To measure the skewness for the data to be analyzed.
Introduction
In probability theory and statistics skewness is measure of the symmetry of the
probability distribution of a real- valued random variable about its mean. The skewness value can
be positive or negative, or even undefined.
Algorithm
1.
2.
3.
4.
5.
6.
7.
Output:
34
Result:
Thus the asymmetries probability distribution in the entered data is determined.
Ex No : 8b
Date:
35
KURTOSIS
Aim:
To measure the kurtosis for the data to be analyzed.
Introduction
In probability theory and statistics, kurtosis is a measure of the tailedness of the
probability distribution of a real - valued random variable.
Algorithm:
1.
2.
3.
4.
5.
6.
7.
Output:
36
Result:
Thus the peakedness of the variables in the entered data is determined.
Ex No:9
Date:
Applications of t- test
Aim:
To apply t- test in SPSS.
Algorithm:
Step 1: Click on Start All Programs - SPSS 16.0
Step 2: Enter the independent and dependent variables in data variable for which t- test
need to be applied and assign name, label, values and measures in variable view.
Step 3: To perform independent t- test click on analyze - compare means - independent ttest.
37
Step 4: An independent sample t- test box opens. First move independent variable into
grouping variable box by selecting the independent variable followed by clicking the arrow
button near the box to move the variable.
Step 5: Next to define the level of independent variable click- define group. Define
group box appears in it code each group by assigning 1 for group 1 and 2 for group 2. After
finishing click continue
Step 6: Next have to move dependent variable into test variable box by selecting the
dependent variable followed by clicking the arrow button near the box.
Step 7: After finishing click ok.
Step 8: From these procedures an output box will be generated with the result for the
independent t- test.
Output:
38
39
Result:
Thus the of T-test was applied for the datas and output was verified
40
Ex No:10
Date:
Comparing the effectiveness of three different courses undertaken by different
employees groups and finding the best course using ANOVA.
Aim:
To comparing the effectiveness of three different Courses undertaken by different employees
groups and finding the best Course by ANOVA
Algorithm:
1. Open SPSS program
2. Enter the collected data of Course and Time in 2 different columns of data view.
3. Go to variable view and adjust the scaling of Course to Nominal and then define the 3
different data as
1 Beginner.
2 Intermediate.
3 Advanced.
4. Click Analyze.
5. In analyze click Compare Means.
6. Then click One-Way ANOVA from Compare Means.
7. A box will appear, Transfer Time to Dependent list and Course to Factor.
8. Then click Option button, a box will appear in that click Descriptive.
9. Then click Continue.
10. Click OK button.
Output:
41
42
Result:
Thus Comparing the effectiveness of three different Courses undertaken by different
employees groups and finding the best Course by ANOVA is created and output was verified.
43
Ex No: 11
Date:
Application of Chi square Analysis
Aim:
To create a application of chi square.
Algorithm
Step 1:
Start-> All programs ->SPSS.Inc -> SPSS 16.0.
Step 2:
Select type a new data and click ok button.
Step 3:
Go to data view and enter the required data.
Step 4:
Go to variable view and define a variable in the value option.
Step 5:
Click Analyze > Descriptive Statistics > Crosstabs on the top menu.
Step 6:
A dialogue box will appear. Transfer one of the variables into the rows box and the other variable
into the column box. Click on the statistics button.
Step 7:
A statistics dialogue box will appear. Select the Chi-square and Phi and Cramers V option
and click the continue button.
Step 8:
Click cells button and a dialogue box will appear.
Step 9:
44
Select Observed from the Counts area and Row, Column and Total from the percentages area.
Click the continue button.
Step 10:
Click the format button. A dialogue box will appear and select the order of the values either
ascending or descending. Click the continue button.
Step 11:
Click the ok button to generate the output.
Output:
Result:
Thus the Application of Chi - Square test is tested and output was verified.
45
Ex No: 12
CORRELATION & RANK CORRELATION
Aim:
To perform the correlation and rank correlation test calculation.
Algorithm:
Step 1:
Open SPSS software 16.0.
Step 2:
Click and select 'variable view' and type the required variable.
Step 3:
Click and select 'data view' and enter data for 275 respondents.
Step 4:
Correlation: Go to analyze Correlate Bivariate
Rank Correlation: Go to analyze Non parametric test K related sample tick Friedman
Step 5:
Enter the variables Designation and Helps others when their workload increases.
Step 6:
Solve the solution tables and Generate reports.
Step 7:
Save the program.
46
Output:
47
Result:
Thus the above program has been executed which gave an idea about Correlation & Rank
Correlation and the results are verified successfully.
48
EX: No13
Date:
Regression
Aim:
To calculate regression using SPSS
Algorithm:
1.
2.
3.
4.
5.
6.
Output:
49
Result:
Thus the calculation using regression is created and output was created.