% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/residual_entropy.R
\name{sim_regf}
\alias{sim_regf}
\title{Monte-Carlo Simulation for the REGF Nonparametric Estimator}
\usage{
sim_regf(lambda = 1, alpha = 2, t = 0, n_obs = 200, n_sim = 100, seed = 42L)
}
\arguments{
\item{lambda}{Exponential rate.}

\item{alpha}{REGF parameter.}

\item{t}{Truncation time.}

\item{n_obs}{Sample size per replicate.}

\item{n_sim}{Number of replicates.}

\item{seed}{Random seed.}
}
\value{
A data frame with \code{true_value}, \code{mean_est}, \code{bias},
  \code{variance}, \code{mse}.
}
\description{
Evaluates the performance of \code{\link{np_residual_info_gen}} via repeated
simulation from the exponential distribution and compares to the true REGF
\eqn{\mathcal{I}_\alpha(\text{Exp}(\lambda); t) =
  \lambda^{\alpha-1} e^{(\alpha-1)\lambda t} / (\alpha-1)}.
}
\examples{
sim_regf(lambda = 1, alpha = 2, t = 0, n_obs = 100, n_sim = 30)

}
\references{
Smitha S., Rajesh G., Jayalekshmi S. (2024), Section 4.
}
\seealso{
\code{\link{np_residual_info_gen}}
}
