{
  "_id": "6a103476acfb0bcc41c99139",
  "Package": "erer",
  "Type": "Package",
  "Title": "Empirical Research in Economics with R",
  "Version": "4.0",
  "Date": "2024-09-25",
  "Authors@R": "person(given = \"Changyou\", family = \"Sun\", email = \"edwinsun258@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Several functions, datasets, and sample codes related to\nempirical research in economics are included. They cover the\nmarginal effects for binary or ordered choice models, static\nand dynamic Almost Ideal Demand System (AIDS) models, and a\ntypical event analysis in finance.",
  "License": "GPL (>= 2)",
  "LazyLoad": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 07:40:52 UTC",
    "User": "root"
  },
  "Author": "Changyou Sun [aut, cre]",
  "Maintainer": "Changyou Sun <edwinsun258@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-09-27 03:00:41 UTC",
  "RemoteUrl": "https://github.com/cran/erer",
  "RemoteRef": "HEAD",
  "RemoteSha": "0971f7143cbc4daa60d47c6a0e42a75821fe3cfd",
  "MD5sum": "ce6af9d2cab17a1643136c283d5bd215",
  "_user": "cran",
  "_type": "src",
  "_file": "erer_4.0.tar.gz",
  "_fileid": "09e0749979c8297375ab4a498f31fc3476b63c7899a0241819a0afd6bc233996",
  "_filesize": 556375,
  "_sha256": "09e0749979c8297375ab4a498f31fc3476b63c7899a0241819a0afd6bc233996",
  "_created": "2026-05-12T07:40:52.000Z",
  "_published": "2026-05-22T10:48:21.989Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77364577925,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6938424845"
    },
    {
      "job": 77364577980,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938428645"
    },
    {
      "job": 77364577537,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938385097"
    },
    {
      "job": 77364577552,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158690114"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25720455090",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/erer",
  "_commit": {
    "id": "0971f7143cbc4daa60d47c6a0e42a75821fe3cfd",
    "author": "Changyou Sun <edwinsun258@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.0\n",
    "time": 1727406041
  },
  "_maintainer": {
    "name": "Changyou Sun",
    "email": "edwinsun258@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "lmtest",
      "role": "Depends"
    },
    {
      "package": "systemfit",
      "role": "Imports"
    },
    {
      "package": "tseries",
      "role": "Imports"
    },
    {
      "package": "urca",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 2901,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/erer"
  },
  "_searchresults": 211,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/erer.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-02-04"
    },
    {
      "version": "1.1",
      "date": "2012-03-30"
    },
    {
      "version": "1.2",
      "date": "2012-08-19"
    },
    {
      "version": "1.3",
      "date": "2012-09-18"
    },
    {
      "version": "1.4",
      "date": "2013-01-01"
    },
    {
      "version": "2.0",
      "date": "2014-01-10"
    },
    {
      "version": "2.1",
      "date": "2014-06-03"
    },
    {
      "version": "2.2",
      "date": "2014-08-11"
    },
    {
      "version": "2.3",
      "date": "2014-11-28"
    },
    {
      "version": "2.4",
      "date": "2015-08-31"
    },
    {
      "version": "2.5",
      "date": "2016-02-25"
    },
    {
      "version": "3.0",
      "date": "2020-05-01"
    },
    {
      "version": "3.1",
      "date": "2022-04-18"
    },
    {
      "version": "4.0",
      "date": "2024-09-26"
    }
  ],
  "_exports": [
    "aiData",
    "aiDiag",
    "aiDynFit",
    "aiElas",
    "aiStaFit",
    "aiStaHau",
    "bsFormu",
    "bsLag",
    "bsStat",
    "bsTab",
    "download.lib",
    "evReturn",
    "evRisk",
    "headts",
    "listn",
    "lss",
    "maBina",
    "maTrend",
    "ocME",
    "ocProb",
    "plot.evReturn",
    "plot.maTrend",
    "plot.ocProb",
    "plot.urdf2",
    "print.aidata",
    "print.aiFit",
    "print.evReturn",
    "print.evRisk",
    "print.maBina",
    "print.maTrend",
    "print.ocME",
    "print.ocProb",
    "print.urdf2",
    "summary.aiFit",
    "systemfitAR",
    "tailts",
    "ur.df2",
    "write.list"
  ],
  "_datasets": [
    {
      "name": "daBed",
      "title": "Transformed Wooden Beds Import Data for Static AIDS Models",
      "object": "daBed",
      "file": "daBed.rda",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "sCN",
        "sVN",
        "sID",
        "sMY",
        "sCA",
        "sBR",
        "sIT",
        "sRW",
        "rte",
        "lnpCN",
        "lnpVN",
        "lnpID",
        "lnpMY",
        "lnpCA",
        "lnpBR",
        "lnpIT",
        "lnpRW",
        "dum1",
        "dum2",
        "dum3"
      ],
      "rows": 96,
      "table": true,
      "tojson": true
    },
    {
      "name": "daBedRaw",
      "title": "Wooden Beds Import Data",
      "object": "daBedRaw",
      "file": "daBedRaw.rda",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "vBR",
        "vCA",
        "vCN",
        "vDK",
        "vFR",
        "vHK",
        "vIA",
        "vID",
        "vIT",
        "vMY",
        "vMX",
        "vPH",
        "vTW",
        "vTH",
        "vUK",
        "vVN",
        "vWD",
        "qBR",
        "qCA",
        "qCN",
        "qDK",
        "qFR",
        "qHK",
        "qIA",
        "qID",
        "qIT",
        "qMY",
        "qMX",
        "qPH",
        "qTW",
        "qTH",
        "qUK",
        "qVN",
        "qWD"
      ],
      "rows": 156,
      "table": true,
      "tojson": true
    },
    {
      "name": "daEsa",
      "title": "Daily returns of 14 public firms from 1990 to 2004",
      "object": "daEsa",
      "file": "daEsa.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "tb3m",
        "sp500",
        "bbc",
        "bow",
        "csk",
        "gp",
        "ip",
        "kmb",
        "lpx",
        "mwv",
        "pch",
        "pcl",
        "pop",
        "tin",
        "wpp",
        "wy"
      ],
      "rows": 3747,
      "table": true,
      "tojson": true
    },
    {
      "name": "daExp",
      "title": "Expenditure Data for a Hausman Test in AIDS Model",
      "object": "daExp",
      "file": "daExp.rda",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "pinc",
        "dpi",
        "pce",
        "dg",
        "rdpi",
        "rpce",
        "rdg"
      ],
      "rows": 96,
      "table": true,
      "tojson": true
    },
    {
      "name": "daIns",
      "title": "Liability Insurance Coverage for Hunters and Anglers in Mississippi",
      "object": "daIns",
      "file": "daIns.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "Injury",
        "HuntYrs",
        "Nonres",
        "Lspman",
        "Lnong",
        "Gender",
        "Age",
        "Race",
        "Marital",
        "Edu",
        "Inc",
        "TownPop",
        "FishYrs"
      ],
      "rows": 1653,
      "table": true,
      "tojson": true
    },
    {
      "name": "daInsNam",
      "title": "Liability Insurance Coverage for Hunters and Anglers in Mississippi: Variable Definitions",
      "object": "daInsNam",
      "file": "daInsNam.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Variable",
        "Definition"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "daLaw",
      "title": "Data for statutory reforms and retention of prescribed fire liability laws on forest land by state",
      "object": "daLaw",
      "file": "daLaw.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SHORT",
        "STATE",
        "Y",
        "FYNFS",
        "FYIND",
        "FYNIP",
        "AGEN",
        "POPRUR",
        "EDU",
        "INC",
        "DAY",
        "BIANN",
        "SEAT",
        "BICAM",
        "COMIT",
        "RATIO"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "daPe",
      "title": "Program Effectiveness of a New Method of Teaching Economics",
      "object": "daPe",
      "file": "daPe.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "grade",
        "gpa",
        "tuce",
        "psi"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "daRoll",
      "title": "Voting records for the Healthy Forests Restoration Act in 2003 and the associated characteristics of congressmen",
      "object": "daRoll",
      "file": "daRoll.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "district",
        "name",
        "voteMay",
        "voteNov",
        "RepParty",
        "East",
        "West",
        "South",
        "PopDen",
        "PopRural",
        "Edu",
        "Income",
        "FYland",
        "Size",
        "ContrFY",
        "ContrEN",
        "Sex",
        "Lawyer",
        "Member",
        "Year",
        "Chamber"
      ],
      "rows": 537,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "erer-package",
      "title": "Empirical Research in Economics with R",
      "topics": [
        "erer-package",
        "erer"
      ]
    },
    {
      "page": "aiData",
      "title": "Transforming Raw Data for Static AIDS Model",
      "topics": [
        "aiData",
        "print.aidata"
      ]
    },
    {
      "page": "aiDiag",
      "title": "Diagnostic Statitics for Static or Dynamic AIDS Model",
      "topics": [
        "aiDiag"
      ]
    },
    {
      "page": "aiDynFit",
      "title": "Fitting a Dynamic AIDS Model",
      "topics": [
        "aiDynFit"
      ]
    },
    {
      "page": "aiElas",
      "title": "Computing Elasticity for Static or Dynamic AIDS Models",
      "topics": [
        "aiElas"
      ]
    },
    {
      "page": "aiStaFit",
      "title": "Fitting a Static AIDS Model",
      "topics": [
        "aiStaFit",
        "print.aiFit"
      ]
    },
    {
      "page": "aiStaHau",
      "title": "Conducting a Hausman Test on a Static AIDS Model",
      "topics": [
        "aiStaHau"
      ]
    },
    {
      "page": "bsFormu",
      "title": "Generating Formula for Models",
      "topics": [
        "bsFormu"
      ]
    },
    {
      "page": "bsLag",
      "title": "Lagged Time Series",
      "topics": [
        "bsLag"
      ]
    },
    {
      "page": "bsStat",
      "title": "Summary of Basic Statistics",
      "topics": [
        "bsStat"
      ]
    },
    {
      "page": "bsTab",
      "title": "Generating Pretty Statistical Tables",
      "topics": [
        "bsTab"
      ]
    },
    {
      "page": "daBed",
      "title": "Transformed Wooden Beds Import Data for Static AIDS Models",
      "topics": [
        "daBed"
      ]
    },
    {
      "page": "daBedRaw",
      "title": "Wooden Beds Import Data",
      "topics": [
        "daBedRaw"
      ]
    },
    {
      "page": "daEsa",
      "title": "Daily returns of 14 public firms from 1990 to 2004",
      "topics": [
        "daEsa"
      ]
    },
    {
      "page": "daExp",
      "title": "Expenditure Data for a Hausman Test in AIDS Model",
      "topics": [
        "daExp"
      ]
    },
    {
      "page": "daIns",
      "title": "Liability Insurance Coverage for Hunters and Anglers in Mississippi",
      "topics": [
        "daIns"
      ]
    },
    {
      "page": "daInsNam",
      "title": "Liability Insurance Coverage for Hunters and Anglers in Mississippi: Variable Definitions",
      "topics": [
        "daInsNam"
      ]
    },
    {
      "page": "daLaw",
      "title": "Data for statutory reforms and retention of prescribed fire liability laws on forest land by state",
      "topics": [
        "daLaw"
      ]
    },
    {
      "page": "daPe",
      "title": "Program Effectiveness of a New Method of Teaching Economics",
      "topics": [
        "daPe"
      ]
    },
    {
      "page": "daRoll",
      "title": "Voting records for the Healthy Forests Restoration Act in 2003 and the associated characteristics of congressmen",
      "topics": [
        "daRoll"
      ]
    },
    {
      "page": "download.lib",
      "title": "Downloading source and PDF version of R packages",
      "topics": [
        "download.lib"
      ]
    },
    {
      "page": "evReturn",
      "title": "Estimating Abnormal Return from Event Analysis",
      "topics": [
        "evReturn",
        "plot.evReturn",
        "print.evReturn"
      ]
    },
    {
      "page": "evRisk",
      "title": "Risk Evaluation for Event Analysis",
      "topics": [
        "evRisk",
        "print.evRisk"
      ]
    },
    {
      "page": "headts",
      "title": "Return the first or last part of time series data",
      "topics": [
        "headts",
        "tailts"
      ]
    },
    {
      "page": "listn",
      "title": "Generate a list object with names",
      "topics": [
        "listn"
      ]
    },
    {
      "page": "lss",
      "title": "List Objects with Their Sizes",
      "topics": [
        "lss"
      ]
    },
    {
      "page": "maBina",
      "title": "Marginal Effect for Binary Probit and Logit Model",
      "topics": [
        "maBina",
        "print.maBina"
      ]
    },
    {
      "page": "maTrend",
      "title": "Trend of probability values in a binary choice model",
      "topics": [
        "maTrend",
        "plot.maTrend",
        "print.maTrend"
      ]
    },
    {
      "page": "ocME",
      "title": "Marginal Effect for Ordered Choice Model",
      "topics": [
        "ocME",
        "print.ocME"
      ]
    },
    {
      "page": "ocProb",
      "title": "Probability trend for a continuous variable in an ordered choice model",
      "topics": [
        "ocProb",
        "plot.ocProb",
        "print.ocProb"
      ]
    },
    {
      "page": "summary.aiFit",
      "title": "Summary of Results from Static or Dynamic Models",
      "topics": [
        "summary.aiFit"
      ]
    },
    {
      "page": "systemfitAR",
      "title": "Linear Equation System Estimation with Correction on Autocorrelation",
      "topics": [
        "systemfitAR"
      ]
    },
    {
      "page": "ur.df2",
      "title": "Augmented-Dickey-Fuller Unit Root Test revised",
      "topics": [
        "plot.urdf2",
        "print.urdf2",
        "ur.df2"
      ]
    },
    {
      "page": "write.list",
      "title": "Output and Write a List Object",
      "topics": [
        "write.list"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "curl",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quadprog",
    "quantmod",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "systemfit",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tseries",
    "TTR",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xts",
    "zoo"
  ],
  "_score": 3.7410726935396816,
  "_indexed": true,
  "_nocasepkg": "erer",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0",
      "date": "2026-05-12T07:42:54.000Z",
      "distro": "noble",
      "commit": "0971f7143cbc4daa60d47c6a0e42a75821fe3cfd",
      "fileid": "c4b043d164c51e4b158f0d91f5f744af0b2244ce7e3fe4fe2deafc5dbf29f989",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25720455090"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0",
      "date": "2026-05-12T07:43:05.000Z",
      "distro": "noble",
      "commit": "0971f7143cbc4daa60d47c6a0e42a75821fe3cfd",
      "fileid": "5fcb712d163a2c0ca6f4fa416ca798d2aad1dbbd428d5c444b97021c3aa19443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25720455090"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0",
      "date": "2026-05-22T10:48:01.000Z",
      "commit": "0971f7143cbc4daa60d47c6a0e42a75821fe3cfd",
      "fileid": "7f6e4f9501e374fb79c27e040ee29f3a10656440220d56dc6275ad4ae18608b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25720455090"
    }
  ]
}