Conduct a one-way ANOVA in R using the function aov for this data set. What is the F-ratio? HINT: Convert treatment to a factor prior to conducting the ANOVA using the code treatment_fac
Create a contingency table from the HairEye_short data set….
Create a contingency table from the HairEye_short data set. How many people with brown hair have hazel eyes?
For a model where water content is the response variable and…
For a model where water content is the response variable and the other seven variables are the predictors, which variable has the highest variance inflation factor (VIF)? Hint: install and load the ‘fmsb’ package first
Answer the following question using the penguin_female data…
Answer the following question using the penguin_female data set. This includes body mass measurements for individual females over 2 years. We are interested in determining if there is a difference in body mass between the first and second years (mass_1 and mass_2, respectively). Note: an individual bird’s mass is being tracked across two years. penguin_female.csv
Run a two-way ANOVA on the plant data set with NumberFruitin…
Run a two-way ANOVA on the plant data set with NumberFruiting as the response variable and Individual and Block as factors (DO NOT include an interaction term). Based on the data and the ANOVA table, which of the following is true? (Select all that apply)
Based on the among group and within group sum of squares cal…
Based on the among group and within group sum of squares calculations, what would you conclude about the dataset?
Create a contingency table from the HairEye_short data set….
Create a contingency table from the HairEye_short data set. Conduct a chi-square test on the HairEye_short data set. True or false: based on your chi-squared p-value, there is an association between hair color and eye color.
Run a multiple regression on the mice data set where litter…
Run a multiple regression on the mice data set where litter size is the response variable and body mass (g) and total length (mm) are the predictor variables. Include an interaction between total length and body mass in this model. Which of the following is true based on your regression? (Select all that apply)
Select the best model using bidirectional selection for the …
Select the best model using bidirectional selection for the grasslands data set. Use water content as the response variable and all other variables as predictors. Start with the full model. Which of the following is selected according to bidirectional model selection?
Answer the following two questions using the Caterpillar dat…
Answer the following two questions using the Caterpillar data set. This includes information on number of catepillars (NbrCatepillars) found on two plant species (Plantago and Veronica). Caterpillars.csv