{
  "_id": "6ad1e794a6a61792ed76bebc",
  "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-10-16 08:00:48 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",
  "_user": "hanzifei",
  "_type": "src",
  "_file": "NPP_0.7.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/199bdc1e0ec1372d843247973049b308755da940b2f0220d05040893af3e0caa",
  "_filesize": 393757,
  "_sha256": "199bdc1e0ec1372d843247973049b308755da940b2f0220d05040893af3e0caa",
  "_expires": "2027-01-24T09:00:01.000Z",
  "_created": "2026-10-16T08:00:48.000Z",
  "_published": "2026-10-16T09:00:04.129Z",
  "_buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116874481568,
      "time": 101,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12032658140"
    },
    {
      "job": 116874481678,
      "time": 91,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12032543294"
    },
    {
      "job": 116874481785,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12035179780"
    },
    {
      "job": 116874481727,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035478832"
    },
    {
      "job": 116873628457,
      "time": 143,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12033655664"
    },
    {
      "job": 116874481706,
      "time": 76,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12032458798"
    },
    {
      "job": 116874481652,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12033422392"
    },
    {
      "job": 116874481863,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12033412520"
    },
    {
      "job": 116874481715,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12033452304"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hanzifei",
      "count": 7,
      "uuid": 10103163
    }
  ],
  "_userbio": {
    "uuid": 10103163,
    "type": "user",
    "name": "Zifei Han",
    "followers": 2
  },
  "_downloads": {
    "count": 280,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NPP"
  },
  "_mentions": 3,
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NPP.html"
  ],
  "_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-10-16T08:02:37.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/13699162c41cbb024dfa973def96229807bf74da9d4f04f7a41a23c41fcd0332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-10-16T08:02:29.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/91100c35a584f500013c40a2a2774697ccbf36e56d5cc5cfb3899f75e1390fb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-16T08:59:06.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/f2cb37aaa9236ffc25797a4440d46fd35d39a1f23369fb482241c7231383211d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-16T08:57:55.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/f960eb9ff23a12fd9a34b8ee0f3a805398d85f92281351974ba8b6dc98b451b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-10-16T08:02:29.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/06e652927a1be3b3a0b5dfce7dc8474a363f8158c8d41533501b40d9387d9538",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-16T08:01:55.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/0d12d3a4e2732d23a936dcdbb2df890dcb6a4875e5ff35d4c418e3a8177b3f6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-16T08:02:08.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/53b8d5c1430753538d84b527950c916a15b510ef5ea8817e974af85ebf9329ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-16T08:02:15.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/eaac116d825a4988ea3e82808814b5fae070a76fd140aee1fda3448df6d6632a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/38870601942"
    }
  ]
}