Presentation is loading. Please wait.

Presentation is loading. Please wait.

Graphs with SPSS Aravinda Guntupalli. Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is.

Similar presentations


Presentation on theme: "Graphs with SPSS Aravinda Guntupalli. Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is."— Presentation transcript:

1 Graphs with SPSS Aravinda Guntupalli

2 Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is proportional to the number of values in the category.  Select the icon for the chart type you want, and select the option under Data.  You can either show group of cases or groups of variables using bar chart.

3 Summaries for Groups of Cases  Categories of a single variable are summarized.  Bar height is determined by the Bars Represent option.  Example: To see number of males and females from the Gender variable

4 Bar chart for SES

5 How to?  From the menus, choose: Graphs, Bar  Select the icon for Simple and select Summaries for groups of cases.  Select Define.  Select a variable for the category axis and move it into the Category Axis box. This variable may be numeric, string, or long string.

6 Summaries of groups of variables  Two or more variables are summarized within categories of another variable.  Two or more Bars Represent variables (Var 1, Var 2).  For example bar chart for gender and SES variables.

7 Clustered Bar chart (a) For Numeric variable

8 How to?  From the menus, choose: Graphs and Bar  Select the icon for Clustered and select Summaries of separate variables.  Select Define.  Select at least two variables and move them into the Bars Represent box. These variables must be numeric.  Select a category variable and move it into the Category Axis box. This variable may be numeric, string or long string.

9 Clustered Bar chart (b)

10 How to?  From the menus, choose: Graphs and Bar  Select the icon for Clustered and select Summaries of groups of cases.  Select Define.  Select at least two variables and move them into the Bars Represent box.  These variables can be categorical.

11 Pie Diagram  The Pie Chart is an alternative to the Bar Chart for Nominal and Ordinal data.  The proportion of the Pie represents the category’s percentage in the population or sample.  Must identify slices.

12 Pie diagram

13 How to make pie diagram?  From the menus, choose: Graphs and Pie  Select Summaries for groups of cases.  Select Define.  Select a variable and move it into the Define Slices by box. This variable may be numeric, string, or long string.

14 Boxplot  A boxplot consists of box and 2 tails.  The horizontal line inside the box tells the position of the median and its upper and lower boundaries are its upper and lower quartiles.  The tails run to the most extreme values.  boxplot in sum shows structure of the data along with its skewness and spread.

15 Upper Quartile = 180 QuQu Lower Quartile = 158 QLQL Median = 171 Q2Q2 Question: We have recorded the heights in cm of boys in a class as shown below. We will draw a boxplot for this data. Drawing a boxplot. 137, 148, 155, 158, 165, 166, 166, 171, 171, 173, 175, 180, 184, 186, 186 130140150160170180190cm

16 Boxplot

17 How to make a boxplot?  From the menus, choose: Graphs and Boxplot  Select the icon for Simple and select Summaries for groups of cases.  Select Define.  Select the variable for which you want boxplots, and move it into the Variable box.  Select a variable for the category axis and move it into the Category Axis box. This variable may be numeric, string, or long string.

18 Histogram A Histogram is a graphical representation of a frequency distribution for continuous data. The height is proportional to the frequency of that class

19 Histogram (2)

20 How to make histogram?  From the menus, choose: Graphs and Histogram  Select a numeric variable for Variable in the Histogram dialog.  Select Display normal curve to display a normal curve on the histogram.

21 Positively skewed Negatively skewed

22 Number of modal classes  A modal class is the one with the largest number of observations. A unimodal histogram The modal class

23 Number of modal classes A bimodal histogram A modal class

24 Bell shaped histogram Many Statistical techniques require normal distribution. Histogram helps verify the shape of population.

25 Scatter plot (1)  To know the relationships between two quantitative variables we are interested in we can use scatter plots.  A scatter diagram plots the value of one economic variable against the value of another variable.  It can be used to reveal whether a relationship exists and the type of relationship that exists.  A scatter plot can describe the relation between reading and writing scores.

26 Scatter plot (2)

27 Typical Patterns Positive linear relationship Negative linear relationship No relationship Negative nonlinear relationship Nonlinear (concave) relationship

28 How to make scatter plots?  From the menus, choose: Graphs and Scatter  Select the icon for Simple.  Select Define.  You must select a variable for the Y-axis and a variable for the X-axis. These variables must be numeric, but should not be in date format.  You can select a variable and move it into the Set Markers by box. This variable may be numeric or string.

29 P-P plots  Plots a variable’s cumulative proportions against the cumulative proportions of any of a number of test distributions.  Probability plots are generally used to determine whether the distribution of a variable matches a given distribution.  If the selected variable matches the test distribution, the points cluster around a straight line.

30 Normal P-P plot

31 How to make P-P plots?  From the menus, choose: Graphs and P-P  Select one or more numeric variables and move them onto the Variables list.  Select a test distribution.

32 Q_Q plots  Plots the quantiles of a variable's distribution against the quantiles of any of a number of test distributions.  Probability plots are generally used to determine whether the distribution of a variable matches a given distribution.  If the selected variable matches the test distribution, the points cluster around a straight line.

33 How to make Q-Q plots?  From the menus, choose: Graphs and Q_Q  Select one or more numeric variables and move them onto the Variables list.  Select a test distribution.

34 Normal Q_Q plot

35 Thank You Wish you colorful time making graphs


Download ppt "Graphs with SPSS Aravinda Guntupalli. Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is."

Similar presentations


Ads by Google