To Notes

IT 223 -- Jan 26, 2026

Review Exercises

  1. Work problems from the Practice Problems on the Area under the Normal Curve.
    Answer: we worked problems 1s, 1e, and 2d in class today. The answers are shown on the page of practice problems.
  2. Use R to create a data vector with entries from 1 to 100. Answer:
    v <- seq(1, 100, 1)
    # or
    v <- seq(1, 100)
    # or
    v <- 1:100
    
  3. Use R to create a data vector with entries that start at 1, end at 3, and increase by 0.01 from one entry to the next? Answer:
    > v <- seq(1, 3, 0.01)
    
  4. What is a z-score? How do you use R to compute the z-scores for a data vector?
    Ans: A z-score for individual observations is computed as z = (x - x) / SD.  It tells you how many
  5. standard deviations the observation is away from the mean. The z-score can also be computed for the sample mean:
    z = (x - μ) / SDave. If you knew the population mean μ this z would tell you how many standard errors the sample mean was from the population mean. However, μ usually unknown, so this z can be used to obtain a confidence interval for μ.
    The z for individual observations is used to look up areas under the standard normal curve.

  6. Answer: a z-score for an observation tells you how many standard deviations away from the sample mean the observation is.  You compute the z-scores of a data vector like this:
    z = (x - mean(x)) / sd(x)
    

The Normal Distribution

Some R functions:
dnorm, pnorm, qnorm, rnorm

Biased vs. Unbiased; Heteroscedastic vs. Homoscedastic for Graphs

Normal Plots

We will finish discussing normal plots on Wednesday, Feb 28.

Practice Problems

We will discuss this section on Wednesday, Jan 28.

  1. Compute normal scores (Van der Waerden's method) for a dataset of size 9.
  2. Construct the normal plots by hand of this dataset:
     
           81   95   97   101   112   125   129   167   220
  3. Create the normal plot for this dataset with R.

Random Variable Simulation

Project 2BCD