CMPS 273 Assignment 6, Data Generation, Consistency, Smoothing, Due March 16; 160 points
For this assignment complete the work outlined below.
- Important data: (10)
- Name
- W number
- Use Excel to generate a data set with 200 points.
- The mean of the data is 50.
- Graph the data.
- Perturb the data points by a random amount between -5 and 5 about the mean.
- Calculate the following statistics from the data set.
- Average
- Standard deviation
- Variance.
- Use Excel to generate a data set with 200 points.
- The mean of the data is 50.
- Graph the data.
- Perturb the data points by a random amount between -20 and 20 about the mean.
- Calculate the following statistics from the data set.
- Average
- Standard deviation
- Variance.
- Use Excel to generate a data set with 200 points.
- The data is described by the following equation y = 1/3*x*x*x. Let x range from -100 to 99
- Graph the data.
- Perturb the data points by a random amount between -5 and 5 about the mean.
- Calculate the following statistics from the data set.
- Average
- Standard deviation
- Variance.
- Use a copy of the data from question 4 as a starting point for this question.
- Smooth the data using a window size of 3. Use a centered window, that is the current point is replaced by the average of itself, the previous point and the next point.
- Find the average, standard deviation and variance of this data set.
- Make another copy of the data and smooth it using a window size of 7.
- Find the average, standard deviation and variance of this data set.
- Compare your answers from a and b. Which is smoother, why?
- Calculate the weighted average of the following number sets. Let the first number and last number each be weighted by 20 percent, let the others be equally weighted.
- 100 80 80 40 40 90
- 60 90 90 100 100 30
- 80 80 80 80 80 20
- 90 60 60 70 50 100
2