SPSS Prgms
SPSS Prgms
Graphs
1. For creating a bar chart, choose Graphs / Legacy Dialogs / Bar Charts / Simple from
menus.
2. Then select a variable for the category axis gender).
3. Choose % of cases from the Bars Represent frame to display the proportion of
respondents.
3. Create a scatter plot about month since hire and beginning salary if you set markers by
gender! Embellish the graph!
1. For creating Scatter plot choose Graphs / Legacy Dialogs / Scatter/Dot…, and then
Simple scatter plot should be chosen.
2.
4. Create a scatter plot about month since hire and previous experience if you set markers
by employment category! Embellish the graph!
1. For creating Scatter plot choose Graphs / Legacy Dialogs / Scatter/Dot…, and then
Simple scatter plot should be chosen.
5. Define simple box plot about previous experience! Embellish the graph!
1. For creating a box plot choose create: Graphs / Legacy Dialogs / Boxplot. Choose simple
chart to create a plot of one variable.
2. Summaries of separate variables are chosen from Data in Chart are frame.
3. Add Previous Experience to the Boxes represent
6. Define simple box plot about the month since hire categorized by the employment
category! Embellish the graph!
1. For creating categorized box plot choose create: Graphs / Legacy Dialogs / Boxplot.
2. Choose the clustered box plot, where data in chart are summaries for groups of cases.
3. The selected variable is the month since hire and the employment category is on the
category axis.
4. The clusters are defined by gender.
7. Define box plot about the previous experience categorized by the employment
category clustered by gender! Embellish the graph!
1. For creating categorized box plot choose create: Graphs / Legacy Dialogs / Boxplot.
2. Choose the clustered box plot, where data in chart are summaries for groups of cases.
3. The selected variable is the previous experience and the employment category is on the
category axis.
4. The clusters are defined by gender.
8. Create a graph to test the normal distribution of beginning salary!
Central Tendencies, Measures of Distribution, Measures of Asymmetry
Descriptive Statistics
N Mean
Current Salary 7 $25,007.1429
Valid N (listwise) 7
12) Is there any relation between previous experience and month since hire?
1. Previous experience and month since hire are quantitative variables, so the relationship
between them is a correlation, thus the correlation coefficient should be calculated.
2. From the menus choose Analyze / Correlate / Bivariate. For quantitative, normally
distributed variables, choose the Pearson correlation coefficient.
Descriptive Statistics
Mean Std. Deviation N
Months since Hire 97.5600 .50662 25
Previous Experience 113.2000 93.11328 25
(months)
Correlations
Previous
Months since Experience
Hire (months)
Months since Hire Pearson Correlation 1 .163
Sig. (2-tailed) .437
Sum of Squares and Cross- 6.160 184.200
products
Covariance .257 7.675
N 25 25
Previous Experience Pearson Correlation .163 1
(months) Sig. (2-tailed) .437
Sum of Squares and Cross- 184.200 208082.000
products
Covariance 7.675 8670.083
N 25 25
13) Determine a linear relation between the month since hire and previous experience of
employees!
In a linear regression analysis, the dependent variable (also called the response variable) is the
variable user trying to predict or explain, while the independent variable (also called the
predictor variable) is the variable used to make those predictions.
In the context of determining a linear relation between the month since hire and previous
experience of employees:
The goal of this analysis is to understand how the month since hire (independent variable) affects
the previous experience of employees (dependent variable). The linear regression model will
estimate the relationship between these two variables, allowing to predict the previous
experience of an employee based on how long they have been hired.
Variables Entered/Removeda
Variables Variables
Model Entered Removed Method
1 Months since . Enter
b
Hire
a. Dependent Variable: Previous Experience (months)
b. All requested variables entered.
Model Summary
Adjusted R Std. Error of the
Model R R Square Square Estimate
1 .163a .026 -.016 93.84862
a. Predictors: (Constant), Months since Hire
ANOVAa
Model Sum of Squares df Mean Square F Sig.
1 Regression 5508.058 1 5508.058 .625 .437b
Residual 202573.942 23 8807.563
Total 208082.000 24
a. Dependent Variable: Previous Experience (months)
b. Predictors: (Constant), Months since Hire
Coefficientsa
Unstandardized Standardized 90.0% Confidence Interval for
Coefficients Coefficients B
Model B Std. Error Beta t Sig. Lower Bound Upper Bound
1 (Constant) -2804.097 3689.053 -.760 .455 -9126.661 3518.466
Months since Hire 29.903 37.813 .163 .791 .437 -34.903 94.709
In linear regression:
Variables Entered/Removeda
Variables Variables
Model Entered Removed Method
1 Months since . Enter
Hireb
a. Dependent Variable: Previous Experience (months)
b. All requested variables entered.
Coefficientsa
90.0% Confidence Interval for B
Model Lower Bound Upper Bound
1 (Constant) -9126.661 3518.466
Months since Hire -34.903 94.709
a. Dependent Variable: Previous Experience (months)
10). Open the Cars.sav file!
b) What is the ratio of American, European and Japanese cars within cars with higher
consumption than 20 miles per gallon?
Country of Origin
Cumulative
Frequency Percent Valid Percent Percent
Valid American 253 62.3 62.5 62.5
European 73 18.0 18.0 80.5
Japanese 79 19.5 19.5 100.0
Total 405 99.8 100.0
Missing System 1 .2
Total 406 100.0
c) What is the ratio of those American cars which have 4-6-8 cylinders?
1. To define a confidence interval choose Analyze / Compare Means / One Sample T Test.
2. Choose the variable vehicle_weight as the Test_variable.
3. Click on Options to set the confidence level as 95%.
4. After clicking on OK, the results will be appeared in the Output window.
b) Define a 90% confidence interval for the horsepower!