Exercise 13: Scatter plot in Prism

From BITS wiki
Jump to: navigation, search
Go to parent GraphPad Prism statistical analyses

For this exercise we will use data of the babies data set. This data set is a csv file containing a collection of data taken for each new mother in a Child and Health Development Study. This dataset was obtained from http://www.stat.berkeley.edu/users/statlabs/labs.html. The data set contains 1,236 measurements of 23 variables:

We will make a scatter plot of babies' birth weight (wt) on the X-axis versus length of gestation (gestation) on the Y-axis. As you can see in the description of the file, the gestation column contains missing values which are represented by 999. Prism doesn't know that 999 represents missing values and will treat these values as data values. So we have to replace the 999 by empty cells (representation of missing values in Prism). We can do this during import.

For a scatter plot of gestation versus weight we need an XY table with wt as X column and gestation as Y column.

The graph that is automatically created by Prism is a scatter plot:


GPScatter4.png