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

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 Programming to Code) Use the Monte Carol simulation to estimate the probability that all...
(Use R Programming to Code) Use the Monte Carol simulation to estimate the probability that all six faces appear exactly once in six tosses of fair dice.
#All the code solutions should only use Pandas/Numpy and Matplotlib. Initialize the US Zipcode dataset as...
#All the code solutions should only use Pandas/Numpy and Matplotlib. Initialize the US Zipcode dataset as shown below: usZipCodeData = pd.read_csv('http://people.bu.edu/kalathur/datasets/uszips.csv', converters={'zip': lambda x: str(x)}) Q1. Show the top 20 zip codes for Massachusetts by the decreasing order of density attribute. Q2. Show the top 20 zip codes for Massachusetts by the decreasing order of population attribute. Q3. What zip codes are common between Q8 and Q9. Use the numpy intersect1d method. Q4. For Massachusetts, show a scatter plot of...
Use R programming to resolve this; can you please provide details on the code? A) Create...
Use R programming to resolve this; can you please provide details on the code? A) Create a dataframe – comparativeGenomeSize with the following vectors: > organism<-c("Human","Mouse","Fruit Fly", "Roundworm","Yeast") > genomeSizeBP<-c(3000000000,3000000000,135600000,97000000,12100000) > estGeneCount<-c(30000,30000,13061,19099,6034) B) Print the organism and estGeneCount for Human and fruitfly.(1) C) Add a column to this data frame calculating base pairs per gene. To do this, write a function “genedensity” that takes as arguments the genomesizeBP and estimatedGeneCount information, and calculates from this the estimated bp per gene....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT