{
  "_id": "6a27f7cb24555f66ed54e240",
  "Package": "rbbnp",
  "Type": "Package",
  "Title": "A Bias Bound Approach to Non-Parametric Inference",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(\"Xinyu\", \"DAI\", email = \"xinyu_dai@brown.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Susanne M\", \"Schennach\", role = \"aut\"))",
  "Description": "A novel bias-bound approach for non-parametric inference\nis introduced, focusing on both density and conditional\nexpectation estimation. It constructs valid confidence\nintervals that account for the presence of a non-negligible\nbias and thus make it possible to perform inference with\noptimal mean squared error minimizing bandwidths. This package\nis based on Schennach (2020) <doi:10.1093/restud/rdz065>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://xinyudai.net/rbbnp-dev/",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 11:20:35 UTC",
    "User": "root"
  },
  "Author": "Xinyu DAI [aut, cre], Susanne M Schennach [aut]",
  "Maintainer": "Xinyu DAI <xinyu_dai@brown.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-09 04:40:36 UTC",
  "RemoteUrl": "https://github.com/cran/rbbnp",
  "RemoteRef": "HEAD",
  "RemoteSha": "9e4958802345bb7421eeca31a09e2183c27acb5f",
  "MD5sum": "ad023a7debf381eeba1ecd35fb748915",
  "_user": "cran",
  "_type": "src",
  "_file": "rbbnp_1.1.0.tar.gz",
  "_fileid": "79862143a46f63aa5a47e05ce6741ecb7825e853658ff7110b0baee5def24570",
  "_filesize": 2330268,
  "_sha256": "79862143a46f63aa5a47e05ce6741ecb7825e853658ff7110b0baee5def24570",
  "_created": "2026-06-09T11:20:35.000Z",
  "_published": "2026-06-09T11:23:55.819Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80310366011,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7506164947"
    },
    {
      "job": 80310366039,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7506168490"
    },
    {
      "job": 80309359304,
      "time": 343,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7506115185"
    },
    {
      "job": 80310365962,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7506159278"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27201928860",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rbbnp",
  "_commit": {
    "id": "9e4958802345bb7421eeca31a09e2183c27acb5f",
    "author": "Xinyu DAI <xinyu_dai@brown.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1780980036
  },
  "_maintainer": {
    "name": "Xinyu DAI",
    "email": "xinyu_dai@brown.edu",
    "login": "xinyu-daidai",
    "description": "Econ PhD student at Brown | Sciences Po 22'",
    "uuid": 36264545
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rglpk",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-06-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "xinyu-daidai",
      "count": 4,
      "uuid": 36264545
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 124,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rbbnp"
  },
  "_pkgdown": "https://xinyudai.net/rbbnp-dev/",
  "_searchresults": 9,
  "_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/rbbnp.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/xinyu-daidai/rbbnp",
  "_realowner": "xinyu-daidai",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-02-01"
    },
    {
      "version": "0.2.0",
      "date": "2025-03-26"
    },
    {
      "version": "0.3.0",
      "date": "2025-04-30"
    },
    {
      "version": "1.1.0",
      "date": "2026-06-09"
    }
  ],
  "_exports": [
    "biasBound_condExpectation",
    "biasBound_density",
    "create_biasBound_config",
    "create_kernel_functions",
    "cv_bandwidth",
    "gen_sample_data",
    "plot_ft",
    "select_bandwidth",
    "silverman_bandwidth"
  ],
  "_datasets": [
    {
      "name": "sample_data",
      "title": "Sample Data",
      "object": "sample_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "biasBound_condExpectation",
      "title": "Bias bound approach for conditional expectation estimation",
      "topics": [
        "biasBound_condExpectation"
      ]
    },
    {
      "page": "biasBound_density",
      "title": "Bias bound approach for density estimation",
      "topics": [
        "biasBound_density"
      ]
    },
    {
      "page": "coef.bbnp_density",
      "title": "Extract Coefficients from bbnp_density Object",
      "topics": [
        "coef.bbnp_density"
      ]
    },
    {
      "page": "coef.bbnp_regression",
      "title": "Extract Coefficients from bbnp_regression Object",
      "topics": [
        "coef.bbnp_regression"
      ]
    },
    {
      "page": "confint.bbnp_density",
      "title": "Extract Confidence Intervals from bbnp_density Object",
      "topics": [
        "confint.bbnp_density"
      ]
    },
    {
      "page": "confint.bbnp_regression",
      "title": "Extract Confidence Intervals from bbnp_regression Object",
      "topics": [
        "confint.bbnp_regression"
      ]
    },
    {
      "page": "create_biasBound_config",
      "title": "Create a configuration object for bias bound estimations",
      "topics": [
        "create_biasBound_config"
      ]
    },
    {
      "page": "create_kernel_functions",
      "title": "Create kernel functions based on configuration",
      "topics": [
        "create_kernel_functions"
      ]
    },
    {
      "page": "cv_bandwidth",
      "title": "Cross-Validation for Bandwidth Selection",
      "topics": [
        "cv_bandwidth"
      ]
    },
    {
      "page": "fitted.bbnp_regression",
      "title": "Extract Fitted Values from bbnp_regression Object",
      "topics": [
        "fitted.bbnp_regression"
      ]
    },
    {
      "page": "gen_sample_data",
      "title": "Generate Sample Data",
      "topics": [
        "gen_sample_data"
      ]
    },
    {
      "page": "plot.bbnp_density",
      "title": "Plot Method for bbnp_density Objects",
      "topics": [
        "plot.bbnp_density"
      ]
    },
    {
      "page": "plot.bbnp_regression",
      "title": "Plot Method for bbnp_regression Objects",
      "topics": [
        "plot.bbnp_regression"
      ]
    },
    {
      "page": "print.bbnp_density",
      "title": "Print Method for bbnp_density Objects",
      "topics": [
        "print.bbnp_density"
      ]
    },
    {
      "page": "print.bbnp_regression",
      "title": "Print Method for bbnp_regression Objects",
      "topics": [
        "print.bbnp_regression"
      ]
    },
    {
      "page": "sample_data",
      "title": "Sample Data",
      "topics": [
        "sample_data"
      ]
    },
    {
      "page": "select_bandwidth",
      "title": "Select Optimal Bandwidth",
      "topics": [
        "select_bandwidth"
      ]
    },
    {
      "page": "silverman_bandwidth",
      "title": "Silverman's Rule of Thumb for Bandwidth Selection",
      "topics": [
        "silverman_bandwidth"
      ]
    },
    {
      "page": "summary.bbnp_density",
      "title": "Summary Method for bbnp_density Objects",
      "topics": [
        "summary.bbnp_density"
      ]
    },
    {
      "page": "summary.bbnp_regression",
      "title": "Summary Method for bbnp_regression Objects",
      "topics": [
        "summary.bbnp_regression"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/rbbnp/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/rbbnp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rglpk",
    "rlang",
    "S7",
    "scales",
    "slam",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "density-estimation.Rmd",
      "filename": "density-estimation.html",
      "title": "Density Estimation with rbbnp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The biasBound_density() Function",
        "Basic Example",
        "Understanding the Output",
        "Visualizing Results",
        "Density Plot",
        "Fourier Transform Analysis",
        "Bandwidth Selection",
        "Cross-Validation",
        "Silverman's Rule of Thumb",
        "Direct Bandwidth Selection",
        "Kernel Functions",
        "Available Kernels",
        "Comparing Kernels",
        "Custom Frequency Range",
        "Extracting Results",
        "Comparison with Undersmoothing",
        "See Also"
      ],
      "created": "2026-06-09 04:40:36",
      "modified": "2026-06-09 04:40:36",
      "commits": 1
    },
    {
      "source": "rbbnp.Rmd",
      "filename": "rbbnp.html",
      "title": "Get Started with rbbnp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The Problem",
        "The Solution",
        "Installation",
        "Quick Start",
        "Density Estimation",
        "Conditional Expectation (Regression)",
        "Working with Results",
        "Next Steps",
        "References"
      ],
      "created": "2026-06-09 04:40:36",
      "modified": "2026-06-09 04:40:36",
      "commits": 1
    },
    {
      "source": "regression.Rmd",
      "filename": "regression.html",
      "title": "Regression with rbbnp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The biasBound_condExpectation() Function",
        "Basic Example",
        "Understanding the Output",
        "Visualizing Results",
        "Adding True Function",
        "Extracting Fitted Values",
        "Confidence Intervals",
        "Bandwidth Selection",
        "Cross-Validation",
        "Silverman's Rule",
        "Real Data Example",
        "Comparing Kernel Functions",
        "Heteroscedastic Data",
        "Polynomial Regression Example",
        "S3 Methods Summary",
        "See Also"
      ],
      "created": "2026-06-09 04:40:36",
      "modified": "2026-06-09 04:40:36",
      "commits": 1
    },
    {
      "source": "theory.Rmd",
      "filename": "theory.html",
      "title": "Theoretical Background",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Bias-Variance Tradeoff",
        "The Challenge",
        "The Solution",
        "Mathematical Framework",
        "Kernel Density Estimation",
        "Decomposing the Error",
        "Fourier Representation",
        "Key Insight",
        "Smoothness Detection",
        "Constructing Bias Bounds",
        "The Bias Bound Formula",
        "Interpretation",
        "Confidence Interval Construction",
        "Standard CI (Ignoring Bias)",
        "Bias-Bound CI",
        "Visualization",
        "Kernel Functions",
        "Infinite-Order Kernels",
        "Available Kernels",
        "Extension to Regression",
        "Conditional Expectation",
        "Implementation",
        "Bandwidth Selection",
        "Cross-Validation",
        "Optimal vs. Undersmoothing",
        "Summary",
        "References",
        "See Also"
      ],
      "created": "2026-06-09 04:40:36",
      "modified": "2026-06-09 04:40:36",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "rbbnp",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://xinyu-daidai.r-universe.dev/rbbnp",
  "_previous": "0.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-09T11:22:49.000Z",
      "distro": "noble",
      "commit": "9e4958802345bb7421eeca31a09e2183c27acb5f",
      "fileid": "6e6f3d7a2cc9d2f7335c39661f5e83c4abe43e491d28df3eaed1976ac053a932",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27201928860"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-09T11:22:54.000Z",
      "distro": "noble",
      "commit": "9e4958802345bb7421eeca31a09e2183c27acb5f",
      "fileid": "991d360ba573c58bdd4b831666305a95f7d1e0c366775d86c252e12d087296e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27201928860"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-09T11:23:02.000Z",
      "commit": "9e4958802345bb7421eeca31a09e2183c27acb5f",
      "fileid": "e5560feaededa5a820479541eb704cb96a6669666859a6c79410e576c5b1deeb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27201928860"
    }
  ]
}