Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we will run an experiment that compares three treatments: A, B, and C. The shared variance could be 2 = 1. Consider the model

Suppose we will run an experiment that compares three treatments: A, B, and C. The shared variance could be 2 = 1. Consider the model yij = j + eij where eij N(0, 2 ). Here j = 1, 2, 3, for A, B, and C. The null hypothesis of the test we will run is: H0 : A = B = C Suppose that we're interested in an alternative where A = 1, B = 0, C = 1 Mostly, we've used simulation to verify results. Now, we'll use simulation to save money (in place of some rather difficult mathematics)! Use simulation to determine the minimum sample size that has at least a 90% chance to reject the null hypothesis when that alternative is true and = 0.05. That is, find the sample size which gives a power of at least 0.90 for the stated alternative. Consider only balanced designs, which have the same number of replications in each group. For each sample size, use at least 250 simulations. (More simulations will give a better estimate of the power and will create smoother resulting curve.) Plot your results. What sample size do you choose? Before performing the simulations, set a seed value equal to your birthday, as was done in the previous homework assignments.

Using R

birthday = 18760613 set.seed(birthday)

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

Transportation A Global Supply Chain Perspective

Authors: John J. Coyle, Robert A. Novak, Brian Gibson, Edward J. Bard

8th edition

9781305445352, 1133592961, 130544535X, 978-1133592969

More Books

Students also viewed these Mathematics questions