{
  "_id": "6a588707ff0138dec5d749bd",
  "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-07-16 07:19:36 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>",
  "_user": "wagathu",
  "_type": "src",
  "_file": "StockDistFit_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8a7447049ee22dab295225577bb389f9907a16891a5737be1a4cdf2d0b7ea96a",
  "_filesize": 407960,
  "_sha256": "8a7447049ee22dab295225577bb389f9907a16891a5737be1a4cdf2d0b7ea96a",
  "_expires": "2026-10-24T07:23:49.000Z",
  "_created": "2026-07-16T07:19:36.000Z",
  "_published": "2026-07-16T07:23:51.257Z",
  "_jobs": [
    {
      "job": 87559973312,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367972594"
    },
    {
      "job": 87559973330,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367973277"
    },
    {
      "job": 87559973301,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367954055"
    },
    {
      "job": 87559973287,
      "time": 217,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367967966"
    },
    {
      "job": 87559369899,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367905873"
    },
    {
      "job": 87559973343,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8367951847"
    },
    {
      "job": 87559973325,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367952370"
    },
    {
      "job": 87559973311,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367947965"
    },
    {
      "job": 87559973355,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367946528"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586",
  "_status": "success",
  "_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,
    "orcid": "0009-0002-2119-904X"
  },
  "_distro": "resolute",
  "_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",
    "followers": 13,
    "description": "I'm  a statistician with a keen interest in the fields of Machine Learning and Artificial Intelligence. "
  },
  "_downloads": {
    "count": 267,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/StockDistFit"
  },
  "_devurl": "https://github.com/wagathu/stockdistfit",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_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-07-16T07:22:14.000Z",
      "distro": "resolute",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/a47f08566996eb4681d89629cb99cf6efb89148ffff2f38ecfe712c7f57ef085",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-16T07:22:15.000Z",
      "distro": "resolute",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/fe924b5af0e4424f76d85ae6c0e4a0d73ff0ac763cce726514daf2c948d70640",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-16T07:21:39.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/2ba13cd92e2d8de2c72c87ae650fc37098c04177af363699ff15ef270e7eb148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-16T07:22:01.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/0ad493f1c28002b615c0bf7ef08beb797fa857d492d168fd5f1207036460f5b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-07-16T07:22:06.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/5e140bf212e1aaaaf0605cc3b1eda86d7410f12c2c77c08e36d027080f9a4d7e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-16T07:21:06.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/aa595f3d92a4e81aa21f13e7c7f242d669a46625e7136c5d23d33610d1b3df89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-16T07:20:59.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/454ed4048040e69be9b4ae897cde07b6911c49e55e9a7a1e27fcd2447778fc50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-16T07:20:51.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/7dc6b34a3b16799ba51f35c7fa2d56b3189da9d497dd86a20ba9f919097eee7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/29479350586"
    }
  ]
}