Question

In: Statistics and Probability

Calculate the mean, median, mode, variance, and standard deviation for the following data set. (5 answers,...

Calculate the mean, median, mode, variance, and standard deviation for the following data set. (5 answers, 0.4 pts each)

Number of cigarettes smoked per day was recorded for 10 study subjects.

Study Subject # of cigarettes smoked/day
A 5
B 7
C 3
D 10
E 6
F 10
G 20
H 0
I 5
J 12

Solutions

Expert Solution

Solution-:

X-Number of cigarettes smoked per day was recorded.

By using R-software:

> #for mean
> mean=mean(x);mean
[1] 7.8
> #for median
> Med=median(x);Med
[1] 6.5
> #for mode
> tx=table(x);tx
x
0 3 5 6 7 10 12 20
1 1 2 1 1 2 1 1
> m=which(tx==max(tx))
> stx=sort(unique(x))
> Mode=stx[m];
> Mode
[1] 5 10
> #for variance and S.D.
> n=10
> v=var(x);v
[1] 31.06667
> var=((n-1)/n)*v;var # Variance
[1] 27.96
> sd=sqrt(var);sd
[1] 5.287722

R-Code:

x=c(5,7,3,10,6,10,20,0,5,12);x
#for mean
mean=mean(x);mean
#for median
Med=median(x);Med
#for mode
tx=table(x);tx
m=which(tx==max(tx))
stx=sort(unique(x))
Mode=stx[m];
Mode
#for variance and S.D.
n=10
v=var(x);v
var=((n-1)/n)*v;var # Variance
sd=sqrt(var);sd


Related Solutions

Calculate Mean, Median, Mode, Quartiles, Percentiles, Population Variance, and Standard deviation from the following grouped data:...
Calculate Mean, Median, Mode, Quartiles, Percentiles, Population Variance, and Standard deviation from the following grouped data: Class.................. Frequency 2 - 4 .................   3 4 - 6 ..................... 4 6 - 8 .................... 2 8 - 10 ................... 1
Find the mean, median, mode, and standard deviation of the following set of data: 2, 3,...
Find the mean, median, mode, and standard deviation of the following set of data: 2, 3, 3, 4, 5, 6, 9 Mean_____________________ Median____________________ Mode_____________________ Standard Deviation__________ You roll two fair dice, a green one and a red one. Find the probability of getting a sum of 6 or a sum of 4. ___________________ You draw two cards from a standard deck of 52 cards without replacing the first one before drawing the second. Find the probability of drawing an ace...
What is the relationship of variance and standard deviation to the mean, median and mode?
What is the relationship of variance and standard deviation to the mean, median and mode?
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...
Suppose you calculated the mean, median, mode, and sample standard deviation of a data set. The...
Suppose you calculated the mean, median, mode, and sample standard deviation of a data set. The results are shown below. Mean: 44 Median: 31 Mode: 46 Sample Standard Deviation: 2 If each number in the data set was decreased by 4 units, what would be the new values of these statistics? Fill in your results below. New Mean: New Median: New Mode: New Sample Standard Deviation:
1. Find the mean, median, mode, population standard deviation and variance of the given data: Items:...
1. Find the mean, median, mode, population standard deviation and variance of the given data: Items: 3,5,6,9,10,12,15 Frequency: 1,4,2,12,5,4,2 2.Find the mean, median, mode, sample standard deviation and variance of the discrete frequency distribution: Items: 2,5,6,7,12 Frequency:1,3,10,4,2
calculate the mean, median, mode, and standard deviation based on the data provided. Response # Q3:...
calculate the mean, median, mode, and standard deviation based on the data provided. Response # Q3: How many times have you called the police in the last year? 1 0 2 0 3 0 4 2 5 4 6 9 7 0 8 2 9 5 10 4 11 3 12 0 13 0 14 0 15 1 16 8 17 15 18 7 19 2 20 2 21 4 22 3 23 0 24 0 25 1 26 0...
Using Minitab, calculate the mean, standard deviation, variance, and median of the following four data sets....
Using Minitab, calculate the mean, standard deviation, variance, and median of the following four data sets. Comment on the results. A B C D 100 50 50 75 100 75 100 75 100 100 100 75 100 125 100 100 100 150 150 175
How do you understand and interpret mean, median, mode, standard deviation, and variance?
How do you understand and interpret mean, median, mode, standard deviation, and variance?
Use the following list of data to find the mean, median, mode, rande and standard deviation....
Use the following list of data to find the mean, median, mode, rande and standard deviation. Show all of your work 78, 90, 88, 98, 97, 80, 80, 80, 93, 85
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT