{
  "_id": "6aea2afe2e87f76f20ad144f",
  "Package": "stagelife",
  "Type": "Package",
  "Title": "Random Number Generation and Inferences for Two-Stage\nLife-Testing Data",
  "Version": "0.1.0",
  "Authors@R": "person(\"Vikas Kumar\", \"Sharma\", email = \"vksharma@bhu.ac.in\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides random number generation, estimation, and\nhypothesis testing for two-stage life-testing experiments in\nwhich units begin on a baseline stress and, at a fixed or\nrandom change point, some or all surviving units move to an\nelevated stress (\"stage life testing\"), following the\ncumulative-exposure model of Laumen and Cramer (2019), \"Stage\nlife testing\", <doi:10.1002/nav.21874>. Twelve baseline\nlifetime distributions are supplied (Weibull, Power Lindley,\nExponentiated Lindley, Exponentiated Exponential,\nMarshall-Olkin Exponential, Lomax, Exponentiated Teissier,\nLog-Logistic, Chen, Log-normal, Gamma, and Power Muth/Power\nTeissier) together with three parameter-sharing cases (common,\nshape1, shape11). The package implements data simulation under\nboth the fixed-proportion (typeP) and fixed-count (typeM) rules\nand the simple-step-stress special case, maximum likelihood\nestimation using a hybrid Nelder-Mead and BFGS optimisation\nroutine, asymptotic (Wald) and non-parametric/parametric\nbootstrap confidence intervals (including log-scale variants\nthat guarantee a positive interval), a stage-1-observation\nplanning probability, Kolmogorov-Smirnov goodness-of-fit\ntesting with a parametric-bootstrap correction for estimated\nparameters, likelihood-ratio and information criteria for\nnested/non-nested model comparison, and diagnostic plots\ncomparing fitted and empirical distributions, including the\ncumulative distribution function (CDF), survival function,\nprobability-probability (P-P), and quantile-quantile (Q-Q)\nplots.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/vksharma-bhu/stagelife",
  "BugReports": "https://github.com/vksharma-bhu/stagelife/issues",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 18:39:22 UTC",
    "User": "root"
  },
  "Author": "Vikas Kumar Sharma [aut, cre]",
  "Maintainer": "Vikas Kumar Sharma <vksharma@bhu.ac.in>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-03 15:23:11 UTC",
  "RemoteUrl": "https://github.com/cran/stagelife",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd2831de9174160ed7304b31f26438e2cac18fba",
  "_user": "cran",
  "_type": "src",
  "_file": "stagelife_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/56b46a4d6bed5b7d977d6beaf909dc4e2853aaa011fbbe7edcada5db3d15485d",
  "_filesize": 722056,
  "_sha256": "56b46a4d6bed5b7d977d6beaf909dc4e2853aaa011fbbe7edcada5db3d15485d",
  "_expires": "2027-02-11T18:42:04.000Z",
  "_created": "2026-11-03T18:39:22.000Z",
  "_published": "2026-11-03T18:42:06.609Z",
  "_upstream": "https://github.com/cran/stagelife",
  "_status": "success",
  "_maintainer": {
    "name": "Vikas Kumar Sharma",
    "email": "vksharma@bhu.ac.in",
    "login": "vksharma-bhu",
    "description": "",
    "uuid": 324574254
  },
  "_jobs": [
    {
      "job": 126126367186,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13262255747"
    },
    {
      "job": 126126367329,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13260572986"
    },
    {
      "job": 126124102296,
      "time": 246,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13261185745"
    },
    {
      "job": 126126367390,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13261575892"
    },
    {
      "job": 126126367242,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13260657881"
    },
    {
      "job": 126126367054,
      "time": 114,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13260423272"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916",
  "_commit": {
    "id": "bd2831de9174160ed7304b31f26438e2cac18fba",
    "author": "Vikas Kumar Sharma <vksharma@bhu.ac.in>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1793719391
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "compiler",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "lamW",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "vksharma-bhu",
      "count": 1,
      "uuid": 324574254
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stagelife"
  },
  "_devurl": "https://github.com/vksharma-bhu/stagelife",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stagelife.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "dslt",
    "fit_slt",
    "loglik_slt",
    "plot_cdf",
    "plot_pp",
    "plot_qq",
    "plot_survival",
    "pslt",
    "qslt",
    "rslt",
    "slt_bootstrap_ci",
    "slt_cases",
    "slt_dist",
    "slt_equiv_age",
    "slt_families",
    "slt_gof_ks",
    "slt_lrt",
    "slt_model_comparison",
    "slt_prob_stage1",
    "slt_reduce_params",
    "slt_tau"
  ],
  "_datasets": [
    {
      "name": "slt_bobotas_kateri_2015",
      "title": "Bobotas & Kateri (2015) simple step-stress data",
      "object": "slt_bobotas_kateri_2015",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "slt_han_kundu_2014",
      "title": "Han & Kundu (2014) simple step-stress data",
      "object": "slt_han_kundu_2014",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "slt_wang_fei_2003",
      "title": "Wang & Fei (2003) simple step-stress data",
      "object": "slt_wang_fei_2003",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "slt_zhu_2010",
      "title": "Zhu (2010) simple step-stress data",
      "object": "slt_zhu_2010",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.slt_fit",
      "title": "Extract coefficients from a fitted two-stage life testing model",
      "topics": [
        "coef.slt_fit"
      ]
    },
    {
      "page": "confint.slt_fit",
      "title": "Asymptotic (Wald) confidence intervals for a fitted two-stage life testing model",
      "topics": [
        "confint.slt_fit"
      ]
    },
    {
      "page": "fit_slt",
      "title": "Fit a two-stage life testing model by maximum likelihood",
      "topics": [
        "fit_slt"
      ]
    },
    {
      "page": "loglik_slt",
      "title": "Two-stage cumulative-exposure log-likelihood",
      "topics": [
        "loglik_slt"
      ]
    },
    {
      "page": "logLik.slt_fit",
      "title": "Extract the log-likelihood of a fitted two-stage life testing model",
      "topics": [
        "logLik.slt_fit"
      ]
    },
    {
      "page": "plot_cdf",
      "title": "Fitted vs empirical CDF plot",
      "topics": [
        "plot_cdf"
      ]
    },
    {
      "page": "plot_pp",
      "title": "P-P (probability-probability) plot",
      "topics": [
        "plot_pp"
      ]
    },
    {
      "page": "plot_qq",
      "title": "Q-Q (quantile-quantile) plot",
      "topics": [
        "plot_qq"
      ]
    },
    {
      "page": "plot_survival",
      "title": "Fitted vs empirical survival curve",
      "topics": [
        "plot_survival"
      ]
    },
    {
      "page": "plot.slt_fit",
      "title": "Diagnostic plots for a fitted two-stage life-testing model",
      "topics": [
        "plot.slt_fit"
      ]
    },
    {
      "page": "print.slt_fit",
      "title": "Print a fitted two-stage life testing model",
      "topics": [
        "print.slt_fit"
      ]
    },
    {
      "page": "print.summary.slt_fit",
      "title": "Print a summary of a fitted two-stage life testing model",
      "topics": [
        "print.summary.slt_fit"
      ]
    },
    {
      "page": "pslt",
      "title": "Population CDF/PDF/quantile function of a two-stage step-stress model",
      "topics": [
        "dslt",
        "pslt",
        "qslt"
      ]
    },
    {
      "page": "rslt",
      "title": "Simulate data from the two-stage life-testing model",
      "topics": [
        "rslt"
      ]
    },
    {
      "page": "slt_bobotas_kateri_2015",
      "title": "Bobotas & Kateri (2015) simple step-stress data",
      "topics": [
        "slt_bobotas_kateri_2015"
      ]
    },
    {
      "page": "slt_bootstrap_ci",
      "title": "Bootstrap confidence intervals for a fitted two-stage life testing model",
      "topics": [
        "slt_bootstrap_ci"
      ]
    },
    {
      "page": "slt_cases",
      "title": "Identifiable parameter-sharing cases for two-stage estimation",
      "topics": [
        "slt_cases"
      ]
    },
    {
      "page": "slt_dist",
      "title": "Baseline density, distribution and quantile functions for a distribution",
      "topics": [
        "slt_dist"
      ]
    },
    {
      "page": "slt_equiv_age",
      "title": "Equivalent age under the elevated stress",
      "topics": [
        "slt_equiv_age"
      ]
    },
    {
      "page": "slt_families",
      "title": "Available baseline lifetime distributions",
      "topics": [
        "slt_families"
      ]
    },
    {
      "page": "slt_gof_ks",
      "title": "Kolmogorov-Smirnov goodness-of-fit test with parametric-bootstrap correction for a fitted two-stage life testing model",
      "topics": [
        "slt_gof_ks"
      ]
    },
    {
      "page": "slt_han_kundu_2014",
      "title": "Han & Kundu (2014) simple step-stress data",
      "topics": [
        "slt_han_kundu_2014"
      ]
    },
    {
      "page": "slt_lrt",
      "title": "Likelihood-ratio test between nested parameter-sharing cases",
      "topics": [
        "slt_lrt"
      ]
    },
    {
      "page": "slt_model_comparison",
      "title": "Compare several fitted models by information criteria",
      "topics": [
        "slt_model_comparison"
      ]
    },
    {
      "page": "slt_prob_stage1",
      "title": "Probability of observing at least one stage-1 failure (Laumen & Cramer, Lemma 4.1)",
      "topics": [
        "slt_prob_stage1"
      ]
    },
    {
      "page": "slt_reduce_params",
      "title": "Reduce full (theta0, theta1) parameters to a case's free parameters",
      "topics": [
        "slt_reduce_params"
      ]
    },
    {
      "page": "slt_tau",
      "title": "p-th quantile of the baseline-stage distribution",
      "topics": [
        "slt_tau"
      ]
    },
    {
      "page": "slt_wang_fei_2003",
      "title": "Wang & Fei (2003) simple step-stress data",
      "topics": [
        "slt_wang_fei_2003"
      ]
    },
    {
      "page": "slt_zhu_2010",
      "title": "Zhu (2010) simple step-stress data",
      "topics": [
        "slt_zhu_2010"
      ]
    },
    {
      "page": "summary.slt_fit",
      "title": "Summarise a fitted two-stage life testing model",
      "topics": [
        "summary.slt_fit"
      ]
    },
    {
      "page": "vcov.slt_fit",
      "title": "Variance-covariance matrix of a fitted two-stage life testing model's coefficients",
      "topics": [
        "vcov.slt_fit"
      ]
    }
  ],
  "_readme": "https://github.com/cran/stagelife/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lamW",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "stagelife-intro.Rmd",
      "filename": "stagelife-intro.html",
      "title": "Introduction to stagelife: Two-Stage Life Testing",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The model",
        "1.1 Baseline distributions",
        "1.2 Parameter-sharing cases",
        "2. Simulating data",
        "3. Maximum likelihood estimation",
        "4. Confidence intervals",
        "5. Design theory from the paper: reproducing Laumen & Cramer (2019)",
        "5.1 Reproducing the paper's worked example exactly",
        "5.2 Planning a stage life test: slt_prob_stage1() (Lemma 4.1)",
        "6. Goodness of fit and model comparison",
        "7. Diagnostic plots",
        "8. Real-data example"
      ],
      "created": "2026-11-03 15:23:11",
      "modified": "2026-11-03 15:23:11",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "stagelife",
  "_universes": [
    "cran",
    "vksharma-bhu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-03T18:41:23.000Z",
      "distro": "resolute",
      "commit": "bd2831de9174160ed7304b31f26438e2cac18fba",
      "fileid": "https://r2.ropensci.org/1a10b5f71e37f4b3eb7b841ccd74706552d5c49d5bd5ef5817a40a17dd5fd3ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-03T18:41:26.000Z",
      "distro": "resolute",
      "commit": "bd2831de9174160ed7304b31f26438e2cac18fba",
      "fileid": "https://r2.ropensci.org/b606c2e827a0299f98aec6b2451e900dcca31db32567efa0cb4fca5ce97d4fde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-03T18:41:21.000Z",
      "commit": "bd2831de9174160ed7304b31f26438e2cac18fba",
      "fileid": "https://r2.ropensci.org/b0705b7e36168ac9b63ec1aaa67322c4969a4ee5bc64ff0f8cacf17e8ab4570b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-03T18:40:36.000Z",
      "commit": "bd2831de9174160ed7304b31f26438e2cac18fba",
      "fileid": "https://r2.ropensci.org/01003848ca945ddf9dcd0f432bc242d152ee088ebb592518b51b0e86f80c498a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-03T18:41:01.000Z",
      "commit": "bd2831de9174160ed7304b31f26438e2cac18fba",
      "fileid": "https://r2.ropensci.org/9ad680fd6689f4f4e03c7720045a5c7ff3a22024f55957075c56554dc4afb1c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41695218916"
    }
  ]
}