{
  "_id": "6a6149901fed6d528131eaee",
  "Package": "xtife",
  "Type": "Package",
  "Title": "Interactive Fixed Effects Estimator for Panel Data",
  "Version": "0.1.4",
  "Date": "2026-07-22",
  "Authors@R": "person(\"Binzhi\", \"Chen\",\nemail = \"Binzhi.Chen9@gmail.com\",\nrole  = c(\"aut\", \"cre\"))",
  "Description": "Implements the interactive fixed effects ('IFE') panel\nestimator of Bai (2009) <doi:10.3982/ECTA6135> for balanced and\nunbalanced panels, with optional additive unit and/or time\nfixed effects. Provides analytical standard errors\n('homoskedastic', 'HC1' heteroskedasticity-robust,\ncluster-robust by unit, and heteroskedasticity- and\nautocorrelation- consistent), together with asymptotic\nincidental-parameter bias correction for large panels,\nincluding a dynamic extension for predetermined\n(lagged-dependent) regressors following Moon and Weidner (2017)\n<doi:10.1017/S0266466615000328>. The number of factors is\nchosen by information criteria (Bai and Ng 2002\n<doi:10.1111/1468-0262.00273>) or by singular value\nthresholding. Unbalanced panels are handled by an\nexpectation-maximisation algorithm with\nnuclear-norm-regularised initialisation, with estimation,\nanalytical inference, and bias correction following Su, Wang\nand Wang (2025) <doi:10.2139/ssrn.5177283> and building on the\nmatrix-completion and missing-data factor analysis of Bai and\nNg (2021) <doi:10.1080/01621459.2021.1967163>. All computations\nuse base R only, with no external dependencies.",
  "License": "GPL-2 | GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/Rickchen0910/xtife",
  "BugReports": "https://github.com/Rickchen0910/xtife/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-22 22:49:02 UTC",
    "User": "root"
  },
  "Author": "Binzhi Chen [aut, cre]",
  "Maintainer": "Binzhi Chen <Binzhi.Chen9@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-22 18:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/xtife",
  "RemoteRef": "HEAD",
  "RemoteSha": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
  "_user": "cran",
  "_type": "src",
  "_file": "xtife_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/c02c313093628ed871ce92987c05762d2efcc6ff6849066bc403c75df17f2d89",
  "_filesize": 309721,
  "_sha256": "c02c313093628ed871ce92987c05762d2efcc6ff6849066bc403c75df17f2d89",
  "_expires": "2026-10-30T22:51:58.000Z",
  "_created": "2026-07-22T22:49:02.000Z",
  "_published": "2026-07-22T22:52:00.255Z",
  "_jobs": [
    {
      "job": 89071828005,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8547203817"
    },
    {
      "job": 89071828033,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8547208211"
    },
    {
      "job": 89071137087,
      "time": 237,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8547158641"
    },
    {
      "job": 89071827993,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8547192463"
    },
    {
      "job": 89071828008,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8547193570"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29963918773",
  "_status": "success",
  "_upstream": "https://github.com/cran/xtife",
  "_commit": {
    "id": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
    "author": "Binzhi Chen <Binzhi.Chen9@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.4\n",
    "time": 1784745602
  },
  "_maintainer": {
    "name": "Binzhi Chen",
    "email": "binzhi.chen9@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.3",
      "date": "2026-04-21"
    },
    {
      "name": "0.1.4",
      "date": "2026-07-22"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 623,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 221,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xtife"
  },
  "_devurl": "https://github.com/rickchen0910/xtife",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xtife.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rickchen0910/xtife",
  "_realowner": "rickchen0910",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2026-04-21"
    },
    {
      "version": "0.1.4",
      "date": "2026-07-22"
    }
  ],
  "_exports": [
    "ife",
    "ife_select_r",
    "ife_select_r_unb",
    "ife_unbalanced"
  ],
  "_datasets": [
    {
      "name": "cigar",
      "title": "Dataset on US Cigarette Demand Panel",
      "object": "cigar",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "year",
        "price",
        "pop",
        "pop16",
        "cpi",
        "ndi",
        "sales",
        "pimin"
      ],
      "rows": 1380,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cigar",
      "title": "Dataset on US Cigarette Demand Panel",
      "topics": [
        "cigar"
      ]
    },
    {
      "page": "ife",
      "title": "Estimate Interactive Fixed Effects Model (Bai 2009)",
      "topics": [
        "ife"
      ]
    },
    {
      "page": "ife_select_r",
      "title": "Select the Number of Factors via Information Criteria",
      "topics": [
        "ife_select_r"
      ]
    },
    {
      "page": "ife_select_r_unb",
      "title": "Factor Number Selection for Unbalanced Panel IFE via SVT",
      "topics": [
        "ife_select_r_unb"
      ]
    },
    {
      "page": "ife_unbalanced",
      "title": "Unbalanced Panel Interactive Fixed Effects Estimator",
      "topics": [
        "ife_unbalanced"
      ]
    },
    {
      "page": "print.ife",
      "title": "Print an IFE Model Summary",
      "topics": [
        "print.ife"
      ]
    }
  ],
  "_readme": "https://github.com/cran/xtife/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "xtife-introduction.Rmd",
      "filename": "xtife-introduction.html",
      "title": "Interactive Fixed Effects for Balanced and Unbalanced Panels",
      "author": "Binzhi Chen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Why interactive fixed effects?",
        "The IFE model",
        "What xtife provides",
        "Balanced Panel IFE",
        "Data",
        "Quick start",
        "Estimation algorithm",
        "Standard error types",
        "Comparison with TWFE",
        "Factor number selection",
        "Asymptotic bias correction (balanced panel)",
        "Static regressors — Bai (2009)",
        "Dynamic regressors — Moon and Weidner (2017)",
        "Unbalanced Panel IFE",
        "Motivation",
        "The unbalanced IFE model",
        "Identification",
        "Additive fixed effects via force",
        "Quick start with unbalanced data",
        "Outer alternating-maximisation (AM) loop",
        "EM inner loop (Bai 2009, Appendix B) — used within each AM iteration",
        "Initialisation",
        "Analytical standard errors",
        "Analytical bias correction",
        "Strictly exogenous regressors (exog = \"strict\")",
        "Weakly exogenous regressors (exog = \"weak\")",
        "Balanced vs unbalanced on the same data",
        "Input validation and common errors",
        "Quick reference: argument tables",
        "ife() — balanced panel",
        "ife_unbalanced() — unbalanced panel",
        "References"
      ],
      "created": "2026-04-21 23:56:26",
      "modified": "2026-07-22 18:40:02",
      "commits": 2
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "xtife",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://rickchen0910.r-universe.dev/xtife",
  "_previous": "0.1.3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-07-22T22:51:09.000Z",
      "distro": "resolute",
      "commit": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
      "fileid": "https://r2.ropensci.org/02ad242ab42ef1e3db2fcb19413ba55bcee805c02cd4857b81f48f6e436976ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29963918773"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-07-22T22:51:17.000Z",
      "distro": "resolute",
      "commit": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
      "fileid": "https://r2.ropensci.org/98ac9fcd26d9915e67e108ccd389c29eb1ec541b361dd390caa2f2a6a9b91198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29963918773"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-07-22T22:50:54.000Z",
      "commit": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
      "fileid": "https://r2.ropensci.org/63757276a59506c1425d8aae455b11e8b755b0b7fd916113b0bbf41a5b6d552e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29963918773"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-07-22T22:50:25.000Z",
      "commit": "e20022ec897a825e6da802fdf0c1e5c8a5681426",
      "fileid": "https://r2.ropensci.org/d3a72bd7235cecc8f7473749b6a277c25c5fca3b0ba367d50f999587b3c8fb0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29963918773"
    }
  ]
}