{
  "_id": "6a5222e39b92047c28d54803",
  "Package": "tseLCA",
  "Type": "Package",
  "Title": "Three-Step Estimation for Latent Class Analysis",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(\"Sam\", \"Lee\", email = \"samlee@arizona.edu\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0007-2977-6661\")),\nperson(\"Jay\", \"Goodliffe\", email = \"goodliffe@byu.edu\", role = \"ctb\")\n)",
  "Description": "Implements BCH (Bolck-Croon-Hagenaars)\n<doi:10.1093/pan/mph001> and ML (Vermunt's maximum likelihood)\n<doi:10.1093/pan/mpq025> approaches for three-step estimation\nof latent class models with covariates and distal outcomes,\nfollowing Bakk, Tekle & Vermunt (2013)\n<doi:10.1177/0081175012470644>, Bakk, Oberski & Vermunt (2014)\n<https://www.jstor.org/stable/24573086>, and Bakk & Kuha (2018)\n<doi:10.1007/s11336-017-9592-7>. Built on 'multilevLCA'\n(Lyrvall et al., 2025) <doi:10.1080/00273171.2025.2473935> for\nStep-1 measurement model estimation, this package extends it\nwith support for Gaussian, Poisson, and binomial distal outcome\nfamilies. Unlike 'poLCA', which relies on one-step estimation\nand cannot accommodate a measurement model from a different\nsample, this package uses a stepwise approach to prevent the\nstructural model from influencing latent class formation.\nImplements correct sandwich variance estimation that propagates\nmeasurement uncertainty from the first-step through\nclassification-error correction in the final step (Bakk,\nOberski & Vermunt, 2014). Supports polytomous items and missing\ndata in the measurement model with full information maximum\nlikelihood. A data-generating process replicating the Bakk &\nKuha (2018) simulation study is included.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "URL": "https://samleebyu.github.io/tseLCA/,\nhttps://github.com/SamLeeBYU/tseLCA",
  "BugReports": "https://github.com/SamLeeBYU/tseLCA/issues",
  "VignetteBuilder": "knitr, rmarkdown",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-11 10:58:30 UTC",
    "User": "root"
  },
  "Author": "Sam Lee [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0007-2977-6661>), Jay Goodliffe [ctb]",
  "Maintainer": "Sam Lee <samlee@arizona.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-11 08:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/tseLCA",
  "RemoteRef": "HEAD",
  "RemoteSha": "df20b56326120c7d1664fcbee96a52cc3034e313",
  "_user": "cran",
  "_type": "src",
  "_file": "tseLCA_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/c961632f09031fc4bead074f369d6f57cc1984827ef62160aed2bb5da74668eb",
  "_filesize": 480151,
  "_sha256": "c961632f09031fc4bead074f369d6f57cc1984827ef62160aed2bb5da74668eb",
  "_expires": "2026-10-19T11:02:58.000Z",
  "_created": "2026-07-11T10:58:30.000Z",
  "_published": "2026-07-11T11:02:59.864Z",
  "_jobs": [
    {
      "job": 86538392399,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8247959844"
    },
    {
      "job": 86538392395,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247959871"
    },
    {
      "job": 86538050801,
      "time": 309,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247937268"
    },
    {
      "job": 86538392396,
      "time": 235,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8247965051"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29150067885",
  "_status": "success",
  "_upstream": "https://github.com/cran/tseLCA",
  "_commit": {
    "id": "df20b56326120c7d1664fcbee96a52cc3034e313",
    "author": "Sam Lee <samlee@arizona.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1783759202
  },
  "_maintainer": {
    "name": "Sam Lee",
    "email": "samlee@arizona.edu",
    "orcid": "0009-0007-2977-6661"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "multilevLCA",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "poLCA",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.2",
      "date": "2026-07-11"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 618,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tseLCA"
  },
  "_devurl": "https://github.com/samleebyu/tselca",
  "_pkgdown": "https://samleebyu.github.io/tseLCA/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tseLCA.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-07-11"
    }
  ],
  "_exports": [
    "bk2018_params",
    "draw_classes",
    "draw_classes_given_Zp",
    "draw_indicators",
    "draw_Zo",
    "draw_Zp",
    "fitZ_from_fit0",
    "fitZ_from_multiLCA",
    "generate_all_conditions",
    "generate_data",
    "lca_step1",
    "make_rho",
    "mnl_probs",
    "three_step"
  ],
  "_help": [
    {
      "page": "bk2018_params",
      "title": "Default population parameters for the Bakk & Kuha (2018) simulation",
      "topics": [
        "bk2018_params"
      ]
    },
    {
      "page": "coef.tseLCA_measurement",
      "title": "Extract coefficients from a tseLCA model object",
      "topics": [
        "coef.tseLCA_both",
        "coef.tseLCA_covariate",
        "coef.tseLCA_distal",
        "coef.tseLCA_measurement"
      ]
    },
    {
      "page": "draw_classes",
      "title": "Draw latent class memberships from their marginal distribution",
      "topics": [
        "draw_classes"
      ]
    },
    {
      "page": "draw_classes_given_Zp",
      "title": "Draw latent classes conditional on the covariate (scenario \"covariate\")",
      "topics": [
        "draw_classes_given_Zp"
      ]
    },
    {
      "page": "draw_indicators",
      "title": "Draw binary indicators given true class memberships",
      "topics": [
        "draw_indicators"
      ]
    },
    {
      "page": "draw_Zo",
      "title": "Draw a continuous distal outcome given true class memberships (scenario \"distal\")",
      "topics": [
        "draw_Zo"
      ]
    },
    {
      "page": "draw_Zp",
      "title": "Draw the covariate Zp ~ Uniform{1, 2, 3, 4, 5}",
      "topics": [
        "draw_Zp"
      ]
    },
    {
      "page": "fitZ_from_fit0",
      "title": "Estimate covariate effects with measurement parameters fixed (two-step EM)",
      "topics": [
        "fitZ_from_fit0"
      ]
    },
    {
      "page": "fitZ_from_multiLCA",
      "title": "Estimate two-step covariate model via multilevLCA (optional reference path)",
      "topics": [
        "fitZ_from_multiLCA"
      ]
    },
    {
      "page": "generate_all_conditions",
      "title": "Generate datasets for all 18 conditions in the simulation design",
      "topics": [
        "generate_all_conditions"
      ]
    },
    {
      "page": "generate_data",
      "title": "Generate one dataset following the Bakk & Kuha (2018) simulation design",
      "topics": [
        "generate_data"
      ]
    },
    {
      "page": "lca_step1",
      "title": "Fit the LCA measurement model (Step 1)",
      "topics": [
        "lca_step1"
      ]
    },
    {
      "page": "make_rho",
      "title": "Build the item-response probability matrix for the simulation",
      "topics": [
        "make_rho"
      ]
    },
    {
      "page": "mnl_probs",
      "title": "Compute multinomial logistic class probabilities given covariates",
      "topics": [
        "mnl_probs"
      ]
    },
    {
      "page": "plot.tseLCA_measurement",
      "title": "Plot item-response probability profiles for a tseLCA model",
      "topics": [
        "plot.tseLCA_both",
        "plot.tseLCA_covariate",
        "plot.tseLCA_distal",
        "plot.tseLCA_measurement"
      ]
    },
    {
      "page": "print.tseLCA_measurement",
      "title": "Print a tseLCA model object",
      "topics": [
        "print.tseLCA_both",
        "print.tseLCA_covariate",
        "print.tseLCA_distal",
        "print.tseLCA_measurement"
      ]
    },
    {
      "page": "summary.tseLCA_measurement",
      "title": "Summarize a tseLCA model object",
      "topics": [
        "summary.tseLCA_both",
        "summary.tseLCA_covariate",
        "summary.tseLCA_distal",
        "summary.tseLCA_measurement"
      ]
    },
    {
      "page": "three_step",
      "title": "Three-step LCA estimation with covariates and/or distal outcomes",
      "topics": [
        "three_step"
      ]
    },
    {
      "page": "vcov.tseLCA_measurement",
      "title": "Extract the variance-covariance matrix from a tseLCA model object",
      "topics": [
        "vcov.tseLCA_both",
        "vcov.tseLCA_covariate",
        "vcov.tseLCA_distal",
        "vcov.tseLCA_measurement"
      ]
    }
  ],
  "_readme": "https://github.com/cran/tseLCA/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cluster",
    "clustMixType",
    "codetools",
    "combinat",
    "commonmark",
    "cpp11",
    "crayon",
    "digest",
    "dplyr",
    "e1071",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "fs",
    "generics",
    "glue",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "httpuv",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "klaR",
    "labelled",
    "later",
    "lifecycle",
    "magrittr",
    "MASS",
    "mclust",
    "memoise",
    "mime",
    "miniUI",
    "multilevLCA",
    "otel",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "promises",
    "proxy",
    "purrr",
    "questionr",
    "R.cache",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "sass",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "styler",
    "tibble",
    "tictoc",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xfun",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "tseLCA-workflow.Rmd",
      "filename": "tseLCA-workflow.html",
      "title": "tseLCA Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Synthetic data",
        "Step 1: Measurement model",
        "Two-step estimates",
        "Three-Step estimation",
        "ML estimator (default)",
        "Proportional assignment",
        "Simple (robust) standard errors",
        "BCH estimator",
        "Choosing the reference class",
        "Passing a pre-fitted measurement model",
        "Missing data",
        "Polytomous items",
        "Distal outcomes",
        "Three-step estimation with both covariates (Zp) and distal outcomes (Zo)",
        "References"
      ],
      "created": "2026-07-11 08:40:02",
      "modified": "2026-07-11 08:40:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "tselca",
  "_universes": [
    "cran",
    "samleebyu"
  ],
  "_indexurl": "https://samleebyu.r-universe.dev/tseLCA",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-11T11:01:39.000Z",
      "distro": "resolute",
      "commit": "df20b56326120c7d1664fcbee96a52cc3034e313",
      "fileid": "https://r2.ropensci.org/d2c67036944c8c4527d41227670c495467450fa748adccf78141a8ece18138b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150067885"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-11T11:01:35.000Z",
      "distro": "resolute",
      "commit": "df20b56326120c7d1664fcbee96a52cc3034e313",
      "fileid": "https://r2.ropensci.org/674071dd0b54b8e96335f8f28b087ab8f86d1a1d7af32613680774aeb42fc774",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150067885"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-07-11T11:02:39.000Z",
      "commit": "df20b56326120c7d1664fcbee96a52cc3034e313",
      "fileid": "https://r2.ropensci.org/4d659fc301acfe79f291d040d401c7512608298722efb649ac3ec94354028741",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29150067885"
    }
  ]
}