{
  "_id": "6ae3406a327abcdf86866fe0",
  "Package": "tppcm",
  "Type": "Package",
  "Title": "Step Discriminations for the Two-Parameter Partial Credit Model\non Top of 'TAM'",
  "Version": "0.1.0.9000",
  "Authors@R": "person(\"Jie-Wen\", \"Tsai\", email = \"tsai.jiewen@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "In the two-parameter partial credit model (TPPCM) of Yu\n(1991) <https://hdl.handle.net/2142/21459>, every step of a\npolytomous item has its own discrimination. Estimation is left\nto existing software: 'TAM' (tam.mml.3pl() with a step design\nmatrix, tam.mml.2pl(), tam.mml()) and, for the bilinear product\nform and non-negativity constraints, 'sirt' (xxirt()). The\npackage adds what these packages do not provide: standard\nerrors of step discriminations based on the full observed\ninformation, step-level Wald tests, and score tests with\nmodification indices and expected parameter changes for moving\ndown the model ladder saturated TPPCM -> product form ->\ngeneralized partial credit model -> partial credit model,\nlimited-information fit statistics (the M2 statistic, root mean\nsquare error of approximation, standardized root mean squared\nresidual, comparative fit index and Tucker-Lewis index;\nMaydeu-Olivares and Joe (2006) <doi:10.1007/s11336-005-1295-9>)\nfor any step design, step contributions to the item\ninformation, and tests of differential step functioning across\ngroups: per-step Lagrange multiplier tests from one multigroup\nfit (Glas (1998)\n<https://www3.stat.sinica.edu.tw/statistica/j8n3/j8n32/j8n32.htm>),\nwith the generalized score test of Boos (1992)\n<doi:10.1080/00031305.1992.10475921>, likelihood ratio tests\nwith configural, metric, scalar and partial multigroup designs,\nscore-based tests (Merkle and Zeileis (2013)\n<doi:10.1007/s11336-012-9302-4>) and model-based trees\n(Zeileis, Hothorn and Hornik (2008)\n<doi:10.1198/106186008X319331>). The generalized partial credit\nmodel of Muraki (1992) <doi:10.1177/014662169201600206> is the\nspecial case with equal steps within items.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/jiewenTsai/tppcm",
  "BugReports": "https://github.com/jiewenTsai/tppcm/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://jiewentsai.r-universe.dev",
  "Date/Publication": "2026-10-28 16:35:15 UTC",
  "RemoteUrl": "https://github.com/jiewentsai/tppcm",
  "RemoteRef": "HEAD",
  "RemoteSha": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-29 11:59:44 UTC",
    "User": "root"
  },
  "Author": "Jie-Wen Tsai [aut, cre]",
  "Maintainer": "Jie-Wen Tsai <tsai.jiewen@gmail.com>",
  "_user": "jiewentsai",
  "_type": "src",
  "_file": "tppcm_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/e41f77e0dd5c4b91abe5b1d79488f3e4ad90d71eb7c400da91ea2660231a7373",
  "_filesize": 617826,
  "_sha256": "e41f77e0dd5c4b91abe5b1d79488f3e4ad90d71eb7c400da91ea2660231a7373",
  "_expires": "2027-02-06T12:47:36.000Z",
  "_created": "2026-10-29T11:59:44.000Z",
  "_published": "2026-10-29T12:47:38.654Z",
  "_upstream": "https://github.com/jiewentsai/tppcm",
  "_status": "success",
  "_maintainer": {
    "name": "Jie-Wen Tsai",
    "email": "tsai.jiewen@gmail.com",
    "login": "jiewentsai",
    "description": "",
    "uuid": 44721885
  },
  "_jobs": [
    {
      "job": 123433361061,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12896020905"
    },
    {
      "job": 123433361135,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12895173235"
    },
    {
      "job": 123433361255,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12897164943"
    },
    {
      "job": 123433361402,
      "time": 261,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12898077652"
    },
    {
      "job": 123429868753,
      "time": 480,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12894838881"
    },
    {
      "job": 123433361041,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12894957935"
    },
    {
      "job": 123433361280,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12895028046"
    },
    {
      "job": 123433361176,
      "time": 129,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12895951034"
    },
    {
      "job": 123433361231,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12894519342"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622",
  "_commit": {
    "id": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
    "author": "Jie-Wen Tsai <44721885+jiewenTsai@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Start development version 0.1.0.9000 (#12)\n\n* Start development version 0.1.0.9000 after CRAN acceptance of 0.1.0\n\nCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01NffV8LowfZs12apkra1UoE\n\n* CI: cap and retry the TinyTeX package install\n\nThe Windows job hung for 3 hours downloading makeindex from the TinyTeX\nmirror. Each attempt now times out after 5 minutes and is retried up to\n3 times; the job as a whole stops after 60 minutes.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01NffV8LowfZs12apkra1UoE\n\n* CI: retry the TinyTeX install from CTAN\n\nAll three attempts hung on makeindex.windows from tlnet.yihui.org, while\nthe same step works on Linux and macOS; retries now switch the tlmgr\nrepository to mirror.ctan.org.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01NffV8LowfZs12apkra1UoE\n\n* CI: check without the PDF manual on Windows\n\nInstalling makeindex into TinyTeX hangs on the Windows runner whatever\nthe repository (tlnet.yihui.org and three CTAN mirrors), so the Windows\njob skips TinyTeX and runs R CMD check with --no-manual. macOS and the\nthree Ubuntu jobs still build and check the PDF manual.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01NffV8LowfZs12apkra1UoE\n\n---------\n\nCo-authored-by: Claude <noreply@anthropic.com>",
    "time": 1793205315
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "TAM",
      "role": "Depends"
    },
    {
      "package": "CDM",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "sirt",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mirt",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "partykit",
      "role": "Suggests"
    },
    {
      "package": "psychotools",
      "role": "Suggests"
    },
    {
      "package": "psychotree",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "strucchange",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jiewentsai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 8
    },
    {
      "week": "2026-41",
      "n": 4
    },
    {
      "week": "2026-42",
      "n": 5
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-10-16"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jiewentsai",
      "count": 27,
      "uuid": 44721885
    },
    {
      "user": "claude",
      "count": 13,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 44721885,
    "type": "user",
    "name": "Jie-Wen Tsai",
    "followers": 1
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tppcm"
  },
  "_devurl": "https://github.com/jiewentsai/tppcm",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_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/tppcm.html"
  ],
  "_homeurl": "https://github.com/jiewentsai/tppcm",
  "_realowner": "jiewentsai",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-28"
    }
  ],
  "_exports": [
    "dif_test",
    "dsf",
    "dsf_design",
    "get_parts",
    "irt_pars",
    "item_test",
    "m2",
    "mi",
    "score_test",
    "sim_tppcm",
    "step_info",
    "tppcm",
    "tppcmtree",
    "wald_test",
    "xxirt_tppcm",
    "xxirt_vcov"
  ],
  "_help": [
    {
      "page": "dif_test",
      "title": "Score (LM) tests of differential step and item functioning",
      "topics": [
        "dif_test"
      ]
    },
    {
      "page": "dsf",
      "title": "Likelihood ratio tests of differential step functioning",
      "topics": [
        "dsf"
      ]
    },
    {
      "page": "dsf_design",
      "title": "Multigroup TPPCM design with group.equal and group.partial",
      "topics": [
        "dsf_design"
      ]
    },
    {
      "page": "get_parts",
      "title": "Components of a fitted model",
      "topics": [
        "get_parts"
      ]
    },
    {
      "page": "irt_pars",
      "title": "Item and group parameters in a compact table",
      "topics": [
        "irt_pars"
      ]
    },
    {
      "page": "item_test",
      "title": "Item-level score tests",
      "topics": [
        "item_test"
      ]
    },
    {
      "page": "m2",
      "title": "Limited-information goodness of fit: M2, RMSEA2, SRMSR, CFI, TLI",
      "topics": [
        "m2"
      ]
    },
    {
      "page": "mi",
      "title": "Modification indices for single step discriminations",
      "topics": [
        "mi"
      ]
    },
    {
      "page": "score_test",
      "title": "Score test against a less restricted TPPCM",
      "topics": [
        "score_test"
      ]
    },
    {
      "page": "sim_tppcm",
      "title": "Simulate item responses from a TPPCM",
      "topics": [
        "sim_tppcm"
      ]
    },
    {
      "page": "step_info",
      "title": "Step, item and test information",
      "topics": [
        "step_info"
      ]
    },
    {
      "page": "tppcm",
      "title": "Step design for the TPPCM and its submodels",
      "topics": [
        "tppcm"
      ]
    },
    {
      "page": "tppcmtree",
      "title": "TPPCM trees: model-based recursive partitioning of step discriminations",
      "topics": [
        "tppcmtree"
      ]
    },
    {
      "page": "wald_test",
      "title": "Wald test of equal step discriminations within items",
      "topics": [
        "wald_test"
      ]
    },
    {
      "page": "xxirt_tppcm",
      "title": "Fit TPPCM-family models with sirt::xxirt()",
      "topics": [
        "xxirt_tppcm"
      ]
    },
    {
      "page": "xxirt_vcov",
      "title": "Covariance matrix of an xxirt fit with shared or fixed parameters",
      "topics": [
        "xxirt_vcov"
      ]
    }
  ],
  "_readme": "https://github.com/jiewentsai/tppcm/raw/HEAD/README.md",
  "_rundeps": [
    "admisc",
    "CDM",
    "lattice",
    "MASS",
    "Matrix",
    "mvtnorm",
    "pbapply",
    "pbv",
    "polycor",
    "Rcpp",
    "RcppArmadillo",
    "sirt",
    "TAM"
  ],
  "_vignettes": [
    {
      "source": "tppcm-recipes.Rmd",
      "filename": "tppcm-recipes.html",
      "title": "tppcm recipes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A. Data and estimation",
        "A1. Getting raw questionnaire data into shape",
        "A2. Fitting the saturated TPPCM",
        "A3. GPCM, step model, PCM and custom restrictions",
        "A4. Items with different numbers of categories",
        "A5. Rank-1 (product form) and the lower bound of the discriminations",
        "B. Reports and components",
        "B1. One parameter table",
        "B2. Standard errors and confidence intervals",
        "B3. Getting at the components",
        "B4. Information functions",
        "C. Tests",
        "C1. Which items have unequal step discriminations",
        "C2. Is the GPCM enough",
        "C3. Likelihood-ratio tests of nested models",
        "C4. Overall fit",
        "D. Differential item and step functioning",
        "D1. Known groups: which step has DIF",
        "D2. A covariate related to ability: impact is not DIF",
        "D3. Numeric and ordered covariates",
        "D4. Unknown grouping: a DIF tree",
        "D5. Which step functions differently between known groups (DSF)",
        "E. Simulation, unsupported models, weights and groups",
        "E1. Simulating data and estimating power",
        "E2. Models the package does not handle",
        "E3. Weights, multiple groups and latent regression"
      ],
      "created": "2026-10-01 17:48:55",
      "modified": "2026-10-16 10:38:32",
      "commits": 5
    },
    {
      "source": "tppcm-tutorial.Rmd",
      "filename": "tppcm-tutorial.html",
      "title": "tppcm: step discriminations on top of TAM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The model and the package",
        "The two-parameter partial credit model",
        "What the package does and does not do",
        "2. Estimating the TPPCM with TAM",
        "Data",
        "The saturated TPPCM",
        "When tam.mml.3pl() does not converge",
        "The common designs",
        "Restrictions at the step level",
        "3. Reports, standard errors, fit and information",
        "irt_pars(): a compact parameter table",
        "Standard errors",
        "Overall fit: m2()",
        "Information: step_info()",
        "4. Tests",
        "Per-item Wald tests: are the step discriminations of this item equal?",
        "Score tests from the GPCM",
        "5. Rank-1: the product form ~ item + step",
        "6. Differential step functioning",
        "Impact is not DIF: model the group distributions first",
        "A DSF workflow for known groups",
        "Why the joint test is the screen",
        "Why fit the TPPCM rather than the GPCM?",
        "tppcmtree(): DIF trees",
        "Example: verbal aggression",
        "7. get_parts(): the mathematical components",
        "8. Suggested workflow and caveats",
        "Workflow",
        "Caveats",
        "References"
      ],
      "created": "2026-10-01 17:48:55",
      "modified": "2026-10-16 10:38:32",
      "commits": 6
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "tppcm",
  "_universes": [
    "jiewentsai"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:02:19.000Z",
      "distro": "resolute",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/1d3ac0ae9e7646ecfe42fb319517d9a5ca486277f9235b52bff4412615f2226a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:02:23.000Z",
      "distro": "resolute",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/eb2db064d157d98ad270d5824c8319b5eff69746579754b60c94689ba933d8e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:44:01.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/ae6b5f98f018d0951fcddfa72b6065a027a56aeb52ed24fde08022f8bcca7e60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:45:33.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/711277f7be7ae06ec2d186b3ab76d1413d72b88c9ef59bb70ece8810aabc4349",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:02:03.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/eac95d197a9f4ceef87be8bfbce61f9ae39054fa763a789f93dd60b2f16c9779",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:00:58.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/a556d13f6edd3098d04614ade8c8ae711dbfe6627e1fc3ecab529a3407c94887",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:01:09.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/4285c903702343ad3b666391304ccdc1418ab9901197941f2dd89cd7ca110b67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-29T12:01:01.000Z",
      "commit": "713bf87f23d811d211b0136ee490da70dd3a6cdc",
      "fileid": "https://r2.ropensci.org/b051f478b42e24fbff886166f88df24aa9460f0ec82e96010a6bff7fcb3b07e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiewentsai/actions/runs/40868650622"
    }
  ]
}