% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/indices.R
\name{capability_censor}
\alias{capability_censor}
\alias{print.gpcifit_censor}
\alias{summary.gpcifit_censor}
\alias{coef.gpcifit_censor}
\alias{vcov.gpcifit_censor}
\alias{confint.gpcifit_censor}
\title{Compute Process Capability Indices for Interval-Censored Data}
\usage{
capability_censor(
  data_left = NULL,
  data_right = NULL,
  distribution,
  USL,
  LSL,
  target = (USL + LSL)/2,
  indices = c("Cpy", "Cp", "Cpk", "Cpu", "Cpl", "Cpm", "Cpmk"),
  u = 1,
  v = 1,
  mode = c("moments", "quantile"),
  fit = TRUE,
  C0 = 1,
  C1 = 0,
  C2 = 1,
  tolerance_t = USL - LSL,
  P0 = 0.9973002,
  LDL = LSL,
  UDL = USL
)

\method{print}{gpcifit_censor}(x, ...)

\method{summary}{gpcifit_censor}(object, ...)

\method{coef}{gpcifit_censor}(object, what = c("indices", "parameters"), ...)

\method{vcov}{gpcifit_censor}(object, ...)

\method{confint}{gpcifit_censor}(
  object,
  parm = NULL,
  level = 0.95,
  B = 1000,
  method = "percentile",
  ...
)
}
\arguments{
\item{data_left}{Numeric vector of left interval bounds for interval-censored data.}

\item{data_right}{Numeric vector of right interval bounds for interval-censored data.}

\item{distribution}{A \code{gpci_dist_censor} distribution object.}

\item{USL}{Numeric value of the Upper Specification Limit.}

\item{LSL}{Numeric value of the Lower Specification Limit.}

\item{target}{Numeric value of process target (default is midpoint of USL and LSL).}

\item{indices}{Character vector of capability indices to compute.}

\item{u, v}{Parameters for Vannman's Cp(u,v) family.}

\item{mode}{Computation mode: "moments" or "quantile".}

\item{fit}{Logical. If TRUE, parameters are estimated via MLE under interval censoring.}

\item{C0, C1, C2}{Cost function parameters for CNpmc and CNpmkc.}

\item{tolerance_t}{Tolerance parameter for CNpmc and CNpmkc.}

\item{P0}{Desirable process yield for Cpy and Cpc.}

\item{LDL, UDL}{Desired limits for CpTk.}

\item{x, object}{An object of class \code{gpcifit_censor}.}

\item{what}{Extraction target: "indices" or "parameters".}

\item{parm}{Optional vector of index names.}

\item{level}{Confidence level(s).}

\item{B}{Number of bootstrap replicates.}

\item{method}{Bootstrap CI method.}

\item{...}{Additional arguments.}
}
\value{
An object of class \code{gpcifit_censor}.
}
\description{
Computes classical and generalized Process Capability Indices (PCIs) for interval-censored data.
}
\examples{
dist_norm <- dist_normal()
left <- c(9.5, 10.2, 8.8, 11.1, 9.9)
right <- c(10.5, 11.2, 9.8, 12.1, 10.9)
capability_censor(
  data_left = left, data_right = right,
  distribution = dist_norm,
  USL = 13, LSL = 7, target = 10,
  indices = c("Cpy", "Cp", "Cpk", "Cpm", "Cpmk"),
  mode = "moments"
)
}
