{
  "_id": "6a115af4acfb0bcc41cec109",
  "Package": "ppdiag",
  "Type": "Package",
  "Title": "Diagnosis and Visualizations Tools for Temporal Point Processes",
  "Version": "0.1.1.9000",
  "Authors@R": "c(person(given = \"Sally\",\nfamily = \"Sun\",\nrole = \"aut\"),\nperson(given = \"Owen G.\",\nfamily = \"Ward\",\nrole = c(\"aut\",\"cre\"),\nemail = \"owen.ward@columbia.edu\",\ncomment = c(ORCID = \"0000-0002-9678-3542\")),\nperson(given = \"Jing\",\nfamily = \"Wu\",\nrole = \"aut\"),\nperson(given = \"Xiaoxi\",\nfamily = \"Zhao\",\nrole = \"aut\"),\nperson(given = \"Lihao\",\nfamily = \"Xiao\",\nrole = \"ctb\"),\nperson(given = \"Tian\",\nfamily = \"Zheng\",\nrole = \"aut\"))",
  "Description": "A suite of diagnostic tools for univariate point\nprocesses. This includes tools for simulating and fitting both\ncommon and more complex temporal point processes. We also\ninclude functions to visualise these point processes and\ncollect existing diagnostic tools of Brown et al. (2002)\n<doi:10.1162/08997660252741149> and Wu et al. (2021)\n<doi:10.1002/9781119821588.ch7>, which can be used to assess\nthe fit of a chosen point process model.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "URL": "https://owenward.github.io/ppdiag/",
  "BugReports": "https://github.com/OwenWard/ppdiag/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://owenward.r-universe.dev",
  "Date/Publication": "2023-02-16 18:34:29 UTC",
  "RemoteUrl": "https://github.com/owenward/ppdiag",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0e3256b9cc8331e022c585d91766ef7493c2840",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 07:41:33 UTC",
    "User": "root"
  },
  "Author": "Sally Sun [aut],\nOwen G. Ward [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9678-3542>),\nJing Wu [aut],\nXiaoxi Zhao [aut],\nLihao Xiao [ctb],\nTian Zheng [aut]",
  "Maintainer": "Owen G. Ward <owen.ward@columbia.edu>",
  "MD5sum": "b5e2d26edb69a45fab3d4165bc7b72b1",
  "_user": "owenward",
  "_type": "src",
  "_file": "ppdiag_0.1.1.9000.tar.gz",
  "_fileid": "14ae4c981c13f7e2fa73318c27c66c2fff4d6000a8e06df74d8cfe04c28c015f",
  "_filesize": 671191,
  "_sha256": "14ae4c981c13f7e2fa73318c27c66c2fff4d6000a8e06df74d8cfe04c28c015f",
  "_created": "2026-05-23T07:41:33.000Z",
  "_published": "2026-05-23T07:44:52.464Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77506962275,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175384987"
    },
    {
      "job": 77506962278,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175388210"
    },
    {
      "job": 77506962282,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175383638"
    },
    {
      "job": 77506962274,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175383059"
    },
    {
      "job": 77506843091,
      "time": 146,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175374236"
    },
    {
      "job": 77506962276,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175382595"
    },
    {
      "job": 77506962280,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175381178"
    },
    {
      "job": 77506962279,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175381791"
    },
    {
      "job": 77506962281,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175380538"
    }
  ],
  "_buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/owenward/ppdiag",
  "_commit": {
    "id": "d0e3256b9cc8331e022c585d91766ef7493c2840",
    "author": "Owen Ward <33092609+OwenWard@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update the qq plot (#63)\n\n* setup dev version\r\n\r\n* update citation to joss paper\r\n\r\n* update description\r\n\r\n* remove the axis limits for qq plot\r\n\r\n* update github action",
    "time": 1676572469
  },
  "_maintainer": {
    "name": "Owen G. Ward",
    "email": "owen.ward@columbia.edu",
    "login": "owenward",
    "description": "Assistant Professor, Statistics and Actuarial Science, Simon Fraser University",
    "uuid": 33092609,
    "orcid": "0000-0002-9678-3542"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "owenward",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "owenward",
      "count": 241,
      "uuid": 33092609
    },
    {
      "user": "sallyqiansun",
      "count": 199,
      "uuid": 44779808
    },
    {
      "user": "xiaoxidq",
      "count": 26,
      "uuid": 44512009
    }
  ],
  "_userbio": {
    "uuid": 33092609,
    "type": "user",
    "name": "Owen Ward",
    "description": "Assistant Professor, Statistics and Actuarial Science, Simon Fraser University"
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ppdiag"
  },
  "_devurl": "https://github.com/owenward/ppdiag",
  "_pkgdown": "https://owenward.github.io/ppdiag/",
  "_searchresults": 19,
  "_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/ppdiag.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/owenward/ppdiag",
  "_realowner": "owenward",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-03-04"
    },
    {
      "version": "0.1.1",
      "date": "2021-08-12"
    }
  ],
  "_exports": [
    "drawHPIntensity",
    "drawHPPIntensity",
    "drawUniMMHPIntensity",
    "drawUniMMPPIntensity",
    "fithp",
    "fithpp",
    "intensityqqplot",
    "pp_compensator",
    "pp_diag",
    "pp_hp",
    "pp_hpp",
    "pp_ksplot",
    "pp_mmhp",
    "pp_mmpp",
    "pp_qqexp",
    "pp_residual",
    "pp_simulate"
  ],
  "_help": [
    {
      "page": "drawHPIntensity",
      "title": "Draw the intensity of Hawkes Process",
      "topics": [
        "drawHPIntensity"
      ]
    },
    {
      "page": "drawHPPIntensity",
      "title": "Draw intensity of homogeneous Poisson process",
      "topics": [
        "drawHPPIntensity"
      ]
    },
    {
      "page": "drawUniMMHPIntensity",
      "title": "Draw the intensity of the Markov-modulated Hawkes Process(MMHP)",
      "topics": [
        "drawUniMMHPIntensity"
      ]
    },
    {
      "page": "drawUniMMPPIntensity",
      "title": "Draw the intensity of the Markov-modulated Poisson Process(MMPP)",
      "topics": [
        "drawUniMMPPIntensity"
      ]
    },
    {
      "page": "fithp",
      "title": "Determine the MLE of Hawkes process numerically",
      "topics": [
        "fithp"
      ]
    },
    {
      "page": "fithpp",
      "title": "Fit a homogeneous poisson process to event data",
      "topics": [
        "fithpp"
      ]
    },
    {
      "page": "intensityqqplot",
      "title": "Draw intensity of fitted point process and QQ-Plot of rescaled events",
      "topics": [
        "intensityqqplot",
        "intensityqqplot.default",
        "intensityqqplot.hp",
        "intensityqqplot.hpp",
        "intensityqqplot.mmhp",
        "intensityqqplot.mmpp"
      ]
    },
    {
      "page": "pp_compensator",
      "title": "Compensators for point processes",
      "topics": [
        "pp_compensator",
        "pp_compensator.default",
        "pp_compensator.hp",
        "pp_compensator.hpp",
        "pp_compensator.mmhp",
        "pp_compensator.mmpp"
      ]
    },
    {
      "page": "pp_diag",
      "title": "Summarise diagnostics for point process models",
      "topics": [
        "pp_diag",
        "pp_diag.default",
        "pp_diag.hp",
        "pp_diag.hpp",
        "pp_diag.mmhp",
        "pp_diag.mmpp"
      ]
    },
    {
      "page": "pp_hp",
      "title": "Create a Hawkes process object",
      "topics": [
        "pp_hp"
      ]
    },
    {
      "page": "pp_hpp",
      "title": "Create a homogeneous Poisson process object",
      "topics": [
        "pp_hpp"
      ]
    },
    {
      "page": "pp_ksplot",
      "title": "KS plot of empirical and theoretical cdf curve of fitted point process",
      "topics": [
        "pp_ksplot"
      ]
    },
    {
      "page": "pp_mmhp",
      "title": "Create a Markov-modulated Hawkes Process(MMHP) object",
      "topics": [
        "pp_mmhp"
      ]
    },
    {
      "page": "pp_mmpp",
      "title": "Create a Markov-modulated Poisson Process(MMPP) object",
      "topics": [
        "pp_mmpp"
      ]
    },
    {
      "page": "pp_qqexp",
      "title": "Plot QQ-plot for rescaled-inter-event-times of fitted point process",
      "topics": [
        "pp_qqexp"
      ]
    },
    {
      "page": "pp_residual",
      "title": "Compute raw and pearson residuals for point process models",
      "topics": [
        "pp_residual"
      ]
    },
    {
      "page": "pp_simulate",
      "title": "Simulate events from a temporal point process",
      "topics": [
        "pp_simulate",
        "pp_simulate.default",
        "pp_simulate.hp",
        "pp_simulate.hpp",
        "pp_simulate.mmhp",
        "pp_simulate.mmpp"
      ]
    }
  ],
  "_readme": "https://github.com/owenward/ppdiag/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "ppdiag.Rmd",
      "filename": "ppdiag.html",
      "title": "ppdiag, diagnostic tools for temporal Point Processes",
      "author": "Sally Sun, Owen G. Ward, Xiaoxi Zhao, Jing Wu, Tian Zheng.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Classes",
        "Simulating data",
        "Fitting a point process",
        "Diagnosing the fit of a point process to data",
        "Visualize the intensity function",
        "Visualize intensity and goodness of fit jointly",
        "Residual Analysis",
        "Overall summary of fit"
      ],
      "created": "2020-10-08 22:05:25",
      "modified": "2021-02-23 21:28:24",
      "commits": 15
    },
    {
      "source": "fitting_markov_modulated.Rmd",
      "filename": "fitting_markov_modulated.html",
      "title": "Fitting Markov Modulated Point Process Models",
      "author": "Owen G. Ward.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installing RStan or Cmdstanr",
        "The Stan code for MMPP/MMHP",
        "Fitting these models in RStan",
        "Fitting these models in Cmdstanr",
        "Using the Stan output with ppdiag"
      ],
      "created": "2021-02-08 19:14:56",
      "modified": "2021-02-19 19:13:17",
      "commits": 3
    }
  ],
  "_score": 5.278753600952829,
  "_indexed": true,
  "_nocasepkg": "ppdiag",
  "_universes": [
    "owenward"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:43:34.000Z",
      "distro": "noble",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "045d4c99dd41534d70a5bec3c233b61abd7871f5dad41a6a810197bb588fb1dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:44:14.000Z",
      "distro": "noble",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "c2303d836875a9351729f8ed57d03705bd7ceef489ab25c944e7b53ab5c024d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:43:25.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "d26ca76b46c8ae0a8a0ee5cdba564bd83659e05bf83c10fad1a84d8406615466",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:43:17.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "0768b9a563557fa74c6c168995913bbb41428a64d83f305232b4f0b841712506",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:43:21.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "73befa426b7c6f6ce74fb207db19dd755901de7cb4b0f3c8720ac49ab987e637",
      "status": "success",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:42:43.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "a395aa6683a44040d51c0439578158490675ca0f1cdaa9d124f8b5706c78a882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:42:51.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "c7a582444fdda5e13d1321ea4daa464c897c2835f8bcb62473705a5c15e405b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-23T07:42:37.000Z",
      "commit": "d0e3256b9cc8331e022c585d91766ef7493c2840",
      "fileid": "09370c659671c11d1c7a5cea47225706c077c8bf727bfeb834459a95b8c94b11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/owenward/actions/runs/26327156464"
    }
  ]
}