{
  "_id": "6b1418752975f68afc5d780f",
  "Package": "GammaGammaCov",
  "Type": "Package",
  "Title": "Gamma-Gamma Spend Models with Covariates",
  "Version": "0.1.0",
  "Authors@R": "person(\"Ka Lok\", \"Lee\", email = \"kaloklee@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Maximum likelihood estimation of the gamma-gamma model of\nspend per transaction, with time-varying and time-invariant\ncovariates and unobserved cross-sectional heterogeneity,\nfollowing Fader and Hardie (2024)\n<https://brucehardie.com/notes/045/>.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.1",
  "Config/testthat/edition": "3",
  "URL": "https://kaloklee.github.io/GammaGammaCov/,\nhttps://github.com/kaloklee/GammaGammaCov",
  "BugReports": "https://github.com/kaloklee/GammaGammaCov/issues",
  "Repository": "https://kaloklee.r-universe.dev",
  "Date/Publication": "2026-11-16 03:02:39 UTC",
  "RemoteUrl": "https://github.com/kaloklee/gammagammacov",
  "RemoteRef": "HEAD",
  "RemoteSha": "44c7cb32627d1b859a409082d84420a3633927ec",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-05 13:54:42 UTC",
    "User": "root"
  },
  "Author": "Ka Lok Lee [aut, cre]",
  "Maintainer": "Ka Lok Lee <kaloklee@gmail.com>",
  "_user": "kaloklee",
  "_type": "src",
  "_file": "GammaGammaCov_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cc8beb27ca33f43daa5861a47391c928974f4fe55daa8f2cb72a5d101aec8cca",
  "_filesize": 719392,
  "_sha256": "cc8beb27ca33f43daa5861a47391c928974f4fe55daa8f2cb72a5d101aec8cca",
  "_expires": "2027-03-15T13:58:12.000Z",
  "_created": "2026-12-05T13:54:42.000Z",
  "_published": "2026-12-05T13:58:13.945Z",
  "_upstream": "https://github.com/kaloklee/gammagammacov",
  "_status": "success",
  "_maintainer": {
    "name": "Ka Lok Lee",
    "email": "kaloklee@gmail.com",
    "login": "kaloklee",
    "description": "",
    "uuid": 112717156
  },
  "_jobs": [
    {
      "job": 145697440001,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15935882732"
    },
    {
      "job": 145697439994,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15936086269"
    },
    {
      "job": 145697439957,
      "time": 150,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15936160989"
    },
    {
      "job": 145697439938,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15935463653"
    },
    {
      "job": 145696702423,
      "time": 161,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15935637941"
    },
    {
      "job": 145697440008,
      "time": 81,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15935733091"
    },
    {
      "job": 145697439953,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15935718121"
    },
    {
      "job": 145697439930,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15936395173"
    },
    {
      "job": 145697439954,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15935628059"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512",
  "_commit": {
    "id": "44c7cb32627d1b859a409082d84420a3633927ec",
    "author": "KaLokLee <kaloklee@gmail.com>",
    "committer": "KaLokLee <kaloklee@gmail.com>",
    "message": "Clarify A1 vs A2/A3 likelihood formulations in null-model vignette section\n",
    "time": 1794798159
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "kaloklee",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 8
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kaloklee",
      "count": 10,
      "uuid": 112717156
    }
  ],
  "_userbio": {
    "uuid": 112717156,
    "type": "user",
    "name": "Ka Lok Lee",
    "followers": 1
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GammaGammaCov"
  },
  "_devurl": "https://github.com/kaloklee/gammagammacov",
  "_pkgdown": "https://kaloklee.github.io/GammaGammaCov/",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GammaGammaCov.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/kaloklee/gammagammacov",
  "_realowner": "kaloklee",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-12-04"
    }
  ],
  "_authors": [
    {
      "name": "Ka Lok Lee",
      "email": "kaloklee@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "GGcov_expected_spend",
    "GGcov_MLE",
    "GGcov_plot_avg_spend",
    "GGcov_plot_mixing"
  ],
  "_datasets": [
    {
      "name": "spend_data",
      "title": "Simulated Customer Spend Data",
      "object": "spend_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "Price",
        "discount",
        "gender",
        "channel"
      ],
      "rows": 2786,
      "table": true,
      "tojson": true
    },
    {
      "name": "spend_data_sample",
      "title": "Simulated Customer Spend Data",
      "object": "spend_data_sample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Id",
        "Price",
        "discount",
        "gender",
        "channel"
      ],
      "rows": 858,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "GGcov_expected_spend",
      "title": "Expected Spend per Transaction",
      "topics": [
        "GGcov_expected_spend"
      ]
    },
    {
      "page": "GGcov_LL",
      "title": "Negative Log-Likelihood for Equation (6)",
      "topics": [
        "GGcov_LL"
      ]
    },
    {
      "page": "GGcov_MLE",
      "title": "Fit the Equation (6) Model by Maximum Likelihood",
      "topics": [
        "GGcov_MLE"
      ]
    },
    {
      "page": "GGcov_plot_avg_spend",
      "title": "Plot Observed versus Fitted Average Spend",
      "topics": [
        "GGcov_plot_avg_spend"
      ]
    },
    {
      "page": "GGcov_plot_mixing",
      "title": "Plot the Mixing Distribution of a Fitted Gamma-Gamma Model",
      "topics": [
        "GGcov_plot_mixing"
      ]
    },
    {
      "page": "print.GGcov",
      "title": "Print a Fitted Equation (6) Model",
      "topics": [
        "print.GGcov"
      ]
    },
    {
      "page": "spend_data",
      "title": "Simulated Customer Spend Data",
      "topics": [
        "spend_data",
        "spend_data_sample"
      ]
    }
  ],
  "_readme": "https://github.com/kaloklee/gammagammacov/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "introduction_to_ggcov_vignette.Rmd",
      "filename": "introduction_to_ggcov_vignette.html",
      "title": "Introduction to GammaGammaCov: Gamma-Gamma Spend Models with Covariates",
      "author": "Ka Lok Lee",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package Overview",
        "The Gamma-Gamma Model with Covariates",
        "Required Format for the Data",
        "Example 1: Time-Varying Covariates (spend_data_sample)",
        "Interpreting the Coefficients",
        "Visualizing the Mixing Distribution",
        "Checking the Fit: Observed versus Fitted Average Spend",
        "Posterior Conditional Expectation of Future Spend",
        "Example 2: Static Covariates",
        "Checking the Fit",
        "Example 3: The Null Model",
        "References",
        "Session Information"
      ],
      "created": "2026-11-09 21:20:31",
      "modified": "2026-11-16 03:02:39",
      "commits": 5
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "gammagammacov",
  "_universes": [
    "kaloklee"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-12-05T13:56:58.000Z",
      "distro": "resolute",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/8db35918b2856c34c8be4a9e91e823067ca36094a312289e93637513bc471741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-12-05T13:56:49.000Z",
      "distro": "resolute",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/bdfec672d63ddec1c2a7868a9fbe8d9b7719be4057e04dd96e2617183e4fdd65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-12-05T13:56:44.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/a7b9a2b5ff6ab31af44c2f8e1c52bbcd4f82c96efed4da3d3c233fe5d2068b65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-12-05T13:57:04.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/82db7bb7e3dae83f74f02d468e0da42a80bfeb56fa46916da86005bb4aa6421e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-12-05T13:56:17.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/951d94f14da73752826f2be540b119c11f24a3407511e1559c18dea99e2e035a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-12-05T13:55:43.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/e851b99adce77fd32b666f0c731632561f33f197b20603d82d9ed92769f38585",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-12-05T13:55:53.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/d0ff4ce93e2cbc78e019894ec656aab5323085d8c6497a52c4e22772f1321add",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-12-05T13:55:40.000Z",
      "commit": "44c7cb32627d1b859a409082d84420a3633927ec",
      "fileid": "https://r2.ropensci.org/6da133796e43301e73ea52fa8110c73959520140fcdb5572242a4cbb5998c618",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaloklee/actions/runs/47527316512"
    }
  ]
}