{
  "_id": "6a23c865530b9bc726be0a2a",
  "Package": "eco",
  "Version": "4.0-6",
  "Date": "2025-12-08",
  "Title": "Ecological Inference in 2x2 Tables",
  "Authors@R": "c(\nperson(\"Kosuke\", \"Imai\", , \"imai@Harvard.Edu\", c(\"aut\", \"cre\")),\nperson(\"Ying\", \"Lu\", , \"ying.lu@nyu.edu\", c(\"aut\")),\nperson(\"Aaron\", \"Strauss\", , \"aaronbstrauss@gmail.com\", c(\"aut\")),\nperson(\"Hubert\", \"Jin\", , \"hubertj@princeton.edu\", c(\"ctb\"))\n)",
  "Maintainer": "Kosuke Imai <imai@Harvard.Edu>",
  "Description": "Implements the Bayesian and likelihood methods proposed in\nImai, Lu, and Strauss (2008 <doi:10.1093/pan/mpm017>) and (2011\n<doi:10.18637/jss.v042.i05>) for ecological inference in 2 by 2\ntables as well as the method of bounds introduced by Duncan and\nDavis (1953).  The package fits both parametric and\nnonparametric models using either the Expectation-Maximization\nalgorithms (for likelihood models) or the Markov chain Monte\nCarlo algorithms (for Bayesian models).  For all models, the\nindividual-level data can be directly incorporated into the\nestimation whenever such data are available. Along with\nin-sample and out-of-sample predictions, the package also\nprovides a functionality which allows one to quantify the\neffect of data aggregation on parameter estimation and\nhypothesis testing under the parametric likelihood models.",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/kosukeimai/eco",
  "BugReports": "https://github.com/kosukeimai/eco/issues",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-06 07:06:32 UTC",
    "User": "root"
  },
  "Author": "Kosuke Imai [aut, cre], Ying Lu [aut], Aaron Strauss [aut],\nHubert Jin [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-12-08 12:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/eco",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
  "MD5sum": "2263bbd1cd9e8ca9460d9bbf127be169",
  "_user": "cran",
  "_type": "src",
  "_file": "eco_4.0-6.tar.gz",
  "_fileid": "fc16a16d06025b5623ef828c894936e27c4ab0fb176f913d89915c406a89b733",
  "_filesize": 414066,
  "_sha256": "fc16a16d06025b5623ef828c894936e27c4ab0fb176f913d89915c406a89b733",
  "_created": "2026-06-06T07:06:32.000Z",
  "_published": "2026-06-06T07:12:37.574Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79859781019,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452267704"
    },
    {
      "job": 79859781005,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452267892"
    },
    {
      "job": 79859781003,
      "time": 325,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452299990"
    },
    {
      "job": 79859781002,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452267164"
    },
    {
      "job": 79859619155,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452253466"
    },
    {
      "job": 79859780983,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452266452"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/eco",
  "_commit": {
    "id": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
    "author": "Kosuke Imai <imai@Harvard.Edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.0-6\n",
    "time": 1765195802
  },
  "_maintainer": {
    "name": "Kosuke Imai",
    "email": "imai@harvard.edu",
    "login": "kosukeimai",
    "description": "",
    "uuid": 6608243
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0-4",
      "date": "2025-10-21"
    },
    {
      "name": "4.0-5",
      "date": "2025-10-23"
    },
    {
      "name": "4.0-6",
      "date": "2025-12-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kosukeimai",
      "count": 3,
      "uuid": 6608243
    },
    {
      "user": "yinglunyu",
      "count": 2,
      "uuid": 202015691
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/eco"
  },
  "_devurl": "https://github.com/kosukeimai/eco",
  "_searchresults": 8,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/eco.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kosukeimai/eco",
  "_realowner": "kosukeimai",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-1",
      "date": "2004-12-21"
    },
    {
      "version": "1.1-1",
      "date": "2005-06-16"
    },
    {
      "version": "2.1-1",
      "date": "2005-07-09"
    },
    {
      "version": "2.2-1",
      "date": "2005-09-30"
    },
    {
      "version": "2.2-2",
      "date": "2006-09-24"
    },
    {
      "version": "3.0-1",
      "date": "2007-01-01"
    },
    {
      "version": "3.0-2",
      "date": "2007-01-11"
    },
    {
      "version": "3.1-1",
      "date": "2007-06-28"
    },
    {
      "version": "3.1-2",
      "date": "2009-02-01"
    },
    {
      "version": "3.1-4",
      "date": "2009-07-18"
    },
    {
      "version": "3.1-5",
      "date": "2011-04-26"
    },
    {
      "version": "3.1-6",
      "date": "2012-06-12"
    },
    {
      "version": "3.1-7",
      "date": "2015-03-19"
    },
    {
      "version": "4.0-1",
      "date": "2017-08-01"
    },
    {
      "version": "4.0-3",
      "date": "2022-11-03"
    },
    {
      "version": "4.0-4",
      "date": "2025-10-21"
    },
    {
      "version": "4.0-5",
      "date": "2025-10-23"
    },
    {
      "version": "4.0-6",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "eco",
    "ecoBD",
    "ecoML",
    "ecoNP",
    "Qfun",
    "varcov"
  ],
  "_datasets": [
    {
      "name": "census",
      "title": "Black Illiteracy Rates in 1910 US Census",
      "object": "census",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "X",
        "N",
        "W1",
        "W2"
      ],
      "rows": 1040,
      "table": true,
      "tojson": true
    },
    {
      "name": "forgnlit30",
      "title": "Foreign-born literacy in 1930",
      "object": "forgnlit30",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "X",
        "W1",
        "W2",
        "ICPSR"
      ],
      "rows": 48,
      "table": true,
      "tojson": true
    },
    {
      "name": "forgnlit30c",
      "title": "Foreign-born literacy in 1930, County Level",
      "object": "forgnlit30c",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "X",
        "W1",
        "W2",
        "state",
        "county"
      ],
      "rows": 1976,
      "table": true,
      "tojson": true
    },
    {
      "name": "housep88",
      "title": "Electoral Results for the House and Presidential Races in 1988",
      "object": "housep88",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "X",
        "N",
        "HPCT",
        "DIST"
      ],
      "rows": 424,
      "table": true,
      "tojson": true
    },
    {
      "name": "reg",
      "title": "Voter Registration in US Southern States",
      "object": "reg",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "Y",
        "N",
        "W1",
        "W2"
      ],
      "rows": 275,
      "table": true,
      "tojson": true
    },
    {
      "name": "wallace",
      "title": "Black voting rates for Wallace for President, 1968",
      "object": "wallace",
      "class": [
        "data.frame"
      ],
      "fields": [
        "FIPS",
        "X",
        "Y"
      ],
      "rows": 1009,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "census",
      "title": "Black Illiteracy Rates in 1910 US Census",
      "topics": [
        "census"
      ]
    },
    {
      "page": "eco",
      "title": "Fitting the Parametric Bayesian Model of Ecological Inference in 2x2 Tables",
      "topics": [
        "eco"
      ]
    },
    {
      "page": "ecoBD",
      "title": "Calculating the Bounds for Ecological Inference in RxC Tables",
      "topics": [
        "ecoBD"
      ]
    },
    {
      "page": "ecoML",
      "title": "Fitting Parametric Models and Quantifying Missing Information for Ecological Inference in 2x2 Tables",
      "topics": [
        "ecoML"
      ]
    },
    {
      "page": "ecoNP",
      "title": "Fitting the Nonparametric Bayesian Models of Ecological Inference in 2x2 Tables",
      "topics": [
        "ecoNP"
      ]
    },
    {
      "page": "forgnlit30",
      "title": "Foreign-born literacy in 1930",
      "topics": [
        "forgnlit30"
      ]
    },
    {
      "page": "forgnlit30c",
      "title": "Foreign-born literacy in 1930, County Level",
      "topics": [
        "forgnlit30c"
      ]
    },
    {
      "page": "housep88",
      "title": "Electoral Results for the House and Presidential Races in 1988",
      "topics": [
        "housep88"
      ]
    },
    {
      "page": "predict.eco",
      "title": "Out-of-Sample Posterior Prediction under the Parametric Bayesian Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "predict.eco"
      ]
    },
    {
      "page": "predict.ecoNP",
      "title": "Out-of-Sample Posterior Prediction under the Nonparametric Bayesian Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "predict.ecoNP"
      ]
    },
    {
      "page": "predict.ecoNPX",
      "title": "Out-of-Sample Posterior Prediction under the Nonparametric Bayesian Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "predict.ecoNPX"
      ]
    },
    {
      "page": "predict.ecoX",
      "title": "Out-of-Sample Posterior Prediction under the Parametric Bayesian Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "predict.ecoX"
      ]
    },
    {
      "page": "print.summary.eco",
      "title": "Print the Summary of the Results for the Bayesian Parametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "print.summary.eco"
      ]
    },
    {
      "page": "print.summary.ecoML",
      "title": "Print the Summary of the Results for the Maximum Likelihood Parametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "print.summary.ecoML"
      ]
    },
    {
      "page": "print.summary.ecoNP",
      "title": "Print the Summary of the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "print.summary.ecoNP"
      ]
    },
    {
      "page": "Qfun",
      "title": "Fitting the Parametric Bayesian Model of Ecological Inference in 2x2 Tables",
      "topics": [
        "Qfun"
      ]
    },
    {
      "page": "reg",
      "title": "Voter Registration in US Southern States",
      "topics": [
        "reg"
      ]
    },
    {
      "page": "summary.eco",
      "title": "Summarizing the Results for the Bayesian Parametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "print.eco",
        "summary.eco"
      ]
    },
    {
      "page": "summary.ecoML",
      "title": "Summarizing the Results for the Maximum Likelihood Parametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "summary.ecoML"
      ]
    },
    {
      "page": "summary.ecoNP",
      "title": "Summarizing the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables",
      "topics": [
        "summary.ecoNP"
      ]
    },
    {
      "page": "varcov",
      "title": "Calculate the variance or covariance of the object",
      "topics": [
        "varcov"
      ]
    },
    {
      "page": "wallace",
      "title": "Black voting rates for Wallace for President, 1968",
      "topics": [
        "wallace"
      ]
    }
  ],
  "_rundeps": [
    "MASS"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_score": 1.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "eco",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://kosukeimai.r-universe.dev/eco",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0-6",
      "date": "2026-06-06T07:08:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
      "fileid": "46b36f235a8833082f0abf6142d83b8593fa26aef1d3c5ad5cd59777dee9e1e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0-6",
      "date": "2026-06-06T07:08:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
      "fileid": "8cbff985a4859b2a95c99368c77a12f5d4581ec8d0a2eeee4f5b9d0ec7aa4b0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0-6",
      "date": "2026-06-06T07:12:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
      "fileid": "6c5d51aa2989ff763bc6b26c36d4713d1528cc49bb4c0e62d5449f1f381bdd03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0-6",
      "date": "2026-06-06T07:08:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
      "fileid": "5bd97692d7ea110359ecb313f4bdf67132780a407aac17940d2ff79e6c08f146",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0-6",
      "date": "2026-06-06T07:08:33.000Z",
      "arch": "emscripten",
      "commit": "ee12943824deb2a45ce1cac39957a6ed0bc138ee",
      "fileid": "63f96f3fc3624207ce78031f639719528d10053b5fe052203a3ab9700f482c90",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055713021"
    }
  ]
}