Question: 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 Need help with this R code Problem 2. Propose a test

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

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

Students Have Also Explored These Related Databases Questions!