Hypothesis Testing in R

I want to use R to do analysis on the dataset EAR.DAT.rdata. At 5% significance level, test to see if clearance by 14 day is affected by the (i) antibiotic used, (ii) age group of the child or (iii) ear affected. I want to use any relevant test statistics. How do i do that in R?

PS: I am new to R.

Hi @jrazak! Welcome!

This page can help you choose a statistical test appropriate to your data, and shows example analyses in R: https://stats.idre.ucla.edu/other/mult-pkg/whatstat/

For more specific help, you’ll need to try some code yourself, then read this: FAQ: Tips for writing R-related questions

This is another useful resource: https://www.statmethods.net/stats/index.html

Also, your question sounds like it might be something you are doing as part of a class? If so, please also read and follow: FAQ: Homework Policy


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.