{
  "_id": "6a33dd143efcd9bda43b78f0",
  "Package": "NPP",
  "Type": "Package",
  "Title": "Normalized Power Prior Bayesian Analysis",
  "Version": "0.7.0",
  "Authors@R": "c(person(given = \"Zifei\",\nfamily = \"Han\",\nrole = c(\"aut\", \"cre\"),\nemail = \"hanzifei1@gmail.com\"),\nperson(given = \"Qiang\",\nfamily = \"Zhang\",\nrole = \"aut\"),\nperson(given = \"Tianyu\",\nfamily = \"Bai\",\nrole = \"aut\"),\nperson(given = \"Yuyan\",\nfamily = \"Duan\",\nrole = \"aut\"),\nperson(given = \"Keying\",\nfamily = \"Ye\",\nrole = \"aut\"))",
  "Maintainer": "Zifei Han <hanzifei1@gmail.com>",
  "Description": "Posterior sampling in several commonly used distributions\nusing normalized power prior as described in Duan, Ye and Smith\n(2006) <doi:10.1002/env.752> and Ibrahim et.al. (2015)\n<doi:10.1002/sim.6728>. Sampling of the power parameter is\nachieved via either independence Metropolis-Hastings or random\nwalk Metropolis-Hastings based on transformation.",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 11:32:57 UTC",
    "User": "root"
  },
  "Author": "Zifei Han [aut, cre], Qiang Zhang [aut], Tianyu Bai [aut],\nYuyan Duan [aut], Keying Ye [aut]",
  "Repository": "https://hanzifei.r-universe.dev",
  "Date/Publication": "2025-08-20 22:34:50 UTC",
  "RemoteUrl": "https://github.com/cran/NPP",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b48aa60ec480324ee81c3870771fb7c7febf996",
  "MD5sum": "2340ef93d20d73111968cf0ce588dbdd",
  "_user": "hanzifei",
  "_type": "src",
  "_file": "NPP_0.7.0.tar.gz",
  "_fileid": "4ce0ef7ffbf6ac44817e3e6ed98d1ba6cd1e3b46fa8c173096045040e492e9e4",
  "_filesize": 395341,
  "_sha256": "4ce0ef7ffbf6ac44817e3e6ed98d1ba6cd1e3b46fa8c173096045040e492e9e4",
  "_created": "2026-06-18T11:32:57.000Z",
  "_published": "2026-06-18T11:57:08.507Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82120461670,
      "time": 1144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7722569940"
    },
    {
      "job": 82120461675,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7722214593"
    },
    {
      "job": 82120461659,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7722220536"
    },
    {
      "job": 82120461661,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7722220713"
    },
    {
      "job": 82113753436,
      "time": 2366,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7722174834"
    },
    {
      "job": 82120461636,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7722205295"
    },
    {
      "job": 82120461724,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7722203975"
    },
    {
      "job": 82120461684,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7722199521"
    },
    {
      "job": 82120461669,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7722211813"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/NPP",
  "_commit": {
    "id": "9b48aa60ec480324ee81c3870771fb7c7febf996",
    "author": "Zifei Han <hanzifei1@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.7.0\n",
    "time": 1755729290
  },
  "_maintainer": {
    "name": "Zifei Han",
    "email": "hanzifei1@gmail.com",
    "login": "hanzifei",
    "description": "",
    "uuid": 10103163
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "KernSmooth",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.7.0",
      "date": "2025-08-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hanzifei",
      "count": 7,
      "uuid": 10103163
    }
  ],
  "_userbio": {
    "uuid": 10103163,
    "type": "user",
    "name": "Zifei Han",
    "followers": 2
  },
  "_downloads": {
    "count": 232,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NPP"
  },
  "_mentions": 3,
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NPP.html",
    "manual.pdf"
  ],
  "_realowner": "hanzifei",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-07-11"
    },
    {
      "version": "0.2.0",
      "date": "2019-08-21"
    },
    {
      "version": "0.3.0",
      "date": "2021-01-14"
    },
    {
      "version": "0.4.0",
      "date": "2021-04-23"
    },
    {
      "version": "0.5.0",
      "date": "2023-09-18"
    },
    {
      "version": "0.6.0",
      "date": "2023-12-12"
    },
    {
      "version": "0.7.0",
      "date": "2025-08-20"
    }
  ],
  "_exports": [
    "BerMNPP_MCMC1",
    "BerMNPP_MCMC2",
    "BerNPP_MCMC",
    "BerOMNPP_MCMC1",
    "BerOMNPP_MCMC2",
    "IRTNPP",
    "LaplacelogC",
    "LMMNPP_MCMC1",
    "LMMNPP_MCMC2",
    "LMNPP_MCMC",
    "LMOMNPP_MCMC1",
    "LMOMNPP_MCMC2",
    "logCdelta",
    "logCknot",
    "loglikBerD0",
    "loglikNormD0",
    "ModeDeltaBerNPP",
    "ModeDeltaLMNPP",
    "ModeDeltaMultinomialNPP",
    "ModeDeltaNormalNPP",
    "ModeDeltaPoisNPP",
    "MultinomialNPP_MCMC",
    "NormalNPP_MCMC",
    "PoiMNPP_MCMC1",
    "PoiMNPP_MCMC2",
    "PoiOMNPP_MCMC1",
    "PoiOMNPP_MCMC2",
    "PoissonNPP_MCMC"
  ],
  "_datasets": [
    {
      "name": "PHData",
      "title": "PH Data on four sites in Virginia",
      "object": "PHData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Station",
        "Data.Time",
        "PH"
      ],
      "rows": 325,
      "table": true,
      "tojson": true
    },
    {
      "name": "SPDData",
      "title": "Dataset for Diagnostic Test (PartoSure Test, Medical Device) Evaluation for Spontaneous Preterm Delivery",
      "object": "SPDData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Data.Region",
        "TPDP",
        "TPDN",
        "TNDP",
        "TNDN"
      ],
      "rows": 2,
      "table": true,
      "tojson": true
    },
    {
      "name": "VaccineData",
      "title": "Dataset of a Vaccine Trial for RotaTeq and Multiple Historical Trials for Control Group",
      "object": "VaccineData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Data.Time",
        "StudyID",
        "Group",
        "Start.Year",
        "End.Year",
        "N",
        "y"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BerMNPP_MCMC1",
      "title": "MCMC Sampling for Bernoulli Population with Multiple Historical Data using Normalized Power Prior",
      "topics": [
        "BerMNPP_MCMC1"
      ]
    },
    {
      "page": "BerMNPP_MCMC2",
      "title": "MCMC Sampling for Bernoulli Population of multiple historical data using Normalized Power Prior",
      "topics": [
        "BerMNPP_MCMC2"
      ]
    },
    {
      "page": "BerNPP",
      "title": "MCMC Sampling for Bernoulli Population using Normalized Power Prior",
      "topics": [
        "BerNPP_MCMC"
      ]
    },
    {
      "page": "BerOMNPP_MCMC1",
      "title": "MCMC Sampling for Bernoulli Population of multiple ordered historical data using Normalized Power Prior",
      "topics": [
        "BerOMNPP_MCMC1"
      ]
    },
    {
      "page": "BerOMNPP_MCMC2",
      "title": "MCMC Sampling for Bernoulli Population of multiple ordered historical data using Normalized Power Prior",
      "topics": [
        "BerOMNPP_MCMC2"
      ]
    },
    {
      "page": "IRTNPP",
      "title": "MCMC Sampling for IRT Model Ability Parameters using Normalized Power Prior",
      "topics": [
        "IRTNPP"
      ]
    },
    {
      "page": "LaplacelogC",
      "title": "A Function to Calculate logC(delta) Based on Laplace Approximation",
      "topics": [
        "LaplacelogC"
      ]
    },
    {
      "page": "LMMNPP_MCMC1",
      "title": "MCMC Sampling for Linear Regression Model of multiple historical data using Normalized Power Prior",
      "topics": [
        "LMMNPP_MCMC1"
      ]
    },
    {
      "page": "LMMNPP_MCMC2",
      "title": "MCMC Sampling for Linear Regression Model of multiple historical data using Normalized Power Prior",
      "topics": [
        "LMMNPP_MCMC2"
      ]
    },
    {
      "page": "LMNPP",
      "title": "MCMC Sampling for Normal Linear Model using Normalized Power Prior",
      "topics": [
        "LMNPP_MCMC"
      ]
    },
    {
      "page": "LMOMNPP_MCMC1",
      "title": "MCMC Sampling for Linear Regression Model of multiple historical data using Ordered Normalized Power Prior",
      "topics": [
        "LMOMNPP_MCMC1"
      ]
    },
    {
      "page": "LMOMNPP_MCMC2",
      "title": "MCMC Sampling for Linear Regression Model of multiple historical data using Ordered Normalized Power Prior",
      "topics": [
        "LMOMNPP_MCMC2"
      ]
    },
    {
      "page": "logCdelta",
      "title": "A Function to Interpolate logC(delta) Based on Its Values on Selected Knots",
      "topics": [
        "logCdelta"
      ]
    },
    {
      "page": "logCknot",
      "title": "A Function to Calculate logC(delta) on Selected Knots",
      "topics": [
        "logCknot"
      ]
    },
    {
      "page": "loglikBerD0",
      "title": "A Function to Calculate Log-likelihood of the Historical Data, Given Matrix-valued Parameters, for Bernoulli Population",
      "topics": [
        "loglikBerD0"
      ]
    },
    {
      "page": "loglikNormD0",
      "title": "A Function to Calculate Log-likelihood of the Historical Data, Given Array-valued Parameters, for Normal Population",
      "topics": [
        "loglikNormD0"
      ]
    },
    {
      "page": "ModeDeltaBerNPP",
      "title": "Calculate Posterior Mode of the Power Parameter in Normalized Power Prior with Grid Search, Bernoulli Population",
      "topics": [
        "ModeDeltaBerNPP"
      ]
    },
    {
      "page": "ModeDeltaLMNPP",
      "title": "Calculate Posterior Mode of the Power Parameter in Normalized Power Prior with Grid Search, Normal Linear Model",
      "topics": [
        "ModeDeltaLMNPP"
      ]
    },
    {
      "page": "ModeDeltaMultinomialNPP",
      "title": "Calculate Posterior Mode of the Power Parameter in Normalized Power Prior with Grid Search, Multinomial Population",
      "topics": [
        "ModeDeltaMultinomialNPP"
      ]
    },
    {
      "page": "ModeDeltaNormalNPP",
      "title": "Calculate Posterior Mode of the Power Parameter in Normalized Power Prior with Grid Search, Normal Population",
      "topics": [
        "ModeDeltaNormalNPP"
      ]
    },
    {
      "page": "ModeDeltaPoisNPP",
      "title": "Calculate Posterior Mode of the Power Parameter in Normalized Power Prior with Grid Search, Poisson Population",
      "topics": [
        "ModeDeltaPoisNPP"
      ]
    },
    {
      "page": "MultinomialNPP",
      "title": "MCMC Sampling for Multinomial Population using Normalized Power Prior",
      "topics": [
        "MultinomialNPP_MCMC"
      ]
    },
    {
      "page": "NormalNPP",
      "title": "MCMC Sampling for Normal Population using Normalized Power Prior",
      "topics": [
        "NormalNPP_MCMC"
      ]
    },
    {
      "page": "PHData",
      "title": "PH Data on four sites in Virginia",
      "topics": [
        "PHData"
      ]
    },
    {
      "page": "PoiMNPP_MCMC1",
      "title": "MCMC Sampling for Poisson Population using Normalized Power Prior with Multiple Historical Data",
      "topics": [
        "PoiMNPP_MCMC1"
      ]
    },
    {
      "page": "PoiMNPP_MCMC2",
      "title": "MCMC Sampling for Poisson Population of multiple historical data using Normalized Power Prior",
      "topics": [
        "PoiMNPP_MCMC2"
      ]
    },
    {
      "page": "PoiOMNPP_MCMC1",
      "title": "MCMC Sampling for Poisson Population of multiple ordered historical data using Normalized Power Prior",
      "topics": [
        "PoiOMNPP_MCMC1"
      ]
    },
    {
      "page": "PoiOMNPP_MCMC2",
      "title": "MCMC Sampling for Poisson Population of multiple ordered historical data using Normalized Power Prior",
      "topics": [
        "PoiOMNPP_MCMC2"
      ]
    },
    {
      "page": "PoissonNPP",
      "title": "MCMC Sampling for Bernoulli Population using Normalized Power Prior",
      "topics": [
        "PoissonNPP_MCMC"
      ]
    },
    {
      "page": "SPDData",
      "title": "Dataset for Diagnostic Test (PartoSure Test, Medical Device) Evaluation for Spontaneous Preterm Delivery",
      "topics": [
        "SPDData"
      ]
    },
    {
      "page": "VaccineData",
      "title": "Dataset of a Vaccine Trial for RotaTeq and Multiple Historical Trials for Control Group",
      "topics": [
        "VaccineData"
      ]
    }
  ],
  "_rundeps": [
    "KernSmooth",
    "MASS",
    "mvtnorm"
  ],
  "_score": 1.4771212547196624,
  "_indexed": true,
  "_nocasepkg": "npp",
  "_universes": [
    "hanzifei"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-18T11:53:42.000Z",
      "distro": "noble",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "2bacf99807af83fbe47a820e6dde1f018da9ed5c03b0815b0cab3c14515ae996",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-06-18T11:39:12.000Z",
      "distro": "noble",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "d8885211ddb65baef952bb010c1629a5bfacd56d70789b2ce4d7beb3ecd42434",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-06-18T11:39:37.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "901990e995ee5bcbe390b7665c198f28d43a58fc826f0119ffa6fdb7f7cf93fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-06-18T11:39:36.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "071e1989bed7739664512661cc51322e27ed53dc38c6e364e9d16e051ad7308a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-06-18T11:39:06.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "24a96fa1497ce0aac2c25596ae103c9ebd5a44d1c05b5b451b2fb53fcc054849",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-18T11:38:35.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "54d573de4e02e068925796e36ef4e61b397cfcaecab493fe9bfa6ac7e3845ae9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-18T11:38:21.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "5ba5d4e1ec40521efdcb9a9c721bef18945bcc2f1f37fccc394cbd7fdb99066e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-06-18T11:38:57.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "ba35f0a5bad78a32b09562966da413249a2690295f831083c0c4402fb2d0eb69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/27754743774"
    }
  ]
}