1.4.2.1.4. Work This Example Yourself
| 1. Exploratory Data Analysis 1.4. EDA Case Studies 1.4.2. Case Studies 1.4.2.1. Normal Random Numbers | |||
| View Dataplot Macro for this Case Study | This page allows you to repeat the analysis outlined in the case study description on the previous page using Dataplot. It is required that you have already [downloaded and installed](http://www.itl.nist.gov/div898/software/dataplot/ftp/ homepage.htm) Dataplot and configured your browser. to run Dataplot. Output from each analysis step below will be displayed in one or more of the Dataplot windows. The four main windows are the Output window, the Graphics window, the Command History window, and the data sheet window. Across the top of the main windows there are menus for executing Dataplot commands. Across the bottom is a command entry window where commands can be typed in. |
| Data Analysis Steps | Results and Conclusions |
|---|---|
| Click on the links below to start Dataplot and run this case study yourself. Each step may use results from previous steps, so please be patient. Wait until the software verifies that the current step is complete before clicking on the next step. | The links in this column will connect you with more detailed information about each analysis step from the case study description. |
| ```text |
- Invoke Dataplot and read data.
[text
- Read in the data.
](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/data.dp) | text
[text
- You have read 1 column of numbers into Dataplot, variable Y.
](/u/55cdbd966b59a987)
| ```text
2. 4-plot of the data.
``` [```text
1. 4-plot of Y.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/4plot.dp) | ```text
``` [```text
1. Based on the 4-plot, there are no shifts
in location or scale, and the data seem to
follow a normal distribution.
```](/u/3ddca7237510b4bb) |
| ```text
3. Generate the individual plots.
``` [```text
1. Generate a run sequence plot.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/runseq.dp) [```text
2. Generate a lag plot.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/lagplot.dp) [```text
3. Generate a histogram with an
overlaid normal pdf.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/hist.dp) [```text
4. Generate a normal probability
plot.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/normprpl.dp) | ```text
``` [```text
1. The run sequence plot indicates that
there are no shifts of location or
scale.
```](/u/3ddca7237510b4bb#runseq) [```text
2. The lag plot does not indicate any
significant patterns (which would
show the data were not random).
```](/u/3ddca7237510b4bb#lagplot) [```text
3. The histogram indicates that a
normal distribution is a good
distribution for these data.
```](/u/3ddca7237510b4bb#histogram) [```text
4. The normal probability plot verifies
that the normal distribution is a
reasonable distribution for these data.
```](/u/3ddca7237510b4bb#normprob) |
| ```text
4. Generate summary statistics, quantitative
analysis, and print a univariate report.
``` [```text
1. Generate a table of summary
statistics.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/summary.dp) [```text
2. Generate the mean, a confidence
interval for the mean, and compute
a linear fit to detect drift in
location.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/location.dp) [```text
3. Generate the standard deviation, a
confidence interval for the standard
deviation, and detect drift in variation
by dividing the data into quarters and
computing Barltett's test for equal
standard deviations.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/variatio.dp) [```text
4. Check for randomness by generating an
autocorrelation plot and a runs test.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/random.dp) [```text
5. Check for normality by computing the
normal probability plot correlation
coefficient.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/distribu.dp) [```text
6. Check for outliers using Grubbs' test.
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/outlier.dp) [```text
7. Print a univariate report (this assumes
steps 2 thru 6 have already been run).
```](https://www.itl.nist.gov/div898/handbook/eda/section4/randn4p/dpmacros/report.dp) | ```text
``` [```text
1. The summary statistics table displays
25+ statistics.
```](/u/c109731583ec9315#summary) [```text
2. The mean is -0.00294 and a 95%
confidence interval is (-0.093,0.087).
The linear fit indicates no drift in
location since the slope parameter is
statistically not significant.
```](/u/c109731583ec9315#location) [```text
3. The standard deviation is 1.02 with
a 95% confidence interval of (0.96,1.09).
Bartlett's test indicates no significant
change in variation.
```](/u/c109731583ec9315#variation) [```text
4. The lag 1 autocorrelation is 0.04.
From the autocorrelation plot, this is
within the 95% confidence interval
bands.
```](/u/c109731583ec9315#random) [```text
5. The normal probability plot correlation
coefficient is 0.996. At the 5% level,
we cannot reject the normality assumption.
```](/u/c109731583ec9315#distribution) [```text
6. Grubbs' test detects no outliers at the
5% level.
```](/u/c109731583ec9315#outlier) [```text
7. The results are summarized in a
convenient report.
```](/u/c109731583ec9315#report) |