{
  "_id": "6afb33618c54a69a6a55c5ee",
  "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-11-16 16:41:51 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/fe52f79175afef380350c2ac34a171d279870a849acfae3d40e4e0b09ff3b5e3",
  "_filesize": 393756,
  "_sha256": "fe52f79175afef380350c2ac34a171d279870a849acfae3d40e4e0b09ff3b5e3",
  "_expires": "2027-02-24T16:46:22.000Z",
  "_created": "2026-11-16T16:41:51.000Z",
  "_published": "2026-11-16T16:46:25.123Z",
  "_upstream": "https://github.com/cran/NPP",
  "_status": "success",
  "_maintainer": {
    "name": "Zifei Han",
    "email": "hanzifei1@gmail.com",
    "login": "hanzifei",
    "description": "",
    "uuid": 10103163
  },
  "_jobs": [
    {
      "job": 133450441747,
      "time": 100,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14247756032"
    },
    {
      "job": 133450441928,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14246683812"
    },
    {
      "job": 133450442098,
      "time": 206,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14246778956"
    },
    {
      "job": 133450442232,
      "time": 185,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14248215957"
    },
    {
      "job": 133448837564,
      "time": 147,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14247635817"
    },
    {
      "job": 133450442518,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14247496719"
    },
    {
      "job": 133450442147,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14247316871"
    },
    {
      "job": 133450442998,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14246638761"
    },
    {
      "job": 133450441918,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14247196943"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 367,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NPP"
  },
  "_mentions": 3,
  "_rbuild": "4.6.2",
  "_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-11-16T16:43:34.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/15e470ab403fa6d7b8db7fa423c3762cbd3afb177a0670a7748fd8c517304114",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-11-16T16:43:31.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/e458483be6996493e458a75f936722df749382e80812bbbaeec29433359c265a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-11-16T16:44:59.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/2ab04af50a970779981f5a426eaa2a6ecb15f0c81b7a138455eda4b6e5f1d005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-11-16T16:44:03.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/55cb993d4ee26553105c637c054f9efc1b8e7554630bd4f83bcc83fc19dba96f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-11-16T16:43:41.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/18625eee16ad55c2106405354ee0d87677cd866e605acbca85849e88363b5831",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-11-16T16:43:03.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/b4d6b72f82caae7b76290cd9f29ed471c2cc9851a21d13de269d268c9c72fd52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-11-16T16:42:53.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/1ac18716d674b284d7c12f33c7f1d61cca93e89f0e554a97b44376b879fbf88a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-11-16T16:43:05.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/c182c7cb823bb9d73111b9b5e344799e74122abe5a540768e46e022bad401029",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/43909894560"
    }
  ]
}