Question

In: Math

Use the following dataset and assume all assumptions are met Provide all R code needed to...

Use the following dataset and assume all assumptions are met

Provide all R code needed to conduct the tests

Bat house color and species

Lasiurus in brown: 45, 49, 53, 54, 46, 51, 50, 48, 52, 50

Myotis in brown: 40, 38, 35, 39, 39, 44, 42, 48, 41, 40

Lasiurus in tan: 53, 49, 51, 52, 59, 54, 53, 54, 58, 51

Myotis in tan: 62, 64, 59, 61, 65, 61, 58, 63, 56, 61

  1. Provide the three hypotheses statements (null and alternative) that could be made if a two-factor ANOVA were conducted on this data set.
  1. Conduct a two-factor ANOVA and give an explanation for what each of the F statistics reported in the model summary are testing.
  1. Interpret the results as reported by the model summary. Provide an explanation addressing each of the hypotheses that were used in this statistical test. Should each of these hypotheses be considered in this analysis?
  1. Create a figure that assesses the possibility of a significant second-order interaction and interpret the figure in one sentence.

Solutions

Expert Solution

The required R code is given in the following image


Related Solutions

Use R.  Provide Solution and R Code within each problem. For this section use the dataset “PlantGrowth”,...
Use R.  Provide Solution and R Code within each problem. For this section use the dataset “PlantGrowth”, available in base R (you do not need to download any packages). a.Construct a 95% confidence interval for the true mean weight. b.Interpret the confidence interval in 1. in the context of the problem. c.Write down the null and alternative hypothesis to determine if the mean weight of the plants is less than 5. d.Conduct a statistical test to determine if the mean weight...
ANSWER USING R CODE Using the dataset 'LakeHuron' which is a built in R dataset describing...
ANSWER USING R CODE Using the dataset 'LakeHuron' which is a built in R dataset describing the level in feet of Lake Huron from 1872- 1972. To assign the values into an ordinary vector,x, we can do the following 'x <- as.vector(LakeHuron)'. From there, we can access the data easily. Assume the values in X are a random sample from a normal population with distribution X. Also assume the X has an unknown mean and unknown standard deviation. With this...
What are statistical assumptions that must be met to use SEM?
What are statistical assumptions that must be met to use SEM?
5. Use either R or Excel for the following. Provide the formulas or code that you...
5. Use either R or Excel for the following. Provide the formulas or code that you are using. Let x1 be a random variable that is N(100, 225). Let x2 be a random variable that is U(50,150) and let x3 be a random variable that is U(500,1500). Set Y = (X1)(X2)/ (X3) a) Use R to create 500 random numbers of each type (X1, X2, X3 and Y). b) Estimate P(0.1 < Y < 0.25) c) Estimate E(Y) and the...
R has many build-in dataset. The data mtcars is one of them. The following R code...
R has many build-in dataset. The data mtcars is one of them. The following R code read-in data and save the data to input.                   input <- mtcars[,c("am","cyl","hp","wt")]              Write a few line of R code to conduct a regression analysis with am as the response variable, and              cyl, hp, wt as explanation variables.
I need this in R code please: Use the dataset ’juul’ in package ’ISwR’ to answer...
I need this in R code please: Use the dataset ’juul’ in package ’ISwR’ to answer the question. (1) Conduct one-way ANOVA test to test if the mean of igf1 of each level of tanner are the same? (2) What is the mean of igf1 in each level of tanner? (3) If there is any difference, which ones appear to be different? (Use pairwise t test for each pair of level with bonferroni method)
R work (must be done in R) Before opening the dataset needed for this problem, you’ll...
R work (must be done in R) Before opening the dataset needed for this problem, you’ll need to call the “car” package. Run the following line of code: > library(car)  Now you can import the “ Cowles” dataset and use it to answer the question below. Name the data frame with your EID: > my_eid <- Cowles Remember to include any code you use along with your answers in your submission! 3. Cowles and Davis (1987) collected data on...
What statistical assumptions must be met for the use of discriminant analysis?   
What statistical assumptions must be met for the use of discriminant analysis?   
Use R.  Provide Solution and R Code within each problem. A study was conducted to determine the...
Use R.  Provide Solution and R Code within each problem. A study was conducted to determine the average weight of newborn babies. The distribution of the weight of newborn babies has a standard deviation of σ = 1.25lbs. A random sample of 100 newborn babies was taken and weights measured. The mean weight of the babies in the sample was 7.3 lbs. a. Construct a 95% confidence interval for the true mean weight of newborn babies. b. Interpret the confidence interval...
Using dataset "PlantGrowth" in R (r code) Construct a 95% confidence interval for the true mean...
Using dataset "PlantGrowth" in R (r code) Construct a 95% confidence interval for the true mean weight. Interpret the confidence interval in in the context of the problem.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT