{
  "_id": "6afecb625d9675f71838b55a",
  "Package": "BayesSampling",
  "Type": "Package",
  "Title": "Bayes Linear Estimators for Finite Population",
  "Version": "1.1.0",
  "Date": "2021-04-24",
  "Authors@R": "c(person(\"Pedro\", \"Soares Figueiredo\", \nrole = c(\"aut\", \"cre\"),\nemail = \"pedrosfig@hotmail.com\",\ncomment = c(ORCID = \"0000-0003-2279-2881\")),\nperson(\"Kelly C.\", \"M. Gonçalves\",\nrole = c(\"aut\", \"ths\"),\nemail = \"kelly@dme.ufrj.br\",\ncomment = c(ORCID = \"0000-0002-4524-547X\")))",
  "Maintainer": "Pedro Soares Figueiredo <pedrosfig@hotmail.com>",
  "Description": "Allows the user to apply the Bayes Linear approach to\nfinite population with the Simple Random Sampling - BLE_SRS() -\nand the Stratified Simple Random Sampling design - BLE_SSRS() -\n(both without replacement), to the Ratio estimator (using\nauxiliary information) - BLE_Ratio() - and to categorical data\n- BLE_Categorical(). The Bayes linear estimation approach is\napplied to a general linear regression model for finite\npopulation prediction in BLE_Reg() and it is also possible to\nachieve the design based estimators using vague prior\ndistributions. Based on Gonçalves, K.C.M, Moura, F.A.S and\nMigon, H.S.(2014)\n<https://www150.statcan.gc.ca/n1/en/catalogue/12-001-X201400111886>.",
  "URL": "https://www150.statcan.gc.ca/n1/en/catalogue/12-001-X201400111886,\nhttps://github.com/pedrosfig/BayesSampling",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Repository": "https://pedrosfig.r-universe.dev",
  "Date/Publication": "2021-05-01 18:20:39 UTC",
  "RemoteUrl": "https://github.com/pedrosfig/bayessampling",
  "RemoteRef": "HEAD",
  "RemoteSha": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-19 09:50:19 UTC",
    "User": "root"
  },
  "Author": "Pedro Soares Figueiredo [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2279-2881>),\nKelly C. M. Gonçalves [aut, ths] (ORCID:\n<https://orcid.org/0000-0002-4524-547X>)",
  "_user": "pedrosfig",
  "_type": "src",
  "_file": "BayesSampling_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f30b2693dc2217bb7753d5b4b92a42230d58e247896425b06feecb82a1341949",
  "_filesize": 769184,
  "_sha256": "f30b2693dc2217bb7753d5b4b92a42230d58e247896425b06feecb82a1341949",
  "_expires": "2027-02-27T10:11:44.000Z",
  "_created": "2026-11-19T09:50:19.000Z",
  "_published": "2026-11-20T02:55:07.822Z",
  "_upstream": "https://github.com/pedrosfig/bayessampling",
  "_status": "success",
  "_maintainer": {
    "name": "Pedro Soares Figueiredo",
    "email": "pedrosfig@hotmail.com",
    "login": "pedrosfig",
    "description": "",
    "uuid": 47543928,
    "orcid": "0000-0003-2279-2881"
  },
  "_jobs": [
    {
      "job": 135477387081,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14517590525"
    },
    {
      "job": 135477387045,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14516653452"
    },
    {
      "job": 135477387048,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14517806416"
    },
    {
      "job": 135477387148,
      "time": 201,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14517599537"
    },
    {
      "job": 135475765432,
      "time": 183,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14517211020"
    },
    {
      "job": 135477386950,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14517406203"
    },
    {
      "job": 135477387137,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14515754781"
    },
    {
      "job": 135477387017,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14516803041"
    },
    {
      "job": 135477387249,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14516563607"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230",
  "_commit": {
    "id": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
    "author": "Pedro Soares <pedrosfig@hotmail.com>",
    "committer": "Pedro Soares <pedrosfig@hotmail.com>",
    "message": "vignette - Categorical data\n",
    "time": 1619893239
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "matrixcalc",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "TeachingSampling",
      "role": "Suggests"
    }
  ],
  "_owner": "pedrosfig",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian",
    "estimator",
    "sampling"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "pedrosfig",
      "count": 64,
      "uuid": 47543928
    }
  ],
  "_userbio": {
    "uuid": 47543928,
    "type": "user",
    "name": "Pedro Soares",
    "followers": 2
  },
  "_downloads": {
    "count": 508,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesSampling"
  },
  "_devurl": "https://github.com/pedrosfig/bayessampling",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/BayesSampling.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/pedrosfig/bayessampling",
  "_realowner": "pedrosfig",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-04-24"
    },
    {
      "version": "1.1.0",
      "date": "2021-05-01"
    }
  ],
  "_exports": [
    "BLE_Categorical",
    "BLE_Ratio",
    "BLE_Reg",
    "BLE_SRS",
    "BLE_SSRS"
  ],
  "_datasets": [
    {
      "name": "BigCity",
      "title": "Full Person-level Population Database",
      "object": "BigCity",
      "class": [
        "data.frame"
      ],
      "fields": [
        "HHID",
        "PersonID",
        "Stratum",
        "PSU",
        "Zone",
        "Sex",
        "Age",
        "MaritalST",
        "Income",
        "Expenditure",
        "Employment",
        "Poverty"
      ],
      "rows": 150266,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BigCity",
      "title": "Full Person-level Population Database",
      "topics": [
        "BigCity"
      ]
    },
    {
      "page": "BLE_Categorical",
      "title": "Bayes Linear Method for Categorical Data",
      "topics": [
        "BLE_Categorical"
      ]
    },
    {
      "page": "BLE_Ratio",
      "title": "Ratio BLE",
      "topics": [
        "BLE_Ratio"
      ]
    },
    {
      "page": "BLE_Reg",
      "title": "General BLE case",
      "topics": [
        "BLE_Reg"
      ]
    },
    {
      "page": "BLE_SRS",
      "title": "Simple Random Sample BLE",
      "topics": [
        "BLE_SRS"
      ]
    },
    {
      "page": "BLE_SSRS",
      "title": "Stratified Simple Random Sample BLE",
      "topics": [
        "BLE_SSRS"
      ]
    },
    {
      "page": "C",
      "title": "calculates the C factor",
      "topics": [
        "C"
      ]
    },
    {
      "page": "create1",
      "title": "creates vector of 1's to be used in the estimators",
      "topics": [
        "create1"
      ]
    },
    {
      "page": "E_beta",
      "title": "calculates the BLE for Beta",
      "topics": [
        "E_beta"
      ]
    },
    {
      "page": "E_theta_Reg",
      "title": "calculates the BLE for the individuals not in the sample",
      "topics": [
        "E_theta_Reg"
      ]
    },
    {
      "page": "T_Reg",
      "title": "calculates BLE for the total T",
      "topics": [
        "T_Reg"
      ]
    },
    {
      "page": "V_beta",
      "title": "calculates the risk matrix associated with the BLE for Beta",
      "topics": [
        "V_beta"
      ]
    },
    {
      "page": "V_theta_Reg",
      "title": "calculates the risk matrix associated with the BLE for the individuals not in the sample",
      "topics": [
        "V_theta_Reg"
      ]
    },
    {
      "page": "VT_Reg",
      "title": "calculates risk matrix associated with the BLE for for the total T",
      "topics": [
        "VT_Reg"
      ]
    }
  ],
  "_readme": "https://github.com/pedrosfig/bayessampling/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "MASS",
    "Matrix",
    "matrixcalc"
  ],
  "_vignettes": [
    {
      "source": "BayesSampling.Rmd",
      "filename": "BayesSampling.html",
      "title": "BayesSampling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bayes linear estimation for finite population",
        "(From \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "1. Introduction",
        "2. Bayes linear estimation for finite population",
        "2.1 Bayes linear approach",
        "3. Functions"
      ],
      "created": "2020-02-18 23:23:04",
      "modified": "2020-04-10 15:29:46",
      "commits": 3
    },
    {
      "source": "BLE_Categorical.Rmd",
      "filename": "BLE_Categorical.html",
      "title": "BLE_Categorical",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Application of the BLE to categorical data",
        "(From Section 4 of the \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "Vague Prior Distribution",
        "R and Vs Matrices",
        "Examples"
      ],
      "created": "2021-03-21 13:45:10",
      "modified": "2021-05-01 18:20:39",
      "commits": 4
    },
    {
      "source": "BLE_Ratio.Rmd",
      "filename": "BLE_Ratio.html",
      "title": "BLE_Ratio",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Application of the BLE to the Ratio estimator",
        "(From Section 3 of the \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "Application",
        "Vague Prior Distribution",
        "Examples"
      ],
      "created": "2020-02-18 23:23:04",
      "modified": "2020-11-23 12:09:41",
      "commits": 5
    },
    {
      "source": "BLE_Reg.Rmd",
      "filename": "BLE_Reg.html",
      "title": "BLE_Reg",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bayes linear approach to finite population",
        "(From Section 2.2 of the \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "Application",
        "Examples"
      ],
      "created": "2020-02-18 23:23:04",
      "modified": "2020-04-10 15:29:46",
      "commits": 3
    },
    {
      "source": "BLE_SRS.Rmd",
      "filename": "BLE_SRS.html",
      "title": "BLE_SRS",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Application of the BLE to the Simple Random Sample design",
        "(From Section 2.3.1 of the \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "Vague Prior Distribution",
        "Examples"
      ],
      "created": "2020-02-18 23:23:04",
      "modified": "2021-03-21 13:45:10",
      "commits": 5
    },
    {
      "source": "BLE_SSRS.Rmd",
      "filename": "BLE_SSRS.html",
      "title": "BLE_SSRS",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Application of the BLE to the Stratified Simple Random Sample design",
        "(From Section 2.3.2 of the \"Gonçalves, Moura and Migon: Bayes linear estimation for finite population with emphasis on categorical data\")",
        "Examples"
      ],
      "created": "2020-02-18 23:23:04",
      "modified": "2020-11-23 12:09:41",
      "commits": 4
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "bayessampling",
  "_universes": [
    "pedrosfig"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-11-19T09:52:18.000Z",
      "distro": "resolute",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/abafffbc69b350d197c13d51c13ccfb1074cbc95173cc041206169e47a8ab192",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-11-19T09:52:55.000Z",
      "distro": "resolute",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/73ed93c5452f6b9270b8080191d2c0fb5994ee72f56d4cc62e5eaf2d2bdd911a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-11-19T10:00:38.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/64da13c324125c4f663a59fe892e7aa7e5ba4b7d660f6d1a7742a86945c34471",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-11-19T10:10:15.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/6d70530f103a0c6989ae2b6fb64e21e1550dbf192c67f0fd50289c12cfb8157c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-11-19T09:52:04.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/09821bf10e235b242d4712656395694e022898ed8c6918733c5de03e2a941f57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-11-19T09:51:36.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/f3366a2af3cf2d067b7a22bb7a47a2c77a3df4771a256c8d0086fd435c8f4ae7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-11-19T09:51:28.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/9fda386be5fcc430417722c25676d923b4c49ff2cb14c1fd60e15ce3375d69dc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-11-19T09:51:33.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "https://r2.ropensci.org/a0e8de84d88bcc5105185e09729883eb61e52fb2bc18eae394c060988bfa73cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/44499596230"
    }
  ]
}