Using SPSS, Chapter 9: Hypothesis Testing - Two Samples

3y ago
30 Views
2 Downloads
1,022.19 KB
7 Pages
Last View : 15d ago
Last Download : 3m ago
Upload by : Mia Martinelli
Transcription

1Using SPSS, Chapter 9:Hypothesis Testing - Two Samples Chapter 9.1 - Hypothesis Tests for Mean Differences: Paired Data2SPSS does this really well but you do need the raw data.Click here for online calculators that work well with summary statistics. Chapter 9.2 - Hypothesis Tests for Two Means: Independent Data4SPSS does this really well but you do need the raw data1 .Click here for online calculators that work well with summary statistics. Chapter 9.3 - Hypothesis Tests for Two Proportions6SPSS doesn’t do this the same way it is done in the book.Click here for online calculators that work well. Creating and Importing Data17Version 23 now can perform two-sample t-tests from summary statistics. The option is found under the Compare Meansmenu. I’ll post instructions as soon as I get that version

2Chapter 9.1 - Hypothesis Tests for Mean Differences: Paired Data Create/Open the data. In the Statistics Viewer choose Analyze Compare Means Paired-Samples T Test . . . This opens another dialogue box. Transfer one variable to Variable 1 and the other to Variable 2.The test statistic is based on (Variable 1) - (Variable 2).You can do more than one set of pairs but we’ll keep it simple here. If you click on Options. , you can choose the confidence level for the confidence interval given in theresults. The results of this test are displayed in the Statistics Viewer.

3 Here, the two-tailed P -value is given as 0.000 (it is actually 0.0001). If you were doing a one-tailed testyou would use half of this as the P -value. Regardless of whether we were performing a one or two-tailedtest, we would reject the null hypothesis that the mean difference is zero. Using the confidence intervalapproach, we are 95% confident that the mean difference is between 21 and 43. If you want to test for a mean difference greater than zero,H1 : µ1 µ2 δ,you will have to create another variable in your data set which is (Variable 1) - (Variable 2), then usea One-Sample T Test on this variable of differences as described in Chapter 8.3. SPSS will allow anon-zero hypothesized value with a one-sample test but not with a paired difference test.

4Chapter 9.2 - Hypothesis Tests for Two Means: Independent Data Create/Open the sample data. Be sure that each row corresponds to a single case. This means yourdifferent sample data will all be in one column where another column (variable) will determine thesample from which the measurement came. In the Statistics Viewer choose Analyze Compare Means Independent-Samples T Test . . . This opens another dialogue box. Click Options. to choose the confidence level for the confidence interval given in the results.

5 The results of this test are displayed in the Statistics Viewer. Here, the two-tailed P -value is given as 0.024. Depending on your significance level you may or maynot reject the null hypothesis of equal means. If you were doing a one-tailed test, the P -value wouldbe 0.024/2 0.012. Using the confidence interval approach, we are 95% confident that the differencein population means is between 5 and 59. That’s a big interval. Notice, it doesn’t matter whether weassume the variances are equal or unequal. Again, SPSS will only test that the difference in means is not equal to zero. You can’t have a non-zerotest value like you can for the one-sample t-test. I don’t know why. There is a way around this but itentails subtracting the hypothesized difference in means from all of the cases of the variable with thelarger mean.

6Chapter 9.3 - Hypothesis Tests for Two ProportionsSPSS doesn’t do this test. There are plenty of online calculators that will. Generally you only have toinput the proportion (or number) of successes and the sample size for each sample and hit a calculate buttonsomewhere. It will usually give you a test statistic (z) and the P -value.I like the collection of statistical calculators found at Social Science fault.aspx.Usage Click on the link above.Make a mental note of the variety of available statistical calculators. It’s a useful collection. Choose Z-test calculator for two population proportions. Click on the Take me to the calculator! button. Enter the number (or proportion in decimal) of successes (x) in the first sample. Enter the size of the first sample. Do the same for the second sample. Choose your significance level. Choose one or two-tailed. Click on the Calculate Z button. It gives you the test statistic (Z-score) and the P -value in blue at the bottom of the page. Easy Peasy Lemon Squeezy.In case this calculator disappears, there are others at the following fine locations. in-silico: http://in-silico.net/tools/statistics/ztest. Use Equal Variance. AusVet: http://epitools.ausvet.com.au/content.php?page z-test-2. VassarStats: http://vassarstats.net/propdiff ind.html.

7Creating and Importing Data There are two ways to get data into SPSS.– You can enter the data by typing it directly into the data editor.– You can open an existing data file by selecting the File tab, then Open , then Data. .Then select the type of file from the list of options. If it is not already an SPSS (.sav) data file,you will be prompted to answer some questions. For example, if you open an Excel file it may askwhich worksheet and whether or not the first row contains labels. Make sure your data is formatted as described below.– Rows CasesEach row represents a case such as each respondent to a questionnaire.– Columns VariablesEach column represents a variable being tracked or measured. For example, the answers to a specificquestion on a questionnaire defines it’s own variable (column). As such, each row represents anindividual case for all variables.– Cells contain valuesEach cell contains a single value of a variable for a case.It is possible to enter data in the form of a frequency table but then you must do some alterationsbefore analyzing such data. Once you have the data opened in the data editor, click the Variable View tab at the bottom of thedata editor. In this view, each variable is now a row and you must make sure all your variables aredefined appropriately. The most important distinctions are– TYPE : The most common types are Numeric: Used for quantitative data. These are numbers with no commas and a perioddelimiting the decimal places. SPSS will not allow you to enter non-numeric characters into acell of numeric type. Date: Used for dates or times from a menu of formats. String: Used for qualitative data. Avoid symbols such as *, -, , ?, etc.– Measure : There are three levels of measurement. Scale is for ratio or interval levels of measurement. Ordinal is for ordinal or ranked data. Nominal is for qualitative data.– Values : If you have numeric values representing qualitative data such a 1 male and 0 female,you will probably want this to be labelled accordingly in graphs and outputs. Click on the cell inthe Values column for that variable and assign labels for each value.

Create/Open the data. In the Statistics Viewer choose Analyze !Compare Means ! Paired-Samples T Test ::: This opens another dialogue box. Transfer one variable to Variable 1 and the other to Variable 2. The test statistic is based on (Variable 1) - (Variable 2). You can do

Related Documents:

Here is what the three main windows in SPSS 17.0—SPSS Data Editor, SPSS Syntax Editor, and SPSS Viewer—look like in the Windows operating environment . The SPSS Data Editor window shows the active data file. The SPSS Syntax Editor window has an SPSS program typed into it. The results of the program appear in the SPSS Viewer window.

You can run SPSS using either the pull-down menus or the Syntax Editor. The former method is a menu-driven approach, while the latter method involves writing your own SPSS programs. We will begin by using the pull-down menus to run SPSS. The use of the syntax window to run SPSS will be deferred until Chapter 7. SPSS FILES SPSS uses several .

SPSS for Windows Version 19.0: A Basic Tutorial Linda Fiddler, California State University, Bakersfield . all you have to do to start IBM SPSS is to point to the IBM SPSS 19 icon on the desktop and double click. Then wait while IBM SPSS loads. After IBM SPSS loads, you may, depending on how IBM SPSS is set up, get a menu that .

Running SPSS Chapter Purpose This chapter introduces fundamental concepts of data entry and running SPSS. Chapter Goal To provide readers an opportunity to enter data, run SPSS, and review results. Chapter Glossary Chart Editor: SPSS window in which charts can be edited. Data Editor: SPSS window i

Part One: Heir of Ash Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 Chapter 28 Chapter 29 Chapter 30 .

SPSS operates with a or Mac oWindows perating system. To use SPSS, you will need to have basic computer skills in order to do the following: . Follow these instructions to finish downloading SPSS 23. SPSS Tutorial and Support . SPSS has an in-program tutorial that you may

The SPSS Statistical Procedures Companion, by Marija Norušis, has been published by Prentice Hall. A new version of this book, updated for SPSS Statistics 17.0, is planned. The SPSS Advanced Statistical Procedures Companion, also based on SPSS Statistics 17.0, is forthcoming. The SPSS Guide to Data Analysis

SPSS Information Sheet 1 Entering Data into SPSS by Hand We will use SPSS as the statistics package for this course. There are many other statistics packages — SAS, Minitab, BMDP and others — which you will normally be free to use. SPSS is an easy one to learn and is available on most OU