Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Find the smallest test statistic out of the 40 tests and circle it. Is the corre

ID: 3217450 • Letter: F

Question

Find the smallest test statistic out of the 40 tests and circle it. Is the corresponding p-value the smallest out of all the p-values?

We begin this by generating some random data. Go to Tools (Data)Data-AnalysisRandom Number Generation. For “Number of Variables”, enter 1. For “Number of Random Numbers”, enter 40. For “Distribution”, select “Normal”. For “Parameters” enter 30 for mean and 1 for standard deviation. For “Random Seed” enter a random integer between 1 and 32767 (try to choose the number in your mind at random. Don’t pick the same number as a classmate and don’t pick the same number every time you generate random data).

We have told Excel we would like a random sample of one random variable, 40 observations, and the observations should be normally distributed with =30 and =1. Under “output options”, select “output range” and enter A1. You are telling Excel to put the observations in column A starting with cell A1. After you click OK you should see 40 numbers in cells A1 through A1000, almost all of which will be between 27 and 33.

Repeat the above instructions, except put another 40 observations from the Normal distribution with a mean of 30 and standard deviation of 1 into columns B, C , and D. Remember to have a different number for “Random Seed” each time. Otherwise, all 4 columns of numbers will be exactly the same! You should finish with a total of 160 observations in cells A1 through D40.

Pretend that each observation is the weight in grams of a machine part being produced on an assembly line. There are 40 random samples of size n=4, one in each row of the spreadsheet. There are 40 engineers working independently of each other, and all of them have taken a sample of size n-4 from the population (each engineer knows that X if normally distributed and =1, but DOES NOT know ).

All the engineers want to do a hypothesis test for with their sample. They are interested in whether or not =30 grams and suspect may actually be less than 30 grams. In other words and .

Go to cell F1 and enter =(AVERAGE(A1:D1)-30)/(1/SQRT(4)). This is the test statistic Z for the first hypothesis test.

By copying and pasting cell F1, find all 40 test statistics and place them in cells F1 through F40. Each engineer wants a significance level of = .05, so go to cell G1 and enter =(F1<-1.645)*1. We are asking Excel if the test statistic is less than -1.645. In other words, we are asking Excel if the scientist rejected and = .05. The result is either a 0 (no, wasn’t rejected) or a 1 (yes, was rejected). By copying and pasting cell G1 (see Homework 0), find a decision for all 40 hypothesis tests and place them in cells G1 through G40.

Go to cell G42 and enter =SUM(G1:G40). You are counting how many of the hypothesis tests led to a rejection.

Go to cell H1 and enter =NORMSDIST(F1). The NORMSDIST function gives you the area to the left of a value on the Z curve. In other words, you are asking for the p-value of this left-tailed hypothesis test. By copying and pasting cell H1, find the p-value for all 40 hypothesis tests and place them in cells H1 through H40.

A B C D E F G H


27.54993 27.77745 28.13467 28.46961 -4.03417 1 2.74E-05 31.38192 30.2467 30.35896 30.26655 1.127062 0 0.870142 29.63729 28.5142 29.15659 30.397 -1.14746 0 0.125596 28.89967 29.14705 29.69609 29.67841 -1.28939 0 0.098631 28.99219 28.28678 30.53303 29.82683 -1.18058 0 0.118884 30.1259 30.64376 29.50503 30.40504 0.339871 0 0.633023 31.68884 30.3946 30.67648 28.94479 0.852359 0 0.802993 30.31941 29.37281 29.10457 30.24978 -0.47672 0 0.316783 30.13207 30.79326 29.96752 30.62208 0.757467 0 0.775615 30.45871 29.79638 30.37721 30.27218 0.452239 0 0.674452 31.32753 30.3504 30.93272 29.6948 1.152733 0 0.87549 31.54009 27.92213 29.35915 30.4986 -0.34001 0 0.366924 30.18242 28.7726 30.58981 31.42071 0.482775 0 0.685372 29.4922 30.26124 29.9868 28.59444 -0.83266 0 0.202519 29.36225 31.26413 30.8491 30.05622 0.765851 0 0.778117 29.27053 32.05145 29.23061 30.09573 0.324159 0 0.627091 29.68975 29.95841 30.83829 30.5058 0.496127 0 0.690098 30.0998 29.40927 29.97525 29.80824 -0.35372 0 0.361775 29.85819 30.82661 31.04591 30.61384 1.172274 0 0.879457 30.0576 30.24796 30.92612 30.14057 0.686127 0 0.753684 30.10688 29.86159 28.97294 30.33653 -0.36103 0 0.359039 29.53141 30.42925 30.54019 31.20813 0.854487 0 0.803582 28.97991 30.37672 28.85307 30.69001 -0.55014 0 0.291111 30.34439 29.94692 27.71442 30.03279 -0.98074 0 0.163361 29.48172 28.2603 29.34897 31.10159 -0.9037 0 0.183076 29.44551 30.09758 29.43647 29.42442 -0.79801 0 0.212431 31.2732 31.37637 31.83813 28.43045 1.459077 0 0.927728 29.28156 29.75732 31.32735 30.85295 0.609589 0 0.728933 30.23906 31.23803 30.7896 29.67511 0.970898 0 0.8342 29.50763 30.35154 30.29479 30.49255 0.323255 0 0.626749 30.17527 28.48134 30.12344 31.05922 -0.08036 0 0.467974 30.58445 29.80598 30.077 31.59115 1.029288 0 0.848328 30.08567 28.27876 30.17147 30.28801 -0.58805 0 0.278251 30.41336 30.68526 28.15687 29.14319 -0.80066 0 0.211665 32.06868 29.86283 30.9933 32.17049 2.547649 0 0.994577 29.238 30.83438 30.05706 30.22515 0.177296 0 0.570362 29.96178 29.32217 30.10426 30.29807 -0.15686 0 0.437679 29.83916 29.96775 30.3592 29.31232 -0.26078 0 0.397129 30.72111 28.95923 29.48216 27.93001 -1.45374 0 0.073009 30.13949 28.62422 30.44389 30.93865 0.073121 0 0.529145 1


Explanation / Answer

Note: I am not sure what exact clarification you are looking for, but to answer the question at the beginning.

The 40 test statistics are given in the F column and the least is in the F1 cell -> -4.03417. The P value is the smallest for this statistic.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote