



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Assignment 2
Starting SPSS
Click Start , Programs , and SPSS for Windows.
We are going to find a 99% confidence interval for the mean IQ scores of 5th^ graders. (problem 7.43 p446, data IQ scores in Table 1.1, p13)
1) Entering data
The screen looks like a spreadsheet. At the bottom there is a toolbar with 2 options: Data View (active) and Variable View (not active).
Click on the Variable View to define the variable
X 1 :IQ Type: Numeric Decimals: 0
Click on Data View to enter the data from page 13 in column 1.
After entering the data in column 1, click on File and then Save as. Place a diskette in drive A. Choose Drive A to save in and use the file name Chapter7. Click on Save.
2) Obtaining a confidence interval for μ.
Click on Analyze , click on Descriptive Statistics , and then click on Explore. The Explore window will appear on the screen. Click on IQ then click on > to move the IQ data to the dependent list box. The default confidence level is 95%. In order to change it to 99% click on Statistics and replace the percentage in the confidence interval box. Click on Continue. We return to the Explore window. In the display box select Statistics and then click on OK.
3) Editing the output
A view of the output with the Statistics, including the limits of the confidence interval, is shown on the screen. Click on Title at the left hand side of the Output Viewer and edit the title. Type Exercise 7.43: Confidence Interval for a
Population Mean when Sigma is unknown as the new title.
4) Putting your name at the top of the output
Click on File, then click on Setup. At the bottom of the box, click on Options. Type your name in the Header section and click on OK and then OK again.
5) Saving the output
Go to the toolbar of the Output Viewer and Click on File. Type Ex_743 as the file name and then click on Save.
6) Printing the output
Go to the left hand side of the Output Viewer and click on Output. Go to the toolbar at the top and select File and then Print. A hard copy of the output will be obtained in your local printer. Close the Output Viewer window.
Read exercise 7.119, p482. We are going to conduct a test of hypotheses about the mean TRAP of all females when sigma is unknown. We want to decide whether the population mean differs from the true value of 16 (U/I) . 1) Entering data
Go to data editor window and click on the Variable View to define the variable
X 1 :TRAP Type: Numeric Decimals: 1
Click on Data View to enter the data from page 482 in column 1.
After entering the data in column 1, click on File and then Save as. Place a diskette in drive A. Choose Drive A to save in and use the file name Ex-7119. Click on Save.
Go to the toolbar of the Output Viewer and Click on File. Type Ex-7119 as the file name and then click on Save.
6) Printing the output
Go to the left hand side of the Output Viewer and click on Output. Go to the toolbar at the top and select File and then Print. A hard copy of the output will be obtained in your local printer. Close the Output Viewer window.
Read exercise 7.41, page 446.We want to determine if there is improvement in skills. Twenty teachers were given pre and post tests. We are going to conduct a matched pairs t-procedure to answer this question.
1) Entering data
Go to data editor window and click on the Variable View to define the variables
X1: Posttest Type: Numeric Decimals: 0 X2: Pretest Type: Numeric Decimals: 0
Click on Data View to enter the data from page 446 in columns 1 and 2.
After entering the data, click on File and then Save as. Place a diskette in drive A. Choose Drive A to save in and use the file name Ex-741. Click on Save.
2) Testing Hypotheses about the population mean of paired differences (dependent samples)
Click on Analyze , click on Compare Means , and then click on Paired-Samples T Test. The Paired Samples T Test window will appear on the screen. Click on posttest then click on > to move it to “Variable 1”. Click on pretest then click on > to move it to “Variable 2”. The expression “ posttest – pretest ” appears in the “Paired Variables” box.
By default a 95% confidence interval for μpost - μpre will be part of the output. If you want to change the confidence level click on Options and replace the percentage in the confidence interval box. Click on Continue to return to the Paired Samples T Test window and then click on OK.
A view of the output including the test statistic value and the p-value is shown on the screen. Notice that Ha is one sided and the p-value is one-tailed in this problem. SPSS assumes by default that Ha is two-sided. Hence, in this case, since Ha is one-sided, the actual p-value is half of the one computed by SPSS.
Click on Title at the left hand side of the Output Viewer and edit the title. Type Exercise 7.41: Test of Hypotheses with Matched Pairs (T-Procedure) as the new title.
4) Putting your name at the top of the output
Click on File, then click on Setup. At the bottom of the box, click on Options. Type your name in the Header section and click on OK and then OK again.
5) Saving the output