Analysis of Census and Survey Data for Social Science Research University of Cape Coast Stata Workshop, July 11-20, 2011

Size: px
Start display at page:

Download "Analysis of Census and Survey Data for Social Science Research University of Cape Coast Stata Workshop, July 11-20, 2011"

Transcription

1 Analysis of Census and Survey Data for Social Science Research University of Cape Coast Stata Workshop, July 11-20, 2011 Graphs and weights Summary: This module teaches you how to use Stata to produce graphs, including histograms, pie charts and bar diagrams. We will also learn why most datasets include sample weights, and when and how to use them. Open Stata and load the 2000 Ghana census file Graphs Stata can produce a wide variety of graphs specific to our research needs. At the beginning of this course we mentioned that Stata has a comprehensive menu system through which commands can be selected. We have, however, only concentrated on using Stata at the command line level. This is because in most cases using the command line is far quicker and easier than using the menu system. However, graphing syntax can be rather long and somewhat complicated, especially if you are unfamiliar with it. It is therefore easier to learn how to generate graphs using the drop-down menu. After generating a graph through the menu system, Stata will automatically display the necessary code in the results window. Looking at this code is an excellent way of becoming familiar with the correct syntax and once you have gained some confidence you can switch from using the graphing menu to entering syntax at the command line level! We will explain how to use the drop-down menu but also subsequently present the correct code so that the graphs are easily reproducible. If you click on the Graphics tab in the Stata menu, you can see that Stata can generate a large number of different graphs. We will learn how to create and interpret three of the most widely used kinds of graphs -- histograms, pie graphs, and bar charts. We will learn about another type of graph, scatter plots, at a later point. Histogram Probably the easiest graph to create is a histogram. Histograms are a graphical tool that tell us the fraction (or percent) of observations, for any given variable, that fall within different ranges. Histograms are used for continuous variables. If we have a continuous variable, such as income or age, a histogram will tell us what percentage or fraction of the sample fall into different income bins or groups. We will present the basics of graphing histograms in Stata by working through the example we present below. To draw a histogram, click on the Graphics drop-down menu and then on the histogram option. A window will open up on your screen. Take time to look at this window. You should notice a number of tabs running across the top with different titles. These tabs allow us to manipulate our graph in various ways and we will go through the most important ones as we progress through this module. For now let s focus on the tab that is open, the main tab. This tab is where we enter the most important information, that is the variable we are interested in examining. There are a few other specifications we also have to choose on this tab but we are lucky that Stata does most of the hard work for us. The main tab To graph the histogram we simply need to do the following on the main tab:

2 Use the drop-down list of variables to choose a variable or just type in variable name in the box for variable. Let s use the variable age. Make sure that Data are continuous is selected (since age is a continuous variable) Under Y-axis select Percent (this is the most intuitive and easily interpretable measure to have on the Y-axis.) Click OK Stata then produces the histogram, which shows up in a new window. Also notice that the code for this histogram appears in the results window and in the command window. This makes it easy to re-use the command to make modifications. The first line of code shows us what we would have entered at the command line level to generate this graph. It s not too complicated, but as soon as we start specifying options, the command-line code will become more complicated. Nonetheless, try to get a feel for it as it is important to be able to use both the drop down menus and the command line for graphing. What does the histogram tell us about the age distribution in Ghana? This graph is a good start, but Stata allows for many more specifications. For example, instead of using "percent", we could have specified density, frequency, or fraction. Each would produce a similar looking histogram but each would have a different y-axis. For now, let's continue with percent and focus on improving the graph in other ways. The titles tab Graph titles are an important part of presentation that we should not overlook. Titles make graphs not only more understandable but also give them a more professional appearance. Furthermore, they allow us to include important additional information such as the source of the data used. Let s reopen the histogram menu and add titles to our graph. As you may notice, Stata remembers all the information you put in the last time. Click on the title tab, and enter the following information in the appropriate lines: Title: Age distribution in Ghana (2000) Subtitle: (Unweighted) Note: Source: IPUMS 1% subsample of Ghanaian Census 2000 The x and y axis tabs We may, in our endeavour to make the graph more informative, also want to format the axes. Stata allows for a wide range of alterations. We can change the scale, title, thickness, or colour of major and minor ticks/labels. We will concentrate only on the basic axis formatting options and leave further experimentation up to you. Before we begin, it will be useful to clarify what we mean when we refer to major and minor ticks/labels. Very simply, ticks are the small lines that come off the axes. They normally indicate the scale of the graph by dividing up the space between major ticks into sections of equal lengths. Major ticks have numerical labels while minor ticks do not. For example, on the x-axis of the graph above, we only have major ticks; each representing a 20 year increase in age. Stata will generally use its own default formula to calculate the interval between ticks but we can often improve upon this to make our graph more easily readable and interpretable. Now let s begin by turning our attention to the x-axis first: Click on the x axis tab and then add a new x axis title ( Age ). Then click on the major ticks/label properties. When we click on Major tick/label properties, a new window will open. In this window, we can view the different rules with 2

3 which we can specify the spacing of the labels on the x axis. You can experiment with the different options, but we prefer to change the selection from default to Range/Delta. This option requires us to specify a minimum, a maximum and delta, where delta is the interval between major ticks on the x-axis (i.e. the increments). From our previous graph, we know that age does not exceed 100, so we set this as the maximum. We set the minimum to 0, and we try a delta of 5. Once we have done this we click Accept. You could do a similar thing with minor ticks. Now click on the y axis tab and on Minor tick/label properties. Click on Range/Delta and enter 0 as minimum, 10 as maximum and a delta of 1. Then click Accept. Click ok. Notice that the code for creating this histogram with all the specified options is now much longer and more complicated than the code for our simple histogram. Can you see what each term in this code is doing? The if tab We might be interested in the age distribution not only for Ghanaians as a whole, but for men and women separately. To restrict the sample to females, click on the if tab and enter the restriction sex==2. The by tab Often, it is also nice to be directly able to compare whether two distributions look similar. Do men and women have similar age patterns or are there important differences? We can answer this question by clicking on the by tab. Click on the box Draw sub graphs for unique values of variables and then enter the variable of interest the space below this (in our case sex). Then go back to the if tab and get rid of the restriction sex==2. Also get rid of the major tick property changes that we made under the x axis tab to make the graph less cluttered. Now click ok. Your graph should now show two histograms, one for men and one for women. Try making a histogram for the number of children ever born for women aged Use the width of bin option, setting it to 1. Beware missing value codes! Pie charts Similar to histograms, pie graphs are graphical tools which inform the reader of the distribution of any particular variable. In contrast to histograms, however, Pie graphs are used for categorical variables only. We will start our explanation of pie charts with an easy example: suppose we want to know whether there are an equal number of men and women in our dataset. One way we could find out whether this is the case is by producing a pie chart for gender. (Note: If we want to know whether there are an equal number of men and women in Ghana, we should really either use the full census or use weights. We will learn more about weights later today). We create the pie chart as follows: Click on the graphics drop down menu tab and select the pie chart option (like we did for the histogram section). Once again a window will appear, but this time the window will be for graphing pie charts. Note that this window has very similar tabs to the histogram window, so you will be familiar with how to use these tabs already. The window will open on the main tab. Make sure the Graph by categories option is selected. Enter the name of the variable of interest under category variable. Let s use the variable sex. Then click ok. 3

4 A new window with the pie chart will pop up. The relevant syntax for this graph is: graph pie, over(sex) What does this graph tell us? The if/in tab Now suppose we want to dig a bit deeper and investigate the gender distribution of newborns and infants in our dataset for Ghana. To do this we need to restrict on the age variable to be either 0 or 1. In the pie chart window, click on the if/in tab. Type in our restriction: age==0 age==1 Could we have written the age restriction in a different way? Click ok. What does this new graph tell us? Notice that the code for this new pie chart is now graph pie if age==0 age==1, over(sex) Now, let s look at a categorical variable with more than two categories. Pie charts can be extremely helpful for exploring patterns when there are a number of categories. Suppose we re interested in the distribution of cooking fuel across households. One difference from variables like age or gender is that this is a household variable. When you make tables or graphs with household-level information you need to take that into account. If you don t control for the number of people in the household you will count large households more often than smaller ones. This creates bias and your results will not reflect the true distribution. So we only want to use one observation per household for these variables. How do we do this? The egen command is very helpful here. If you type help egen Stata gives you a list of potential functions that you can use with egen. Scroll down until you get to the function tag. This is exactly what we want: This will tag one observation for each distinct group defined by the variables we choose. In our case we want Stata to choose one person per household. Since the cooking fuel question is a household question and the answer is therefore identical for all household members, it doesn t matter which household member we choose. Type: egen hh_tag=tag(serial) since serial is a household identifier code that will be the same for all members of a household, but unique across households. Now let s see whether the command worked properly. Type sort serial order serial hh_tag You should see that only one person per household has a value of hh_tag equal to 1 if you browse the data, whereas all other household members are assigned a 0 for this variable. We can now proceed with our pie graph of cooking fuels. Open the pie graph window. Remember to reset all the information that we entered previously. Enter fuelck as the new variable of interest. In the if/in tab now specify the restriction hh_tag==1 4

5 Then click on the by tab. We may not only be interested in the distribution of different cooking fuels, but also in how this distribution differs between rural and urban areas. Therefore, check the box Draw subgraphs for unique values of variables, enter the variable urban in the appropriate line and click ok. You should now see two pie charts next to each other, showing the distribution of cooking fuels in rural and urban areas. What is the most popular cooking fuel in rural and urban areas, respectively? Tip: Since pie charts only represent fractions of the total population in rural and urban areas, they do not tell you differences in the use of cooking fuels in absolute numbers. If you wanted to know whether more households use kerosene in urban than in rural areas, for example, you should use tabulate to check this! Let s make this graph look a bit nicer. First, you may want to reduce the number of categories: We are not interested in values of the variable that are labelled as NIU or unknown/missing. Set these values to missing (remember that when you are working on your research projects, it may be helpful to create a new variable to keep the original values in case you may want to go back to them at some point in the future). To do this, type numlabel, add tab fuelck Do you remember what the numlabel command does? Then type replace fuelck=. if fuelck==0 fuelck==99 Next, go back to the pie chart window and enter a title in the titles tab. Then click on the slices tab. You will see that the window is divided into two sections: Slice Properties and Labels. In each of these sections you can either customize all the slices together or each individual slice separately. We choose for simplicity sake to customize all slices or labels at once. Let s start with the slice properties: - make sure that Customize all slice properties is selected; - Click on Slice Properties (all). A new window will appear. Here we simply: - select the Explode slice option; - Click on accept. We could also add some labels to our graph. To do that: - make sure the Customize all slice labels option is selected; - click on the Label Properties button. Once again, a new window will appear: - change the label type to percent ; - change the colour option to white; - click Accept. Click ok and look at the new graph and notice the effects of our formatting. The explode option has made our slices look as if they have exploded out of the pie chart! This can be particularly effective if we just make one slice that we want to emphasize explode out. As you can see, the labels didn t work so well in our case since we have many categories with 5

6 very small percentages. So you would either have to do without labels, change their size and orientation in the slice menu options to make sure that they are not on top of each other, or collapse some of the small categories into one by using the replace command to have fewer categories. We will do some reformatting in our next example. Bar graphs Bar graphs can be a useful alternative option to pie charts when you have a variable with many categories. Bar charts can be used not only for categorical variables but also for continuous variables. The reason for this is that the bar chart is quite diverse in its applicability as it allows us to incorporate summary statistics in our graphs. Suppose we want to visualize the mean number of persons in a household in every region by using a bar chart. You will find a bar graph option on the graphics drop down menu. Clicking on it will call up the bar graph window. As usual, we start by focusing on the Main tab. As you see, the Main tab looks rather different in comparison to the histogram and pie chart windows. Under Type of data the bar graph gives us the option of each bar reflecting the actual data or a specific summary statistic. In most situations you will want to keep the summary statistics option selected: - make sure the graph by creating summary statistics option is selected. Next we enter our variable of interest in the first row of the Statistics to Plot section: - enter the persons variable in the first row under the variable heading. You may have noticed that we can also choose the summary statistic which the bar chart will use. In our first example we will stick to using the mean (but there are also a range of other options that you can play around with). Remember that persons is a household-level variable. Therefore, go to the if/in tab and enter the restriction hh_tag==1 as before. Now click on the categories tab. This is where we specify our grouping variable, in our case region. - click on the Categories tab; - select Group 1 ; - enter the regngh variable as the grouping variable. - Click ok Clearly this graph is in need of some formatting. Below we change the angle of the group 1 labels so that they do not overlap. - In the categories tab click on Properties (for group one); - In the sub-menu change the angle of labels to 45 degrees; - Click accept. Suppose we also want to see differences between rural and urban areas in terms of the average number of people per household in each region. - Click on the categories tab - Tick group 2 and enter urban as the grouping variable - Click ok It is often useful to add numerical labels to the bars (it is also useful to take note of the numerous bar formatting options available in this tab). To do this: - Click on the bars tab - Under bar labels select Label with bar height 6

7 To make the graph less cluttered, let s get rid of the group 2 grouping variable under the categories tab. Then click ok. Sample weights Most survey and census data include sample weights. In household surveys these often reflect issues in sample design, such as an oversample of certain subgroups. A census is supposed to include everyone in the population, so the weights come about for a different reason. They are typically based on ex-post enumeration surveys that indicate that certain groups are underrepresented in the census. The weights adjust the census to be more representative of what is thought to be the true population. In our case, we are using a random subsample of the actual census, so we can use weights to make the analysis for our sample representative of the whole population. Calculating how many people lived in Ghana in 2000 on Day 1 by using the display command is one example where you have already seen weights being used. Each observation in the data can be thought of as representing some larger group of people in the total population. How large the group is depends on various factors such as where that person lives and the person s age, ethnicity and gender. All of this information is summarized in a person's weight. To make your results representative of the population, you tell Stata to use the weight provided in the data set. Stata uses this weight to weigh some observations more heavily than others. Weights are typically defined at both the individual and household level. Whether you use household or individual weights depends on whether your analysis is at the household or individual level. If you are looking at the percentage of households with electricity, for example, you would use household weights. If you are looking at the distribution of education for individuals you would use individual weights. IPUMS uses the same weight variables in all of the data sets. Find the weight variables in the data set: lookfor weight There are four weight variables: wtper, wtper_new, wthh, wthh_new. The wtper and wthh variables are the person weight and household weight created by IPUMS. The wtper_new and wthh_new are new household and person weights that we created that account for the fact that we drew a subsample from the IPUMS sample. This 2000 file is a 10% sample of the IPUMS sample, so we multiplied the IPUMS weights by 10. Look at the summary statistics for these weights: sum wt* We will want you to use the wtper_new and wthh_new weights, with the choice depending on whether your analysis is at the individual or household level. The syntax for producing weighted results is the same in most Stata commands: you specify the weight variable inside square brackets at the end of the command but before the comma. Below are some examples: sum age [w=wtper_new], detail tab age [w=wtper_new] Since the above tab of age includes everyone, the weighted total at the bottom should be approximately the total population of Ghana in tab age [w=wtper_new], sum(hrswrk1) sum persons if relate==1 [w=wthh_new] Let s look at how much difference the weights make in various calculations: sum age sum age [w=wtper_new], detail Is there a difference between the weighted and unweighted distributions for age? Why? 7

8 Now let s see how things look for another country. Open the file ipums_tanzania2002.5%.dta, which is a 5% subsample of the original IPUMS file for Tanzania (which was itself a 10% subsample of the complete census). Repeat the summary statistics for age from above. Is there a difference between weighted and unweighted distributions for age? Why? You should get in the habit of using weights for all of your results, though (as in this case) in most cases the results should be similar with and without weights. Let s go back to our Ghana census dataset for the next section. Population pyramids Population pyramids are a very effective tool that demographers use to look at age structure. We can use the Ghana 2000 census data to look at the age structure of the Ghanaian population. It will be simplest to work with five year age groups. Here is a convenient way to create a five year age group variable: gen age5=5*int(age/5) label var age5 Five year age group tab age age5 Stata is very good at making age pyramids using horizontal twoway bar graphs. There is even a nice example in the Stata help tutorial, which you can find if you type: search pyramid This will take you to the instructions for the twoway_bar command. The following steps walk through a modified version of the same approach: Use egen to generate the sum of the sample weights for males and females in each five year age group and for the total population. Then create a variable that gives the proportion of the population in each five year age group/gender cell. egen pop5=sum(wtper_new), by(age5 sex) egen totpop=sum(wtper_new) gen pop5m=100*pop5/totpop if sex==1 gen pop5f=-100*pop5/totpop if sex==2 bysort age5 sex: gen count=_n Note that the pop5f variable is given negative values, a trick that makes the bar graph look like a pyramid. The last command just creates a simple way to limit the graph to one observation per age/gender cell, making the graph faster to generate and print. We now have what we need for a population pyramid. Here is a simple version: twoway bar pop5m pop5f age5 if count==1 & age5<100, horizontal Here is a more complicated version that makes the graph look much better (this is in the do file agepyramid.do): twoway bar pop5m pop5f age5 if count==1 & age5<100, horizontal xtitle("female Male" "Percent of Population") xline(0) barwidth(4 4) xlabel(-7.5 "7.5" -5 "5" -2.5 "2.5" ) legend(off) ylabel(0 10 to 95) title("age Pyramid, Ghana 2000") To insert this into a paper it is nice to export it to a file in Windows MetaFile (.wmf) or TIFF (.tif) format. graph export agepyr_gh2000.wmf, replace graph export agepyr_gh2000.tif, replace The do file agepyramid.do shows how to generate age pyramids for people with and without electricity separately. The same approach could be used to make age pyramids for different years, for native born versus immigrants, etc. 8

Describing, Exploring, and Comparing Data

Describing, Exploring, and Comparing Data 24 Chapter 2. Describing, Exploring, and Comparing Data Chapter 2. Describing, Exploring, and Comparing Data There are many tools used in Statistics to visualize, summarize, and describe data. This chapter

More information

Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies

Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies Creating Charts in Microsoft Excel A supplement to Chapter 5 of Quantitative Approaches in Business Studies Components of a Chart 1 Chart types 2 Data tables 4 The Chart Wizard 5 Column Charts 7 Line charts

More information

Using Microsoft Word. Working With Objects

Using Microsoft Word. Working With Objects Using Microsoft Word Many Word documents will require elements that were created in programs other than Word, such as the picture to the right. Nontext elements in a document are referred to as Objects

More information

Chapter 4 Displaying and Describing Categorical Data

Chapter 4 Displaying and Describing Categorical Data Chapter 4 Displaying and Describing Categorical Data Chapter Goals Learning Objectives This chapter presents three basic techniques for summarizing categorical data. After completing this chapter you should

More information

Create Charts in Excel

Create Charts in Excel Create Charts in Excel Table of Contents OVERVIEW OF CHARTING... 1 AVAILABLE CHART TYPES... 2 PIE CHARTS... 2 BAR CHARTS... 3 CREATING CHARTS IN EXCEL... 3 CREATE A CHART... 3 HOW TO CHANGE THE LOCATION

More information

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide

WHO STEPS Surveillance Support Materials. STEPS Epi Info Training Guide STEPS Epi Info Training Guide Department of Chronic Diseases and Health Promotion World Health Organization 20 Avenue Appia, 1211 Geneva 27, Switzerland For further information: www.who.int/chp/steps WHO

More information

Using SPSS, Chapter 2: Descriptive Statistics

Using SPSS, Chapter 2: Descriptive Statistics 1 Using SPSS, Chapter 2: Descriptive Statistics Chapters 2.1 & 2.2 Descriptive Statistics 2 Mean, Standard Deviation, Variance, Range, Minimum, Maximum 2 Mean, Median, Mode, Standard Deviation, Variance,

More information

Gestation Period as a function of Lifespan

Gestation Period as a function of Lifespan This document will show a number of tricks that can be done in Minitab to make attractive graphs. We work first with the file X:\SOR\24\M\ANIMALS.MTP. This first picture was obtained through Graph Plot.

More information

Dealing with Data in Excel 2010

Dealing with Data in Excel 2010 Dealing with Data in Excel 2010 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing

More information

Data exploration with Microsoft Excel: univariate analysis

Data exploration with Microsoft Excel: univariate analysis Data exploration with Microsoft Excel: univariate analysis Contents 1 Introduction... 1 2 Exploring a variable s frequency distribution... 2 3 Calculating measures of central tendency... 16 4 Calculating

More information

Scientific Graphing in Excel 2010

Scientific Graphing in Excel 2010 Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.

More information

ITS Training Class Charts and PivotTables Using Excel 2007

ITS Training Class Charts and PivotTables Using Excel 2007 When you have a large amount of data and you need to get summary information and graph it, the PivotTable and PivotChart tools in Microsoft Excel will be the answer. The data does not need to be in one

More information

Descriptive Statistics

Descriptive Statistics Descriptive Statistics Descriptive statistics consist of methods for organizing and summarizing data. It includes the construction of graphs, charts and tables, as well various descriptive measures such

More information

Introduction Course in SPSS - Evening 1

Introduction Course in SPSS - Evening 1 ETH Zürich Seminar für Statistik Introduction Course in SPSS - Evening 1 Seminar für Statistik, ETH Zürich All data used during the course can be downloaded from the following ftp server: ftp://stat.ethz.ch/u/sfs/spsskurs/

More information

CHARTS AND GRAPHS INTRODUCTION USING SPSS TO DRAW GRAPHS SPSS GRAPH OPTIONS CAG08

CHARTS AND GRAPHS INTRODUCTION USING SPSS TO DRAW GRAPHS SPSS GRAPH OPTIONS CAG08 CHARTS AND GRAPHS INTRODUCTION SPSS and Excel each contain a number of options for producing what are sometimes known as business graphics - i.e. statistical charts and diagrams. This handout explores

More information

Scatter Plots with Error Bars

Scatter Plots with Error Bars Chapter 165 Scatter Plots with Error Bars Introduction The procedure extends the capability of the basic scatter plot by allowing you to plot the variability in Y and X corresponding to each point. Each

More information

The Center for Teaching, Learning, & Technology

The Center for Teaching, Learning, & Technology The Center for Teaching, Learning, & Technology Instructional Technology Workshops Microsoft Excel 2010 Formulas and Charts Albert Robinson / Delwar Sayeed Faculty and Staff Development Programs Colston

More information

PURPOSE OF GRAPHS YOU ARE ABOUT TO BUILD. To explore for a relationship between the categories of two discrete variables

PURPOSE OF GRAPHS YOU ARE ABOUT TO BUILD. To explore for a relationship between the categories of two discrete variables 3 Stacked Bar Graph PURPOSE OF GRAPHS YOU ARE ABOUT TO BUILD To explore for a relationship between the categories of two discrete variables 3.1 Introduction to the Stacked Bar Graph «As with the simple

More information

Advanced Microsoft Excel 2010

Advanced Microsoft Excel 2010 Advanced Microsoft Excel 2010 Table of Contents THE PASTE SPECIAL FUNCTION... 2 Paste Special Options... 2 Using the Paste Special Function... 3 ORGANIZING DATA... 4 Multiple-Level Sorting... 4 Subtotaling

More information

Summary of important mathematical operations and formulas (from first tutorial):

Summary of important mathematical operations and formulas (from first tutorial): EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a

More information

The Big Picture. Describing Data: Categorical and Quantitative Variables Population. Descriptive Statistics. Community Coalitions (n = 175)

The Big Picture. Describing Data: Categorical and Quantitative Variables Population. Descriptive Statistics. Community Coalitions (n = 175) Describing Data: Categorical and Quantitative Variables Population The Big Picture Sampling Statistical Inference Sample Exploratory Data Analysis Descriptive Statistics In order to make sense of data,

More information

A simple three dimensional Column bar chart can be produced from the following example spreadsheet. Note that cell A1 is left blank.

A simple three dimensional Column bar chart can be produced from the following example spreadsheet. Note that cell A1 is left blank. Department of Library Services Creating Charts in Excel 2007 www.library.dmu.ac.uk Using the Microsoft Excel 2007 chart creation system you can quickly produce professional looking charts. This help sheet

More information

Formulas, Functions and Charts

Formulas, Functions and Charts Formulas, Functions and Charts :: 167 8 Formulas, Functions and Charts 8.1 INTRODUCTION In this leson you can enter formula and functions and perform mathematical calcualtions. You will also be able to

More information

Using Excel for descriptive statistics

Using Excel for descriptive statistics FACT SHEET Using Excel for descriptive statistics Introduction Biologists no longer routinely plot graphs by hand or rely on calculators to carry out difficult and tedious statistical calculations. These

More information

Directions for Frequency Tables, Histograms, and Frequency Bar Charts

Directions for Frequency Tables, Histograms, and Frequency Bar Charts Directions for Frequency Tables, Histograms, and Frequency Bar Charts Frequency Distribution Quantitative Ungrouped Data Dataset: Frequency_Distributions_Graphs-Quantitative.sav 1. Open the dataset containing

More information

Excel -- Creating Charts

Excel -- Creating Charts Excel -- Creating Charts The saying goes, A picture is worth a thousand words, and so true. Professional looking charts give visual enhancement to your statistics, fiscal reports or presentation. Excel

More information

SAS Analyst for Windows Tutorial

SAS Analyst for Windows Tutorial Updated: August 2012 Table of Contents Section 1: Introduction... 3 1.1 About this Document... 3 1.2 Introduction to Version 8 of SAS... 3 Section 2: An Overview of SAS V.8 for Windows... 3 2.1 Navigating

More information

Demographics of Atlanta, Georgia:

Demographics of Atlanta, Georgia: Demographics of Atlanta, Georgia: A Visual Analysis of the 2000 and 2010 Census Data 36-315 Final Project Rachel Cohen, Kathryn McKeough, Minnar Xie & David Zimmerman Ethnicities of Atlanta Figure 1: From

More information

Excel 2007 Charts and Pivot Tables

Excel 2007 Charts and Pivot Tables Excel 2007 Charts and Pivot Tables Table of Contents Working with PivotTables... 2 About Charting... 6 Creating a Basic Chart... 13 Formatting Your Chart... 18 Working with Chart Elements... 23 Charting

More information

Intermediate PowerPoint

Intermediate PowerPoint Intermediate PowerPoint Charts and Templates By: Jim Waddell Last modified: January 2002 Topics to be covered: Creating Charts 2 Creating the chart. 2 Line Charts and Scatter Plots 4 Making a Line Chart.

More information

Microsoft Excel 2010 Part 3: Advanced Excel

Microsoft Excel 2010 Part 3: Advanced Excel CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Excel 2010 Part 3: Advanced Excel Winter 2015, Version 1.0 Table of Contents Introduction...2 Sorting Data...2 Sorting

More information

Information Literacy Program

Information Literacy Program Information Literacy Program Excel (2013) Advanced Charts 2015 ANU Library anulib.anu.edu.au/training ilp@anu.edu.au Table of Contents Excel (2013) Advanced Charts Overview of charts... 1 Create a chart...

More information

EXST SAS Lab Lab #4: Data input and dataset modifications

EXST SAS Lab Lab #4: Data input and dataset modifications EXST SAS Lab Lab #4: Data input and dataset modifications Objectives 1. Import an EXCEL dataset. 2. Infile an external dataset (CSV file) 3. Concatenate two datasets into one 4. The PLOT statement will

More information

This activity will show you how to draw graphs of algebraic functions in Excel.

This activity will show you how to draw graphs of algebraic functions in Excel. This activity will show you how to draw graphs of algebraic functions in Excel. Open a new Excel workbook. This is Excel in Office 2007. You may not have used this version before but it is very much the

More information

There are six different windows that can be opened when using SPSS. The following will give a description of each of them.

There are six different windows that can be opened when using SPSS. The following will give a description of each of them. SPSS Basics Tutorial 1: SPSS Windows There are six different windows that can be opened when using SPSS. The following will give a description of each of them. The Data Editor The Data Editor is a spreadsheet

More information

Updates to Graphing with Excel

Updates to Graphing with Excel Updates to Graphing with Excel NCC has recently upgraded to a new version of the Microsoft Office suite of programs. As such, many of the directions in the Biology Student Handbook for how to graph with

More information

Graphing Parabolas With Microsoft Excel

Graphing Parabolas With Microsoft Excel Graphing Parabolas With Microsoft Excel Mr. Clausen Algebra 2 California State Standard for Algebra 2 #10.0: Students graph quadratic functions and determine the maxima, minima, and zeros of the function.

More information

Drawing a histogram using Excel

Drawing a histogram using Excel Drawing a histogram using Excel STEP 1: Examine the data to decide how many class intervals you need and what the class boundaries should be. (In an assignment you may be told what class boundaries to

More information

Microsoft Excel 2010 Charts and Graphs

Microsoft Excel 2010 Charts and Graphs Microsoft Excel 2010 Charts and Graphs Email: training@health.ufl.edu Web Page: http://training.health.ufl.edu Microsoft Excel 2010: Charts and Graphs 2.0 hours Topics include data groupings; creating

More information

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9. Working with Tables in Microsoft Word The purpose of this document is to lead you through the steps of creating, editing and deleting tables and parts of tables. This document follows a tutorial format

More information

Chapter 4 Creating Charts and Graphs

Chapter 4 Creating Charts and Graphs Calc Guide Chapter 4 OpenOffice.org Copyright This document is Copyright 2006 by its contributors as listed in the section titled Authors. You can distribute it and/or modify it under the terms of either

More information

ASSIGNMENT 4 PREDICTIVE MODELING AND GAINS CHARTS

ASSIGNMENT 4 PREDICTIVE MODELING AND GAINS CHARTS DATABASE MARKETING Fall 2015, max 24 credits Dead line 15.10. ASSIGNMENT 4 PREDICTIVE MODELING AND GAINS CHARTS PART A Gains chart with excel Prepare a gains chart from the data in \\work\courses\e\27\e20100\ass4b.xls.

More information

Working with Excel in Origin

Working with Excel in Origin Working with Excel in Origin Limitations When Working with Excel in Origin To plot your workbook data in Origin, you must have Excel version 7 (Microsoft Office 95) or later installed on your computer

More information

SECTION 2-1: OVERVIEW SECTION 2-2: FREQUENCY DISTRIBUTIONS

SECTION 2-1: OVERVIEW SECTION 2-2: FREQUENCY DISTRIBUTIONS SECTION 2-1: OVERVIEW Chapter 2 Describing, Exploring and Comparing Data 19 In this chapter, we will use the capabilities of Excel to help us look more carefully at sets of data. We can do this by re-organizing

More information

Appendix 2.1 Tabular and Graphical Methods Using Excel

Appendix 2.1 Tabular and Graphical Methods Using Excel Appendix 2.1 Tabular and Graphical Methods Using Excel 1 Appendix 2.1 Tabular and Graphical Methods Using Excel The instructions in this section begin by describing the entry of data into an Excel spreadsheet.

More information

Introduction to SPSS 16.0

Introduction to SPSS 16.0 Introduction to SPSS 16.0 Edited by Emily Blumenthal Center for Social Science Computation and Research 110 Savery Hall University of Washington Seattle, WA 98195 USA (206) 543-8110 November 2010 http://julius.csscr.washington.edu/pdf/spss.pdf

More information

Microsoft Excel Tutorial

Microsoft Excel Tutorial Microsoft Excel Tutorial by Dr. James E. Parks Department of Physics and Astronomy 401 Nielsen Physics Building The University of Tennessee Knoxville, Tennessee 37996-1200 Copyright August, 2000 by James

More information

How to Make the Most of Excel Spreadsheets

How to Make the Most of Excel Spreadsheets How to Make the Most of Excel Spreadsheets Analyzing data is often easier when it s in an Excel spreadsheet rather than a PDF for example, you can filter to view just a particular grade, sort to view which

More information

Charting LibQUAL+(TM) Data. Jeff Stark Training & Development Services Texas A&M University Libraries Texas A&M University

Charting LibQUAL+(TM) Data. Jeff Stark Training & Development Services Texas A&M University Libraries Texas A&M University Charting LibQUAL+(TM) Data Jeff Stark Training & Development Services Texas A&M University Libraries Texas A&M University Revised March 2004 The directions in this handout are written to be used with SPSS

More information

Figure 1. An embedded chart on a worksheet.

Figure 1. An embedded chart on a worksheet. 8. Excel Charts and Analysis ToolPak Charts, also known as graphs, have been an integral part of spreadsheets since the early days of Lotus 1-2-3. Charting features have improved significantly over the

More information

2: Entering Data. Open SPSS and follow along as your read this description.

2: Entering Data. Open SPSS and follow along as your read this description. 2: Entering Data Objectives Understand the logic of data files Create data files and enter data Insert cases and variables Merge data files Read data into SPSS from other sources The Logic of Data Files

More information

Probability Distributions

Probability Distributions CHAPTER 5 Probability Distributions CHAPTER OUTLINE 5.1 Probability Distribution of a Discrete Random Variable 5.2 Mean and Standard Deviation of a Probability Distribution 5.3 The Binomial Distribution

More information

SPSS Manual for Introductory Applied Statistics: A Variable Approach

SPSS Manual for Introductory Applied Statistics: A Variable Approach SPSS Manual for Introductory Applied Statistics: A Variable Approach John Gabrosek Department of Statistics Grand Valley State University Allendale, MI USA August 2013 2 Copyright 2013 John Gabrosek. All

More information

Coins, Presidents, and Justices: Normal Distributions and z-scores

Coins, Presidents, and Justices: Normal Distributions and z-scores activity 17.1 Coins, Presidents, and Justices: Normal Distributions and z-scores In the first part of this activity, you will generate some data that should have an approximately normal (or bell-shaped)

More information

Excel 2007 A Beginners Guide

Excel 2007 A Beginners Guide Excel 2007 A Beginners Guide Beginner Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on

More information

INTRODUCTORY LAB: DOING STATISTICS WITH SPSS 21

INTRODUCTORY LAB: DOING STATISTICS WITH SPSS 21 INTRODUCTORY LAB: DOING STATISTICS WITH SPSS 21 This section covers the basic structure and commands of SPSS for Windows Release 21. It is not designed to be a comprehensive review of the most important

More information

Intro to Excel spreadsheets

Intro to Excel spreadsheets Intro to Excel spreadsheets What are the objectives of this document? The objectives of document are: 1. Familiarize you with what a spreadsheet is, how it works, and what its capabilities are; 2. Using

More information

2 Describing, Exploring, and

2 Describing, Exploring, and 2 Describing, Exploring, and Comparing Data This chapter introduces the graphical plotting and summary statistics capabilities of the TI- 83 Plus. First row keys like \ R (67$73/276 are used to obtain

More information

Modifying Colors and Symbols in ArcMap

Modifying Colors and Symbols in ArcMap Modifying Colors and Symbols in ArcMap Contents Introduction... 1 Displaying Categorical Data... 3 Creating New Categories... 5 Displaying Numeric Data... 6 Graduated Colors... 6 Graduated Symbols... 9

More information

Directions for using SPSS

Directions for using SPSS Directions for using SPSS Table of Contents Connecting and Working with Files 1. Accessing SPSS... 2 2. Transferring Files to N:\drive or your computer... 3 3. Importing Data from Another File Format...

More information

Characteristics of Binomial Distributions

Characteristics of Binomial Distributions Lesson2 Characteristics of Binomial Distributions In the last lesson, you constructed several binomial distributions, observed their shapes, and estimated their means and standard deviations. In Investigation

More information

Introduction to Microsoft Excel 2007/2010

Introduction to Microsoft Excel 2007/2010 to Microsoft Excel 2007/2010 Abstract: Microsoft Excel is one of the most powerful and widely used spreadsheet applications available today. Excel's functionality and popularity have made it an essential

More information

MBA 611 STATISTICS AND QUANTITATIVE METHODS

MBA 611 STATISTICS AND QUANTITATIVE METHODS MBA 611 STATISTICS AND QUANTITATIVE METHODS Part I. Review of Basic Statistics (Chapters 1-11) A. Introduction (Chapter 1) Uncertainty: Decisions are often based on incomplete information from uncertain

More information

Using Microsoft Excel to Manage and Analyze Data: Some Tips

Using Microsoft Excel to Manage and Analyze Data: Some Tips Using Microsoft Excel to Manage and Analyze Data: Some Tips Larger, complex data management may require specialized and/or customized database software, and larger or more complex analyses may require

More information

InfiniteInsight 6.5 sp4

InfiniteInsight 6.5 sp4 End User Documentation Document Version: 1.0 2013-11-19 CUSTOMER InfiniteInsight 6.5 sp4 Toolkit User Guide Table of Contents Table of Contents About this Document 3 Common Steps 4 Selecting a Data Set...

More information

About PivotTable reports

About PivotTable reports Page 1 of 8 Excel Home > PivotTable reports and PivotChart reports > Basics Overview of PivotTable and PivotChart reports Show All Use a PivotTable report to summarize, analyze, explore, and present summary

More information

This file contains 2 years of our interlibrary loan transactions downloaded from ILLiad. 70,000+ rows, multiple fields = an ideal file for pivot

This file contains 2 years of our interlibrary loan transactions downloaded from ILLiad. 70,000+ rows, multiple fields = an ideal file for pivot Presented at the Southeastern Library Assessment Conference, October 22, 2013 1 2 3 This file contains 2 years of our interlibrary loan transactions downloaded from ILLiad. 70,000+ rows, multiple fields

More information

0 Introduction to Data Analysis Using an Excel Spreadsheet

0 Introduction to Data Analysis Using an Excel Spreadsheet Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do

More information

Data Mining Techniques Chapter 5: The Lure of Statistics: Data Mining Using Familiar Tools

Data Mining Techniques Chapter 5: The Lure of Statistics: Data Mining Using Familiar Tools Data Mining Techniques Chapter 5: The Lure of Statistics: Data Mining Using Familiar Tools Occam s razor.......................................................... 2 A look at data I.........................................................

More information

After you complete the survey, compare what you saw on the survey to the actual questions listed below:

After you complete the survey, compare what you saw on the survey to the actual questions listed below: Creating a Basic Survey Using Qualtrics Clayton State University has purchased a campus license to Qualtrics. Both faculty and students can use Qualtrics to create surveys that contain many different types

More information

Creating a Poster Presentation using PowerPoint

Creating a Poster Presentation using PowerPoint Creating a Poster Presentation using PowerPoint Course Description: This course is designed to assist you in creating eye-catching effective posters for presentation of research findings at scientific

More information

Introduction to PASW Statistics 34152-001

Introduction to PASW Statistics 34152-001 Introduction to PASW Statistics 34152-001 V18 02/2010 nm/jdr/mr For more information about SPSS Inc., an IBM Company software products, please visit our Web site at http://www.spss.com or contact: SPSS

More information

Analyzing Dose-Response Data 1

Analyzing Dose-Response Data 1 Version 4. Step-by-Step Examples Analyzing Dose-Response Data 1 A dose-response curve describes the relationship between response to drug treatment and drug dose or concentration. Sensitivity to a drug

More information

Appendix III: SPSS Preliminary

Appendix III: SPSS Preliminary Appendix III: SPSS Preliminary SPSS is a statistical software package that provides a number of tools needed for the analytical process planning, data collection, data access and management, analysis,

More information

Tutorial 2: Using Excel in Data Analysis

Tutorial 2: Using Excel in Data Analysis Tutorial 2: Using Excel in Data Analysis This tutorial guide addresses several issues particularly relevant in the context of the level 1 Physics lab sessions at Durham: organising your work sheet neatly,

More information

Regional Drought Decision Support System (RDDSS) Charting Tools Help Documentation

Regional Drought Decision Support System (RDDSS) Charting Tools Help Documentation Regional Drought Decision Support System (RDDSS) Charting Tools Help Documentation The following help documentation was prepared to give insight to the basic functionality of the charting tools within

More information

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider www.bluepecantraining.com :: 0800 6124105 :: info@bluepecan.co.

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider www.bluepecantraining.com :: 0800 6124105 :: info@bluepecan.co. Excel Pivot Tables 1 Table of Contents Pivot Tables... 3 Preparing Data for a Pivot Table... 3 Creating a Dynamic Range for a Pivot Table... 3 Creating a Pivot Table... 4 Removing a Field... 5 Change the

More information

PowerPoint Tables / Charts / Graphs

PowerPoint Tables / Charts / Graphs PowerPoint Tables / Charts / Graphs Open PowerPoint: Click on Start (located on the Taskbar at the bottom) Click on Programs Click on Microsoft PowerPoint Click on the Microsoft PowerPoint icon (located

More information

Plotting: Customizing the Graph

Plotting: Customizing the Graph Plotting: Customizing the Graph Data Plots: General Tips Making a Data Plot Active Within a graph layer, only one data plot can be active. A data plot must be set active before you can use the Data Selector

More information

MetroBoston DataCommon Training

MetroBoston DataCommon Training MetroBoston DataCommon Training Whether you are a data novice or an expert researcher, the MetroBoston DataCommon can help you get the information you need to learn more about your community, understand

More information

Data exploration with Microsoft Excel: analysing more than one variable

Data exploration with Microsoft Excel: analysing more than one variable Data exploration with Microsoft Excel: analysing more than one variable Contents 1 Introduction... 1 2 Comparing different groups or different variables... 2 3 Exploring the association between categorical

More information

SPSS for Simple Analysis

SPSS for Simple Analysis STC: SPSS for Simple Analysis1 SPSS for Simple Analysis STC: SPSS for Simple Analysis2 Background Information IBM SPSS Statistics is a software package used for statistical analysis, data management, and

More information

How to make a line graph using Excel 2007

How to make a line graph using Excel 2007 How to make a line graph using Excel 2007 Format your data sheet Make sure you have a title and each column of data has a title. If you are entering data by hand, use time or the independent variable in

More information

Microsoft Excel Basics

Microsoft Excel Basics COMMUNITY TECHNICAL SUPPORT Microsoft Excel Basics Introduction to Excel Click on the program icon in Launcher or the Microsoft Office Shortcut Bar. A worksheet is a grid, made up of columns, which are

More information

Excel 2007 Basic knowledge

Excel 2007 Basic knowledge Ribbon menu The Ribbon menu system with tabs for various Excel commands. This Ribbon system replaces the traditional menus used with Excel 2003. Above the Ribbon in the upper-left corner is the Microsoft

More information

Excel 2003: Ringtones Task

Excel 2003: Ringtones Task Excel 2003: Ringtones Task 1. Open up a blank spreadsheet 2. Save the spreadsheet to your area and call it Ringtones.xls 3. Add the data as shown here, making sure you keep to the cells as shown Make sure

More information

Pie Charts. proportion of ice-cream flavors sold annually by a given brand. AMS-5: Statistics. Cherry. Cherry. Blueberry. Blueberry. Apple.

Pie Charts. proportion of ice-cream flavors sold annually by a given brand. AMS-5: Statistics. Cherry. Cherry. Blueberry. Blueberry. Apple. Graphical Representations of Data, Mean, Median and Standard Deviation In this class we will consider graphical representations of the distribution of a set of data. The goal is to identify the range of

More information

Excel. Microsoft Office s spreadsheet application can be used to track. and analyze numerical data for display on screen or in printed

Excel. Microsoft Office s spreadsheet application can be used to track. and analyze numerical data for display on screen or in printed Excel Microsoft Office s spreadsheet application can be used to track and analyze numerical data for display on screen or in printed format. Excel is designed to help you record and calculate data, and

More information

Excel Tutorial. Bio 150B Excel Tutorial 1

Excel Tutorial. Bio 150B Excel Tutorial 1 Bio 15B Excel Tutorial 1 Excel Tutorial As part of your laboratory write-ups and reports during this semester you will be required to collect and present data in an appropriate format. To organize and

More information

MS Excel: Analysing Data using Pivot Tables

MS Excel: Analysing Data using Pivot Tables Centre for Learning and Academic Development (CLAD) Technology Skills Development Team MS Excel: Analysing Data using Pivot Tables www.intranet.birmingham.ac.uk/itskills MS Excel: Analysing Data using

More information

IBM SPSS Direct Marketing 23

IBM SPSS Direct Marketing 23 IBM SPSS Direct Marketing 23 Note Before using this information and the product it supports, read the information in Notices on page 25. Product Information This edition applies to version 23, release

More information

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data

More information

Main Effects and Interactions

Main Effects and Interactions Main Effects & Interactions page 1 Main Effects and Interactions So far, we ve talked about studies in which there is just one independent variable, such as violence of television program. You might randomly

More information

SPSS: Getting Started. For Windows

SPSS: Getting Started. For Windows For Windows Updated: August 2012 Table of Contents Section 1: Overview... 3 1.1 Introduction to SPSS Tutorials... 3 1.2 Introduction to SPSS... 3 1.3 Overview of SPSS for Windows... 3 Section 2: Entering

More information

CentralMass DataCommon

CentralMass DataCommon CentralMass DataCommon User Training Guide Welcome to the DataCommon! Whether you are a data novice or an expert researcher, the CentralMass DataCommon can help you get the information you need to learn

More information

Microsoft Excel Tutorial

Microsoft Excel Tutorial Microsoft Excel Tutorial Microsoft Excel spreadsheets are a powerful and easy to use tool to record, plot and analyze experimental data. Excel is commonly used by engineers to tackle sophisticated computations

More information

Introduction to Microsoft Excel 2010

Introduction to Microsoft Excel 2010 Introduction to Microsoft Excel 2010 Screen Elements Quick Access Toolbar The Ribbon Formula Bar Expand Formula Bar Button File Menu Vertical Scroll Worksheet Navigation Tabs Horizontal Scroll Bar Zoom

More information

IBM SPSS Direct Marketing 22

IBM SPSS Direct Marketing 22 IBM SPSS Direct Marketing 22 Note Before using this information and the product it supports, read the information in Notices on page 25. Product Information This edition applies to version 22, release

More information

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel. If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel. 1. Click on the FILE tab and then select Options from the

More information

Excel Charts & Graphs

Excel Charts & Graphs MAX 201 Spring 2008 Assignment #6: Charts & Graphs; Modifying Data Due at the beginning of class on March 18 th Introduction This assignment introduces the charting and graphing capabilities of SPSS and

More information