# Make sure to use R In an experiment in breeding mice, a geneticist has obtained 120...

Make sure to use R

In an experiment in breeding mice, a geneticist has obtained 120 brown mice with pink eyes, 48 brown mice with brown eyes, 36 white mice with pink eyes and 13 white mice with brown eyes. Theory predicts that these types of mice should be obtained in the ratios 9:3:3 : 1. Test the compatibility of the data with theory, using a 5% critical value. 1. What are the null and alternate hypotheses? 2. What is the p-value of you test? Show the R code and the outputs. 3. What is your conclusion? Why?

Sol:

expected percentages are

9/9+3+3+1=9/16=0.5625

3/16=0.1875

3/16=0.1875

1/16= 0.0625

Solution-1:

Ho:fo=fe

observed frequencies and expected frequencies are same

Ha: fo not =fe

observed frequencies differs from expected frequencies

Solution-2:

Rcode:

observedeyes <- c(120,48,36,13)
expectedeyes <- c(0.5625,0.1875,0.1875,0.0625)
chisq.test(observedeyes, p=expectedeyes)

Output:

Chi-squared test for given probabilities

data: observedeyes
X-squared = 1.9124, df = 3, p-value = 0.5908

p value= 0.5908

Solution-3:

p value= 0.5908

p>0.05

Do not reject Ho

Accept Ho

Conclusion:

There is sufficient evidence at 5% level of significance to conclude that data is compatible with the theory

as obseved frequencies are same as expected frequencies

##### Add Answer to: Make sure to use R In an experiment in breeding mice, a geneticist has obtained 120...
Similar Homework Help Questions
• ### The accompanying data was obtained in an experiment to investigate whether compressive strength of concrete cylinders...

The accompanying data was obtained in an experiment to investigate whether compressive strength of concrete cylinders depends on the type of capping material used (factor 4) or variability in different batches (factor 8). Each number is a cell total (x,y) based on K = 3 observations. Batch 3 2 5 1935 1 1846 1778 1804 1 2 3 Capping Material 4 1888 1785 1892 1941 1850 1892 1792 1890 1799 1626 1757 In addition, LEDx2 = 16,810,777 and 22x2 =...

• ### The accompanying data was obtained in an experiment to investigate whether compressive strength of concrete cylinders...

The accompanying data was obtained in an experiment to investigate whether compressive strength of concrete cylinders depends on the type of capping material used (factor A) or variability in different batches (factor 8). Each number is a cell total (x,y) based on K = 3 observations. 1 1 1846 1778 1804 2 1941 1850 Batch 3 1935 1792 1890 4 1889 1785 1892 5 1799 1626 1757 Capping Material 2 3 1892 In addition, EDX 2 = 16,810,777 and 2x...

• ### 3. A researcher was interested in understanding how the age of oeset (ie., age at which juveniles...

3. A researcher was interested in understanding how the age of oeset (ie., age at which juveniles were arrested for the offense the very first time) would vary by ethnicity. comparison between Hispanic and White juveniles. She perfonned statistical analysis of collected and obtained the following results, Specifically, she would like to make a the data she Using information from the above two tables, answer the following questions. a. (1.5 points) What level of a has been used in this...

• ### Different hotels in a certain area are randomly selected, and their ratings and prices were obtained...

Different hotels in a certain area are randomly selected, and their ratings and prices were obtained online. Using technology, with x representing the ratings and y representing price, we find that the regression equation has a slope of 140 and y-intercept of -391. Complete parts (a) and (b) below. a. What is the equation of the regression line? Select the correct choice below and fill in the answer boxes to complete your choice. O A y= X OB x OC....

• ### DIRECTIONS: Make sure your responses are neat and readable. You must show me your calculation in...

DIRECTIONS: Make sure your responses are neat and readable. You must show me your calculation in a separate piece of paper. Homework that is difficult to grade due to messiness will be returned ungraded. If you would like to get full credit, do not forget to attach the Excel output. The number of hours 10 students spent studying for a test and their scores on that test is represented in the table below. 0 2 4 5 5 Hours spent...

• ### Assume that a simple random sample has been selected from a normally distributed population and test...

Assume that a simple random sample has been selected from a normally distributed population and test the given claim. Identify null and alternative hypotheses, test statistic, critical value(s), and state the final conclusion that addresses the original claim. A simple random sample of pages from a dictionary is obtained. Listed below are the numbers of words defined on those pages. Given that this dictionary has 1459 pages with defined words, the claim that there are more than 70,000 defined words...

• ### An experiment was conducted in which different dosages of a particular pesticide were administered to 5...

An experiment was conducted in which different dosages of a particular pesticide were administered to 5 groups of 5 mice. The 25 mice were females of similar age and condition. One group received no chemical. The basic response y was a measure of activity in the brain. It was postulated that brain activity would decrease with an increase in pesticide dosage. Use the given data to answer parts​ (a) and​ (b). Animal 1 2 3 4 5 6 7 8...

• ### Based on information from a previous study, r = 34 people out of a random sample...

Based on information from a previous study, r = 34 people out of a random sample of n = 101 adult Americans who did not attend college believe in extraterrestrials. However, out of a random sample of n2 = 101 adult Americans who did attend college, '2 = 47 claim that they believe in extraterrestrials. Does this indicate that the proportion of people who attended college and who believe in extraterrestrials is higher than the proportion who did not attend...

• ### Use the following regression output from R studio and answer the following questions. 1. Comment on...

Use the following regression output from R studio and answer the following questions. 1. Comment on the relation between the two test marks. A. There appears to be no  linear relation between the two test marks B. There appears to be strong negative linear relation between the two test marks. C. There appears to be weak positive linear relation between the two test marks. D. There appears to be strong positive  linear relation between the two test marks. 2. If the linear...

• ### 12. In an experiment, 15 babies were asked to watch a climber attempt to ascend a...

12. In an experiment, 15 babies were asked to watch a climber attempt to ascend a hill. On two occasions, the baby witnesses the climber fail to make the climb. Then, the baby witnesses either a helper toy push the climber up the hill, or a hinderer toy preventing the climber from making the ascent. The toys were shown to each baby in a random fashion. A second part of this experiment showed the climber approach the helper toy, which...

Free Homework App