{
  "_id": "6a5b3cb69baadeef8ab4d04a",
  "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-07-18 08:39:11 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/6618643a6fafd215ce6b8f4586e65060e86f8afe749027c3b5dd262223e61169",
  "_filesize": 393253,
  "_sha256": "6618643a6fafd215ce6b8f4586e65060e86f8afe749027c3b5dd262223e61169",
  "_expires": "2026-10-26T08:43:32.000Z",
  "_created": "2026-07-18T08:39:11.000Z",
  "_published": "2026-07-18T08:43:34.497Z",
  "_jobs": [
    {
      "job": 88063150105,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8427674947"
    },
    {
      "job": 88063150127,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8427672774"
    },
    {
      "job": 88063150119,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8427682602"
    },
    {
      "job": 88063150126,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8427686998"
    },
    {
      "job": 88062886551,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8427654463"
    },
    {
      "job": 88063150111,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8427669028"
    },
    {
      "job": 88063150130,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8427670762"
    },
    {
      "job": 88063150132,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8427668433"
    },
    {
      "job": 88063150134,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8427666815"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480",
  "_status": "success",
  "_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": [
    {
      "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": 258,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NPP"
  },
  "_mentions": 3,
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_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-07-18T08:41:14.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/b0360cc63da9babb68d42ed0ed872f798ecf502ec3dd3a41ab0daa2b29d9115a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-07-18T08:41:06.000Z",
      "distro": "resolute",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/063b503a7ee485e70195622674ded507a47ed2dbc81408c78dade98e5a19d233",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-18T08:42:15.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/ab53e40acbd26ef905ac253a28a43042923ca29e2d53469c018e73b884436176",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-18T08:42:41.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/82e6937db118fd5f8771d48799cb1bebcd24f489a6f6e16f51b6bb3f8f336709",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.0",
      "date": "2026-07-18T08:41:00.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/4f4dcb59d171021b336e78edf4a96ee30816320a722117c205b761dcf27c2f9e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-18T08:40:36.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/372815b9856e9b376ff0f5984952b0715f85f52b018b888759f16d2231d408d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-18T08:40:31.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/26dca2b9d9eeddd358e1a48971cc2c328fbc7e34120d239e84a05142a90b4f4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-18T08:40:15.000Z",
      "commit": "9b48aa60ec480324ee81c3870771fb7c7febf996",
      "fileid": "https://r2.ropensci.org/46e4ee5512a1dfe3696809b9c3fd6742477e71ac95a6bd630ef50e8950a71389",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanzifei/actions/runs/29637721480"
    }
  ]
}