Question

Consider the number of days absent from a random sample of six students during a semester:...

  1. Consider the number of days absent from a random sample of six students during a semester: A= {2, 3, 2, 4, 2, 5}
    1. Compute the arithmetic mean, geometric mean, median, and mode by hand and verify the results using R
      1. Arithmetic Mean: X=i=1nXin=2+3+2+4+2+56=3

mean(data2$absent)

[1] 3

  1. Geometic Mean: GMx=Πi=1nX11n=2∙3∙2∙4∙2∙516=2.79816

>gmean <- prod(data2$absent)^(1/length(data2$absent))

> gmean

[1] 2.798166

  1. Median: X=12n+1th, Xi2,2,2,3,4,5, n=6=126+1th ranked value=3.5, value=2.5 days absent

>median(data2$absent)

[1] 2.5

  1. Mode: Most frequent value=2

> mode <- names(table(data2$absent)) [table(data2$absent)==max(table(data2$absent))]

> mode

[1] "2"

  1. Compute the variance, standard deviation, and coefficient of variation by hand and verify the results using R.
    1. Sample Variance: S2=i=1nXi-X2n-1=2-32+3-32+2-324-322-325-326-1=85=1.6

> var(data2$absent)

[1] 1.6

  1. Sample Standard Deviation: s=s2=i=1nXi-X2n-1=1.6=1.26491

> sd(data2$absent)

[1] 1.264911

  1. Coefficient of Variation: CV=SX=1.264912.5=.421637

> cv <- abs(sd(data2$absent)/mean(data2$absent))

> cv

[1] 0.421637

  1. Compute the interquartile range of this data by hand and with R

    > IQR(data2$absent, type=6)

    [1] 2.25

    1. Display the data above with a well‐formatted and well‐labeled pie chart created with R.  Recall that with a pie chart, the slices sum to 100 percent, so the slice labeled “2 days absent” should be 50 percent of the pie.

      Pie Chart with Percentages

      slices <- c(50, 16.6666667, 16.6666667, 16.6666667)

      lbls <- c("2 days absent", "3 days absent", "4 days absent", "5 days absent")

      pct <- round(slices/sum(slices)*100)

      lbls <- paste(lbls, pct) # add percents to labels

      lbls <- paste(lbls,"%",sep="") # ad % to labels

      pie(slices,labels = lbls, col=rainbow(length(lbls)),

          main="Pie Chart of Absences")

      1. Display the data above with a well‐labeled and well‐formatted frequency distribution (histogram) using R.

        x <- data2$absent

        > h<-hist(x, breaks=10, col="magenta", xlab="# of student absences",

        +         main="Histogram of student absences")

        > xfit<-seq(min(x),max(x),length=40)

        > yfit<-dnorm(xfit,mean=mean(x),sd=sd(x))

        > yfit <- yfit*diff(h$mids[1:2])*length(x)

        > lines(xfit, yfit, col="blue", lwd=2)

        1. Use the relationship between the mean and median to determine whether the distribution above is symmetrical, negatively skewed or positively skewed.  Explain.
          1. Mean > Median = 3 > 2.5, the distribution above is positively skewed.
        2. Calculate excess kurtosis using the formula from lecture.  Is this distribution leptokurtic, mesokurtic, or platykurtic?  Explain.  Compared to the normal distribution with the same variance, does this distribution exhibit fatter tails?  Briefly explain
          1. 1ni=1nxi-X41ni=1nxi-X22=162-34+3-34+2-34+4-34+2-34+5-34162-32+3-32+2-32+4-32+2-32+5-322=103169=158≈1.875
          2. Excess kurtosis = kurtosis – 3 = 1.875 – 3 = -1.125, -1.125 < 3
          3. This distribution is platykurtic as excess kurtosis < 0, kurtosis < 3
          4. No it will exhibit thinner tails than a normal distribution.

        Suppose someone claims that the population mean is 5 days absent (

        0 0
        Answer #1

        A= {2, 3, 2, 4, 2, 5}

        Null Hypothesis H0:

        Know the answer?
        Add Answer to:
        Consider the number of days absent from a random sample of six students during a semester:...
        Your Answer:

        Post as a guest

        Your Name:

        What's your source?

        Earn Coins

        Coins can be redeemed for fabulous gifts.

        Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
        Similar Homework Help Questions
        • Question Completion Status: Over a 3 month period, a researcher records the number of days that...

          Question Completion Status: Over a 3 month period, a researcher records the number of days that members of a local Gym use the gym facilites. You collect the following data from a sample of members at the Gym Below is the number of days each person made it to the gym. 2 16 30 39 15 29 37 55 15 30 38 60 14 29 36 51 18 31 40 19 31 40 19 32 41 21 32 41 25...

        • The accompanying data represent the number of days​absent,x, and the final exam​score,y, for a sample of...

          The accompanying data represent the number of days​absent,x, and the final exam​score,y, for a sample of college students in a general education course at a large state university. a Find the east-squares regressiri Ine íreatng number cf absences as the explaratry vanable: and the final exam soare as th션 response: vanaue ㄇㄇ {Round to Ihre ! decimal places as "eeded.》 Absences and Final Exam Scores No. of absences,x 0 1 2 3 4 5ฉ789 Final cxam score. y l8.0 a8.7...

        • The data below represent the number of days absent, x, and the final grade, y, for...

          The data below represent the number of days absent, x, and the final grade, y, for a sample of college students at a large university. Complete parts (a) through (e) below. No. of absences, x 0 1 2 3 4 5 6 7 8 9 Final grade, y 87.6 84.7 81.8 79.4 76.4 72.0 62.6 670 64.1 61.2 (a) Find the least squares regression line treating the number of absences, x, as the explanatory variable and the final grade, y,...

        • Descriptive Statistics: The Old-Fashioned Way (and with 2. In this problem, calculate the descriptive statistics below...

          Descriptive Statistics: The Old-Fashioned Way (and with 2. In this problem, calculate the descriptive statistics below "by hand." That is, please show all of your calculations using Equation Editor (in Word, use Insert/Equation) or similar (although you must use R to verify your results). - Consider the hourly wages from a sample of six employed students duringa semester: w (10, 10, 16, 18, 18,18) A. Compute the arithmetic mean, geometric mean, median, and mode by B. Compute the variance, standard...

        • The following data represent the number of days absent per year in a population of 6...

          The following data represent the number of days absent per year in a population of 6 employees of a small company:   1   3   6   7   9   10 Assuming that you sample without replacement, select all possible samples of size n = 3 and construct the sampling distribution of the sample mean and the sample median. Compute the mean of all sample means and all sample medians. Are they equal? What is this property? Which estimator, the sample mean or the...

        • The data below represent the number of days absent, x, and the final grade, y, for...

          The data below represent the number of days absent, x, and the final grade, y, for a sample of college students at a large university. Complete parts (a) through (e) below No. of absences, x 0 1 2 3 4 5 6 7 8 9 Final grade, y 88.9 86.0 82.9 80.3 77.4 72.9 63.4 67.7 64.7 61.7 (a) Find the least-squares regression line treating the number of absences, x, as the explanatory variable and the final grade, y, as...

        • (1, 1 pt ea) Provide the summary statistics for the following set of numbers below (Note:...

          (1, 1 pt ea) Provide the summary statistics for the following set of numbers below (Note: if the answer is not an integer, you must provide the value to three decimal places)s 21, 24, 24, 29, 24, 28, 13, 16, 40, 33, 22, 20, 23, 19 44.1 u Mean 241 Range2Pop. Variance = Z - Median SOR Pop. standard deviation = Q1 225 Mid-range = 20, S- sample Sample standard deviation Mode = Skewness (population)- Kurtosis (population)- Excess kurtosis (population)-...

        • 1 4 8 9 The data below represent the number of days absent, x, and the...

          1 4 8 9 The data below represent the number of days absent, x, and the final grade, y, for a sample of college students at a large university. Complete parts (a) th below. No. of absences, 0 2 3 5 6 7 Final grade, y 87.7 84.9 82.0 79.6 76.7 72.4 62.9 67.4 64.6 61.8 (a) Find the least-squares regression Line treating the number of absences, x, as the explanatory variable and the final grade, y, as the response...

        • The following data represents the number of days absent and the final grade for a sample...

          The following data represents the number of days absent and the final grade for a sample of college students in a general education course at a large state university. 0 1 2 3 4 5 6 7 8 9 No. of absences Final Grade 89.2 86.4 83.5 81.1 78.2 73.9 64.3 71.8 65.5 66.2 a) Which variable is the explanatory variable? b) Draw a scatter plot and describe your scatter plot (Direction, Strength, Form). c) Compute the correlation coefficient d)...

        • The data below represent the number of days​ absent, x, and the final​ grade, y, for...

          The data below represent the number of days​ absent, x, and the final​ grade, y, for a sample of college students at a large university. Complete parts​ (a) through​ (e) below. No. of​ absences, x 0 1 2 3 4 5 6 7 8 9 Final​ grade, y 88.1 85.1 82.1 79.6 76.5 72.0 62.3 66.7 63.7 60.7 (a) Find the​ least-squares regression line treating the number of​ absences, x, as the explanatory variable and the final​ grade, y, as...

        ADVERTISEMENT
        Free Homework Help App
        Download From Google Play
        Scan Your Homework
        to Get Instant Free Answers
        Need Online Homework Help?
        Ask a Question
        Get Answers For Free
        Most questions answered within 3 hours.
        ADVERTISEMENT
        ADVERTISEMENT
        ADVERTISEMENT