{
  "_id": "6a1f13bcb401979e7341e0d1",
  "Package": "StockDistFit",
  "Title": "A Package for Fitting Stock Price Distributions",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Brian\", \"Njuguna\", , \"briannjuguna133@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0002-2119-904X\")),\nperson(\"Stanely\", family = \"Sayianka\", , \"stanleysayankasss@gmail.com\", role = \"ctb\")\n)",
  "Description": "The `StockDistFit` package provides functions for fitting\nprobability distributions to stock price data. The package uses\nmaximum likelihood estimation to find the best-fitting\ndistribution for a given stock. It also offers a function to\nfit several distributions to one or more assets and compare the\ndistribution with the Akaike Information Criterion (AIC) and\nthen pick the best distribution.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://wagathu.r-universe.dev",
  "Date/Publication": "2023-05-07 12:03:27 UTC",
  "RemoteUrl": "https://github.com/wagathu/stockdistfit",
  "RemoteRef": "HEAD",
  "RemoteSha": "6604200205ac46dd04b3ac4da010067ec62c48fe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 07:15:29 UTC",
    "User": "root"
  },
  "Author": "Brian Njuguna [aut, cre] (ORCID:\n<https://orcid.org/0009-0002-2119-904X>),\nStanely Sayianka [ctb]",
  "Maintainer": "Brian Njuguna <briannjuguna133@gmail.com>",
  "MD5sum": "ca00eedd1dd0819208c07c2720cb8283",
  "_user": "wagathu",
  "_type": "src",
  "_file": "StockDistFit_1.0.0.tar.gz",
  "_fileid": "e8d3c48627c64b4a33cd75ff2593c16102e9f1da1601caa159bfe21ea0548524",
  "_filesize": 408148,
  "_sha256": "e8d3c48627c64b4a33cd75ff2593c16102e9f1da1601caa159bfe21ea0548524",
  "_created": "2026-05-17T07:15:29.000Z",
  "_published": "2026-06-02T17:32:44.439Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79132708681,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040353954"
    },
    {
      "job": 79132708706,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040353348"
    },
    {
      "job": 79132708674,
      "time": 211,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040355898"
    },
    {
      "job": 79132708983,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040350984"
    },
    {
      "job": 79132708268,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040334829"
    },
    {
      "job": 79132707884,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365196973"
    },
    {
      "job": 79132708951,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040350270"
    },
    {
      "job": 79132708883,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040347574"
    },
    {
      "job": 79132708675,
      "time": 218,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040362055"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/wagathu/stockdistfit",
  "_commit": {
    "id": "6604200205ac46dd04b3ac4da010067ec62c48fe",
    "author": "unknown <briannjuguna133@gmail.com>",
    "committer": "unknown <briannjuguna133@gmail.com>",
    "message": "0 errors | 0 warnings | 1 note\n\n* This is a new release.\n",
    "time": 1683461007
  },
  "_maintainer": {
    "name": "Brian Njuguna",
    "email": "briannjuguna133@gmail.com",
    "login": "wagathu",
    "linkedin": "in/brian-njuguna-479106183",
    "twitter": "@wagathu_",
    "description": "I'm  a statistician with a keen interest in the fields of Machine Learning and Artificial Intelligence. ",
    "uuid": 108395924
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fGarch",
      "role": "Imports"
    },
    {
      "package": "fBasics",
      "role": "Imports"
    },
    {
      "package": "fitdistrplus",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "quantmod",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ghyp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "wagathu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wagathu",
      "count": 7,
      "uuid": 108395924
    }
  ],
  "_userbio": {
    "uuid": 108395924,
    "type": "user",
    "name": "Brian Njuguna",
    "description": "I'm  a statistician with a keen interest in the fields of Machine Learning and Artificial Intelligence. "
  },
  "_downloads": {
    "count": 210,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/StockDistFit"
  },
  "_devurl": "https://github.com/wagathu/stockdistfit",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/StockDistFit.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/wagathu/stockdistfit",
  "_realowner": "wagathu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-05-09"
    }
  ],
  "_exports": [
    "annual_return",
    "asset_loader",
    "best_dist",
    "cauchy_fit",
    "data.cumret",
    "fit_multiple_dist",
    "ged_fit",
    "ghd_fit",
    "hd_fit",
    "monthly_return",
    "nig_fit",
    "norm_fit",
    "skew.ged_fit",
    "skew.normal_fit",
    "skew.t_fit",
    "sym.ghd_fit",
    "sym.hd_fit",
    "sym.vg_fit",
    "t_fit",
    "vg_fit",
    "weekly_return"
  ],
  "_datasets": [
    {
      "name": "AAPL",
      "title": "Apple Inc. stock prices dataset",
      "object": "AAPL",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "Open",
        "High",
        "Low",
        "Close",
        "Volume",
        "Adjusted"
      ],
      "rows": 2599,
      "table": true,
      "tojson": true
    },
    {
      "name": "AMZN",
      "title": "Amazon.com Inc. Stock Prices Dataset",
      "object": "AMZN",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "Open",
        "High",
        "Low",
        "Close",
        "Volume",
        "Adjusted"
      ],
      "rows": 2599,
      "table": true,
      "tojson": true
    },
    {
      "name": "GOOG",
      "title": "Alphabet Inc Inc. Stock Prices Dataset",
      "object": "GOOG",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Open",
        "High",
        "Low",
        "Close",
        "Volume",
        "Adjusted",
        "Date"
      ],
      "rows": 2599,
      "table": true,
      "tojson": true
    },
    {
      "name": "TSLA",
      "title": "Tesla Inc. Stock Prices Dataset",
      "object": "TSLA",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Open",
        "High",
        "Low",
        "Close",
        "Volume",
        "Adjusted",
        "Date"
      ],
      "rows": 2599,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AAPL",
      "title": "Apple Inc. stock prices dataset",
      "topics": [
        "AAPL"
      ]
    },
    {
      "page": "AMZN",
      "title": "Amazon.com Inc. Stock Prices Dataset",
      "topics": [
        "AMZN"
      ]
    },
    {
      "page": "annual_return",
      "title": "Compute Annual Returns of a Vector.",
      "topics": [
        "annual_return"
      ]
    },
    {
      "page": "asset_loader",
      "title": "Load Asset Data.",
      "topics": [
        "asset_loader"
      ]
    },
    {
      "page": "best_dist",
      "title": "Find the best distribution based on AIC values",
      "topics": [
        "best_dist"
      ]
    },
    {
      "page": "cauchy_fit",
      "title": "Fit Cauchy Distribution to a vector of returns/stock prices.",
      "topics": [
        "cauchy_fit"
      ]
    },
    {
      "page": "data.cumret",
      "title": "Compute Cumulative Returns of a Vector.",
      "topics": [
        "data.cumret"
      ]
    },
    {
      "page": "fit_multiple_dist",
      "title": "Fits Multiple Probability Distributions to several assets/stock prices.",
      "topics": [
        "fit_multiple_dist"
      ]
    },
    {
      "page": "ged_fit",
      "title": "Fit Generalized Error Distribution to a vector of returns/stock prices.",
      "topics": [
        "ged_fit"
      ]
    },
    {
      "page": "ghd_fit",
      "title": "Fit Generalized Hyperbolic Distribution to a vector of returns/stock prices.",
      "topics": [
        "ghd_fit"
      ]
    },
    {
      "page": "GOOG",
      "title": "Alphabet Inc Inc. Stock Prices Dataset",
      "topics": [
        "GOOG"
      ]
    },
    {
      "page": "hd_fit",
      "title": "Fit Hyperbolic distribution to return/stock prices.",
      "topics": [
        "hd_fit"
      ]
    },
    {
      "page": "monthly_return",
      "title": "Compute Monthly Returns of a Vector.",
      "topics": [
        "monthly_return"
      ]
    },
    {
      "page": "nig_fit",
      "title": "Fit Normal Inverse Gaussian (NIG) Distribution to a vector of returns/stock prices.",
      "topics": [
        "nig_fit"
      ]
    },
    {
      "page": "norm_fit",
      "title": "Fit Normal Distribution to a Vector/stock prices.",
      "topics": [
        "norm_fit"
      ]
    },
    {
      "page": "skew.ged_fit",
      "title": "Fit Skewed Generalized Error Distribution to a vector of returns/stock prices.",
      "topics": [
        "skew.ged_fit"
      ]
    },
    {
      "page": "skew.normal_fit",
      "title": "Fit Skew Normal Distribution to a vector of returns/stock prices.",
      "topics": [
        "skew.normal_fit"
      ]
    },
    {
      "page": "skew.t_fit",
      "title": "Fit Skewed Student-t Distribution to a vector of returns/stock prices.",
      "topics": [
        "skew.t_fit"
      ]
    },
    {
      "page": "sym.ghd_fit",
      "title": "Fit Symmetric Generalized Hyperbolic Distribution to returns/stock prices.",
      "topics": [
        "sym.ghd_fit"
      ]
    },
    {
      "page": "sym.hd_fit",
      "title": "Fit a Symmetric Hyperbolic Distribution to a vector of return/stock prices.",
      "topics": [
        "sym.hd_fit"
      ]
    },
    {
      "page": "sym.vg_fit",
      "title": "Fit Symmetric Variance Gamma Distribution to a vector of returns/stock prices.",
      "topics": [
        "sym.vg_fit"
      ]
    },
    {
      "page": "t_fit",
      "title": "Fit Student's t Distribution to a vector of returns/stock prices.",
      "topics": [
        "t_fit"
      ]
    },
    {
      "page": "TSLA",
      "title": "Tesla Inc. Stock Prices Dataset",
      "topics": [
        "TSLA"
      ]
    },
    {
      "page": "vg_fit",
      "title": "Fit Variance Gamma Distribution to a vector of return/stock prices.",
      "topics": [
        "vg_fit"
      ]
    },
    {
      "page": "weekly_return",
      "title": "Compute Weekly Returns of a Vector.",
      "topics": [
        "weekly_return"
      ]
    }
  ],
  "_readme": "https://github.com/wagathu/stockdistfit/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "curl",
    "cvar",
    "dplyr",
    "fastICA",
    "fBasics",
    "fGarch",
    "fitdistrplus",
    "gbutils",
    "generics",
    "ghyp",
    "glue",
    "gss",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "quantmod",
    "R6",
    "rbibutils",
    "Rdpack",
    "rlang",
    "spatial",
    "stabledist",
    "survival",
    "tibble",
    "tidyselect",
    "timeDate",
    "timeSeries",
    "TTR",
    "utf8",
    "vctrs",
    "withr",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "moreDetails.Rmd",
      "filename": "moreDetails.html",
      "title": "moreDetails",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "1. assest_loader() Function",
        "Usage",
        "Details",
        "Example",
        "weekly_return() Function",
        "monthly_return() Function",
        "annual_return() Function",
        "cumulative_return() Function",
        "Arguments",
        "Examples",
        "norm_fit() Function",
        "Description",
        "Value",
        "t_fit() Function",
        "Return Value",
        "cauchy_fit() Function",
        "ghd_fit() Function",
        "hd_fit() Function",
        "sym.ghd_fit() Function",
        "sym.hd_fit()",
        "vg_fit() Function",
        "sym.vg_fit() Function",
        "nig_fit() Function",
        "ged_fit() Function",
        "skew.t_fit() Function",
        "skew.normal_fit() Function",
        "skew.ged_fit() Funtion",
        "fit_multiple_dist() Function",
        "best_dist() Function"
      ],
      "created": "2023-05-06 21:05:13",
      "modified": "2023-05-06 21:05:13",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "stockdistfit",
  "_universes": [
    "wagathu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T07:17:40.000Z",
      "distro": "noble",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "8ae9f14e1b8d3363c621e473bb9fe7a056d4e48c90242a8acfc50203aeb06725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T07:17:37.000Z",
      "distro": "noble",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "c3b8245762bc0d0a9cca01b997d386f5192817f5385b663c4465dde1976b47ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T07:18:10.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "a28ff22d152f346196d9f81d0d2978aa5e69e714610fbb15407f238fb66f1cb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T07:17:29.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "c463297f8baaa40c72bc60b3cdc61d5a8e80ec658191fadde014bb719e1cfd0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T07:17:01.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "bc363e1677bec4ef18f700dc054d105c3f978da76d3ed9549def6319d0b2f463",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T07:16:37.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "9b5f19ace38d3c3a653ec61c923ebafba9e5066b911de9ceae81cd787db21c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T07:18:37.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "44ba03198dfa366a764410f5046f259e23f1262a00c6626df566096e3cd95529",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T17:32:17.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "1f06d4e6c8e7f25846c95429d46b5ee1c57c7b6229385f31c3259c9f1201ea89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/25984340422"
    }
  ]
}