You are on page 1of 3

Excel Project

MATH 124 Elementary Statistics


Due 12.13.12

Name:

In this project, we are going to study The Central Limit Theorem. We rst generate 299 random numbers called IQ Scores. We dont expect these 299 scores will form a Normal distribution bell-shaped curve. We then conduct a Sampling distribution with sample size n = 25, then with n = 49. The Central Limit Theorem states that the sample mean is approximately Normal. We will see the effect of increasing sample size n.
Part I

1. Use Excel 2010 to generate 299 random IQ scores ranging from 70 to 140: Launch Excel 2010. In cell A1, type IQ. In cell A2, type =RANDBETWEEN(70,140). Automatically ll in cell A3 to A300 using the same formula. Do this by clicking on cell A2, then move the cursor to the lower right corner until a bold dark plus sign appears. Press and hold and pull down all the way to cell A300. This is important: Copy the entire column A (from A1 to A300). Create a new sheet (in the same window/le) and label it DataSet. In column A (of the new sheet), click Paste Special: Values. It is okay if you dont see the same numbers you copied. For instance, in cell A2 of the new sheet, you might not get the same number as in A2 of the old sheet. But notice that the new cell A2 contains a number (value) whereas the old cell A2 contains a formula. Note that the numbers in new cells A2 to A300 are within the range 70 to 140. 2. In the sheet #2, DataSet: (a) In cell C1, type Bin. (b) In cell C2, type 70. The class width we will use is 10. So in cell C3, type 80, etc.... The number in cell C9 should be 140. (c) Click on Data, then Data Analysis, then Histogram, then OK. (d) Make sure the cursor is in Input Range box, select cell A2 to A300. Make sure you see this in the Input Range box: $A$2:$A$300. (e) Click in the Bin Range box, then select cell C2 to C9. Make sure you see this in the Bing Range box: $C$2:$C$9. (f) Check the Output Range option. Then click in the Output Range box. Then click on cell D2. Make sure you see $D$2. Check the Chart Output option. (g) Click OK. 3. Generate simple random samples (SRS) In the new sheet, sheet #3: Fill column A with the IQ scores from sheet #2. Write "Original IQ" in cell A1 and paste the scores in cells A2 through A300. To generate a size 25 SRS: do this: Click the heading of column C. Click Data and then select Data Analysis. In the dialog box that follows, select Sampling from the menu and click OK.

Page 1 of 3

Excel Project
Due 12.13.12

Fill out the box as follows: Input Type text text text Click OK. You should see 25 IQ scores in cells C1 to C25. Now copy those IQ scores and Paste Transpose them to D2 to Z2. Follow the previous steps until you have 100 rows of size 25 IQ scores. First row: cells D2 through Z2, second row: D3 through Z3, ... and the last row: D101 through Z101. 4. In cell B1, write "Size 25 Sum" , and in cell C1, write "Size 25 Sample Average". In cell B2, type =SUM(D2:Z2) and hit Enter. In cell C2, type =AVERAGE(D2:Z2) and hit Enter. Click on C2, the Format the cell to 2 decimal places. Now copy and paste your formula in B2 and C2 (or automatically ll down) to B101 and C101, respectively. 5. Go to a different sheet, Sheet #4, in the same workbook. Name it "Histogram for Size 25 sample sums" (a) In cell A1, write Size 25 Sample Sums. (b) Copy the one hundred Size 25 sample sums you obtained and put them in column A of this spreadsheet. Remember to use Paste Special: Values. (c) Draw the histogram of this new data. (d) Use Excel to calculate the mean and the standard deviation of this data, using =AVERAGE(A2:A101) and =STDEV(A2:A101). (e) Record these answers clearly below your histogram. 6. Go to a different sheet, Sheet #5, in the same workbook. Name it Histogram for Size 25 sample averages. Again, remember to use Paste Special: Values. (a) In cell A1, write Size 25 Sample Averages. (b) Copy the one hundred Size 25 sample averages you obtained and put them in column A of this spreadsheet. Remember to use Paste Special: Values. (c) Draw the histogram of this new data. (d) Use Excel to calculate the mean and the standard deviation of this data, using =AVERAGE(A2:A101) and =STDEV(A2:A101). (e) Record these answers clearly below your histogram. Label Input Range: Labels Random Number of Samples: Output Range: Output Range: Value $A$2:$A$300 unchecked selected 25 selected $C$1:$C$25

Page 2 of 3

Excel Project
Due 12.13.12

Part II

1. Redo Part I, but this time, use SRS of size 49 instead of 25. Use the same excel le and create new sheets. This means you will need to have one new sheet for the Sampling of size 49, another sheet for the Sum and another for the Average. Please make sure to include the mean and the standard deviation in each histogram. 2. Once youre done, you should have the following items: (a) One hundred Size 25 Sample Sums and their histogram, under which you have recorded Excels computation of the mean and the standard deviation of those one hundred Size 25 Sample Sums. (b) One hundred Size 25 Sample Averages and their histogram, under which you have recorded Excels computation of the mean and the standard deviation of those one hundred Size 25 Sample Averages. (c) One hundred Size 49 Sample Sums and their histogram, under which you have recorded Excels computation of the mean and the standard deviation of those one hundred Size 49 Sample Sums. (d) One hundred Size 49 Sample Averages and their histogram, under which you have recorded Excels computation of the mean and the standard deviation of those 100 Size 49 Sample Averages. The means and the standard deviations you recorded in the histograms are called the experimental values (these are the values you obtained from using Excel formulas). Now go back to sheet #2 and calculate the mean and the standard deviation of the 299 IQ scores. Again, these are still called the experimental values. The Central Limit Theorem states that for a SRS size n, the mean and standard deviation from the 299 IQ scores (sheet 2). (a) for the Sums: the mean is n and the standard deviation is 25 for n = 25, and 49 and 49 for n = 49.
25

n. In this case, they are 25 and


. n

(b) for the Averages: the mean is and the standard deviation is for n = 25, and and
49

In this case, they are and

for n = 49.

Do the calculations using these expressions, their values are called theoretical predictions (from the theorem). 3. Create a new sheet. (a) Put your experimental values and theoretical predictions side-by-side in a carefully crafted table with a column for remarks. In that column, succinctly comment on how close each experimental value is to its theoretical counterpart. (b) Compare the bell-shapes for Size 25 samples to those for Size 49 samples. Below your table, write a sentence or two on any effect that sample size may have on the bell-shapes. If you dont see any effect, please say so. 4. Please print only the histograms and the last sheet (with the table and your comparison/conclusion). You will also need to email me the Excel le. I will not grade your project without the excel le.

Page 3 of 3

You might also like