Question

A biologist is studying the behavior of snails. As a part of this study, the biologist...

A biologist is studying the behavior of snails. As a part of this study, the biologist and his students used snails from a natural population to measure the distances (in cm) that snails travel per day.

A sample (m1) of 30 measurements in cm that snails traveled per day is obtained.

Generate the sample using the R codes below:

set.seed(12345678)

Z = rexp(30,0.01)

m1 = round(Z,1)

State the sample (m1) that you obtained.

Use these data to answer the following questions.

(a) Find the mean (?̅) and standard deviation (s) for the sample.

(b) Plot a box plot for the sample. What is the shape of the distribution? Is the distribution symmetrical or skewed? Does the distribution have a large spread? Explain.

(c) Test the hypothesis that the distances that snails traveled per day come from an exponential distribution with rate ?, using 0.05 level of significance. Use 1/?̅ as an estimate of ?.

(i) Group the data into 5 classes, with equal probabilities for each class. Thus, the expected value for each class will be 6.0. Use a chi-square goodnessof-fit test to test the hypothesis above and state your conclusion.

ii) A non-parametric test called the Kolmogorov-Smirnov goodness-of-fit test can also be used to decide if a sample comes from a specific continuous distribution. Explain about this test and use this test to test the hypothesis above. State your conclusion.

(iii) Compare your conclusion in parts (i) and (ii), is there any difference? Explain

Homework Answers

Answer #1

set.seed(12345678)

Z = rexp(30,0.01)

m1 = round(Z,1)

a).
> mean(m1)
[1] 79.10333

> sd(m1)
[1] 77.58231

b). > boxplot(m1)

  • The distribution is left skewed
  • It is not symmetric
  • Yes, the spread is large as can also be seen from standard deviation value

c).

> t.test(1/m1,mu = 0,alternative = "two.sided",conf.level = 0.95)

   One Sample t-test

data: 1/m1
t = 1.6642, df = 29, p-value = 0.1068
alternative hypothesis: true mean is not equal to 0 ( is significant)
95 percent confidence interval:
-0.02098196 0.20425497
sample estimates:
mean of x
0.0916365

as = 1/mean, 1/m1 is the vector passed and mean of x = = 0.0092

Please rate my answer and comment for doubt.

Know the answer?
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
Similar Questions
A study was conducted to determine whether the mean braking distance of four-cylinder cars is greater...
A study was conducted to determine whether the mean braking distance of four-cylinder cars is greater than the mean braking distance of six-cylinder cars. A random sample of 20 four-cylinder cars and a random sample of 20 six-cylinder cars were obtained, and the braking distances were measured. (a) What would be the appropriate hypothesis test for this analysis? (i) t-test for two independent samples (ii) t-test for dependent samples (iii) z-test for population mean (iv) correlation (b) Explain the rationale...
Canada found a mean thickness of 68 cm. A Colorado study had a random sample of...
Canada found a mean thickness of 68 cm. A Colorado study had a random sample of 12 avalanches in spring, which gave a sample mean thickness of 64.5 cm with a standard deviation of 7.9 cm. Assume the slab thickness has a normal distribution and use an α= 10% level of significance to test the claim that the mean slab thickness in the Colorado region is less than Canada’s slab thickness. show work. State the null and alternate hypotheses for...
In a study of health behavior, a random sample of 500 subjects from a major city...
In a study of health behavior, a random sample of 500 subjects from a major city was surveyed. In this random sample, 310 responded that they had dinner mostly after 8 PM. At 5% level of significance, does the data support that more than 60% of the residents in this city had dinner after 8 PM? (Must state null and alternative hypotheses and use p-value to conclude the test. You can use Chi-square Goodness of fit test or Binomial test...
In a study of health behavior, a random sample of 500 subjects from a major city...
In a study of health behavior, a random sample of 500 subjects from a major city was surveyed. In this random sample, 310 responded that they had dinner mostly after 8 PM. At 5% level of significance, does the data support that more than 60% of the residents in this city had dinner after 8 PM? (Must state null and alternative hypotheses and use p-value to conclude the test. You can use Chi-square Goodness of fit test or Binomial test...
A researcher is testing the effectiveness of a new herbal supplement that claims to improve memory...
A researcher is testing the effectiveness of a new herbal supplement that claims to improve memory performance.  A sample of n = 25 college students is obtained and each student takes the supplement daily for six week.  At the end of the 6-week period, each student is given a standardized memory test and the average score for the sample is M = 39.  For the general population of college students, the distribution of test scores is normal with a mean of µ =...
During fiscal year 2004, the mean monthly benefit per person participating in the federal food-stamp program...
During fiscal year 2004, the mean monthly benefit per person participating in the federal food-stamp program in Nebraska was $79.52. Due to the poor economy, more people are using this support program to purchase eligible food. A random sample of 15 people using food stamps was obtained, the sample mean was $80.97 and the sample standard deviation was $4.50. Assume the distribution of monthly benefit per person is normal and use α=0.05. Is there any evidence the true mean monthly...
Conduct a test of the null hypothesis that the mean height for all students in the...
Conduct a test of the null hypothesis that the mean height for all students in the Census at School database is equal to 155 cm vs the alternative that the mean Height is greater than 155 cm. Use a significance level of 0.05. a. State the null and alternative hypotheses. Ho: m = 155 Ha: m > 155 b. Provide the Statcrunch output table. Hypothesis test results: Variable Sample Mean Std. Err. DF T-Stat P-value Height 159.86 1.7311103 49 2.8074468...
A random sample of 400 families in the city of Minneapolis showed that 192 of them...
A random sample of 400 families in the city of Minneapolis showed that 192 of them owned pets. The city council claims that 53% of the families in the city own pets. Does the data indicate that the actual percentage of families owning pets is different from 53%? Use a 5% significance level. For each hypothesis test please provide the following information: (a) State the null and the alternate hypotheses. (b) Identify the sampling distribution to be used: the standard...
A nationwide study a few years ago showed that American women, ages 19-30, consume an average...
A nationwide study a few years ago showed that American women, ages 19-30, consume an average of 110 milligrams of caffeine per day. Recently a group of Stats students decided to test whether the average was more than that now. They obtained a random sample of 25 American women, ages 19-30, whose average daily consumption was 115 milligrams of caffeine per day. The standard deviation was s = 14, and a histogram was unimodal and nearly symmetric with no outliers....
1. An unstandardized test of aggression has a mean of 35.19. You take a sample of...
1. An unstandardized test of aggression has a mean of 35.19. You take a sample of 44 video game players and find their scores on this test have a mean of 39.84 and a standard deviation of 12.42. Are their aggression scores greater than the standard of 35.19? a. State the null and alternative hypotheses. b. Find your critical value(s) with a criterion of .01. Remember if the appropriate line is not available exactly in the table to pick the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT