{
  "_id": "6acf3cd6d9de2f3f33fc9687",
  "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-10-14 07:54:55 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/c6dc733e43780ed12ecfa4fe1366742b1930d30715078f17ac5ec5fbd18d91ae",
  "_filesize": 409043,
  "_sha256": "c6dc733e43780ed12ecfa4fe1366742b1930d30715078f17ac5ec5fbd18d91ae",
  "_expires": "2027-01-22T08:27:00.000Z",
  "_created": "2026-10-14T07:54:55.000Z",
  "_published": "2026-10-14T08:27:01.958Z",
  "_buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115744307693,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11878417260"
    },
    {
      "job": 115744307687,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11877708203"
    },
    {
      "job": 115744307851,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11878859436"
    },
    {
      "job": 115744307946,
      "time": 210,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878743794"
    },
    {
      "job": 115743218727,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878107916"
    },
    {
      "job": 115744307632,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11878636391"
    },
    {
      "job": 115744307842,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11878327304"
    },
    {
      "job": 115744307786,
      "time": 111,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11878531970"
    },
    {
      "job": 115744307895,
      "time": 114,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878526994"
    }
  ],
  "_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": 259,
    "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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/StockDistFit.html"
  ],
  "_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-10-14T07:57:16.000Z",
      "distro": "resolute",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/db674a387e57de05038eee6cf5cf1000d5ee6e53f4be694f779abaefa37c20ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-14T07:56:55.000Z",
      "distro": "resolute",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/b23248b957848e283fa389a5a23f1c3415467b9cebf6791a9b90046e19d68124",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-14T08:25:07.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/1f7db0987e0fa9c9fca684248cab12c05fdea6cf553dc5f2c9f2b4aa952e53a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-14T08:11:21.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/9635b6ee8745ad10cb9bc944402cbff645122c32686b5d99a4c95c0dea0a17f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-14T07:57:15.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/90208d6826add77dde7828ac05eb73e49b9aa9d1a7bccb481d4c784135d9867c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-14T07:56:01.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/ec4f823954f63960b9c7eefdf73a0693f3ec86a7d323e446c455eff0af62e9f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-14T07:56:02.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/c618c929997d517faa27b92b227fed7b7562fe59a294b5dac57fe794a778e943",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-14T07:56:11.000Z",
      "commit": "6604200205ac46dd04b3ac4da010067ec62c48fe",
      "fileid": "https://r2.ropensci.org/623804ae7e4ef01bb4ab95f690bc95e4ef7118e60ce1d780ba60ec9a0ba6cc5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wagathu/actions/runs/38531158583"
    }
  ]
}