| Title: | Generalized Process Capability Indices and Bootstrap Confidence Intervals |
|---|---|
| Description: | A comprehensive, generalized framework for computing, estimating, and validating Generalized Process Capability Indices (GPCIs). Supports user-supplied probability density functions (PDF/PMF), cumulative distribution functions (CDF), survival functions (SF), and quantile functions with uncensored data parameter estimation via Maximum Likelihood Estimation (MLE). Provides classical and non-normal capability indices, including Cpy (Maiti, Saha and Nanda, 2010) <doi:10.1080/16843703.2010.11673233>, Spmk (Dey and Saha, 2019) <doi:10.1007/s41872-019-00081-4>, CpTk (Saha, Dey and Maiti, 2019) <doi:10.1007/s13198-019-00789-7>, Cpc (Saha, Dey and Nadarajah, 2022) <doi:10.1080/02664763.2021.1971632>, CNpmc (Alotaibi, Dey and Saha, 2022) <doi:10.1155/2022/3135264>, CNpmkc (Saha, Tripathi and Dey, 2024) <doi:10.1142/S021853932450013X>, CNpk (Saha, Dey and Maiti, 2018) <doi:10.1080/21681015.2018.1437793>, and Vannman capability indices. Computes parametric and non-parametric bootstrap confidence intervals at 90%, 95%, and 99% confidence levels using percentile, normal, basic, BCa, BCp, and studentized bootstrap methods. Evaluates Highest Posterior Density (HPD) intervals and Heidelberger-Welch convergence diagnostics. References: Maiti, Saha and Nanda (2010) <doi:10.1080/16843703.2010.11673233>, Saha, Dey and Maiti (2018) <doi:10.1080/21681015.2018.1437793>, Dey and Saha (2019) <doi:10.1007/s41872-019-00081-4>, Saha, Dey and Maiti (2019) <doi:10.1007/s13198-019-00789-7>, Alotaibi, Dey and Saha (2022) <doi:10.1155/2022/3135264>, Saha, Dey and Nadarajah (2022) <doi:10.1080/02664763.2021.1971632>, Saha, Tripathi and Dey (2024) <doi:10.1142/S021853932450013X>. |
| Authors: | Shikhar Tyagi [aut, cre] (ORCID: <https://orcid.org/0000-0003-1606-0844>), Sumit Kumar [aut], Arvind Pandey [aut], Bhupendra Singh [aut], Vrijesh Tripathi [aut] |
| Maintainer: | Shikhar Tyagi <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-10-01 12:26:55 UTC |
| Source: | https://github.com/cran/gpci |
Runs parametric or non-parametric bootstrapping to compute confidence intervals for generalized process capability indices at multiple significance levels (e.g. 90 percent, 95 percent, 99 percent).
boot_ci( fit, B = 2000, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "normal", "basic", "BCa", "BCp", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 ) gpci_boot( fit, B = 2000, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "normal", "basic", "BCa", "BCp", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 )boot_ci( fit, B = 2000, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "normal", "basic", "BCa", "BCp", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 ) gpci_boot( fit, B = 2000, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "normal", "basic", "BCa", "BCp", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 )
fit |
A |
B |
Number of bootstrap replicates (default is 2000). |
alpha |
Vector of significance levels (default is |
method |
Confidence interval method. Choices are |
type |
Bootstrap type: |
parallel |
Logical. If |
ncpus |
Integer. Number of CPUs to use if |
An object of class gpci_ci containing a tidy data frame of confidence intervals,
the raw bootstrap output, and the original fit object.
dist_norm <- dist_normal() fit <- capability(rnorm(50, 10, 1), dist_norm, USL = 13, LSL = 7) ci <- boot_ci(fit, B = 50, alpha = c(0.10, 0.05, 0.01), method = "percentile") print(ci)dist_norm <- dist_normal() fit <- capability(rnorm(50, 10, 1), dist_norm, USL = 13, LSL = 7) ci <- boot_ci(fit, B = 50, alpha = c(0.10, 0.05, 0.01), method = "percentile") print(ci)
Evaluates the reliability (coverage rate, width, bias, and RMSE) of the bootstrap confidence interval procedure by simulating synthetic samples from the fitted process distribution.
boot_cv( fit, B2 = 100, B = 500, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "BCa", "normal", "basic", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 ) gpci_cv( fit, B2 = 100, B = 500, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "BCa", "normal", "basic", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 )boot_cv( fit, B2 = 100, B = 500, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "BCa", "normal", "basic", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 ) gpci_cv( fit, B2 = 100, B = 500, alpha = c(0.1, 0.05, 0.01), method = c("percentile", "BCa", "normal", "basic", "studentized"), type = c("parametric", "nonparametric"), parallel = FALSE, ncpus = 1 )
fit |
A |
B2 |
Number of synthetic repetitions to run (default is 100). |
B |
Number of bootstrap replicates to run for each synthetic sample (default is 500). |
alpha |
Vector of significance levels to evaluate (default is |
method |
Confidence interval method to evaluate (default is |
type |
Bootstrap type: |
parallel |
Logical. If |
ncpus |
Integer. Number of CPUs to use if |
An object of class c("gpcicv", "gpci_cv") containing summarized metrics and raw repetition results.
dist_norm <- dist_normal() fit <- capability(rnorm(50, 10, 1), dist_norm, USL = 13, LSL = 7) cv <- boot_cv(fit, B2 = 10, B = 20, alpha = 0.05, method = "percentile") print(cv)dist_norm <- dist_normal() fit <- capability(rnorm(50, 10, 1), dist_norm, USL = 13, LSL = 7) cv <- boot_cv(fit, B2 = 10, B = 20, alpha = 0.05, method = "percentile") print(cv)
Convenience constructors for standard distributions.
dist_normal(mean = 0, sd = 1) dist_lognormal(meanlog = 0, sdlog = 1) dist_gamma(shape = 1, scale = 1) dist_weibull(shape = 1, scale = 1) dist_beta(shape1 = 1, shape2 = 1) dist_logistic_exponential(shape = 1, scale = 1)dist_normal(mean = 0, sd = 1) dist_lognormal(meanlog = 0, sdlog = 1) dist_gamma(shape = 1, scale = 1) dist_weibull(shape = 1, scale = 1) dist_beta(shape1 = 1, shape2 = 1) dist_logistic_exponential(shape = 1, scale = 1)
mean, sd
|
Mean and standard deviation parameters for normal distribution. |
meanlog, sdlog
|
Mean and standard deviation of the distribution on the log scale. |
shape, scale
|
Shape and scale parameters. |
shape1, shape2
|
Non-negative parameters of the Beta distribution. |
An object of class gpci_dist representing the specified parametric distribution.
Computes classical and generalized Process Capability Indices (PCIs) for a given dataset or process distribution under uncensored data parameter estimation.
capability( data = 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, fit_method = c("mle", "moments"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL ) gpci_fit( data = 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, fit_method = c("mle", "moments"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL )capability( data = 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, fit_method = c("mle", "moments"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL ) gpci_fit( data = 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, fit_method = c("mle", "moments"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL )
data |
Numeric vector of observed process data. Can be |
distribution |
A |
USL |
Numeric value of the Upper Specification Limit. |
LSL |
Numeric value of the Lower Specification Limit. |
target |
Numeric value of the process target (defaults to the midpoint of USL and LSL). |
indices |
Character vector of indices to compute. Choices include Vännman's classical family
( |
u |
Parameter |
v |
Parameter |
mode |
Mode of computation: |
fit |
Logical. If |
fit_method |
Parameter estimation method: |
C0, C1, C2
|
Coefficients for the tolerance cost function in |
tolerance_t |
Process tolerance |
P0 |
Desirable yield for the |
LDL, UDL
|
Lower and Upper Desired Limits for the |
An object of class c("gpcifit", "pci_fit") containing raw data, specification limits, fitted parameters, and computed indices.
dist_norm <- dist_normal() capability( data = rnorm(100, mean = 10, sd = 1), distribution = dist_norm, USL = 13, LSL = 7, target = 10, indices = c("Cpy", "Cp", "Cpk", "Cpm", "Cpmk", "CpTk", "Spmk", "CNpmc"), mode = "moments" )dist_norm <- dist_normal() capability( data = rnorm(100, mean = 10, sd = 1), distribution = dist_norm, USL = 13, LSL = 7, target = 10, indices = c("Cpy", "Cp", "Cpk", "Cpm", "Cpmk", "CpTk", "Spmk", "CNpmc"), mode = "moments" )
Extract point estimates of capability indices or fitted distribution parameters.
## S3 method for class 'gpcifit' coef(object, what = c("indices", "parameters"), ...)## S3 method for class 'gpcifit' coef(object, what = c("indices", "parameters"), ...)
object |
An object of class |
what |
Character string: |
... |
Additional arguments. |
A named numeric vector containing either the estimated capability indices (if what = "indices") or the fitted distribution parameters (if what = "parameters").
Extract posterior means or point estimates of GPCIs or parameters.
## S3 method for class 'gpcimcmc' coef(object, what = c("indices", "parameters"), ...)## S3 method for class 'gpcimcmc' coef(object, what = c("indices", "parameters"), ...)
object |
An object of class |
what |
Character string: |
... |
Additional arguments. |
A named numeric vector containing either the posterior means of capability indices (if what = "indices") or posterior means of parameters (if what = "parameters").
Computes the mean and variance of a distribution object using numerical integration.
compute_theoretical_moments(dist)compute_theoretical_moments(dist)
dist |
A |
A list with mean and var.
Calculate confidence intervals for capability indices via bootstrap at specified significance levels (90
## S3 method for class 'gpcifit' confint( object, parm = NULL, level = 0.95, B = 1000, method = "percentile", ... )## S3 method for class 'gpcifit' confint( object, parm = NULL, level = 0.95, B = 1000, method = "percentile", ... )
object |
An object of class |
parm |
Optional vector of index names. |
level |
Confidence level (default is 0.95; can be 0.90, 0.95, 0.99 or a vector). |
B |
Number of bootstrap replicates (default 1000). |
method |
Bootstrap CI method ( |
... |
Additional arguments. |
A numeric matrix of class matrix containing lower and upper bootstrap confidence bounds for the requested capability indices.
Constructor to define a probability distribution for process capability analysis. The distribution can be defined by specifying any one (or more) of its PDF/PMF, CDF, Survival Function (SF), or quantile function. The engine will numerically derive whichever representations are missing.
define_distribution( name, pdf = NULL, cdf = NULL, sf = NULL, quantile = NULL, params = list(), support = c(-Inf, Inf) ) gpci_dist( name, pdf = NULL, cdf = NULL, sf = NULL, quantile = NULL, params = list(), support = c(-Inf, Inf) )define_distribution( name, pdf = NULL, cdf = NULL, sf = NULL, quantile = NULL, params = list(), support = c(-Inf, Inf) ) gpci_dist( name, pdf = NULL, cdf = NULL, sf = NULL, quantile = NULL, params = list(), support = c(-Inf, Inf) )
name |
Character string naming the distribution. |
pdf |
Function representing the probability density function (PDF/PMF). Must be of the form |
cdf |
Function representing the cumulative distribution function (CDF). Must be of the form |
sf |
Function representing the survival function (SF = 1 - CDF). Must be of the form |
quantile |
Function representing the quantile function. Must be of the form |
params |
Named list of parameters for the distribution. |
support |
Vector of length 2 defining the lower and upper bounds of the support of the distribution (default is |
An object of class gpci_dist representing the completed distribution.
# Define custom Weibull distribution using only the survival function custom_weib <- define_distribution( name = "custom_weibull", sf = function(x, shape, scale) pweibull(x, shape, scale, lower.tail = FALSE), params = list(shape = 2, scale = 10), support = c(0, Inf) )# Define custom Weibull distribution using only the survival function custom_weib <- define_distribution( name = "custom_weibull", sf = function(x, shape, scale) pweibull(x, shape, scale, lower.tail = FALSE), params = list(shape = 2, scale = 10), support = c(0, Inf) )
Fits the parameters of a gpci_dist distribution to uncensored data using Maximum Likelihood
Estimation (MLE) or Method of Moments, with Hessian estimation and automatic fallback optimization.
fit_distribution(data, dist, method = c("mle", "moments"), start = NULL) gpci_mle(data, dist, start = NULL)fit_distribution(data, dist, method = c("mle", "moments"), start = NULL) gpci_mle(data, dist, start = NULL)
data |
Numeric vector of uncensored observations. |
dist |
A |
method |
Fitting method: |
start |
Optional named list of starting parameter values. |
A new gpci_dist object containing fitted parameters and variance-covariance attribute "vcov".
Dispatcher for Index Computation
gpci_index(fit, index)gpci_index(fit, index)
fit |
A |
index |
Name of index to compute. |
Numeric value of index.
Estimates Generalized Process Capability Indices (GPCIs) and model parameters using Metropolis-Hastings within Gibbs sampling for uncensored data. Computes posterior metrics, point estimates (MLE), bias, MSE, Bayes risk value under squared error loss, Highest Posterior Density (HPD) intervals at 90 and Heidelberger & Welch's MCMC convergence diagnostics.
gpci_mcmc( data, pdf = NULL, cdf = NULL, sf = NULL, distribution = NULL, USL, LSL, target = (USL + LSL)/2, priors = NULL, length_chain = 10000, burn_in = 2000, thinning = 5, start = NULL, proposal_sd = NULL, indices = c("Cpy", "Cp", "Cpk", "Cpu", "Cpl", "Cpm", "Cpmk", "CpTk", "Spmk", "Cpc", "CNpmc", "CNpmkc"), u = 1, v = 1, mode = c("moments", "quantile"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL )gpci_mcmc( data, pdf = NULL, cdf = NULL, sf = NULL, distribution = NULL, USL, LSL, target = (USL + LSL)/2, priors = NULL, length_chain = 10000, burn_in = 2000, thinning = 5, start = NULL, proposal_sd = NULL, indices = c("Cpy", "Cp", "Cpk", "Cpu", "Cpl", "Cpm", "Cpmk", "CpTk", "Spmk", "Cpc", "CNpmc", "CNpmkc"), u = 1, v = 1, mode = c("moments", "quantile"), C0 = 1, C1 = 0, C2 = 1, tolerance_t = USL - LSL, P0 = 0.9973002, LDL = LSL, UDL = USL )
data |
Numeric vector of uncensored observations. |
pdf |
Probability density function |
cdf |
Cumulative distribution function |
sf |
Survival function |
distribution |
Optional |
USL |
Upper Specification Limit. |
LSL |
Lower Specification Limit. |
target |
Target process value (default is |
priors |
Named list of prior specifications for each model parameter, or custom log-prior evaluator. |
length_chain |
Total number of MCMC iterations (default 10000). |
burn_in |
Number of burn-in iterations to discard (default 2000). |
thinning |
Thinning factor for MCMC chain (default 5). |
start |
Optional vector of starting parameter values. Defaults to uncensored MLE estimates. |
proposal_sd |
Vector or list of proposal standard deviations for M-H sampler. |
indices |
Character vector of capability indices to compute (e.g., |
u, v
|
Parameters for the generalized |
mode |
Mode of computation: |
C0, C1, C2
|
Parameters for tolerance cost function in |
tolerance_t |
Process tolerance parameter (default |
P0 |
Desirable yield benchmark for |
LDL, UDL
|
Lower and Upper Desired Limits for |
An object of class c("gpcimcmc", "gpci_mcmc") containing:
DataFrame containing index estimates, posterior mean, bias, MSE, Risk, 90/95/99 percent HPD intervals, and HW diagnostic metrics.
DataFrame containing parameter MLE, posterior mean, bias, MSE, Risk, HPD intervals, and HW diagnostics.
Matrix of thinned post-burn-in MCMC samples for parameters.
Matrix of thinned post-burn-in MCMC samples for GPCIs.
List of detailed Heidelberger-Welch convergence test results.
set.seed(123) dat <- rnorm(30, mean = 10, sd = 1) fit_mcmc <- gpci_mcmc( data = dat, pdf = function(x, mean, sd) dnorm(x, mean, sd), cdf = function(x, mean, sd) pnorm(x, mean, sd), USL = 13, LSL = 7, target = 10, length_chain = 150, burn_in = 30, thinning = 2 ) print(fit_mcmc)set.seed(123) dat <- rnorm(30, mean = 10, sd = 1) fit_mcmc <- gpci_mcmc( data = dat, pdf = function(x, mean, sd) dnorm(x, mean, sd), cdf = function(x, mean, sd) pnorm(x, mean, sd), USL = 13, LSL = 7, target = 10, length_chain = 150, burn_in = 30, thinning = 2 ) print(fit_mcmc)
Generic Dispatcher for gpci Plots
gpci_plot(object, type = "density", ...)gpci_plot(object, type = "density", ...)
object |
An object of class |
type |
Plot type. |
... |
Additional arguments. |
Invisibly returns the input object object, called for its side effect of displaying capability diagnostic plots.
Conducts the stationarity test and relative half-width test under Heidelberger and Welch's MCMC convergence diagnostic.
heidelberger_welch(x, alpha = 0.05, eps = 0.1)heidelberger_welch(x, alpha = 0.05, eps = 0.1)
x |
Numeric vector representing an MCMC chain. |
alpha |
Significance level for the test (default is 0.05). |
eps |
Target maximum ratio of half-width to sample mean (default is 0.1). |
A list containing Cramér-von Mises statistic (stat), p-value (pvalue),
stationarity test status (passed), half-width test status (hw_passed),
half-width statistic (hw_stat), and convergence probability (convergence_prob).
samples <- rnorm(1000) heidelberger_welch(samples)samples <- rnorm(1000) heidelberger_welch(samples)
Computes the Highest Posterior Density (HPD) interval for a sample vector at specified confidence / significance levels (e.g., 90
hpd_interval(x, prob = 0.95)hpd_interval(x, prob = 0.95)
x |
Numeric vector of MCMC posterior samples. |
prob |
Credibility level (1 - significance level). Default is 0.95. |
A named numeric vector of length 2 containing lower and upper HPD bounds.
samples <- rnorm(1000, mean = 5, sd = 1) hpd_interval(samples, prob = 0.95)samples <- rnorm(1000, mean = 5, sd = 1) hpd_interval(samples, prob = 0.95)
Diagnostic and capability plots for gpci fits, confidence intervals, and cross-validation objects.
## S3 method for class 'pci_fit' autoplot( object, type = c("density", "scorecard", "sensitivity", "cdf", "qq", "run", "all"), ... ) ## S3 method for class 'gpcifit' autoplot( object, type = c("density", "scorecard", "sensitivity", "cdf", "qq", "run", "all"), ... ) ## S3 method for class 'gpci_ci' autoplot(object, type = c("boot", "forest", "all"), ...) ## S3 method for class 'gpci_cv' autoplot(object, type = c("coverage", "width"), ...) ## S3 method for class 'gpcicv' autoplot(object, type = c("coverage", "width"), ...) ## S3 method for class 'gpcimcmc' autoplot(object, type = c("density", "trace", "all"), ...) ## S3 method for class 'gpci_mcmc' autoplot(object, type = c("density", "trace", "all"), ...) ## S3 method for class 'pci_fit' plot(x, type = "density", ...) ## S3 method for class 'gpcifit' plot(x, type = "density", ...) ## S3 method for class 'gpci_ci' plot(x, type = "boot", ...) ## S3 method for class 'gpci_cv' plot(x, type = "coverage", ...) ## S3 method for class 'gpcicv' plot(x, type = "coverage", ...) ## S3 method for class 'gpcimcmc' plot(x, type = "density", ...) ## S3 method for class 'gpci_mcmc' plot(x, type = "density", ...)## S3 method for class 'pci_fit' autoplot( object, type = c("density", "scorecard", "sensitivity", "cdf", "qq", "run", "all"), ... ) ## S3 method for class 'gpcifit' autoplot( object, type = c("density", "scorecard", "sensitivity", "cdf", "qq", "run", "all"), ... ) ## S3 method for class 'gpci_ci' autoplot(object, type = c("boot", "forest", "all"), ...) ## S3 method for class 'gpci_cv' autoplot(object, type = c("coverage", "width"), ...) ## S3 method for class 'gpcicv' autoplot(object, type = c("coverage", "width"), ...) ## S3 method for class 'gpcimcmc' autoplot(object, type = c("density", "trace", "all"), ...) ## S3 method for class 'gpci_mcmc' autoplot(object, type = c("density", "trace", "all"), ...) ## S3 method for class 'pci_fit' plot(x, type = "density", ...) ## S3 method for class 'gpcifit' plot(x, type = "density", ...) ## S3 method for class 'gpci_ci' plot(x, type = "boot", ...) ## S3 method for class 'gpci_cv' plot(x, type = "coverage", ...) ## S3 method for class 'gpcicv' plot(x, type = "coverage", ...) ## S3 method for class 'gpcimcmc' plot(x, type = "density", ...) ## S3 method for class 'gpci_mcmc' plot(x, type = "density", ...)
type |
Character string specifying the plot type.
For |
... |
Additional arguments. |
x, object
|
An object of class |
A ggplot object (or list of plots).
Print Method for gpci_ci
## S3 method for class 'gpci_ci' print(x, ...)## S3 method for class 'gpci_ci' print(x, ...)
x |
An object of class |
... |
Additional print arguments. |
Invisibly returns the input object x of class gpci_ci, printed for side effects.
Print Method for gpci_cv / gpcicv
## S3 method for class 'gpci_cv' print(x, ...)## S3 method for class 'gpci_cv' print(x, ...)
x |
An object of class |
... |
Additional print arguments. |
Invisibly returns the input object x of class gpci_cv, printed for side effects.
Print Method for gpcimcmc Objects
## S3 method for class 'gpcimcmc' print(x, ...)## S3 method for class 'gpcimcmc' print(x, ...)
x |
An object of class |
... |
Additional print parameters. |
Invisibly returns the input object x of class gpcimcmc, printed for side effects.
Print Method for pci_fit / gpcifit
## S3 method for class 'pci_fit' print(x, ...)## S3 method for class 'pci_fit' print(x, ...)
x |
An object of class |
... |
Additional print arguments. |
Invisibly returns the input object x of class pci_fit, printed for side effects.
Summary Method for gpci_ci
## S3 method for class 'gpci_ci' summary(object, ...)## S3 method for class 'gpci_ci' summary(object, ...)
object |
An object of class |
... |
Additional arguments. |
Invisibly returns the input object object of class gpci_ci, printed for side effects.
Summary Method for gpci_cv / gpcicv
## S3 method for class 'gpci_cv' summary(object, ...)## S3 method for class 'gpci_cv' summary(object, ...)
object |
An object of class |
... |
Additional arguments. |
Invisibly returns the input object object of class gpci_cv, printed for side effects.
Summary Method for gpcimcmc Objects
## S3 method for class 'gpcimcmc' summary(object, ...)## S3 method for class 'gpcimcmc' summary(object, ...)
object |
An object of class |
... |
Additional arguments. |
Invisibly returns the input object object of class gpcimcmc, printed for side effects.
Summary Method for pci_fit / gpcifit
## S3 method for class 'pci_fit' summary(object, ...)## S3 method for class 'pci_fit' summary(object, ...)
object |
An object of class |
... |
Additional arguments. |
Invisibly returns the input object object of class pci_fit, printed for side effects.
Extract asymptotic variance-covariance matrix of fitted parameters (if MLE was performed).
## S3 method for class 'gpcifit' vcov(object, ...)## S3 method for class 'gpcifit' vcov(object, ...)
object |
An object of class |
... |
Additional arguments. |
A numeric matrix of class matrix containing the variance-covariance matrix of the parameter estimates if Maximum Likelihood Estimation was performed, or NULL with a warning if unavailable.