Question

In: Statistics and Probability

How can this problem be done WITHOUT using R? For the bird egg length data set,...

How can this problem be done WITHOUT using R? For the bird egg length data set, conduct an appropriate test to determine if bird egg length differs among species. Assume that before you conducted this test you hypothesized about 3 contrasts a priori. These were that (1) Meadow Pipits, Wagtails, and Robins would be different than the other 3 bird species, (2) Hedge Sparrows would differ from Wrens, and (3) Tree Pipits would be different than all other birds. Use the approach we outlined in class to evaluate these a priori contrasts.

The approach outlined in class is as follows:

A priori contrasts

First, we must decide how many and which planned comparisons to make. Technically, we can make as many as we would like, but many statisticians recommend that our planned contrasts be orthogonal to one another to ensure independence of results (i.e., that each contrast tests an independent relationship among the means). This way our P-values for each contrast are not correlated with one another. If there are k groups, then, at most, there can be k-1 orthogonal contrasts (although we can create the k-1 contrasts in multiple ways). We use an approach similar to the one outlined above for the Scheffe’s test, in that we generate coefficients for each of the means in the contrast. The rules for building contrasts and assigning coefficients are presented by Gotelli and Ellison 2004 (pp. 339-341):

1. The sum of the coefficients for any contrast must equal 0 2. Sets of means averaged together have the same coefficient 3. Means not included in a contrast have a coefficient of 0 4. A maximum of k-1 orthogonal contrasts are possible 5. All of the pair-wise cross products must sum to 0

Rules 4 and 5 apply only when we want to limit our comparisons to orthogonal contrasts. If we chose to test non-orthogonal contrasts, we must adjust our alpha (α) level since the non
143
independence of our tests will inflate our probability of making a Type I error. These types of adjustments to our alpha level are collectively referred to as Bonferroni adjustments and there are several types. The simplest is the Bonferroni method which sets alpha = α/k, where k = the number of tests performed.

More powerful options For the Holm-Bonferroni method (Holm 1979): 1) start by ordering the P-values from smallest to largest 2) compare your smallest P-value against 0.05/k 3) If your smallest observed P-value is smaller, you reject the null, and go to the next smallest P-value, which you compare to 0.05/k-1 4) If you reject that null, you move to your next smallest P-value and compare it to 0.05/k-2 5) You continue in this manner until you fail to reject a null hypothesis, at which point all remaining P-values would be nonsignificant.

Hedge Sparrow = 20.85, 21.65, 22.05, 22.85, 23.05, 23.05, 23.05, 23.05, 23.45, 23.85, 23.85, 23.85, 24.05, 25.05

Meadow Pipit = 19.65, 20.05, 20.65, 20.85, 21.65, 21.65, 21.65, 21.85, 21.85, 21.85, 22.05, 22.05, 22.05, 22.05

Pied Wagtail = 21.05, 21.05, 21.85, 21.85, 21.85, 22.05, 22.45, 22.65, 23.05, 23.05, 23.25, 23.45, 24.05, 24.85

Robin = 21.85, 22.05, 22.05, 22.25, 22.45, 22.45, 22.65, 23.05, 23.05, 23.05, 23.05, 23.05, 23.25, 23.85

Tree Pipit = 21.05, 21.85, 22.05, 22.45, 22.65, 23.25, 23.25, 23.45, 23.45, 23.65, 23.85, 24.05, 24.05, 24.05

Wren = 19.85, 20.05, 20.25, 20.85, 20.85, 20.85, 21.05, 21.05, 21.25, 21.45, 22.05, 22.05, 22.05, 22.25

Solutions

Expert Solution


Related Solutions

For the bird egg length data set, conduct an appropriate test to determine if bird egg...
For the bird egg length data set, conduct an appropriate test to determine if bird egg length differs among species. Assume that before you conducted this test you hypothesized about 3 contrasts a priori. These were that (1) Meadow Pipits, Wagtails, and Robins would be different than the other 3 bird species, (2) Hedge Sparrows would differ from Wrens, and (3) Tree Pipits would be different than all other birds. Use the approach we outlined in class to evaluate these...
For the bird egg length data set, also conduct an appropriate test to determine if bird...
For the bird egg length data set, also conduct an appropriate test to determine if bird egg length differs among species. Assume that before you conducted this test you hypothesized about 3 contrasts a priori. These were that (1) Meadow Pipits, Wagtails, and Robins would be different than the other 3 bird species, (2) Hedge Sparrows would differ from Wrens, and (3) Tree Pipits would be different than all other birds. Use the approach we outlined in class to evaluate...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
Use R studio to do this problem. This problem uses the wblake data set in the...
Use R studio to do this problem. This problem uses the wblake data set in the alr4 package. This data set includes samples of small mouth bass collected in West Bearskin Lake, Minnesota, in 1991. Interest is in predicting length with age. Finish this problem without using Im() (a) Compute the regression of length on age, and report the estimates, their standard errors, the value of the coefficient of determination, and the estimate of variance. Write a sentence or two...
Using R Programing Apply clustering to "Wholesale customers Data Set" and see if you can distinguish...
Using R Programing Apply clustering to "Wholesale customers Data Set" and see if you can distinguish between regions. NOTE: the clustering should exclude the region column.
. Without using R find the median and the first quartile of the following data taken...
. Without using R find the median and the first quartile of the following data taken from a random sample of systolic blood pressures of patients measured in mmHg. What is the interquartile range? 88, 88, 92, 96, 96, 100, 102,102,104,104,105,105,105,107,107,108,110,110,110,111,111, 112,113,114, 114,115,115,116,116,117,117,117, 118,119,120,121,121, 121,121,121,121,122,122,123,123, 123, 123,123,124,124,124,124,125,125,125,126,126,126,126, 124, 125,125,125,126,126,126,126,131,133,134,135,136,136,136,138,138,139,139,141,142,142, 143,144,146,147,155,156. Create a histogram of these data. What is the mode of the data?
( In R / R studio ) im not sure how to share my data set,...
( In R / R studio ) im not sure how to share my data set, but below is the title of my data set and the 12 columns of my data set. Please answer as best you can wheather its pseudo code, partial answers, or just a suggestion on how i can in to answer the question. thanks #---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The dataset incovid_sd_20201001.RDatacontains several variables related to infections of covid-19 for eachzip code in San Diego County as of October...
Using R program and with a For loop. Assuming a data set of 1000 observations and...
Using R program and with a For loop. Assuming a data set of 1000 observations and 10 predictors. How would one use a for loop to cycle through different proportions of training and test sizes. For example, 20% of data goes to training and 80% for test in first iteration. Each iteration adding another 10% to the training set. So first set= (20% train, 80% test), second set = (30% train, 70% test), third set= (40% train,60%test) and so on....
Without using R find the median and the first quartile of the following data taken from...
Without using R find the median and the first quartile of the following data taken from a random sample of systolic blood pressures of patients measured in mmHg. What is the interquartile range? 88, 88, 92, 96, 96, 100, 102,102,104,104,105,105,105,107,107,108,110,110,110,111,111, 112,113,114, 114,115,115,116,116,117,117,117, 118,119,120,121,121, 121,121,121,121,122,122,123,123, 123, 123,123,124,124,124,124,125,125,125,126,126,126,126, 124, 125,125,125,126,126,126,126,131,133,134,135,136,136,136,138,138,139,139,141,142,142, 143,144,146,147,155,156. Create a histogram of these data. What is the mode of the data?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT