Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# Exercise 2 The following chunk performs another test of independence between the endemic/exotic strain variable (an indicator variable) and the log viral load variable.

image text in transcribedimage text in transcribedimage text in transcribed
image text in transcribedimage text in transcribedimage text in transcribed
# Exercise 2 The following chunk performs another test of independence between the endemic/exotic strain variable (an indicator variable) and the log viral load variable. Viral strain may be thought of as the explanatory (independent) variable and log viral load as the response (dependent) variable. This test is based on the T distribution, which tests the hypothesis $$H_@:\\mu_{endemic}=\\mu_{exotic}$$ >> H0 2 \"endemic = \"exotic and therefore $$H_@:\\Delta\\mu\\triangleq\\mu_{endemic}\\mu_{exotic}=0$$ >> H0 2 AH \"endemic _ \"exotic = 0 {r} fishDat %% ggplot(aes(x=factor(endemic), y=log. viral. load)) + geom_boxplot() fishDat %>%% group_by(endemic) %% summarize( mean = mean(log. viral . load, na. rm=TRUE), sd = sd(log. viral . load, na. rm=TRUE) t. test( # viral loads for fish exposed to L: x = fishDat$log. viral. load[fishDat$endemic == 0], # viral loads for fish exposed to U or M: y = fishDat$log. viral . load[fishDat$endemic == 1] X Warning: Removed 229 rows containing non-finite values tbl_df R Console 2 x 3 8 - 7 - log.viral.load 6 - 5 - 4 . - - O - factor(endemic)The P-value For this test of independence is 0.2498. *Given what you know about tests of independence and what you know about Pvalues, what should you conclude about the null hypothesis (one sentence)? What does this lead you to conclude about the association between the endemic/exotic strain variable and the log viral load variable (one sentence)?* ***

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Number Theory

Authors: William J LeVeque

1st Edition

0486141500, 9780486141503

More Books

Students also viewed these Mathematics questions