Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help with this R code Problem 2. Propose a test that generalizes the (two-sample) Kolmogorov-Smirnov test to more than 2 groups. Describe the main
Need help with this R code
Problem 2. Propose a test that generalizes the (two-sample) Kolmogorov-Smirnov test to more than 2 groups. Describe the main idea in a couple of sentences as a comment. Then implement your test as a function called oneway.ks.test (y, g, B 1e4). Try your function on the smokers dataset. It is acceptable to search for existing tests that fit the description. If you find such a test, provide its name. You still have to implement it yourself.] Problem 2. Propose a test that generalizes the (two-sample) Kolmogorov-Smirnov test to more than 2 groups. Describe the main idea in a couple of sentences as a comment. Then implement your test as a function called oneway.ks.test (y, g, B 1e4). Try your function on the smokers dataset. It is acceptable to search for existing tests that fit the description. If you find such a test, provide its name. You still have to implement it yourself.]Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started