Description Usage Arguments Value Examples
Performs a blinded parameter estimation.
1 | bParEstimate(dfSurv, theta, k)
|
dfSurv |
a data.frame containing the variables:
|
theta |
a number defining the assumed hazard ratio. |
k |
a number defining the balance between the two groups. If not supplied it is calculated from the data. |
a data.frame containing the overall event rate as well as the event rates per group.
1 2 3 | N <- matrix(rep(50,20),ncol=2)
df.sim <- simSurvData(N=N, lambda=-log(.7)/24, theta=.7, gamma=-log(.3)/24, distS="exponential",distC="exponential", L=20)
bParEstimate(dfSurv=df.sim, theta=.7, k=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.