{
  "_id": "6a29807c732311cd875b2b2f",
  "Package": "hcinfer",
  "Title": "Heteroskedasticity-Consistent Inference for Linear Models",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(\"Pedro Rafael D.\", \"Marinho\", email = \"pedro.rafael.marinho@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1591-8300\")),\nperson(\"Francisco\", \"Cribari-Neto\", email = \"cribari@gmail.com\",\nrole = \"aut\", comment = c(ORCID = \"0000-0002-5909-6698\")),\nperson(\"Marina\", \"Oliveira Cunha\", email = \"marina.oliveirac@ufpe.br\",\nrole = \"aut\", comment = c(ORCID = \"0009-0007-4938-3881\"))\n)",
  "Description": "Computes heteroskedasticity-consistent covariance matrix\nestimators for ordinary least squares regression models. The\npublished HC0 through HC5m estimators implemented in the\npackage follow White (1980) <doi:10.2307/1912934>, Hinkley\n(1977) <doi:10.1080/00401706.1977.10489550>, Horn et al. (1975)\n<doi:10.1080/01621459.1975.10479877>, MacKinnon and White\n(1985) <doi:10.1016/0304-4076(85)90158-7>, Cribari-Neto (2004)\n<doi:10.1016/S0167-9473(02)00366-3>, Cribari-Neto and da Silva\n(2011) <doi:10.1007/s10182-010-0141-2>, Cribari-Neto et al.\n(2007) <doi:10.1080/03610920601126589>, and Li et al. (2016)\n<doi:10.1080/00949655.2016.1198906>. The package also includes\nHCbeta, a new estimator proposed by the package authors. It\nprovides normal Wald tests, confidence intervals, diagnostics,\nand S3 output for applied inference.",
  "URL": "https://prdm0.github.io/hcinfer/, https://github.com/prdm0/hcinfer",
  "BugReports": "https://github.com/prdm0/hcinfer/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "7.3.3",
  "Repository": "https://prdm0.r-universe.dev",
  "Date/Publication": "2026-06-10 12:29:24 UTC",
  "RemoteUrl": "https://github.com/prdm0/hcinfer",
  "RemoteRef": "HEAD",
  "RemoteSha": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 15:12:48 UTC",
    "User": "root"
  },
  "Author": "Pedro Rafael D. Marinho [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1591-8300>),\nFrancisco Cribari-Neto [aut] (ORCID:\n<https://orcid.org/0000-0002-5909-6698>),\nMarina Oliveira Cunha [aut] (ORCID:\n<https://orcid.org/0009-0007-4938-3881>)",
  "Maintainer": "Pedro Rafael D. Marinho <pedro.rafael.marinho@gmail.com>",
  "MD5sum": "d2f3f88e350446b31add2d80b6c70bf4",
  "_user": "prdm0",
  "_type": "src",
  "_file": "hcinfer_0.1.0.9000.tar.gz",
  "_fileid": "f1d2c5314d1dfacd23d53e253b5062cdaf2615a2159578989d5614054fa40863",
  "_filesize": 1307727,
  "_sha256": "f1d2c5314d1dfacd23d53e253b5062cdaf2615a2159578989d5614054fa40863",
  "_created": "2026-06-10T15:12:48.000Z",
  "_published": "2026-06-10T15:19:24.704Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80593909977,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7539994339"
    },
    {
      "job": 80593909868,
      "time": 303,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7540058256"
    },
    {
      "job": 80593909974,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7540081792"
    },
    {
      "job": 80593909971,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7540031522"
    },
    {
      "job": 80593317863,
      "time": 169,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7539930493"
    },
    {
      "job": 80593909937,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7539978381"
    },
    {
      "job": 80593909960,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7539966066"
    },
    {
      "job": 80593910012,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7539977317"
    },
    {
      "job": 80593909911,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7539983238"
    }
  ],
  "_buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/prdm0/hcinfer",
  "_commit": {
    "id": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
    "author": "prdm0 <pedro.rafael.marinho@gmail.com>",
    "committer": "prdm0 <pedro.rafael.marinho@gmail.com>",
    "message": "0.1.900\n",
    "time": 1781094564
  },
  "_maintainer": {
    "name": "Pedro Rafael D. Marinho",
    "email": "pedro.rafael.marinho@gmail.com",
    "login": "prdm0",
    "orcid": "0000-0003-1591-8300",
    "description": "PhD in Statistics and R/Python Language Enthusiast",
    "uuid": 4948384
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "prdm0",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 5
    },
    {
      "week": "2026-23",
      "n": 12
    },
    {
      "week": "2026-24",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-04"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "prdm0",
      "count": 20,
      "uuid": 4948384
    }
  ],
  "_userbio": {
    "uuid": 4948384,
    "type": "user",
    "name": "Pedro Rafael",
    "description": "PhD in Statistics and R/Python Language Enthusiast"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hcinfer"
  },
  "_devurl": "https://github.com/prdm0/hcinfer",
  "_pkgdown": "https://prdm0.github.io/hcinfer/",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hcinfer.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-10"
    }
  ],
  "_exports": [
    "hc_methods",
    "hcinfer",
    "tests",
    "vcov_hc"
  ],
  "_datasets": [
    {
      "name": "PublicSchools",
      "title": "Public school expenditure and income by US state",
      "object": "PublicSchools",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "state",
        "expenditure",
        "income"
      ],
      "rows": 51,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.hcinfer",
      "title": "Extract model coefficients from an hcinfer object",
      "topics": [
        "coef.hcinfer"
      ]
    },
    {
      "page": "confint.hcinfer",
      "title": "Confidence intervals for hcinfer objects",
      "topics": [
        "confint.hcinfer"
      ]
    },
    {
      "page": "hc_methods",
      "title": "Available heteroskedasticity-consistent estimators",
      "topics": [
        "hc_methods"
      ]
    },
    {
      "page": "hcinfer",
      "title": "Heteroskedasticity-consistent Wald inference",
      "topics": [
        "hcinfer"
      ]
    },
    {
      "page": "plot.hcinfer",
      "title": "Plot robust confidence intervals",
      "topics": [
        "plot.hcinfer"
      ]
    },
    {
      "page": "plot.hcinfer_vcov",
      "title": "Plot HC adjustment factors against leverages",
      "topics": [
        "plot.hcinfer_vcov"
      ]
    },
    {
      "page": "print.hcinfer",
      "title": "Print hcinfer objects",
      "topics": [
        "print.hcinfer"
      ]
    },
    {
      "page": "print.hcinfer_vcov",
      "title": "Print hcinfer covariance objects",
      "topics": [
        "print.hcinfer_vcov"
      ]
    },
    {
      "page": "PublicSchools",
      "title": "Public school expenditure and income by US state",
      "topics": [
        "PublicSchools"
      ]
    },
    {
      "page": "summary.hcinfer",
      "title": "Summarize heteroskedasticity-consistent inference",
      "topics": [
        "summary.hcinfer"
      ]
    },
    {
      "page": "summary.hcinfer_vcov",
      "title": "Summarize heteroskedasticity-consistent covariance objects",
      "topics": [
        "summary.hcinfer_vcov"
      ]
    },
    {
      "page": "tests",
      "title": "Extract coefficient test results",
      "topics": [
        "tests",
        "tests.hcinfer"
      ]
    },
    {
      "page": "vcov_hc",
      "title": "Heteroskedasticity-consistent covariance estimator",
      "topics": [
        "vcov_hc"
      ]
    },
    {
      "page": "vcov.hcinfer",
      "title": "Extract robust covariance matrices",
      "topics": [
        "vcov.hcinfer",
        "vcov.hcinfer_vcov"
      ]
    }
  ],
  "_pkglogo": "https://github.com/prdm0/hcinfer/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/prdm0/hcinfer/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "hcinfer-comparison.Rmd",
      "filename": "hcinfer-comparison.html",
      "title": "Comparing HC Estimators",
      "engine": "knitr::rmarkdown",
      "headings": [
        "List the available estimators",
        "Fit one model",
        "Run several methods",
        "Compare one coefficient",
        "Plot the robust standard errors",
        "Compare confidence intervals directly",
        "Compare covariance objects",
        "Compare diagnostics across methods",
        "What to report"
      ],
      "created": "2026-05-27 19:25:41",
      "modified": "2026-05-27 19:25:41",
      "commits": 1
    },
    {
      "source": "hcinfer-methodology.Rmd",
      "filename": "hcinfer-methodology.html",
      "title": "HC Estimator Methodology",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The model and the target covariance matrix",
        "The sandwich form",
        "The hat matrix and leverage",
        "Residual compression",
        "The classical HC family",
        "HC5 and HC5m",
        "Overshooting",
        "HCbeta motivation",
        "HCbeta construction",
        "Step 1: truncate leverage complements",
        "Step 2: estimate Beta shape parameters by moments",
        "Step 3: shrink toward the uniform cdf",
        "Step 4: use a decaying exponent",
        "Normal Wald inference",
        "Practical guidance",
        "Implementation notes",
        "References"
      ],
      "created": "2026-06-02 18:56:00",
      "modified": "2026-06-05 13:05:54",
      "commits": 2
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to hcinfer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data and Model",
        "Available Estimators",
        "Robust Inference",
        "Test Extraction",
        "Confidence Interval Extraction",
        "Coefficients and Covariance Matrices",
        "Covariance-Only Workflow",
        "Plots",
        "A Small Comparison",
        "Typical Workflow"
      ],
      "created": "2026-05-27 19:25:41",
      "modified": "2026-05-28 12:08:29",
      "commits": 2
    },
    {
      "source": "hcinfer-hcbeta.Rmd",
      "filename": "hcinfer-hcbeta.html",
      "title": "Using HCbeta",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Run HCbeta",
        "Extract coefficient test results",
        "Inspect HCbeta parameters",
        "Inspect leverage and weights",
        "Use the covariance-only interface",
        "Run a sensitivity check",
        "Compare HCbeta with one classical estimator",
        "Practical workflow"
      ],
      "created": "2026-05-27 19:25:41",
      "modified": "2026-05-27 19:25:41",
      "commits": 1
    }
  ],
  "_score": 3.924279286061882,
  "_indexed": true,
  "_nocasepkg": "hcinfer",
  "_universes": [
    "prdm0"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:15:12.000Z",
      "distro": "noble",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "767b6e64d5e1b4c02b23b103c847b4e4f31494ab493772991d855cd5e66c1f1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:17:46.000Z",
      "distro": "noble",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "af8d4d1efabf4df082dac9bed3261547023877b851988eae29a40e5a7a6af14b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:18:45.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "b5b4d2dcc68a97697b8450f6cb999ee0fca2a9994cab8c4ff1c8d86011e2dcc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:16:45.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "d44189962bc68a6d20d69bd0234a186eee29e277edf015080c5573c22e6f1b7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:14:55.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "657e4d3f4045c9312880c1258ee118a03c14f58945ca1448e4df7ad9c3786dd3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:14:00.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "492dae8bd096233a498b2d36a14e9df8c0f2119e11ca7fdc20581ed6a0894305",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:14:19.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "9e6a66a6ccc3e9c9a49f89568c08496d6627f5f947598a745df1b0600d95c3b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T15:14:38.000Z",
      "commit": "18c63cd9f1ec073dbe78e89bb0b421ef375cea0e",
      "fileid": "7f5cfcf41d85583fbcfeec3a5b402b5a6cf8fd370cdb6e06a45f6f0574065d06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/27285989731"
    }
  ]
}