{
  "_id": "6a156930acfb0bcc41d628f0",
  "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-05-26 09:31:35 UTC",
    "User": "root"
  },
  "Author": "Marten Thompson [aut, cre, cph], Snigdhansu Chatterjee [ctb,\ncph]",
  "Maintainer": "Marten Thompson <thom7058@umn.edu>",
  "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",
  "MD5sum": "fec88c9813ce74f1d00b822eb3b10e17",
  "_user": "martenthompson",
  "_type": "src",
  "_file": "agfh_0.2.1.tar.gz",
  "_fileid": "0738100fe46792ed238a6a4698e4b8d13f50e752cabe0a5d04f033d397d226c9",
  "_filesize": 478660,
  "_sha256": "0738100fe46792ed238a6a4698e4b8d13f50e752cabe0a5d04f033d397d226c9",
  "_created": "2026-05-26T09:31:35.000Z",
  "_published": "2026-05-26T09:34:40.190Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77846372419,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213632979"
    },
    {
      "job": 77846372417,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213632083"
    },
    {
      "job": 77846372439,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213625877"
    },
    {
      "job": 77846372421,
      "time": 143,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213625119"
    },
    {
      "job": 77845643150,
      "time": 258,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213580644"
    },
    {
      "job": 77846372397,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213619055"
    },
    {
      "job": 77846372385,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213618984"
    },
    {
      "job": 77846372504,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213617531"
    },
    {
      "job": 77846372425,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213615464"
    }
  ],
  "_buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/agfh",
  "_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
  },
  "_maintainer": {
    "name": "Marten Thompson",
    "email": "thom7058@umn.edu"
  },
  "_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",
    "description": "📈 PhD stat/ML scientist　　　　　　　\r\n🌊 Blue tech　　　　　　　　　　　　　\r\n🌱 Environment "
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/agfh"
  },
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/agfh.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "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-05-26T09:33:48.000Z",
      "distro": "noble",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "30510dbd95fbfa3d44004ab11eead5de6331e4fca6eaeae3bc70242df87f9547",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-26T09:33:43.000Z",
      "distro": "noble",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "70a3892c1a7725ec3adec79356d756da1bdb85a12cbf910b6f296ecfc5ab7b39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-26T09:33:43.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "7dea5cf858ea688e32aed6bcbde78cc867195a74ac24f30dcb9c7e5f43e59b16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-26T09:33:35.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "0cad622a94c2c01ec2a40fbc2bce9b40b1ba9b29c05f3516da5ed9382c9e9533",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-26T09:33:44.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "dce4df2c1f501bee43f8e66cef269b7841ad31a49da7c016c7d813fd92aa00e6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-26T09:33:01.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "066ff3298b3f63815291b7b21baea5b553b91200461a64121f21f5e6b8a02031",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-26T09:32:53.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "4b3a11571cf28135bb02a51ae0aff8c91acc7ad7833f5e1c733440658fc0a758",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-26T09:32:51.000Z",
      "commit": "61b98cccbc808a45e565c8888618cc8d84859a67",
      "fileid": "3febe2feadd70671bca02864690f6de82fc3d070b4fa7af9a7a96200ec4e2a53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/martenthompson/actions/runs/26444038904"
    }
  ]
}