{
  "_id": "6ac4ec63f511ae58c09a31d9",
  "Package": "sparseDFM",
  "Title": "Estimate Dynamic Factor Models with Sparse Loadings",
  "Version": "1.0",
  "Authors@R": "c(person(given = \"Luke\",\nfamily = \"Mosley\",\nrole = c(\"aut\"),\nemail = \"l.mosley@lancaster.ac.uk\"),\nperson(given = \"Tak-Shing\",\nfamily = \"Chan\",\nrole = c(\"aut\"),\nemail = \"t.t.chan@lancaster.ac.uk\"),\nperson(given = \"Alex\",\nfamily = \"Gibberd\",\nrole = c(\"aut\", \"cre\"),\nemail = \"a.gibberd@lancaster.ac.uk\")\n)",
  "Description": "Implementation of various estimation methods for dynamic\nfactor models (DFMs) including principal components analysis\n(PCA) Stock and Watson (2002) <doi:10.1198/016214502388618960>,\n2Stage Giannone et al. (2008)\n<doi:10.1016/j.jmoneco.2008.05.010>, expectation-maximisation\n(EM) Banbura and Modugno (2014) <doi:10.1002/jae.2306>, and the\nnovel EM-sparse approach for sparse DFMs Mosley et al. (2023)\n<arXiv:2303.11892>. Options to use classic multivariate Kalman\nfilter and smoother (KFS) equations from Shumway and Stoffer\n(1982) <doi:10.1111/j.1467-9892.1982.tb00349.x> or fast\nunivariate KFS equations from Koopman and Durbin (2000)\n<doi:10.1111/1467-9892.00186>, and options for independent and\nidentically distributed (IID) white noise or auto-regressive\n(AR(1)) idiosyncratic errors. Algorithms coded in 'C++' and\nlinked to R via 'RcppArmadillo'.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-06 12:35:01 UTC",
    "User": "root"
  },
  "Author": "Luke Mosley [aut], Tak-Shing Chan [aut], Alex Gibberd [aut,\ncre]",
  "Maintainer": "Alex Gibberd <a.gibberd@lancaster.ac.uk>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-03-23 18:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/sparseDFM",
  "RemoteRef": "HEAD",
  "RemoteSha": "e6438f1804463a0bb18bcfd97cba909418cd283e",
  "_user": "cran",
  "_type": "src",
  "_file": "sparseDFM_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5d6109409d094a1cac15826b07c62efa5f2d6dc5105f5a7937ed278d83ad6304",
  "_filesize": 3284500,
  "_sha256": "5d6109409d094a1cac15826b07c62efa5f2d6dc5105f5a7937ed278d83ad6304",
  "_expires": "2027-01-14T12:41:05.000Z",
  "_created": "2026-10-06T12:35:01.000Z",
  "_published": "2026-10-06T12:41:07.410Z",
  "_jobs": [
    {
      "job": 112271743302,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413598117"
    },
    {
      "job": 112271743136,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413763690"
    },
    {
      "job": 112271743182,
      "time": 158,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413478241"
    },
    {
      "job": 112271743329,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11414520593"
    },
    {
      "job": 112269116942,
      "time": 377,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413144793"
    },
    {
      "job": 112271743104,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11414477495"
    },
    {
      "job": 112271743283,
      "time": 274,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413858380"
    },
    {
      "job": 112271743207,
      "time": 246,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413208831"
    },
    {
      "job": 112271743256,
      "time": 235,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11414028750"
    },
    {
      "job": 112271743219,
      "time": 178,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413443400"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471",
  "_status": "success",
  "_upstream": "https://github.com/cran/sparseDFM",
  "_commit": {
    "id": "e6438f1804463a0bb18bcfd97cba909418cd283e",
    "author": "Alex Gibberd <a.gibberd@lancaster.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1679596802
  },
  "_maintainer": {
    "name": "Alex Gibberd",
    "email": "a.gibberd@lancaster.ac.uk"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparseDFM"
  },
  "_searchresults": 9,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/sparseDFM.html"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2023-03-23"
    }
  ],
  "_exports": [
    "fillNA",
    "kalmanMultivariate",
    "kalmanUnivariate",
    "logspace",
    "missing_data_plot",
    "raggedEdge",
    "sparseDFM",
    "transformData",
    "tuneFactors"
  ],
  "_datasets": [
    {
      "name": "exports",
      "title": "UK Trade in Goods (Exports) Dataset",
      "object": "exports",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [],
      "rows": 226,
      "table": true,
      "tojson": true
    },
    {
      "name": "inflation",
      "title": "UK Inflation Dataset",
      "object": "inflation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Vehicles Purchase (7.1)",
        "Routine Maintenance (5.6)",
        "Tools and Equipment (5.5)",
        "Glassware and Utensils (5.4)",
        "Household Appliances (5.3)",
        "Household Textiles (5.2)",
        "Furniture and Carpets (5.1)",
        "Fuels (4.5)",
        "Warer Supply (4.4)",
        "Repair of Dwelling (4.3)",
        "Actual Rents (4.1)",
        "Footwear (3.2)",
        "Clothing (3.1)",
        "Tobacco (2.2)",
        "Alcohol (2.1)",
        "Non-Alcoholic (1.2)",
        "Food (1.1)",
        "Peronal Care (12.1)",
        "Accomodation Services (11.2)",
        "Catering Services (11.1)",
        "Recrational Services (9.4)",
        "Other Recreational Items (9.3)",
        "Durables for Recreation (9.2)",
        "AV Equipment (9.1)",
        "Fin Services NEC (12.6)",
        "Post (8.1)",
        "Insurance (12.5)",
        "Transport (7.3)",
        "Social Protection (12.4)",
        "Personal Transport Operation (7.2)",
        "Other Services (12.7)",
        "Package Holidays (9.6)",
        "Books and Newspapers (9.5)",
        "Hospital Services (6.3)",
        "Out Patient Services (6.2)",
        "Medical Products (6.1)"
      ],
      "rows": 135,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "exports",
      "title": "UK Trade in Goods (Exports) Dataset",
      "topics": [
        "exports"
      ]
    },
    {
      "page": "fillNA",
      "title": "Interpolation of missing data",
      "topics": [
        "fillNA"
      ]
    },
    {
      "page": "inflation",
      "title": "UK Inflation Dataset",
      "topics": [
        "inflation"
      ]
    },
    {
      "page": "kalmanMultivariate",
      "title": "Classic Multivariate KFS Equations",
      "topics": [
        "kalmanMultivariate"
      ]
    },
    {
      "page": "kalmanUnivariate",
      "title": "Univariate filtering (sequential processing) for fast KFS",
      "topics": [
        "kalmanUnivariate"
      ]
    },
    {
      "page": "logspace",
      "title": "logspace",
      "topics": [
        "logspace"
      ]
    },
    {
      "page": "missing_data_plot",
      "title": "Plot the missing data in a data matrix/frame",
      "topics": [
        "missing_data_plot"
      ]
    },
    {
      "page": "plot.sparseDFM",
      "title": "sparseDFM Plot Outputs",
      "topics": [
        "plot.sparseDFM"
      ]
    },
    {
      "page": "predict.sparseDFM",
      "title": "Forecasting factor estimates and data series.",
      "topics": [
        "predict.sparseDFM",
        "print.sparseDFM_forecast"
      ]
    },
    {
      "page": "raggedEdge",
      "title": "Generate a ragged edge structure for a data matrix",
      "topics": [
        "raggedEdge"
      ]
    },
    {
      "page": "residuals.sparseDFM",
      "title": "sparseDFM Residuals and Fitted Values",
      "topics": [
        "fitted.sparseDFM",
        "resid.sparseDFM",
        "residuals.sparseDFM"
      ]
    },
    {
      "page": "sparseDFM",
      "title": "Estimate a Sparse Dynamic Factor Model",
      "topics": [
        "sparseDFM"
      ]
    },
    {
      "page": "summary.sparseDFM",
      "title": "sparseDFM Summary Outputs",
      "topics": [
        "print.sparseDFM",
        "summary.sparseDFM"
      ]
    },
    {
      "page": "transformData",
      "title": "Transform data to make it stationary",
      "topics": [
        "transformData"
      ]
    },
    {
      "page": "tuneFactors",
      "title": "Tune for the number of factors to use",
      "topics": [
        "tuneFactors"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "inflation-example.Rmd",
      "filename": "inflation-example.html",
      "title": "Using sparseDFM - Inflation Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Exploring the Data",
        "Structure of the Model",
        "Fitting a DFM",
        "Fitting a Sparse DFM"
      ],
      "created": "2023-03-23 18:40:02",
      "modified": "2023-03-23 18:40:02",
      "commits": 1
    },
    {
      "source": "exports-example.Rmd",
      "filename": "exports-example.html",
      "title": "Using sparseDFM - Nowcasting UK Trade in Goods (Exports)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Exploring the Data",
        "Fitting the Models",
        "Estimated Factor Structure",
        "Nowcasts"
      ],
      "created": "2023-03-23 18:40:02",
      "modified": "2023-03-23 18:40:02",
      "commits": 1
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "sparsedfm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-06T12:37:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/3fe8d554aff95c9620aaf93912b5b2f9b6cb83d0a1b1e66fad497e32fa329455",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-06T12:37:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/92cd248009a0a45336b4d9c2745384ef70caf64973ddc475ae53c88cfd1e8ea8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-06T12:37:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/e5c07f5de992be5d7ff60142f6a511af513ee409be9d499d25075e6d65b48df5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-06T12:37:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/7f2cf751e69ece3de71f9ba7a83d9c8b7bf343f33c15fc959e0b6debc6e84a07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-06T12:37:36.000Z",
      "arch": "emscripten",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/20b035ac8f7d3858e0716f5f6011a880d07d89ebc6dc16ce70809d9bbc99c4db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-06T12:39:11.000Z",
      "arch": "aarch64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/1c62f26a8d62c8b7664b780002d252fe3a03f631d9524adc77f48b4e272c891f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-06T12:37:05.000Z",
      "arch": "x86_64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/f25331b9093f4f7bf1f599a9c41499c2f26827f12108fccfb90ba19b1c8ffd98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-06T12:38:31.000Z",
      "arch": "aarch64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/8af0c6eeb0d5f5bf9ac9566f1156d33f381bc1eb7f441801ada9d6cba2d1988a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-06T12:36:58.000Z",
      "arch": "x86_64",
      "commit": "e6438f1804463a0bb18bcfd97cba909418cd283e",
      "fileid": "https://r2.ropensci.org/404143519ea017114e4aff153ec36e58dbfe59e4d0a732407bdb663b82cb0348",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37463576471"
    }
  ]
}