Introduction to SPSS-01!07!11
-
Upload
yasir-irfan -
Category
Documents
-
view
29 -
download
3
Transcript of Introduction to SPSS-01!07!11
![Page 1: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/1.jpg)
Introduction to SPSS Statistical Package for the Social
Sciences
![Page 2: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/2.jpg)
Most of the examples presented here use the data file demo.sav. This data file is a ficticious survey of several thousand people, containing basic demographic and consumer information.
If you are using the Student version of SPSS, your version of the demo.sav is a representative sample of the original data file, reduced to meet the 1,500 case limit. Results that you obtain using that data file will differ from the results shown here.
All sample files used in these examples are located in the tutorial\sample files folder within the folder in which SPSS is installed.
SPSS- Statistical Package for the Social Sciences
![Page 3: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/3.jpg)
SPSS- Statistical Package for the Social Sciences
![Page 4: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/4.jpg)
When you start a session, you see the Data Editor window.
SPSS- Statistical Package for the Social Sciences
![Page 5: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/5.jpg)
Before you can analyze data, you need some data to analyze.
SPSS- Statistical Package for the Social Sciences
![Page 6: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/6.jpg)
To open a data file: From the menus, choose: File Open Data
SPSS- Statistical Package for the Social Sciences
![Page 7: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/7.jpg)
SPSS- Statistical Package for the Social Sciences
![Page 8: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/8.jpg)
SPSS- Statistical Package for the Social Sciences
![Page 9: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/9.jpg)
Descriptive value labels are now displayed. This makes it easier to interpret the responses.
SPSS- Statistical Package for the Social Sciences
![Page 10: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/10.jpg)
SPSS- Statistical Package for the Social Sciences
Descriptive value labels are now displayed. This makes it easier to interpret the responses.
![Page 11: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/11.jpg)
The Analyze menu contains a list of general reporting and statistical analysis categories. Most of the categories are followed by an arrow, which indicates that there are several analysis procedures available within the category; they will appear on a submenu when the category is picked. We'll start with a simple frequency table (table of counts).
SPSS- Statistical Package for the Social Sciences
![Page 12: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/12.jpg)
Descriptive Statistics
![Page 13: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/13.jpg)
Descriptive Statistics
![Page 14: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/14.jpg)
Descriptive Statistics
![Page 15: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/15.jpg)
Descriptive Statistics
![Page 16: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/16.jpg)
Descriptive Statistics
![Page 17: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/17.jpg)
From the menus, choose: Graphs
Bar
Graphical Analysis
![Page 18: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/18.jpg)
For example, you could create a chart that shows the relationship between wireless telephone service and PDA (personal digital assistant) ownership.
Graphical Analysis
![Page 19: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/19.jpg)
Graphical Analysis
![Page 20: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/20.jpg)
Graphical Analysis
![Page 21: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/21.jpg)
This section uses the files demo.sav and bhelptut.spo.
Data Transformation
Use the Transform menu to calculate new values and variables, and to recode data.
![Page 22: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/22.jpg)
Rather than typing all your data directly into the Data Editor, you can read data from applications like Microsoft Excel.
Getting Data from Excel
![Page 23: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/23.jpg)
Getting Data from Excel
![Page 24: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/24.jpg)
Select Excel (*.xls) from the Files of Type listbox.
Getting Data from Excel
![Page 25: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/25.jpg)
The Opening Excel Data Source dialog box is displayed, allowing you to specify whether or not variable names are included in the spreadsheet, as well as the cells that you want to import.
Getting Data from Excel
![Page 26: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/26.jpg)
The data now appear in the Data Editor, with the column headings used as variable names.
Getting Data from Excel
![Page 27: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/27.jpg)
Data can be typed into the Data Editor, which may be useful for small data files or making minor edits to larger data files.
Entering Data in SPSS
Click the Variable View tab at the bottom of the Data Editor window.
![Page 28: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/28.jpg)
Define the variables that are going to be used. In this case, only three variables are needed: age, marital status, and income.
Entering Data in SPSS
![Page 29: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/29.jpg)
Entering Data in SPSS
![Page 30: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/30.jpg)
Non-numeric data, such as strings of text, can also be entered in the Data Editor.
Entering Data in SPSS
![Page 31: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/31.jpg)
Entering Data in SPSS
![Page 32: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/32.jpg)
Entering Data in SPSS
![Page 33: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/33.jpg)
Summary Measures
![Page 34: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/34.jpg)
Summary Measures
![Page 35: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/35.jpg)
Summary Measures
Click Charts.
![Page 36: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/36.jpg)
Summary Measures
![Page 37: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/37.jpg)
Summary Measures
![Page 38: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/38.jpg)
Click Statistics.
Summary Measures
![Page 39: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/39.jpg)
Summary Measures
![Page 40: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/40.jpg)
Summary Measures
![Page 41: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/41.jpg)
Summary Measures
![Page 42: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/42.jpg)
What factors affect the products that people buy? The most obvious is probably how much money people have to spend. In this example, we'll examine the relationship between income level and PDA (personal digital assistant) ownership.
Cross tabulation Tables
![Page 43: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/43.jpg)
From the menus choose:Analyze Descriptive Statistics Crosstabs
Cross tabulation Tables
![Page 44: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/44.jpg)
Cross tabulation Tables
![Page 45: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/45.jpg)
Cross tabulation Tables
![Page 46: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/46.jpg)
The purpose of a crosstabulation is to show the relationship (or lack thereof) between two variables.
A number of tests are available to determine if the relationship between two crosstabulated variables is significant. One of the more common tests is chi-square. One of the advantages of chi-square is that it is appropriate for almost any kind of data.
Chi-square Test
![Page 47: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/47.jpg)
Open the Crosstabs dialog box again. Click Statistics.
Chi-square Test
![Page 48: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/48.jpg)
Chi-square Test
![Page 49: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/49.jpg)
Pearson chi-square tests the hypothesis that the row and column variables are independent. The actual value of the statistic isn't very informative.
Chi-square Test
![Page 50: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/50.jpg)
In this case, the significance value is so low that it is displayed as .000, which means that it would appear that the two variables are, indeed, related.
The significance value (Asymp. Sig.) has the information we're looking for. The lower the significance value, the less likely it is that the two variables are independent (unrelated).
Chi-square Test
![Page 51: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/51.jpg)
Several categorical variables in the data file demo.sav are, in fact, derived from scale variables in that data file. For example, the variable inccat is simply income grouped into four categories -- and here's how it was done...
Transformation of a Variable
![Page 52: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/52.jpg)
From the menus in the Data Editor window choose: Transform Recode Into Different Variables
Transformation of a Variable
![Page 53: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/53.jpg)
Select Household income in thousands (income) for the Numeric Variable --> Output Variable list. Enter inccat2 for the output variable name. Enter Income category for the output variable label. Click Change. Click Old and New Values.
Transformation of a Variable
![Page 54: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/54.jpg)
In the Old Value group, click the second Range button and enter 24.999 in the text field after Lowest through.
In the New Value group, click Value and enter 1. Click Add.
Transformation of a Variable
![Page 55: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/55.jpg)
Transformation of a Variable
![Page 56: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/56.jpg)
Transformation of a Variable
![Page 57: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/57.jpg)
Click Continue, and then click OK in the main dialog box.
Transformation of a Variable
![Page 58: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/58.jpg)
Transformation of a Variable
![Page 59: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/59.jpg)
Pie Chart
In this example, we'll create a simple pie chart that shows how many respondents have internet service at home.From the menus choose: Graphs Pie
![Page 60: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/60.jpg)
Pie Chart
![Page 61: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/61.jpg)
Pie Chart
![Page 62: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/62.jpg)
In order to increase sales, motor vehicle design engineers want to focus their attention on aspects of the vehicle that are important to customers--for example, how important is fuel efficiency with respect to sales? One way to measure this is to compute the correlation between past sales and fuel efficiency.
Information concerning various makes of motor vehicles is collected in car_sales.sav . Use Bivariate Correlations to measure the importance of fuel efficiency to the salability of a motor vehicle.
Correlation Analysis
![Page 63: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/63.jpg)
Correlation Analysis
To run a correlations analysis, from the menus choose: Analyze Correlate Bivariate...
![Page 64: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/64.jpg)
Correlation Analysis
![Page 65: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/65.jpg)
The correlation reported in the table is negative(!), although not significantly different from 0, which suggests that designers should not focus their efforts on making cars more fuel efficient because there isn't an appreciable effect on sales.
Correlation Analysis
![Page 66: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/66.jpg)
Linear regression is used to model the value of a dependent scale variable based on its linear relationship to one or more predictors.
Regression Analysis
The Nambe Mills company has a line of metal tableware products that require a polishing step in the manufacturing process. To help plan the production schedule, the polishing times for 59 products were recorded, along with the product type and the relative sizes of these products, measured in terms of their diameters.
This information can be found in polishing.sav . Use linear regression to determine whether the polishing time can be predicted by product size.
![Page 67: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/67.jpg)
Before running the regression, you should examine a scatterplot of polishing time by product size to determine whether a linear model is reasonable for these variables.
To produce a scatterplot of time by diam, from the menus choose: Graphs Scatter...
Regression Analysis
![Page 68: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/68.jpg)
Click Define.
Regression Analysis
![Page 69: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/69.jpg)
Select time as the y variable and diam as the x variable. Click OK.
These selections produce the scatterplot.
Regression Analysis
![Page 70: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/70.jpg)
To see a best-fit line overlaid on the points in the scatterplot, activate the graph by double-clicking on it. From the Chart Editor menus choose: Chart Options...
Regression Analysis
![Page 71: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/71.jpg)
Select Total in the Fit Line group.
Click OK.
Regression Analysis
![Page 72: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/72.jpg)
The resulting scatterplot appears to be suitable for linear regression, with two possible causes for concern.
Regression Analysis
![Page 73: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/73.jpg)
To run a linear regression analysis, from the menus choose: Analyze Regression Linear...
Regression Analysis
![Page 74: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/74.jpg)
Select time as the dependent variable. Select diam as the independent variable. Select type as the case labeling variable.
Click Plots.
Regression Analysis
![Page 75: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/75.jpg)
This table shows the coefficients of the regression line.
It states that the expected polishing time is equal to 3.457 * DIAM - 1.955. If Nambe Mills plans to manufacture a 15-inch casserole, the predicted polishing time would be 3.457 * 15 - 1.955 = 49.9, or about 50 minutes.
Regression Analysis
![Page 76: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/76.jpg)
The ANOVA table tests the acceptability of the model from a statistical perspective.
The Regression row displays information about the variation accounted for by your model.
The Residual row displays information about the variation that is not accounted for by your model.
The regression and residual sums of squares are approximately equal, which indicates that about half of the variation in polishing time is explained by the model.
Regression Analysis
![Page 77: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/77.jpg)
The significance value of the F statistic is less than 0.05, which means that the variation explained by the model is not due to chance.
The ANOVA table tests the acceptability of the model from a statistical perspective.
While the ANOVA table is a useful test of the model's ability to explain any variation in the dependent variable, it does not directly address the strength of that relationship.
Regression Analysis
![Page 78: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/78.jpg)
The model summary table reports the strength of the relationship between the model and the dependent variable.
R, the multiple correlation coefficient, is the linear correlation between the observed and model-predicted values of the dependent variable. Its large value indicates a strong relationship.
Adjusted R Square, the coefficient of determination, is the squared value of the multiple correlation coefficient. It shows that about half the variation in time is explained by the model.
Regression Analysis
![Page 79: Introduction to SPSS-01!07!11](https://reader034.fdocuments.in/reader034/viewer/2022051111/5540c1504a79593b1c8b4ac0/html5/thumbnails/79.jpg)
THANK YOU