SPSS_Examples.pdf
(
642 KB
)
Pobierz
SPSS
E
XAMPLES
(V
ERSION
15)
Topic
General Notes
Descriptive Statistics
One-Sample Tests
Two-Sample Tests
One-Way Analysis of Variance
Factorial Design
Unbalanced Design
Chi-Square Test of Independence
Correlation
Cronbach’s Alpha
Simple Linear Regression
Regression Diagnostics
Multiple Regression
Pages
2
3
4-5
6-7
8-9
10-11
12
12-14
15
16
17-20
21-22
23-34
Prepared by Bob Schulman, April 2007
SPSS Examples
Page
2
G
ENERAL
N
OTES
All of these examples were run on version 15 of SPSS.
SPSS has two main windows, the Data Editor window for input and the Viewer window for
output. Data are entered into the Data Editor window one row per observation and one column per
variable. To assign variable names, use the Variable View tab of the Data Editor window. Variables
created and saved during an analysis are added to the Data Editor window.
To run an analysis, pull down the Analyze menu, select a category, and then a procedure from
the submenu. This action is represented with arrows. For example,
Analyze
Descriptive Statisitcs
Descriptives
denotes pulling down the Analyze menu, selecting Descriptive Statistics, and then
selecting Descriptives from the submenu. Variables and options are identified in a dialog box, with
additional features selected from subdialog boxes. Use the arrow buttons to move selected variables
into the target lists and click on OK to run the procedure. The results of the analysis are displayed
in the Viewer window.
SPSS Examples
Page
3
D
ESCRIPTIVE
S
TATISTICS
Example: "Sales Contracts"
A large company was interested in the productivity of its sales force. Six salespersons were
randomly selected, and the number of contracts negotiated in the past month was determined for
each. The resulting values were 7, 4, 10, 2, 9, and 4.
Data Editor
One variable, named SALES, is entered in the first column.
Analyze
Descriptive Statistics
Descriptives
Variable = SALES
Options = Mean, Std. deviation, Variance, Range, S.E. mean
Viewer
Descriptive Statistics
N
Range
Mean
Std. Deviation Variance
Statistic Statistic Statistic Std. Error
Statistic
Statistic
SALES
6
8
6.00
1.291
3.162
10.000
Valid N (listwise)
6
SPSS Examples
Page
4
O
NE
-S
AMPLE
T
ESTS
Example: "Sprinkler Activation Time"
A fire prevention sprinkler system is designed to activate within 25 seconds when the temperature
reaches a certain threshold. In 20 trials at the threshold temperature, the following activation times
were recorded:
21
23
33
29
25
39
34
19
24
30
24
35
31
41
27
29
39
18
37
21
Is the system responding within the designed time limit?
One variable, named TIME, is entered in the first column of the Data Editor. SPSS produces the
t test through one procedure, and nonparametric tests (the signed rank test and sign test) through a
different set of menu commands. Accordingly, two separate analyses are shown below.
Data Editor – t Test
The t test allows specification of the hypothesized mean, 25 for our example, but automatically
prints a two-tailed p-value.
Analyze
Compare Means
One-Sample T Test
Test Variable(s) = TIME
Test Value = 25
Options = 95% Confidence Interval
Viewer – t Test
T-Test
One-Sample Statistics
N Mean Std. DeviationStd. Error Mean
TIME 20 28.95
7.052
1.577
One-Sample Test
Test Value = 25
t
df Sig. (2-tailed)
TIME 2.505 19
.022
Mean
Difference
3.950
95% Confidence
Interval of the Difference
Lower
Upper
.65
7.25
SPSS Examples
Page
5
Data Editor – Nonparametric Tests
Technically, SPSS does not perform nonparametric tests for a single mean. However, by defining
a second variable (CONSTANT) with the value of 25 for each observation, we can use a paired-data
approach to produce the one-sample nonparametric tests. The signed rank test is requested using
the keyword Wilcoxon, the name of its developer.
Analyze
Nonparametric Tests
2 Related Samples
Test Pair(s) List = TIME, CONSTANT
Test Type = Wilcoxon, Sign
Viewer – Nonparametric Tests
NPar Tests
Wilcoxon Signed Ranks Test
Ranks
CONSTANT - TIME Negative Ranks
Positive Ranks
Ties
Total
a. CONSTANT < TIME
b. CONSTANT > TIME
c. CONSTANT = TIME
Test Statistics
b
CONSTANT - TIME
-2.136
a
Asymp. Sig. (2-tailed)
.033
a. Based on positive ranks.
b. Wilcoxon Signed Ranks Test
Z
N
12
a
7
b
1
c
20
Mean Rank Sum of Ranks
12.33
148.00
6.00
42.00
Sign Test
Frequencies
CONSTANT - TIME Negative Differences
a
Positive Differences
b
Ties
c
Total
a. CONSTANT < TIME
b. CONSTANT > TIME
c. CONSTANT = TIME
Test Statistics
b
CONSTANT - TIME
Exact Sig. (2-tailed)
.359
a
a. Binomial distribution used.
b. Sign Test
N
12
7
1
20
Plik z chomika:
kubaLSW
Inne pliki z tego folderu:
Boxplot.doc
(11 KB)
Data_for_SPSS_Examples.xls
(28 KB)
Data_Manipulation_in_SPSS.doc
(203 KB)
Data_Manipulation_in_SPSS.pdf
(261 KB)
Dengue_Logistic_Output.pdf
(468 KB)
Inne foldery tego chomika:
40 Most Wanted Maths Books
Books-Statist
Books-statist_Solution-Manuals
Djvu-Books
English Grammar book collection
Zgłoś jeśli
naruszono regulamin