{
  "_id": "6a10506bacfb0bcc41ca1122",
  "Package": "rbbnp",
  "Type": "Package",
  "Title": "A Bias Bound Approach to Non-Parametric Inference",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Xinyu\", \"DAI\", email = \"xinyu_dai@brown.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Susanne M\", \"Schennach\", role = \"aut\"))",
  "Maintainer": "Xinyu DAI <xinyu_dai@brown.edu>",
  "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://doi.org/10.1093/restud/rdz065",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 05:34:40 UTC",
    "User": "root"
  },
  "Author": "Xinyu DAI [aut, cre], Susanne M Schennach [aut]",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://xinyu-daidai.r-universe.dev",
  "Date/Publication": "2025-04-30 19:20:01 UTC",
  "RemoteUrl": "https://github.com/xinyu-daidai/rbbnp",
  "RemoteRef": "HEAD",
  "RemoteSha": "40779dcfbae0c4d80eaed174331143884f6cb186",
  "MD5sum": "bb1ffb9f97a3e7604a929e7f4028f784",
  "_user": "xinyu-daidai",
  "_type": "src",
  "_file": "rbbnp_0.3.0.tar.gz",
  "_fileid": "fc6be93386c537fd7c4df3cb85002f2b8a6fb98abcf5c33f430e9fd32e7b1545",
  "_filesize": 443975,
  "_sha256": "fc6be93386c537fd7c4df3cb85002f2b8a6fb98abcf5c33f430e9fd32e7b1545",
  "_created": "2026-05-10T05:34:40.000Z",
  "_published": "2026-05-22T12:47:39.336Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77382364373,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6901275644"
    },
    {
      "job": 77382364292,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901275516"
    },
    {
      "job": 77382364311,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6901276542"
    },
    {
      "job": 77382364732,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901276623"
    },
    {
      "job": 77382363567,
      "time": 273,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901261239"
    },
    {
      "job": 77382363889,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160829301"
    },
    {
      "job": 77382364835,
      "time": 80,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6901270336"
    },
    {
      "job": 77382364614,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6901271108"
    },
    {
      "job": 77382364754,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901269819"
    }
  ],
  "_buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/xinyu-daidai/rbbnp",
  "_commit": {
    "id": "40779dcfbae0c4d80eaed174331143884f6cb186",
    "author": "Xinyu DAI <xinyu_dai@brown.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1746040801
  },
  "_maintainer": {
    "name": "Xinyu DAI",
    "email": "xinyu_dai@brown.edu",
    "login": "xinyu-daidai",
    "uuid": 36264545
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    }
  ],
  "_owner": "xinyu-daidai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "xinyu-daidai",
      "count": 3,
      "uuid": 36264545
    }
  ],
  "_userbio": {
    "uuid": 36264545,
    "type": "user",
    "name": "Xinyu DAI",
    "description": "Econ PhD student at Brown | Sciences Po 22'"
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rbbnp"
  },
  "_devurl": "https://github.com/xinyu-daidai/rbbnp",
  "_searchresults": 1,
  "_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": true,
  "_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"
    }
  ],
  "_exports": [
    "biasBound_condExpectation",
    "biasBound_density",
    "create_biasBound_config",
    "create_kernel_functions",
    "cv_bandwidth",
    "DATA_PATH",
    "EXT_DATA_PATH",
    "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": "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": "DATA_PATH",
      "title": "The Path to the Data Folder",
      "topics": [
        "DATA_PATH"
      ]
    },
    {
      "page": "epanechnikov_kernel",
      "title": "Epanechnikov Kernel",
      "topics": [
        "epanechnikov_kernel"
      ]
    },
    {
      "page": "epanechnikov_kernel_ft",
      "title": "Fourier Transform Epanechnikov Kernel",
      "topics": [
        "epanechnikov_kernel_ft"
      ]
    },
    {
      "page": "EXT_DATA_PATH",
      "title": "The Path to the External Data Folder for Non-R Data Files",
      "topics": [
        "EXT_DATA_PATH"
      ]
    },
    {
      "page": "fun_approx",
      "title": "Approximation Function for Intensive Calculations",
      "topics": [
        "fun_approx"
      ]
    },
    {
      "page": "gen_sample_data",
      "title": "Generate Sample Data",
      "topics": [
        "gen_sample_data"
      ]
    },
    {
      "page": "get_avg_f1x",
      "title": "Kernel point estimation",
      "topics": [
        "get_avg_f1x"
      ]
    },
    {
      "page": "get_avg_fyx",
      "title": "Kernel point estimation",
      "topics": [
        "get_avg_fyx"
      ]
    },
    {
      "page": "get_avg_phi",
      "title": "Compute Sample Average of Fourier Transform Magnitude",
      "topics": [
        "get_avg_phi"
      ]
    },
    {
      "page": "get_avg_phi_log",
      "title": "Compute log sample average of fourier transform and get mod",
      "topics": [
        "get_avg_phi_log"
      ]
    },
    {
      "page": "get_conditional_var",
      "title": "get the conditional variance of Y on X for given x",
      "topics": [
        "get_conditional_var"
      ]
    },
    {
      "page": "get_est_Ar",
      "title": "get the estimation of A and r",
      "topics": [
        "get_est_Ar"
      ]
    },
    {
      "page": "get_est_B",
      "title": "get the estimation of B",
      "topics": [
        "get_est_B"
      ]
    },
    {
      "page": "get_est_b1x",
      "title": "Estimation of bias b1x",
      "topics": [
        "get_est_b1x"
      ]
    },
    {
      "page": "get_est_byx",
      "title": "Estimation of bias byx",
      "topics": [
        "get_est_byx"
      ]
    },
    {
      "page": "get_est_vy",
      "title": "get the estimation of Vy",
      "topics": [
        "get_est_vy"
      ]
    },
    {
      "page": "get_sigma",
      "title": "Estimation of sigma",
      "topics": [
        "get_sigma"
      ]
    },
    {
      "page": "get_sigma_yx",
      "title": "Estimation of sigma_yx",
      "topics": [
        "get_sigma_yx"
      ]
    },
    {
      "page": "get_xi_interval",
      "title": "get xi interval",
      "topics": [
        "get_xi_interval"
      ]
    },
    {
      "page": "kernel_reg",
      "title": "Kernel Regression function",
      "topics": [
        "kernel_reg"
      ]
    },
    {
      "page": "normal_kernel",
      "title": "Normal Kernel Function",
      "topics": [
        "normal_kernel"
      ]
    },
    {
      "page": "normal_kernel_ft",
      "title": "Fourier Transform of Normal Kernel",
      "topics": [
        "normal_kernel_ft"
      ]
    },
    {
      "page": "plot_ft",
      "title": "Plot the Fourier Transform",
      "topics": [
        "plot_ft"
      ]
    },
    {
      "page": "rpoly01",
      "title": "Generate n samples from the distribution",
      "topics": [
        "rpoly01"
      ]
    },
    {
      "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": "sinc",
      "title": "Infinite Kernel Function",
      "topics": [
        "sinc"
      ]
    },
    {
      "page": "sinc_ft",
      "title": "Define the closed form FT of the infinite order kernel sin(x)/(pi*x)",
      "topics": [
        "sinc_ft"
      ]
    },
    {
      "page": "true_density_2fold",
      "title": "True density of 2-fold uniform distribution",
      "topics": [
        "true_density_2fold"
      ]
    },
    {
      "page": "W_kernel",
      "title": "Define the inverse Fourier transform function of W",
      "topics": [
        "W_kernel"
      ]
    },
    {
      "page": "W_kernel_ft",
      "title": "Define the Fourier transform of a infinite kernel proposed in Schennach 2004",
      "topics": [
        "W_kernel_ft"
      ]
    }
  ],
  "_readme": "https://github.com/xinyu-daidai/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",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rbbnp",
  "_universes": [
    "xinyu-daidai"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-10T05:36:42.000Z",
      "distro": "noble",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "6ba457e336fb075323539bc605306125d234935b590e6d70fb42dc69a641d4a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-10T05:36:40.000Z",
      "distro": "noble",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "5b01530966bb3d138f2a176917cf75016a33aa881bedc1beb20cad827400b553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-10T05:36:59.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "84245501f305b60dc1d2e637ddccd1c2ffbd1533c495fbe8660272f90c8c4a60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-10T05:36:55.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "e2b5385cbe3461ec3511c94bd2d598ccd57b567d2b2d53f10638ac82aa1aebd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-10T05:35:45.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "2a6f08782ca64a41fdf9f7eace974a940c7e4856c02aef12498ed4a73ee4970c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-10T05:35:53.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "9513cc442d45190f242e47d4b0848ee6a00ded79009b4ff42860c6bb6b78b1d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-10T05:35:44.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "5e981ce1c218eaa7d3b2d535a8ab5e3b5903af83f7c5185c029d5f12a65d21b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-05-22T12:47:21.000Z",
      "commit": "40779dcfbae0c4d80eaed174331143884f6cb186",
      "fileid": "659333e980ed25626022e9617376c197176d1375b4f224cfe520ea49cdf35989",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xinyu-daidai/actions/runs/25620817023"
    }
  ]
}