% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation.R
\name{simulate_bd_data}
\alias{simulate_bd_data}
\title{Simulate Data from the Beta-Danish Distribution}
\usage{
simulate_bd_data(n, a, b, c, k, censor_rate = 0, seed = NULL)
}
\arguments{
\item{n}{Integer; number of observations to simulate.}

\item{a, b, c, k}{Numeric; parameters of the Beta-Danish distribution.}

\item{censor_rate}{Numeric; rate parameter for the exponential censoring
distribution. If `0` (default), no censoring is applied.}

\item{seed}{Integer; optional seed for reproducibility.}
}
\value{
A data frame with columns `time` and `status`.
}
\description{
Generates synthetic survival data from the Beta-Danish distribution, with
optional right-censoring.
}
\examples{
# Simulate complete data
dat <- simulate_bd_data(n = 100, a = 1.5, b = 2, c = 3, k = 0.5)

# Simulate censored data
dat_cens <- simulate_bd_data(n = 100, a = 1.5, b = 2, c = 3, k = 0.5, censor_rate = 0.1)
}
