View source: R/analyse_weibull.R
analyse_weibull | R Documentation |
Analyse Dataset with Weibull Regression
analyse_weibull(level = 0.95, alternative = "two.sided")
level |
confidence level for CI computation |
alternative |
alternative hypothesis for the tests "two.sided" or "one.sieded" |
the columns in the return are the two-sided p-value for the test of equal medians. The estimated medians in the treatment and control group and the estimated difference in median survival with confidence intervals.
The estimates and tests are comstructed by fitting seperate Weibull regression models in the treatment and control groups and then estimating the medians and respective variances with the delta-method.
an analysis function that returns a data.frame
condition <- merge(
assumptions_delayed_effect(),
design_fixed_followup(),
by=NULL
) |>
head(3) |>
tail(1)
dat <- generate_delayed_effect(condition)
analyse_weibull()(condition, dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.