{
  "_id": "6a13f1b7acfb0bcc41d30c38",
  "Package": "pwSEM",
  "Title": "Piecewise Structural Equation Modelling",
  "Version": "1.0.0",
  "Authors@R": "person(\"Bill\", \"Shipley\", , \"Bill.Shipley@USherbrooke.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7026-3880\"))",
  "Description": "Conduct dsep tests (piecewise SEM) of a directed, or\nmixed, acyclic graph without latent variables (but possibly\nwith implicitly marginalized or conditioned latent variables\nthat create dependent errors) based on linear, generalized\nlinear, or additive modelswith or without a nesting structure\nfor the data. Also included are functions to do desp tests\nstep-by-step,exploratory path analysis, and Monte Carlo X2\nprobabilities. This package accompanies Shipley, B,\n(2026).Cause and Correlation in Biology: A User's Guide to Path\nAnalysis, StructuralEquations and Causal Inference (3rd\nedition).  Cambridge University Press.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libglpk-dev make libgsl0-dev libxml2-dev",
  "Repository": "https://billshipley.r-universe.dev",
  "Date/Publication": "2025-06-27 14:10:29 UTC",
  "RemoteUrl": "https://github.com/billshipley/pwsem",
  "RemoteRef": "HEAD",
  "RemoteSha": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 06:48:46 UTC",
    "User": "root"
  },
  "Author": "Bill Shipley [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7026-3880>)",
  "Maintainer": "Bill Shipley <Bill.Shipley@USherbrooke.ca>",
  "MD5sum": "2730c6e07d5112cfcbbad0b24c2b97f7",
  "_user": "billshipley",
  "_type": "src",
  "_file": "pwSEM_1.0.0.tar.gz",
  "_fileid": "a3543c62a49b4dc39839b50e28399dd42e4e7d7834589385e0647997341233fe",
  "_filesize": 714904,
  "_sha256": "a3543c62a49b4dc39839b50e28399dd42e4e7d7834589385e0647997341233fe",
  "_created": "2026-05-25T06:48:46.000Z",
  "_published": "2026-05-25T06:52:39.179Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77669203047,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193167748"
    },
    {
      "job": 77669203010,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193166007"
    },
    {
      "job": 77669202992,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7193166750"
    },
    {
      "job": 77669203009,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193159864"
    },
    {
      "job": 77668735776,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193129302"
    },
    {
      "job": 77669203003,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193159017"
    },
    {
      "job": 77669203049,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193151821"
    },
    {
      "job": 77669203051,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7193157132"
    },
    {
      "job": 77669203035,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193152791"
    }
  ],
  "_buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/billshipley/pwsem",
  "_commit": {
    "id": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
    "author": "John William Shipley <shij1401@usherbrooke.ca>",
    "committer": "John William Shipley <shij1401@usherbrooke.ca>",
    "message": "cran submission\n",
    "time": 1751033429
  },
  "_maintainer": {
    "name": "Bill Shipley",
    "email": "bill.shipley@usherbrooke.ca",
    "login": "billshipley",
    "description": "Full Professor (retired), Université de Sherbrooke, Sherbrooke (Qc) Canada",
    "uuid": 25185087,
    "orcid": "0000-0002-7026-3880"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "gamm4",
      "role": "Imports"
    },
    {
      "package": "ggm",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "poolr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "billshipley",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 13
    },
    {
      "week": "2025-26",
      "n": 10
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "billshipley",
      "count": 55,
      "uuid": 25185087
    }
  ],
  "_userbio": {
    "uuid": 25185087,
    "type": "user",
    "name": "Bill Shipley",
    "description": "Full Professor (retired), Université de Sherbrooke, Sherbrooke (Qc) Canada"
  },
  "_downloads": {
    "count": 194,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pwSEM"
  },
  "_devurl": "https://github.com/billshipley/pwsem",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pwSEM.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/billshipley/pwsem",
  "_realowner": "billshipley",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-02"
    }
  ],
  "_exports": [
    "basiSet.MAG",
    "CI.algorithm",
    "DAG.to.MAG.in.pwSEM",
    "generalized.covariance",
    "get.AIC",
    "MAG.to.DAG.in.pwSEM",
    "MCX2",
    "perm.generalized.covariance",
    "pwSEM",
    "vanishing.tetrads",
    "view.paths"
  ],
  "_datasets": [
    {
      "name": "nested_data",
      "title": "nested_data:",
      "object": "nested_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "nest",
        "ind",
        "XR",
        "XM",
        "XH",
        "XP",
        "XF"
      ],
      "rows": 1309,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_normal.no.nesting",
      "title": "sim_normal.no.nesting Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "object": "sim_normal.no.nesting",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "X3",
        "X4"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_normal.with.nesting",
      "title": "sim_normal.with.nesting: Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "object": "sim_normal.with.nesting",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "X3",
        "X4",
        "group"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_poisson.no.nesting",
      "title": "sim_poisson.no.nesting: Simulated data with correlated errors involving endogenous variables, Poisson-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "object": "sim_poisson.no.nesting",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "X3",
        "X4"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_tetrads",
      "title": "sim_tetrads: Simulated data to be used with the vanishing.tetrads function Data generated using this directed acyclic graph, with L being latent: L->X1, L->X2, L->X3->X4",
      "object": "sim_tetrads",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "X3",
        "X4"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "basiSet.MAG",
      "title": "basiSet.MAG",
      "topics": [
        "basiSet.MAG"
      ]
    },
    {
      "page": "CI.algorithm",
      "title": "The CI.algorithm function",
      "topics": [
        "CI.algorithm"
      ]
    },
    {
      "page": "DAG.to.MAG.in.pwSEM",
      "title": "Title DAG.to.MAG.in.pwSEM",
      "topics": [
        "DAG.to.MAG.in.pwSEM"
      ]
    },
    {
      "page": "generalized.covariance",
      "title": "Generalized covariance function",
      "topics": [
        "generalized.covariance"
      ]
    },
    {
      "page": "get.AIC",
      "title": "Title get.AIC",
      "topics": [
        "get.AIC"
      ]
    },
    {
      "page": "MAG.to.DAG.in.pwSEM",
      "title": "Title MAG.to.DAG.in.pwSEM",
      "topics": [
        "MAG.to.DAG.in.pwSEM"
      ]
    },
    {
      "page": "MCX2",
      "title": "Title Monte Carlo chi-square (MCX2)",
      "topics": [
        "MCX2"
      ]
    },
    {
      "page": "nested_data",
      "title": "nested_data:",
      "topics": [
        "nested_data"
      ]
    },
    {
      "page": "perm.generalized.covariance",
      "title": "perm.generalized.covariance",
      "topics": [
        "perm.generalized.covariance"
      ]
    },
    {
      "page": "pwSEM",
      "title": "The pwSEM function",
      "topics": [
        "pwSEM"
      ]
    },
    {
      "page": "sim_normal.no.nesting",
      "title": "sim_normal.no.nesting Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "topics": [
        "sim_normal.no.nesting"
      ]
    },
    {
      "page": "sim_normal.with.nesting",
      "title": "sim_normal.with.nesting: Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "topics": [
        "sim_normal.with.nesting"
      ]
    },
    {
      "page": "sim_poisson.no.nesting",
      "title": "sim_poisson.no.nesting: Simulated data with correlated errors involving endogenous variables, Poisson-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4",
      "topics": [
        "sim_poisson.no.nesting"
      ]
    },
    {
      "page": "sim_tetrads",
      "title": "sim_tetrads: Simulated data to be used with the vanishing.tetrads function Data generated using this directed acyclic graph, with L being latent: L->X1, L->X2, L->X3->X4",
      "topics": [
        "sim_tetrads"
      ]
    },
    {
      "page": "summary.pwSEM.class",
      "title": "Summary Method for pwSEM Class",
      "topics": [
        "summary.pwSEM.class"
      ]
    },
    {
      "page": "vanishing.tetrads",
      "title": "The vanishing.tetrads function",
      "topics": [
        "vanishing.tetrads"
      ]
    },
    {
      "page": "view.paths",
      "title": "view.paths",
      "topics": [
        "view.paths"
      ]
    }
  ],
  "_readme": "https://github.com/billshipley/pwsem/raw/HEAD/README.md",
  "_rundeps": [
    "ADGofTest",
    "BiocGenerics",
    "BiocManager",
    "boot",
    "cli",
    "cluster",
    "colorspace",
    "copula",
    "cpp11",
    "gamm4",
    "generics",
    "ggm",
    "glue",
    "graph",
    "gsl",
    "igraph",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "mgcv",
    "minqa",
    "mvtnorm",
    "nlme",
    "nloptr",
    "numDeriv",
    "pcaPP",
    "pkgconfig",
    "poolr",
    "pspline",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "stabledist",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "pwSEM.Rmd",
      "filename": "pwSEM.html",
      "title": "pwSEM",
      "author": "Bill Shipley",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Some technical details",
        "The pwSEM function",
        "data structure",
        "Example 1: dependent endogenous errors, normally distributed variables and no nesting structure in the data",
        "Example 2: dependent endogenous errors  from marginalized latents, Poisson distributed variables and no nesting structure in the data",
        "Example 3: dependent errors involving endogenous variables, normally-distributed data and with a 2-level grouping structure and using smoothing splines for the d-separation tests",
        "DAG.to.MAG.in.pwSEM",
        "MAG.to.DAG.in.pwSEM",
        "generalized covariance function and its permutation version",
        "The view.paths function",
        "The basiSet.MAG function",
        "The get.AIC function",
        "The MCX2 function",
        "The CI.algorithm() function",
        "The vanishing.tetrads function"
      ],
      "created": "2024-02-07 22:53:51",
      "modified": "2025-06-27 14:00:20",
      "commits": 30
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "pwsem",
  "_universes": [
    "billshipley"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T06:51:16.000Z",
      "distro": "noble",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "a37a6854e5996f054d108d6c34ecc1d693ac41d82ebb98c7423987ff209aebba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-25T06:51:11.000Z",
      "distro": "noble",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "b0f4abfea322fd9c2ade95ddd1b2fc54aec5877d3520cef6414bd5c0c66658d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T06:51:25.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "5880e246b29cfc824512da1596fd69d2a1094574de4fc0f81c4494c0c2274e86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-25T06:50:54.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "9991ad461bd0b2a54c06d6e203a61a357d4006e67c7102616fcfdee7b9f5d4a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-25T06:51:18.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "e17c9ef63ced023daed23526c942bd1c1cda50e6ba13753831fecd6e9cc52c00",
      "status": "success",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T06:50:01.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "bbdb1ef3ad542a93b4f71778096647c008b432a5966af7c744632cfbdda07ab1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T06:50:24.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "288def6141c712b0857f01e7ad35c6559c38ccfecef818bffca586ec65a4198c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-25T06:50:07.000Z",
      "commit": "4a9aaa4a946a41360e6b2e28fe5dbdd45f9b7860",
      "fileid": "9ea42f5b16ca17cd67491a52f61239863fcd14c4b051914d38cc5eb6f0428aaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/billshipley/actions/runs/26387332474"
    }
  ]
}