{
  "_id": "6a38eb553efcd9bda443c281",
  "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-06-22 07:56:00 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>)",
  "MD5sum": "21c3d179dece0975b55d1a73c0d3bde2",
  "_user": "pedrosfig",
  "_type": "src",
  "_file": "BayesSampling_1.1.0.tar.gz",
  "_fileid": "ba539e6da754222bc170a748826f8b6f6191e1f4bfb498a6741ce66bb1505618",
  "_filesize": 771724,
  "_sha256": "ba539e6da754222bc170a748826f8b6f6191e1f4bfb498a6741ce66bb1505618",
  "_created": "2026-06-22T07:56:00.000Z",
  "_published": "2026-06-22T07:59:17.019Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82664214017,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7786319420"
    },
    {
      "job": 82664214046,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7786318670"
    },
    {
      "job": 82664214138,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7786321162"
    },
    {
      "job": 82664214031,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7786317695"
    },
    {
      "job": 82663733917,
      "time": 174,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786277951"
    },
    {
      "job": 82664214038,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786311817"
    },
    {
      "job": 82664214136,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7786315365"
    },
    {
      "job": 82664214056,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7786307381"
    },
    {
      "job": 82664214094,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7786306969"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pedrosfig/bayessampling",
  "_commit": {
    "id": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
    "author": "Pedro Soares <pedrosfig@hotmail.com>",
    "committer": "Pedro Soares <pedrosfig@hotmail.com>",
    "message": "vignette - Categorical data\n",
    "time": 1619893239
  },
  "_maintainer": {
    "name": "Pedro Soares Figueiredo",
    "email": "pedrosfig@hotmail.com",
    "login": "pedrosfig",
    "description": "",
    "uuid": 47543928,
    "orcid": "0000-0003-2279-2881"
  },
  "_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": 300,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesSampling"
  },
  "_devurl": "https://github.com/pedrosfig/bayessampling",
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesSampling.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.732393759822968,
  "_indexed": true,
  "_nocasepkg": "bayessampling",
  "_universes": [
    "pedrosfig"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-22T07:58:01.000Z",
      "distro": "noble",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "b9f3dcf82689407bf16cad5c591800a1962a26912b8156b7f57f4fb2d332d51b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:57.000Z",
      "distro": "noble",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "576f7f66c08ecbb24cfc3bc4b0b5d57244abc98eaa40ffd8b0e79664edc43337",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-22T07:58:10.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "4dc7e0d40397a9f87072f514a86dfcdf86c636817a1c38341c1de2ad83751f22",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:56.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "b038388bf9ce48ab9075963a94bd608fbe1fd64835d70a928ceae29f4f315834",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:56.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "354a238c8af586b965b6d5a87e7bbe09cb3ba7c400babe9b7a906564dd46d22f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:41.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "a2c784a0e3f6653b60929a337296f720dfe7d230231901255c169b00aa1a6e50",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:19.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "a41ff9221af6d49a93e2ef2553c3a5e64f3c3aa9a40892509d248938bbbfa7ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-22T07:57:18.000Z",
      "commit": "13095496b1d1c2c51167e3e7d59446a4319aae0e",
      "fileid": "14213246eb28aacf05c2a7d2e36b106c03107883d447dcfa13a662f9e36e8566",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/pedrosfig/actions/runs/27937824803"
    }
  ]
}