% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transform_malmquist.R
\name{transform_malmquist}
\alias{transform_malmquist}
\title{Malmquist (1950) Transformation for Type-II Censored Samples}
\usage{
transform_malmquist(u_cens, n, censoring = c("right", "left"))
}
\arguments{
\item{u_cens}{Numeric vector of length r containing PIT-transformed order statistics.}

\item{n}{Total sample size (n >= length(u_cens)).}

\item{censoring}{Type of censoring: \code{"right"} or \code{"left"}.}
}
\value{
A list containing:
\item{W}{Sorted complete sample W_1:r < ... < W_r:r of size r.}
\item{V}{Vector of intermediate Beta-distributed random variables V_n, ..., V_\{n-r+1\}.}
}
\description{
Converts an r-out-of-n Type-II right- or left-censored uniform sample into an independent
complete Uniform(0,1) sample of size r (Lin, Huang & Balakrishnan, 2008).
}
\examples{
u <- c(0.03, 0.06, 0.10, 0.11, 0.13)
transform_malmquist(u, n = 10, censoring = "right")
}
