Docsity

SPSS descriptive statistics, Thesis of Applied Statistics

Partial preview of the text

Download SPSS descriptive statistics and more Thesis Applied Statistics in PDF only on Docsity!

For Windows

August 2012

  • Section 1: Summarizing Data ...................................................................................................... Table of Contents
    • 1.1 Descriptive Statistics ..........................................................................................................
  • Section 2: Inferential Statistics
    • 2.1 Chi-Square Test
    • 2.2 T tests
    • 2.3 Correlation
    • 2.4 Regression
    • 2.5 General Linear Model
  • Section 3: Some Further Resources

4

click on the arrow button that will move those variables to the Variable(s) box. For example, the variables salbegin and salary have been selected in this manner in the above example. To view the available descriptive statistics, click on the button labeled Options. This will produce the following dialog box:

Clicking on the boxes next to the statistics' names will result in these statistics being displayed in the output for this procedure. In the above example, only the default statistics have been selected (mean, standard deviation, minimum, and maximum); however, there are several others that could be selected. After selecting all of the statistics you desire, output can be generated by first clicking on the Continue button in the Options dialog box, then clicking on the OK button in the Descriptives dialog box. The statistics that you selected will be printed in the Output Viewer. For example, the selections from the preceding example would produce the following output:

The number of cases in the dataset is recorded under the column labeled N. Information about the range of variables is contained in the Minimum and Maximum columns. The average salary is contained in the Mean column. Variability can be assessed by examining the values in the Std. Deviation column. The more that individual data points differ from the mean, the larger the standard deviation will be. Conversely, if there is a great deal of similarity between data points, the standard deviation will be quite small. Examining differences in variability could be useful

5

for anticipating further analyses: in the above example, it is clear that there is much greater variability in the current salaries than beginning salaries. Because equal variances is an assumption of many inferential statistics, this information is important to a data analyst.

As a side note, if your distribution is “normal,” almost all (96%) of your observations should fall within +/- 2 standard deviations from the mean. A starting salary of $32,757.37 is two standard deviations above the mean of $17,016.09, while a starting salary of $1,274.81 is two standard deviations below the mean; accordingly, 96% of salaries should fall between these values, with a few people (2%) earning salaries below $1,274.81 and a few (2%) earning salaries above $32,757.37. Given that the minimum value is $9,000 and the maximum is $79,980, however, we can see that these data may not follow the normal distribution. (For the purposes of this tutorial, we will treat salary, educational level, and a number of other variables as though they were normally-distributed continuous variables. In your own research, however, if your outcome variables are not normally distributed, you may need to pursue an alternate analysis. Feel free to direct your questions on this topic to us at [email protected]).

Frequencies

While the descriptive statistics procedure described above is useful for summarizing data with an underlying continuous distribution, the Descriptives procedure will not prove helpful for interpreting categorical data. Instead, it is more useful to investigate the numbers of cases that fall into various categories. The Frequencies option allows you to obtain the number of people within each employment category in the dataset. The Frequencies procedure is found under the Analyze menu:

Analyze Descriptives Statistics Frequencies...

Selecting this menu item produces the following dialog box:

7

If you have continuous data (such as salary) you can also use the Histograms option and its suboption, With normal curve , to allow you to assess whether your data are normally distributed, which is an assumption of several inferential statistics. (You can also use the Explore procedure, available from the Descriptive Statistics menu, to obtain the Kolmogorov-Smirnov test , which is a hypothesis test to determine if your data are normally distributed.)

Crosstabulation

While frequencies show the numbers of cases in each level of a categorical variable, they do not give information about the relationship between categorical variables. For example, frequencies can give you the number of men and women in a company AND the number of people in each employment category, but not the number of men and women IN each employment category. The Crosstabs procedure is useful for investigating this type of information because it can provide information about the intersection of two variables. The Crosstabs procedure is found in the Analyze menu:

Analyze Descriptive Statistics Crosstabs…

After selecting Crosstabs from the menu, the dialog box shown above will appear on your monitor. The box on the left side of the dialog box contains a list of all of the variables in the working dataset. If theory suggests that one variable may cause the other, then the causal

8

variable would typically be placed in the Row, while the outcome variable would be placed in the Column. For example, selecting the variable gender for the rows of the table and jobcat for the columns would produce a crosstabulation of gender by job category.

The options available by selecting the Statistics and Cells buttons provide you with several additional output features. Selecting the Cells button will produce a menu that allows you to add additional values to your table; it is often most informative to select the Row percentages.

10

Section 2: Inferential Statistics

2.1 Chi-Square Test

In the section above, it appeared that there were some differences between men and women in terms of their distribution among the three employment categories. Conducting a Chi-square test of independence would tell us if the observed pattern is statistically different from the pattern expected due to chance.

The Chi-square test of independence can be obtained through the Crosstabs dialog boxes that were used above to get a crosstabulation of the data. After opening the Crosstabs dialog box as described in the preceding section, click the Statistics button to get the following dialog box:

By clicking on the box labeled Chi-Square , you will obtain the Chi-square test of independence for the variables you have crosstabulated. This will produce the following table in the Output Viewer:

11

Inspecting the table in the previous section, it appears that the two variables, gender and employment category, are related to each other in some way. For example, if gender and employment classification were unrelated, we would expect 17.7% of women to be in the manager classification as opposed to the observed percentage, 4.6%. The output above provides a statistical hypothesis test for the hypothesis that gender and employment category are independent of each other. The large Chi-Square statistic (79.28) and its small significance level ( p < .001) indicate that it is very unlikely that these variables are independent of each other. Thus, you can conclude that there is a relationship between a person's gender and their employment classification.

2.2 T tests

The t test is a useful technique for comparing mean values of two sets of numbers. The comparison will provide you with a statistic for evaluating whether the difference between two means is statistically significant. T tests can be used either to compare two independent groups (independent-samples t test) or to compare observations from two measurement occasions for the same group (paired-samples t test). To conduct a t test, your outcome data should be a sample drawn from a continuous underlying distribution. If you are using the t test to compare two groups, the groups should be randomly drawn from normally distributed and independent populations. For example, if you were comparing clerical and managerial salaries, the independent populations are clerks and managers, which are two nonoverlapping groups. If you have more than two groups or more than two variables in a single group that you want to compare, you should use one of the General Linear Model procedures in SPSS, which are described below.

There are three types of t tests; the options are all located under the Analyze menu item:

Analyze Compare Means One-Sample T test... Independent-Samples T test... Paired-Samples T test...

13

Here, the groups to be compared are limited to the groups with the values 2 and 3, which represent the clerical and managerial groups. After selecting the groups to be compared, click the Continue button, and then click the OK button in the main dialog box. The above choices will produce the following output:

The first output table, labeled Group Statistics , displays descriptive statistics. The second output table, labeled Independent Samples Test , contains the statistics that are critical to evaluating the current research question. This table contains two sets of analyses: the first assumes equal variances and the second does not. To assess whether you should use the statistics for equal or unequal variances, use the significance level associated with the value under the heading, Levene's Test for Equality of Variances. It tests the hypothesis that the variances of the two groups are equal. A small value (<.05) in the column labeled Sig. indicates that this hypothesis is false and that the groups do indeed have unequal variances. In the above case, the value <.05 in that column indicates that the variance of the two groups, clerks and managers, is not equal. Thus, you should use the t-test statistics in the row labeled Equal variances not assumed.

14

The SPSS output reports a t statistic and degrees of freedom for all t test procedures. Every unique value of the t statistic and its associated degrees of freedom have a significance value. In the above example in which the hypothesis is that clerks and managers do not differ in their salaries, the t statistic under the assumption of unequal variances has a value of -16.26, and the degrees of freedom has a value of 89.58 with an associated significance level of .000. The significance level tells us that the probability that there is no difference between clerical and managerial salaries is very small: specifically, less than one time in a thousand would we obtain a mean difference of $33,038 or larger between these groups if there were really no differences in their salaries.

To obtain a paired-samples t test, select Paired-Samples T test and the following dialog box will appear:

The above example illustrates a t test between the variables salbegin and salary, which represent employees' beginning salary and their current salary. To set up a paired-samples t test, click on the two variables that you want to compare. The variable names will appear in the section of the box labeled Current Selections. When these variable names appear there, click the arrow in the middle of the dialog box and they will appear in the Paired Variables box. Clicking the OK button with the above variables selected will produce output for the paired-samples t test. The following output is an example of the statistics you would obtain from the above example.

16

Graphs Scatter/Dot...

This will produce the following dialog box:

Although several plot options are listed, only the Simple Scatter method is discussed here. To create a scatter plot of current salary by education, select the Simple Scatter option and then click the Define button to produce the following dialog box:

17

If one variable can be theoretically conceptualized as causing the other, then the causal variable would typically be placed on the X axis, and the outcome variable on the Y axis. Click on the current salary variable to select it from the list on the left side of the dialog box and then click the right arrow next to the Y Axis box to move it over to the right. Next, click on the education variable and then click on the right arrow next to the X Axis box to move it over to this box. Finally, click the OK button to create the output shown below:

This plot indicates that there is a positive, fairly linear relationship between current salary and education level. In order to test whether this apparent relationship is statistically significant, we could run a correlation.

To obtain a correlation in SPSS, start at the Analyze menu. Select the Correlate option from this menu. By selecting this menu item, you will see that there are three options for correlating variables: (1) Bivariate , (2) Partial , and (3) Distances. This document will cover only bivariate correlations , which is used in situations where you are interested only in the relationship between two variables. To obtain a bivariate correlation, choose the following menu option:

Analyze Correlate Bivariate...

This will produce the following dialog box:

19

This output gives us a correlation matrix for the three correlations requested in the above dialog box. Note that despite there being nine cells in the above matrix, there are only three correlation coefficients of interest: (1) the correlation between current salary and educational level, the correlation between previous experience and educational level, and the correlation between current salary and previous experience. The reason only three of the nine correlations are of interest is because the diagonal consists of correlations of each variable with itself, always resulting in a value of 1.00 and the values on each side of the diagonal replicate the values on the opposite side of the diagonal. For example, the three unique correlation coefficients show there is a positive correlation between employees' number of years of education and their current salary. This positive correlation coefficient (.661) indicates that there is a statistically significant ( p < .001) linear relationship between these two variables such that the more education a person has, the larger that person's salary is. Also observe that there is a statistically significant ( p < .001) negative correlation coefficient (-.252) for the association between education level and previous experience, indicating that the linear relationship between these two variables is one in which the values of one variable decrease as the other increases. The third correlation coefficient (-.097) also indicates a negative association between employee's current salaries and their previous work experience, although this correlation is fairly weak.

2.4 Regression

Regression is a technique that can be used to investigate the effect of one or more predictor variables on an outcome variable. Regression allows you to make statements about how well one or more independent variables will predict the value of a dependent variable. For example, if you were interested in investigating which variables in the employee database were good predictors of employees' current salaries, you could create a regression equation that would use several of the variables in the dataset to predict employees' salaries. By doing this you will be able to make

20

statements about whether variables such as employees' number of years of education, their starting salary, or their number of months on the job are good predictors of their current salaries.

To conduct a regression analysis, select the following from the Analyze menu:

Analyze Regression Linear...

This will produce the following dialog box:

This dialog box illustrates an example regression equation. As with other analyses, you select variables from the box on the left by clicking on them, then moving them to the boxes on the right by clicking the arrow next to the box where you want to enter a particular variable. Here, employees' current salary has been entered as the dependent variable. In the Independent(s) box, four predictor variables have been entered: educational level, previous experience, beginning salary, and months since hire.

NOTE: Before you run a regression model, you should consider the method that you use for selecting or rejecting variables in that model. The box labeled Method allows you to select from one of five methods: Enter , Remove , Forward , Backward , and Stepwise. Unfortunately, we cannot offer a comprehensive discussion of the characteristics of each of these methods here, but