Question: using R studio, compute Data represents the time spent by fish guarding and fanning eggs in their nest. Each record represents the guarding and fanning

using R studio, compute "Data represents the time spent by fish guarding and fanning eggs in their nest. Each record represents the guarding and fanning activity for a single fish. Numerical values for guarding and fanning represent minutes performing that activity in a day. Each day, over two records, a different male and female are studied associated with the same nest. Ten fish of each gender are studied in each of four pH conditions. Treat pH and gender as nominally scaled. In R they can be set to nominal using as.factor(). These five scripted analysis tasks are an exercise in parsing the data appropriately. Remember, you can attach the data frame if you want to use the variable name without referencing the data frame. 1) Irrespective of gender and pH, conduct a matched pairs t-test and a Sign test to test H o :? !"#$%&'( = ? )#''&'( . Report the test statistic and p-value for each. For the sign test, the test statistic is just the number of positives for guarding minus success. You can use t.test and binom.test in R (or equivalent)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock