{
  "_id": "6ad9b8d9992ad85420b5fb60",
  "Package": "agfh",
  "Type": "Package",
  "Version": "0.2.1",
  "Date": "2023-06-21",
  "Title": "Agnostic Fay-Herriot Model for Small Area Statistics",
  "Authors@R": "c(\nperson(given=\"Marten\", family=\"Thompson\", email = \"thom7058@umn.edu\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(given=\"Snigdhansu\", family=\"Chatterjee\", email = \"chatt019@umn.edu\", role = c(\"ctb\", \"cph\")))",
  "Description": "Implements the Agnostic Fay-Herriot model, an extension of\nthe traditional small area model. In place of normal sampling\nerrors, the sampling error distribution is estimated with a\nGaussian process to accommodate a broader class of\ndistributions. This flexibility is most useful in the presence\nof bounded, multi-modal, or heavily skewed sampling errors.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-22 07:14:02 UTC",
    "User": "root"
  },
  "Author": "Marten Thompson [aut, cre, cph], Snigdhansu Chatterjee [ctb,\ncph]",
  "Maintainer": "Marten Thompson <thom7058@umn.edu>",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://martenthompson.r-universe.dev",
  "Date/Publication": "2023-06-21 19:00:05 UTC",
  "RemoteUrl": "https://github.com/cran/agfh",
  "RemoteRef": "HEAD",
  "RemoteSha": "61b98cccbc808a45e565c8888618cc8d84859a67",
  "_user": "martenthompson",
  "_type": "src",
  "_file": "agfh_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/39168122ca10095e9ea83f0035320d29d996328e05a134cede078fbb6b44340a",
  "_filesize": 480515,
  "_sha256": "39168122ca10095e9ea83f0035320d29d996328e05a134cede078fbb6b44340a",
  "_expires": "2027-01-30T07:18:47.000Z",
  "_created": "2026-10-22T07:14:02.000Z",
  "_published": "2026-10-22T07:18:49.185Z",
  "_upstream": "https://github.com/cran/agfh",
  "_status": "success",
  "_maintainer": {
    "name": "Marten Thompson",
    "email": "thom7058@umn.edu"
  },
  "_jobs": [
    {
      "job": 119691817864,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12408556463"
    },
    {
      "job": 119691817797,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12408417539"
    },
    {
      "job": 119691817968,
      "time": 242,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12408407691"
    },
    {
      "job": 119691817911,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12407903772"
    },
    {
      "job": 119688682269,
      "time": 515,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12408412013"
    },
    {
      "job": 119691817874,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12408387549"
    },
    {
      "job": 119691817972,
      "time": 105,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12408497092"
    },
    {
      "job": 119691817952,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12407803928"
    },
    {
      "job": 119691817962,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12408407371"
    }
  ],
  "_buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185",
  "_commit": {
    "id": "61b98cccbc808a45e565c8888618cc8d84859a67",
    "author": "Marten Thompson <thom7058@umn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1687374005
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "goftest",
      "role": "Imports"
    },
    {
      "package": "ks",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 14183098,
    "type": "user",
    "name": "Marten Thompson",
    "followers": 5,
    "description": "📈 PhD stat/ML scientist　　　　　　　\r\n🌊 Blue tech　　　　　　　　　　　　　\r\n🌱 Environment "
  },
  "_downloads": {
    "count": 354,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/agfh"
  },
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/agfh.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_realowner": "martenthompson",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2023-06-21"
    }
  ],
  "_exports": [
    "adj_profile_likelihood_theta_var_maker",
    "adj_resid_likelihood_theta_var_maker",
    "agfh_theta_new_pred",
    "anderson_darling",
    "beta_err_gen",
    "cramer_vonmises",
    "gamma_err_gen",
    "hb_theta_new_pred",
    "kolmogorov_smirnov",
    "make_agfh_sampler",
    "make_gibbs_sampler",
    "map_from_density",
    "mse",
    "null_gen",
    "resid_likelihood_theta_var_maker",
    "RM_beta_eblue",
    "RM_theta_eblup",
    "RM_theta_new_pred",
    "RM_theta_var_moment_est",
    "shapiro_wilk",
    "test_u_normal",
    "theta_var_est_grid"
  ],
  "_help": [
    {
      "page": "adj_profile_likelihood_theta_var_maker",
      "title": "Maker Function: Adjusted Profile Likelihood of Latent Variance",
      "topics": [
        "adj_profile_likelihood_theta_var_maker"
      ]
    },
    {
      "page": "adj_resid_likelihood_theta_var_maker",
      "title": "Maker Function: Adjusted Residual Likelihood of Latent Variance",
      "topics": [
        "adj_resid_likelihood_theta_var_maker"
      ]
    },
    {
      "page": "agfh_theta_new_pred",
      "title": "Agnostic Fay-Herriot Hierarchical Bayesian Model Predictions at Latent Level",
      "topics": [
        "agfh_theta_new_pred"
      ]
    },
    {
      "page": "anderson_darling",
      "title": "Anderson-Darling Normality Test",
      "topics": [
        "anderson_darling"
      ]
    },
    {
      "page": "beta_err_gen",
      "title": "Generate Data with Beta Sampling Errors",
      "topics": [
        "beta_err_gen"
      ]
    },
    {
      "page": "cramer_vonmises",
      "title": "Cramer-Von Mises Normality Test",
      "topics": [
        "cramer_vonmises"
      ]
    },
    {
      "page": "gamma_err_gen",
      "title": "Generate Data with Gamma Sampling Errors",
      "topics": [
        "gamma_err_gen"
      ]
    },
    {
      "page": "hb_theta_new_pred",
      "title": "Traditional Fay-Herriot Hierarchical Bayesian Model Predictions",
      "topics": [
        "hb_theta_new_pred"
      ]
    },
    {
      "page": "kolmogorov_smirnov",
      "title": "Kolmogorov-Smirnov Normality Test",
      "topics": [
        "kolmogorov_smirnov"
      ]
    },
    {
      "page": "make_agfh_sampler",
      "title": "Maker Function: Agnostic Fay-Herriot Sampler",
      "topics": [
        "make_agfh_sampler"
      ]
    },
    {
      "page": "make_gibbs_sampler",
      "title": "Maker Function: Traditional Fay-Herriot Gibbs Sampler",
      "topics": [
        "make_gibbs_sampler"
      ]
    },
    {
      "page": "map_from_density",
      "title": "Calculate the MAP Estimate from Posterior Samples",
      "topics": [
        "map_from_density"
      ]
    },
    {
      "page": "mse",
      "title": "Calculate the Mean Squared Error Between two Vectors",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "null_gen",
      "title": "Generate Data with Normal Sampling Errors",
      "topics": [
        "null_gen"
      ]
    },
    {
      "page": "resid_likelihood_theta_var_maker",
      "title": "Maker Function: Residual Likelihood of Latent Variance",
      "topics": [
        "resid_likelihood_theta_var_maker"
      ]
    },
    {
      "page": "RM_beta_eblue",
      "title": "Traditional EBLUE Estimator of Beta",
      "topics": [
        "RM_beta_eblue",
        "rm_beta_eblue"
      ]
    },
    {
      "page": "RM_theta_eblup",
      "title": "Traditional EBLUP Estimator of Theta",
      "topics": [
        "RM_theta_eblup",
        "rm_theta_eblup"
      ]
    },
    {
      "page": "RM_theta_new_pred",
      "title": "Traditional EBLUP Estimator of Theta for new 'X' values",
      "topics": [
        "RM_theta_new_pred",
        "rm_theta_new_pred"
      ]
    },
    {
      "page": "RM_theta_var_moment_est",
      "title": "Moment-Based Estimator of Latent Model Variance",
      "topics": [
        "RM_theta_var_moment_est",
        "rm_theta_var_moment_est"
      ]
    },
    {
      "page": "shapiro_wilk",
      "title": "Shaprio-Wilk Normality Test",
      "topics": [
        "shapiro_wilk"
      ]
    },
    {
      "page": "test_u_normal",
      "title": "Normality Test",
      "topics": [
        "test_u_normal"
      ]
    },
    {
      "page": "theta_var_est_grid",
      "title": "Basic Grid Optimizer for Likelihood",
      "topics": [
        "theta_var_est_grid"
      ]
    }
  ],
  "_readme": "https://github.com/cran/agfh/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "FNN",
    "ggplot2",
    "glue",
    "gmp",
    "goftest",
    "gtable",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "mclust",
    "mgcv",
    "multicool",
    "mvtnorm",
    "nlme",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "vignette_agfh.Rmd",
      "filename": "vignette_agfh.html",
      "title": "agfh: Agnostic Fay-Herriot Model",
      "author": "Marten Thompson",
      "engine": "knitr::knitr",
      "headings": [
        "Introduction",
        "Agnostic Fay-Herriot Model",
        "Example",
        "Data Generation",
        "AGFH Sampling",
        "Hierarchical Bayes FH Sampling",
        "Frequentist/Empirical Bayes",
        "Estimating Latent Variable"
      ],
      "created": "2023-06-21 19:00:05",
      "modified": "2023-06-21 19:00:05",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "agfh",
  "_universes": [
    "martenthompson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-22T07:16:09.000Z",
      "distro": "resolute",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/6d892228bb7d067345e4a147d7d553593f6950d7d59a1b63d175cce57ae7b558",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-22T07:16:13.000Z",
      "distro": "resolute",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/4571947d9fec776266e6ae6b47bc7538172093995dcb6b2cd970d7dd6e6dc2e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-10-22T07:17:14.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/22edbdf532e13f21ae5aa12c993bcfbacdcb7cced4ecb709d1156cfa8ea4f528",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-10-22T07:16:23.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/23ca6771b49097441171fd7d0908c72be443486faeb60fdde480ce1bae3f35ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-10-22T07:16:21.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/f785ccb6b6c6b035a6cfa19b07082b3cb840f0f0548acfefbda6be9d6380f263",
      "status": "success",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-22T07:15:21.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/477843625a76973e37436b072b44d48cec320ad0639c6f26d25bf765bc9e2d97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-22T07:15:21.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/da422d27bb86a91988972bf665d0a0fe4a703e45a796827ef7647513b6d3c10f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-22T07:15:21.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "https://r2.ropensci.org/5fd31c9a2ab147da029ed6fb812e387730708a7ab22c8406e65151aba416cedb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/39738129185"
    }
  ]
}