{
  "_id": "6a21617ccd65a98ecbd31fb2",
  "Package": "lfe",
  "Version": "3.1.1",
  "Title": "Linear Group Fixed Effects",
  "Authors@R": "c(\nperson(given = \"Simen\",\nfamily = \"Gaure\",\nrole = \"aut\",\ncomment = c(ORCID=\"https://orcid.org/0000-0001-7251-8747\")),\nperson(given = \"Grant\",\nfamily = \"McDermott\",\nrole = \"ctb\"),\nperson(given = \"Mauricio\",\nfamily = \"Vargas Sepulveda\",\nrole = c(\"ctb\", \"cre\"),\nemail = \"m.sepulveda@mail.utoronto.ca\",\ncomment = c(ORCID = \"0000-0003-1017-7574\")),\nperson(given = \"Karl\",\nfamily = \"Dunkle Werner\",\nrole =\"ctb\"),\nperson(given = \"Matthieu\",\nfamily = \"Stigler\",\nrole = \"ctb\",\ncomment = c(ORCID=\"0000-0002-6802-4290\")),\nperson(given = \"Daniel\",\nfamily = \"Lüdecke\",\nrole =\"ctb\"))",
  "VignetteBuilder": "knitr",
  "ByteCompile": "yes",
  "Description": "Transforms away factors with many levels prior to doing an\nOLS. Useful for estimating linear models with multiple group\nfixed effects, and for estimating linear models which uses\nfactors with many levels as pure control variables. See Gaure\n(2013) <doi:10.1016/j.csda.2013.03.024> Includes support for\ninstrumental variables, conditional F statistics for weak\ninstruments, robust and multi-way clustered standard errors, as\nwell as limited mobility bias correction (Gaure 2014\n<doi:10.1002/sta4.68>). Since version 3.0, it provides\ndedicated functions to estimate Poisson models.",
  "License": "Apache License (>= 2)",
  "Classification/JEL": "C13, C23, C60",
  "Classification/MSC": "62J05, 65F10, 65F50",
  "URL": "https://github.com/r-econometrics/lfe",
  "BugReports": "https://github.com/r-econometrics/lfe/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 11:25:38 UTC",
    "User": "root"
  },
  "Author": "Simen Gaure [aut] (<https://orcid.org/0000-0001-7251-8747>),\nGrant McDermott [ctb], Mauricio Vargas Sepulveda [ctb, cre]\n(<https://orcid.org/0000-0003-1017-7574>), Karl Dunkle Werner\n[ctb], Matthieu Stigler [ctb]\n(<https://orcid.org/0000-0002-6802-4290>), Daniel Lüdecke [ctb]",
  "Maintainer": "Mauricio Vargas Sepulveda <m.sepulveda@mail.utoronto.ca>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-11 07:30:01 UTC",
  "RemoteUrl": "https://github.com/cran/lfe",
  "RemoteRef": "HEAD",
  "RemoteSha": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
  "MD5sum": "c64f1fbdf13d91aa54c3b7808b5a89d9",
  "_user": "cran",
  "_type": "src",
  "_file": "lfe_3.1.1.tar.gz",
  "_fileid": "a32e57b645598ea3840ec3ef2d59c8188267a04a1d36a8dc6be257223cb735a2",
  "_filesize": 1450953,
  "_sha256": "a32e57b645598ea3840ec3ef2d59c8188267a04a1d36a8dc6be257223cb735a2",
  "_created": "2026-06-04T11:25:38.000Z",
  "_published": "2026-06-04T11:29:00.158Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79508489036,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7410243438"
    },
    {
      "job": 79508489051,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7410242691"
    },
    {
      "job": 79508489057,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7410241056"
    },
    {
      "job": 79508489076,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7410240946"
    },
    {
      "job": 79508030211,
      "time": 175,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410192902"
    },
    {
      "job": 79508489021,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26948500357",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/lfe",
  "_commit": {
    "id": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
    "author": "Mauricio Vargas Sepulveda <m.sepulveda@mail.utoronto.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.1.1\n",
    "time": 1739259001
  },
  "_maintainer": {
    "name": "Mauricio Vargas Sepulveda",
    "email": "m.sepulveda@mail.utoronto.ca",
    "login": "pachadotdev",
    "orcid": "0000-0003-1017-7574",
    "description": "Statistician interested in applying statistical methods to address specific policy-relevant questions, particularly in international trade.",
    "uuid": 10091065
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.15.2",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "version": ">= 1.1-2",
      "role": "Depends"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "compiler",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "digest",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "plm",
      "role": "Suggests"
    },
    {
      "package": "cubature",
      "version": ">= 2.0.3",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "alpaca",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 5,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "matthieustigler",
      "count": 5,
      "uuid": 108840
    },
    {
      "user": "pachadotdev",
      "count": 3,
      "uuid": 10091065
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 18703,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lfe"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/r-econometrics/lfe",
  "_searchresults": 2624,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lfe.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-econometrics/lfe",
  "_realowner": "r-econometrics",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-418",
      "date": "2011-03-10"
    },
    {
      "version": "1.1-427",
      "date": "2011-03-11"
    },
    {
      "version": "1.1-434",
      "date": "2011-03-16"
    },
    {
      "version": "1.2-444",
      "date": "2011-03-27"
    },
    {
      "version": "1.2-452",
      "date": "2011-03-30"
    },
    {
      "version": "1.3-512",
      "date": "2011-04-08"
    },
    {
      "version": "1.3-572",
      "date": "2011-04-24"
    },
    {
      "version": "1.4-641",
      "date": "2011-08-30"
    },
    {
      "version": "1.4-653",
      "date": "2011-09-01"
    },
    {
      "version": "1.4-670",
      "date": "2011-09-11"
    },
    {
      "version": "1.4-681",
      "date": "2011-09-22"
    },
    {
      "version": "1.4-695",
      "date": "2011-09-24"
    },
    {
      "version": "1.4-702",
      "date": "2011-09-27"
    },
    {
      "version": "1.4-708",
      "date": "2011-09-28"
    },
    {
      "version": "1.4-709",
      "date": "2011-10-11"
    },
    {
      "version": "1.4-723",
      "date": "2011-11-21"
    },
    {
      "version": "1.4-726",
      "date": "2011-11-23"
    },
    {
      "version": "1.4-729",
      "date": "2011-11-29"
    },
    {
      "version": "1.4-731",
      "date": "2011-12-07"
    },
    {
      "version": "1.4-771",
      "date": "2013-01-16"
    },
    {
      "version": "1.4-941",
      "date": "2013-04-03"
    },
    {
      "version": "1.4-963",
      "date": "2013-05-07"
    },
    {
      "version": "1.5-1026",
      "date": "2013-06-12"
    },
    {
      "version": "1.5-1045",
      "date": "2013-08-05"
    },
    {
      "version": "1.5-1107",
      "date": "2013-10-28"
    },
    {
      "version": "1.5-1118",
      "date": "2013-11-12"
    },
    {
      "version": "1.6-1161",
      "date": "2013-12-03"
    },
    {
      "version": "1.6-1163",
      "date": "2013-12-06"
    },
    {
      "version": "1.6-1180",
      "date": "2014-01-03"
    },
    {
      "version": "1.6-1188",
      "date": "2014-01-23"
    },
    {
      "version": "1.7-1282",
      "date": "2014-03-07"
    },
    {
      "version": "1.7-1286",
      "date": "2014-03-09"
    },
    {
      "version": "1.7-1289",
      "date": "2014-03-13"
    },
    {
      "version": "1.7-1401",
      "date": "2014-10-09"
    },
    {
      "version": "1.7-1404",
      "date": "2014-10-10"
    },
    {
      "version": "1.7-1416",
      "date": "2014-12-15"
    },
    {
      "version": "1.8-1441",
      "date": "2014-12-25"
    },
    {
      "version": "2.0-1570",
      "date": "2015-02-10"
    },
    {
      "version": "2.1-1620",
      "date": "2015-03-02"
    },
    {
      "version": "2.1-1629",
      "date": "2015-03-05"
    },
    {
      "version": "2.1-1640",
      "date": "2015-03-11"
    },
    {
      "version": "2.2-1699",
      "date": "2015-04-13"
    },
    {
      "version": "2.3-1709",
      "date": "2015-05-26"
    },
    {
      "version": "2.4-1786",
      "date": "2015-10-21"
    },
    {
      "version": "2.4-1788",
      "date": "2015-10-26"
    },
    {
      "version": "2.5-1968",
      "date": "2016-04-11"
    },
    {
      "version": "2.5-1998",
      "date": "2016-04-18"
    },
    {
      "version": "2.6-2291",
      "date": "2018-02-16"
    },
    {
      "version": "2.7-2383",
      "date": "2018-06-18"
    },
    {
      "version": "2.8",
      "date": "2018-06-28"
    },
    {
      "version": "2.8-2",
      "date": "2018-08-22"
    },
    {
      "version": "2.8-2.1",
      "date": "2019-03-26"
    },
    {
      "version": "2.8-3",
      "date": "2019-03-27"
    },
    {
      "version": "2.8-4",
      "date": "2019-12-11"
    },
    {
      "version": "2.8-5",
      "date": "2019-12-17"
    },
    {
      "version": "2.8-5.1",
      "date": "2020-07-08"
    },
    {
      "version": "2.8-6",
      "date": "2021-01-11"
    },
    {
      "version": "2.8-7",
      "date": "2021-07-31"
    },
    {
      "version": "2.8-7.1",
      "date": "2021-11-07"
    },
    {
      "version": "2.8-8",
      "date": "2022-05-05"
    },
    {
      "version": "2.9-0",
      "date": "2023-02-13"
    },
    {
      "version": "3.0-0",
      "date": "2024-02-29"
    },
    {
      "version": "3.1.0",
      "date": "2024-11-06"
    },
    {
      "version": "3.1.1",
      "date": "2025-02-11"
    }
  ],
  "_exports": [
    "..oldfelm",
    "bccorr",
    "btrap",
    "cgsolve",
    "chainsubset",
    "compfactor",
    "condfstat",
    "demeanlist",
    "efactory",
    "felm",
    "fepois",
    "fevcov",
    "fixedse",
    "getfe",
    "is.estimable",
    "kaczmarz",
    "makeDmatrix",
    "mctrace",
    "nlexpect",
    "sargan",
    "varvars",
    "waldtest"
  ],
  "_help": [
    {
      "page": "lfe-package",
      "title": "Overview. Linear Group Fixed Effects",
      "topics": [
        "lfe-package",
        "lfe"
      ]
    },
    {
      "page": "dot-.oldfelm",
      "title": "Fit a linear model with multiple group fixed effects (old interface)",
      "topics": [
        "..oldfelm"
      ]
    },
    {
      "page": "bccorr",
      "title": "Compute limited mobility bias corrected correlation between fixed effects",
      "concept": [
        "Limited Mobility Bias"
      ],
      "topics": [
        "bccorr"
      ]
    },
    {
      "page": "btrap",
      "title": "Bootstrap standard errors for the group fixed effects",
      "topics": [
        "btrap"
      ]
    },
    {
      "page": "cgsolve",
      "title": "Solve a symmetric linear system with the conjugate gradient method",
      "topics": [
        "cgsolve"
      ]
    },
    {
      "page": "chainsubset",
      "title": "Chain subset conditions",
      "topics": [
        "chainsubset"
      ]
    },
    {
      "page": "compfactor",
      "title": "Find the connected components",
      "topics": [
        "compfactor"
      ]
    },
    {
      "page": "condfstat",
      "title": "Compute conditional F statistic for weak instruments in an IV-estimation with multiple endogenous variables",
      "topics": [
        "condfstat"
      ]
    },
    {
      "page": "demeanlist",
      "title": "Centre vectors on multiple groups",
      "topics": [
        "demeanlist"
      ]
    },
    {
      "page": "efactory",
      "title": "Create estimable function",
      "topics": [
        "efactory"
      ]
    },
    {
      "page": "felm",
      "title": "Fit a linear model with multiple group fixed effects",
      "topics": [
        "felm"
      ]
    },
    {
      "page": "fepois",
      "title": "Fit a Poisson model with multiple group fixed effects",
      "topics": [
        "fepois"
      ]
    },
    {
      "page": "fevcov",
      "title": "Compute limited mobility bias corrected covariance matrix between fixed effects",
      "topics": [
        "fevcov"
      ]
    },
    {
      "page": "getfe",
      "title": "Retrieve the group fixed effects",
      "topics": [
        "getfe"
      ]
    },
    {
      "page": "is.estimable",
      "title": "Verify estimability of function",
      "topics": [
        "is.estimable"
      ]
    },
    {
      "page": "kaczmarz",
      "title": "Solve a linear system defined by factors",
      "topics": [
        "kaczmarz"
      ]
    },
    {
      "page": "makeDmatrix",
      "title": "Make sparse matrix of dummies from factor list",
      "topics": [
        "makeDmatrix"
      ]
    },
    {
      "page": "mctrace",
      "title": "Compute trace of a large matrix by sample means",
      "topics": [
        "mctrace"
      ]
    },
    {
      "page": "nlexpect",
      "title": "Compute expectation of a function of the coefficients.",
      "topics": [
        "nlexpect"
      ]
    },
    {
      "page": "sargan",
      "title": "Compute Sargan's S",
      "topics": [
        "sargan"
      ]
    },
    {
      "page": "summary.felm",
      "title": "Summarize felm model fits",
      "topics": [
        "summary.felm"
      ]
    },
    {
      "page": "varvars",
      "title": "Compute the variance of the fixed effect variance estimate",
      "topics": [
        "varvars"
      ]
    },
    {
      "page": "waldtest",
      "title": "Compute Wald test for joint restrictions on coefficients",
      "topics": [
        "waldtest"
      ]
    }
  ],
  "_readme": "https://github.com/cran/lfe/raw/HEAD/README.md",
  "_rundeps": [
    "Formula",
    "lattice",
    "Matrix",
    "sandwich",
    "xtable",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "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)"
    }
  ],
  "_vignettes": [
    {
      "source": "speed.Rnw",
      "filename": "speed.pdf",
      "title": "Convergence rate with examples",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-06-12 00:00:00",
      "modified": "2023-02-13 15:50:02",
      "commits": 8
    },
    {
      "source": "lfehow.Rnw",
      "filename": "lfehow.pdf",
      "title": "How lfe works",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-04-03 00:00:00",
      "modified": "2023-02-13 15:50:02",
      "commits": 10
    },
    {
      "source": "biascorrection.Rnw",
      "filename": "biascorrection.pdf",
      "title": "Limited mobility bias correction",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2016-04-11 14:45:24",
      "modified": "2023-02-13 15:50:02",
      "commits": 2
    },
    {
      "source": "identification.Rnw",
      "filename": "identification.pdf",
      "title": "Multicollinearity, identification, and estimable functions",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2013-04-03 00:00:00",
      "modified": "2023-02-13 15:50:02",
      "commits": 11
    }
  ],
  "_score": 9.344087618338863,
  "_indexed": false,
  "_nocasepkg": "lfe",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-04T11:28:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
      "fileid": "ed2d5cb67673f8f1726ebdc8780b8dfd0e54bc6985960161787f3e03edff16ba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948500357"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-04T11:27:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
      "fileid": "10542aa12ec3e431d1ca82a2d734201eff2bdc27f72b9a5da5522b166ff04745",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948500357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-04T11:27:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
      "fileid": "d5bb1593cb223ac81b69016547da13637a44e826aecda72a7d42a1d6bd189288",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948500357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.1.1",
      "date": "2026-06-04T11:27:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "367ab39d53fb3c68ba8a1b746d95728e8116b106",
      "fileid": "ff8f78526005a6953f09b08ad8826672fc7fcfd037c6462803d0579c3388b1a7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26948500357"
    }
  ]
}