spss
TRANSCRIPT
Course Developed by K.K.Nigam
What is SPSS?
SPSS
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Statistical Package for the Social Sciences: SPSS is a software package used for conducting statistical analyses, manipulating data, and generating tables and graphs that summarize data.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Statistical analyses range from basic descriptive statistics, such as averages and frequencies, to advanced inferential statistics, such as regression models, analysis of variance, and factoranalysis.
Course Developed by K.K.Nigam
SPSS contains several tools for manipulating data, including functions for recoding data and computing new variables as well as merging and aggregating datasets.
SPSS also has a number of ways to summarize and display data in the form of tables and graphs.
Statistical Package for the Social Sciences
Course Developed by K.K.Nigam
SPSS is the statistical package most widely used by Researchers/ Scientists.
Reasons and background of SPSS are:
Statistical Package for the Social Sciences
Course Developed by K.K.Nigam
An SPSS Program Has 4 Parts:- Defining
- Selecting - Statistical
- Saving
Statistical Package for the Social Sciences
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
SPSS for Windows consists of five different windows, each of which is associated with a particular SPSS file type. In analyzing data in SPSS, the Data Editor and the Output Viewer are mainly used.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The Data Editor is the window that is open at start-up and is used to enter and store data in a spreadsheet format.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The Output Viewer opens automatically , when you execute an analysis or create a graph using a dialog box or command syntax to execute a procedure.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The Output Viewer contains the results of all statistical analyses and graphical displays of data. The Syntax Editor is a text editor where you compose SPSS commands and submit them to the SPSS processor.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The Data EditorThe Data Editor window displays the contents of the working dataset. It is arranged in a spreadsheet format that contains variables in columns and cases in rows.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Datasets that are currently open are called working datasets and all data manipulations, statistical functions, and other SPSS procedures operate on these datasets. The Data Editor contains several menu items that are useful for performing various operations on your data. Here is the Data Editor, containing the Employee data. sav dataset:
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Data can be directly entered in SPSS, or a file containing data can be opened in the Data Editor. From the menu in the Data Editor window, choose the following menu options (or type Alt+F+O+A): File Open...
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
If the file you want to open is not an SPSS data file, you can often use the Open menu item to import that file directly into the Data Editor. If a data file is not in a format that SPSS recognizes, then try using the software package in which the file was originally created to translate it into a format that can be imported into SPSS.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The following dialog box is used to generate descriptive statistics. Here, only the Paste button in the dialog box is relevant.
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
The Output Viewer All output from statistical analyses is printed to the Output Viewer window as well as other useful information.When you execute a command for a statistical analysis, regardless of whether you used syntax or dialog boxes, the output will be printed in the Output Viewer. Some other output that you may want to have printed to the Output Viewer are command syntax, titles, and error messages. The Output Viewer is shown below:
Course Developed by K.K.Nigam
Statistical Package for the Social Sciences
Course Developed by K.K.Nigam
SPSS
Course Developed by K.K.Nigam
This figure shows the Options dialog box with the Draft Viewer tab selected, to choose which options you want to appear in the Output Viewer. Most commands are selected by default. Here, the
SPSS
Course Developed by K.K.Nigam
Importing Data From Excel Files Data can be imported into SPSS from Microsoft Excel and several other applications with relative ease. Importing an Excel spreadsheet into SPSS is easy. If you are working with a spreadsheet in another software package, you may want to save your data as an Excel file, then import it into SPSS.
SPSS
Course Developed by K.K.Nigam
If you have a spreadsheet that is arranged in a database format (e.g., you have several tables in your Workbook that are related through identification fields), there is another method for importing Excel file that you might consider that will merge tables within your database as part of the import procedure.
SPSS
Course Developed by K.K.Nigam
First, select the desired location on disk using the Look in option. Next, select Excel from the Files of type drop-down menu. The file you saved should now appear in the main box in the Open File dialog box. You can open it by double-clicking on it. You will be presented with one more dialog box:
SPSS
Course Developed by K.K.Nigam
SPSSWhen you start a session, you see the Data Editor window.
There are few simple, basic steps to data analysis.Get your data into the Data Editor. Select a procedure from the menus to:
- Create tables- Calculate statistics, or- Create charts.
Select the variables you want to use in the analysis.
Course Developed by K.K.Nigam
SPSSFor entering the data in the Data Editor there are two ways:
1.Enter the data by opening the Data Editor and Enter the data
2. Import the data from the existing data file . It may be an Excel Worksheet or a database like Access or an ASCII File
Let us see how this is done
Course Developed by K.K.Nigam
SPSSOpen the SPSS :
1. Go to File Menu2. Select Database Capture
- Click on it , you will see three options- New Query- Edit Query- Run Query
3. Select/Click on New Query
Course Developed by K.K.Nigam
SPSSYou will see the screen as shown below, select Excel file option:
Course Developed by K.K.Nigam
SPSSSelect the file/fields you want to capture, and the out come will be as shown below
Course Developed by K.K.Nigam
SPSSCalculate HRA as 40% of the Basic .This can be done in the following way:
1. Select Transform option2. Select Compute – Following will display:
Course Developed by K.K.Nigam
SPSSFollowing will appear:
Course Developed by K.K.Nigam
SPSSYou can sort the data on any field . Let us try to sort on Grade:
1. Go to Grade column2.Click on Data/Sort Cases
You will see the screen like this:
Course Developed by K.K.Nigam
SPSSSelect on Grade as shown below:
Ok , clicking on Ok, the table gets sorted on Grades.
Course Developed by K.K.Nigam
SPSSNow Report Preparation:
1. Open the SPSS Project2. Go to Analyze option3. Select Reports4. Select Case Summaries5. Your screen look as shown in the next screen
Course Developed by K.K.Nigam
SPSSThe screen will look like this after transferring all the fields to variables exceptGroup variables which is Grade:
Course Developed by K.K.Nigam
SPSSOn clocking on OK, the report will get generated as shown below:
Course Developed by K.K.Nigam
SPSSFrequency Calculation may be done as shown below:
Click on Descriptive Statistics and then on Frequencies
Course Developed by K.K.Nigam
SPSSNow Click ok and you will get the result as shown in the next slide:
Course Developed by K.K.Nigam
SPSSThis is how you can have Grade wise Percent
Course Developed by K.K.Nigam
SPSSSimilarly you can calculate Descriptives
Course Developed by K.K.Nigam
SPSSLet us try to understand what is Time Series and how we can use it in SPSS :
Some Definitions ….
A set of ordered observations on a quantitative characteristic of an individual or collective phenomenon taken at different points in time. Usually the observations are successive and equally spaced in time.
Course Developed by K.K.Nigam
SPSSThe values of a variable generated successively in time. A continuous barograph trace is an example of a continuous time series, while a sequence of hourly pressures is an example of a discrete time series.
Time Series
In statistics, a time series is a sequence of data points, measured typically at successive times, spaced apart at uniform time intervals.
Course Developed by K.K.Nigam
SPSSWith following steps we can create a Time Series:
1. Click on Transform/ Create Time Series2. Then Click on ok3. Report will be generated.
Course Developed by K.K.Nigam
SPSSFrequency Distribution:
Some Definitions
A distribution of the count of cases corresponding to the attributes of an observed variable. FOR EXAMPLE, a frequency distribution of a class of 45 students may indicate that 25 were male and 20 were females.
Course Developed by K.K.Nigam
SPSSA tabulation of scores from high to low, or low to high, showing the number of individuals who obtain each score or whose scores fall in each score interval. Frequency distributions are used to determine tables of percentile ranks.
Frequency Distribution:
A statistical concept, an arrangement of data to show the number of times an event occurs in a particular way.
Course Developed by K.K.Nigam
SPSSclass
intervalclass mark
absolute frequency
relative frequency
cumulative absolute
frequency
relative cumulative frequency
0.00- 9.99 5 1 0.01 1 0.01
10.00-19.99 15 3 0.03 4 0.04
20.00-29.99 25 8 0.08 12 0.12
30.00-39.99 35 18 0.18 30 0.3
40.00-49.99 45 24 0.24 54 0.54
50.00-59.99 55 22 0.22 76 0.76
60.00-69.99 65 15 0.15 91 0.91
70.00-79.99 75 8 0.08 99 0.99
80.00-89.99 85 0 0 99 0.99
90.00-99.99 95 1 0.01 100 1
Course Developed by K.K.Nigam
SPSSA frequency distribution is a tabular arrangement of data whereby the data is grouped into different intervals, and then the number of observations that belong to each interval is determined. Data that is presented in this manner are known as grouped data.
Course Developed by K.K.Nigam
SPSSFor Descriptive Frequency – this type of out put can be generated.
Course Developed by K.K.Nigam
SPSSSimilarly Explore can be created.
Course Developed by K.K.Nigam
SPSSReports for Cross tab will look this.
Course Developed by K.K.Nigam
SPSSThis is an example of General table
Similarly other tables like Multiple tables etc. can be generated.
Course Developed by K.K.Nigam
SPSSYou can t- test report like this;
Course Developed by K.K.Nigam
SPSSUnivariate test
Course Developed by K.K.Nigam
SPSS
Thank You