Question

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated...

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~

~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~

Goodness of Fit

Microhabitat factors associated with forage and bed sites of barking deer in Hainan Island, China, were examined. The sample of 477 examined sites where the deer forage were categorized by habitat as follows:

Habitat Woods Cultivated grassplots Deciduous forests Other
Deer forage sites 15 16 50 386

In this region, woods make up 4.8% of the land, cultivated grassplots make up 14.7%, and deciduous forests make up 39.6%.
Do these data provide convincing evidence that barking deer prefer to forage in certain habitats over others? Answer this research question by conducting a goodness of fit test at 0.01 significance level. Follow the steps outlined in the assignment instructions.

  1. Create a vector of assumed probabilities and use it to obtain and display a vector of expected values, then check that the assumptions required for this test are satisfied.

  2. Find the P-value of the statistic using the appropriate chi-squared distribution.

  3. Plot the distribution, a vertical line at the value of the test statistic, and show the P-value in the plot.

  4. Verify that your statistic and P-value are correct by using the chisq.test instruction (if less than 10^ (-10),

    consider both as zero).

  5. (h) Do these data provide evidence that barking deer prefer to forage in certain habitats over others? Explain.

THIS MUST ALL BE COMPLETED AND DISPLAYED USING R STUDIO

Homework Answers

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
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated with forage and bed sites of barking deer in Hainan Island, China, were examined. The sample of 477 examined sites where the deer forage were categorized by habitat as follows: Habitat Woods Cultivated grassplots Deciduous forests Other Deer forage sites 15 16 50 386 In this region, woods make up 4.8% of the land, cultivated grassplots make up 14.7%, and deciduous forests make up...
A researcher conducted a goodness-of-fit test by using categorical data. Her data consists of 4 categories....
A researcher conducted a goodness-of-fit test by using categorical data. Her data consists of 4 categories. Her null hypothesis states that the data occur in each category with the same frequency. If she found the test statistic χ2=χ2=12.03: What is the degree of freedom of the χ2χ2 statistic? 3 What is the P-value of the goodness-of-fit test? (Round to 3 decimals)
Perform the indicated goodness-of-fit test using the P-value method. Be sure to state the hypotheses and...
Perform the indicated goodness-of-fit test using the P-value method. Be sure to state the hypotheses and the significance level , to compute the value of the test statistic, to obtain the P-value, and to state your conclusion. 3) The U.S. Department of Defense provides data on the distribution of military personnel on active duty by branch of service. Below is a table giving the percentage distribution for 1985. Branch of Service Percentage Army 36.3 Navy 26.5 Marine Corps 9.2 Air...
** Show all necessary work, and round final answers to three places – all problems can...
** Show all necessary work, and round final answers to three places – all problems can be answered without rounding intermediate steps.** 1. Goodness of Fit – Vending Machines: The Coca-Cola vending machines on the UK campus typically offer six drink options: Coca-Cola, Diet Coke, Coke Zero, Cherry Coke, Mello Yello, and Dasani. Suppose a random sample of 300 credit card transactions at a particular vending machine was taken, and the distribution of drinks sold during those transactions is below....