Question

In: Statistics and Probability

16.12 Compute the sample mean and sample median for the dataset 1,2,...,N in case N is...

16.12 Compute the sample mean and sample median for the dataset 1,2,...,N

in case N is odd and in case N is even. You may use the fact that 1+2+···+N = N(N +1) 2 .

Solutions

Expert Solution

MEAN (Formula for mean is same for the both the values of N i.e when N is even or odd, the formula will be same)

Let's take 1,2,3,4......N is Arithmetic Progression

So here, a=1, n=N and d= 1

Then, S​​​​​​n = n/2{2a + (n - 1)d}

On putting values we get

S​​​​​​n = N/2{2×1 + (N- 1)×1} = N/2{2 + N - 1} = N/2(N + 1)

Now, Mean = Sum of all observations/ Total no of observaobservaobservation

Therefore : Mean = S​​​​​​n​​​​​/ N

N/2(N+1)/N = (N+1)/2

NOW MEDIAN

NOTE : We have to arrange the observations in ascending order

CASE 1 When the number of observations (N) is odd, the median is the value of the {(N+1)/2}th observation.

For example: if N=9, the value of the {(9+1)/2}th i.e the median is the 5th observation.

(ii) When the number of observations (N) is even, the median is the mean of the
(N/2)th and {(N/2)+ 1}th​​​ observations

For example: If N= 10, the mean of the values of the (10/2)th​​​​​th and the {(10/2)+1}th observations i.e the mean of the 5th and 6th term.


Related Solutions

What is the difference between a mean, median and mode of a dataset? Provide an example...
What is the difference between a mean, median and mode of a dataset? Provide an example of when it would be appropriate to report each of these. What is a standard deviation? Why is it necessary to report both a measure of center and a measure of spread?
Given the sample data set s = [1,1,2,2,2,9,-5,-10,8,0] Compute the mean, median, mode, variance and standard...
Given the sample data set s = [1,1,2,2,2,9,-5,-10,8,0] Compute the mean, median, mode, variance and standard deviation on paper/ text editor. Show all calculation steps for full credit. Compute and verify the above statistical quantities using python. You can use the statistics package. Feel free to modify the sample code provided in the pre-class material. Your code must clearly print out the required quantities when executed. The display on screen must clearly say what quantity is being printed (eg: “The...
Create a small dataset of at least 5 observations and calculate the mean, median, mode, range,...
Create a small dataset of at least 5 observations and calculate the mean, median, mode, range, IQR and standard deviation (use Excel or StatCrunch). Add an outlier to your data and recalculate these measures. Which changed and by how much? Explain how this illustrates the idea of resistant measures. Please provide the data that you made up and the measures for your data before and after you added an outlier. Organizing the data into a table would be a great...
Assume a population of 1,2 and 12. assume the sample size of size n = 2...
Assume a population of 1,2 and 12. assume the sample size of size n = 2 are randomly selected with replacement from the population. listed below are the nine different sample. complete parts a through d below 1,1 1,2 1,12, 2,1 2,2 2,12 12,1 12,2 12,12 a) find the value of the population standard deviation b) find the standard deviation of each of the nine samples the summarize the sampling distribution of the standard deviation in the format of a...
1.Consider the e-billing case. The mean and the standard deviation of the sample of n =...
1.Consider the e-billing case. The mean and the standard deviation of the sample of n = 65 payment times are x¯x¯ = 18.4730 and s = 3.9045. Test H0: μ = 18.6 versus Ha: μ < 18.6 by setting α equal to .01 and using a critical value rule and assume normality of the population. (Round your "t" and "t0.01" answers to 3 decimal places and p-value answer to 4 decimal places. Negative value should be indicated by a minus...
2. Dataset B consists of the values {10,12,14,24,25,27,28,30,30,32,33,33,34,37,38,38,40,41,43, 44,44,46,47,49,56,58}. (a) What is the median of Dataset...
2. Dataset B consists of the values {10,12,14,24,25,27,28,30,30,32,33,33,34,37,38,38,40,41,43, 44,44,46,47,49,56,58}. (a) What is the median of Dataset B? (b) To one decimal, what is the sample standard deviation of Dataset B? (Don’t calculate this out by hand.) (c) Make a table of the frequency distribution (not the relative frequency distribution) of Dataset B, using the intervals 10 to 19, 20 to 29, 30 to 39, 40 to 49, and 50 to 59. Be sure to appropriately label the table headings. (d)...
1. Compute the Mean and Median. Explain the meaning of these statistics. Which measure is  more appropriate...
1. Compute the Mean and Median. Explain the meaning of these statistics. Which measure is  more appropriate for this sample? Explain why The starting annual salaries of a sample of 20 recent MBA graduates are recorded. The data is presented below. 285 283 285 277 290 265 285 291 279 291 281 282 266 699 279 283 287 291 291 968
For the following set of data, please compute the following: a. Mean b. Median c. Skew...
For the following set of data, please compute the following: a. Mean b. Median c. Skew (Left, Right, or None) d. Mode e. Range f. Variance g. Standard deviation. Y = {3, 7, 5, 6, 9, 14, 2, 1, 6}
A simple random sample with n=56 provided a sample mean of n= 23.5 and a sample...
A simple random sample with n=56 provided a sample mean of n= 23.5 and a sample standard deviation of 4.3. a. Develop a  confidence interval for the population mean (to 1 decimal). ____,___ b. Develop a  confidence interval for the population mean (to 1 decimal). ___,___ c. Develop a  confidence interval for the population mean (to 1 decimal). ___, ___ d. What happens to the margin of error and the confidence interval as the confidence level is increased? - Select your answer -(They...
INDIAN STUDENTS DATA FILE (MINITAB) Variable N N* Mean SE Mean StDev Minimum Q1 Median Q3...
INDIAN STUDENTS DATA FILE (MINITAB) Variable N N* Mean SE Mean StDev Minimum Q1 Median Q3 Maximum GRE Score 500 0 316.47 0.505 11.3 290 308 317 325 340 TOEFL Score 500 0 107.19 0.272 6.08 92 103 107 112 120 CGPA 500 0 8.5764 0.027 0.6048 6.8 8.1225 8.56 9.04 9.92 What is the probability of students between CGPA 8 and 9? What is the probability of students above GRE 325 score? What is the GRE score middle 50%...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT