Skip to content
Back to formatted view

Raw Message

Message-ID: <B9981657-E8FE-4269-BCA8-0F5FF96FD7E9@me.com>
Date: 2011-11-14T22:50:43Z
From: Marc Schwartz
Subject: gsDesign
In-Reply-To: <CABCsxgbo+xjn2HiDuZh5MkDXmvySRsgR1P7K6dC0ickp1FTkBg@mail.gmail.com>

On Nov 14, 2011, at 4:11 PM, Dongli Zhou wrote:

> I'm trying to use gsDesign for a noninferiority trial with binary
> endpoint. Did anyone know how to specify the trial with different sample
> sizes for two treatment groups? Thanks in advance!


Hi,

Presuming that you are using the nBinomial() function, see the 'ratio' argument, which defines the desired sample size ratio between the two groups.

See ?nBinomial and the examples there, which does include one using the 'ratio' argument.

HTH,

Marc Schwartz