{
  "_id": "6a383dcc3efcd9bda4436bfe",
  "Package": "AFR",
  "Type": "Package",
  "Title": "Toolkit for Regression Analysis of Kazakhstan Banking Sector\nData",
  "Version": "0.3.9",
  "Copyright": "The Agency of the Republic of Kazakhstan for Regulation and\nDevelopment of Financial Market (ARDFM)",
  "Authors@R": "c(person(\"Timur\", \"Abilkassymov\", role = \"aut\"), person(\"Shyngys\", \"Shuneyev\", role = \"aut\"), person(\"Alua\", \"Makhmetova\", role = \"aut\"), person(\"Sultan\", \"Zhaparov\", role = c(\"aut\", \"cre\"), email = \"saldau.sultan@gmail.com\"))",
  "Maintainer": "Sultan Zhaparov <saldau.sultan@gmail.com>",
  "Description": "Tool is created for regression, prediction and forecast\nanalysis of macroeconomic and credit data. The package includes\nfunctions from existing R packages adapted for banking sector\nof Kazakhstan. The purpose of the package is to optimize\nstatistical functions for easier interpretation for bank\nanalysts and non-statisticians. The package also provides\nhelper functions for loading an insurance scoring dataset, a\npast case competition dataset for insurance risk scoring and\nfair pricing.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-21 19:34:33 UTC",
    "User": "root"
  },
  "Author": "Timur Abilkassymov [aut], Shyngys Shuneyev [aut], Alua\nMakhmetova [aut], Sultan Zhaparov [aut, cre]",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nzlib1g-dev",
  "Repository": "https://ardfm.r-universe.dev",
  "Date/Publication": "2026-06-21 18:55:56 UTC",
  "RemoteUrl": "https://github.com/cran/AFR",
  "RemoteRef": "HEAD",
  "RemoteSha": "0294d79e9b47ef35a24727ba794100562455aaee",
  "MD5sum": "5f0d065d734ecf2b981104d01b69ad69",
  "_user": "ardfm",
  "_type": "src",
  "_file": "AFR_0.3.9.tar.gz",
  "_fileid": "209f4ce276be739d0dd07b4d20e389271669cf93fdd424632cc7c6c2bf8a5f7d",
  "_filesize": 341085,
  "_sha256": "209f4ce276be739d0dd07b4d20e389271669cf93fdd424632cc7c6c2bf8a5f7d",
  "_created": "2026-06-21T19:34:33.000Z",
  "_published": "2026-06-21T19:38:52.871Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82599201508,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7778632652"
    },
    {
      "job": 82599201501,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7778638685"
    },
    {
      "job": 82599201492,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7778622209"
    },
    {
      "job": 82599201493,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7778620921"
    },
    {
      "job": 82598980740,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7778608090"
    },
    {
      "job": 82599201505,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7778628014"
    },
    {
      "job": 82599201506,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7778625015"
    },
    {
      "job": 82599201502,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7778624024"
    },
    {
      "job": 82599201503,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7778623776"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/AFR",
  "_commit": {
    "id": "0294d79e9b47ef35a24727ba794100562455aaee",
    "author": "Sultan Zhaparov <saldau.sultan@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.9\n",
    "time": 1782068156
  },
  "_maintainer": {
    "name": "Sultan Zhaparov",
    "email": "saldau.sultan@gmail.com",
    "login": "ardfm",
    "description": "",
    "uuid": 293696128
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "olsrr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tseries",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "nortest",
      "role": "Imports"
    },
    {
      "package": "goftest",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.7",
      "date": "2025-08-28"
    },
    {
      "name": "0.3.8",
      "date": "2026-03-02"
    },
    {
      "name": "0.3.9",
      "date": "2026-06-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ardfm",
      "count": 4,
      "uuid": 293696128
    }
  ],
  "_userbio": {
    "uuid": 293696128,
    "type": "user",
    "name": "ARDFM",
    "followers": 0
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AFR"
  },
  "_searchresults": 33,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AFR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "ardfm",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-03-21"
    },
    {
      "version": "0.2.0",
      "date": "2022-10-11"
    },
    {
      "version": "0.2.1",
      "date": "2022-10-11"
    },
    {
      "version": "0.3.4",
      "date": "2023-03-30"
    },
    {
      "version": "0.3.5",
      "date": "2023-10-29"
    },
    {
      "version": "0.3.6",
      "date": "2024-09-06"
    },
    {
      "version": "0.3.7",
      "date": "2025-08-28"
    },
    {
      "version": "0.3.8",
      "date": "2026-03-02"
    },
    {
      "version": "0.3.9",
      "date": "2026-06-21"
    }
  ],
  "_exports": [
    "bg",
    "bp",
    "check_betas",
    "checkdata",
    "corsel",
    "dec_plot",
    "difflog",
    "gq",
    "HP",
    "load_ogpo_data_dictionary",
    "load_ogpo_dataset",
    "load_ogpo_test_final",
    "load_ogpo_test_with_target",
    "load_ogpo_train",
    "ols_test_normality",
    "opt_size",
    "pct1",
    "pct4",
    "pt_multi",
    "pt_one",
    "reg_plot",
    "reg_test",
    "regsel_f",
    "vif_reg"
  ],
  "_datasets": [
    {
      "name": "finratKZ",
      "title": "finratKZ dataset",
      "object": "finratKZ",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Default",
        "Rev_gr",
        "EBITDA_gr",
        "Cap_gr",
        "CR",
        "QR",
        "Cash_ratio",
        "WC_cycle",
        "DTA",
        "DTE",
        "LR",
        "EBITDA_debt",
        "IC",
        "CTI",
        "IC_CF",
        "DCR",
        "CFR",
        "CRA",
        "CRE",
        "ROA",
        "ROE",
        "NPM",
        "GPM",
        "OPM",
        "RecT",
        "InvT",
        "PayT",
        "TA",
        "FA",
        "WC"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "macroKZ",
      "title": "macroKZ dataset",
      "object": "macroKZ",
      "class": [
        "mts",
        "ts",
        "matrix",
        "array"
      ],
      "fields": [
        "real_gdp",
        "GDD_Agr_R",
        "GDD_Min_R",
        "GDD_Man_R",
        "GDD_Elc_R",
        "GDD_Con_R",
        "GDD_Trd_R",
        "GDD_Trn_R",
        "GDD_Inf_R",
        "GDD_Est_R",
        "GDD_R",
        "Rincpop_q",
        "Rexppop_q",
        "Rwage_q",
        "imp",
        "exp",
        "usdkzt",
        "eurkzt",
        "rurkzt",
        "poil",
        "GDP_DEF",
        "cpi",
        "realest_resed_prim",
        "realest_resed_sec",
        "realest_comm",
        "index_stock_weighted",
        "ntrade_Agr",
        "ntrade_Min",
        "ntrade_Man",
        "ntrade_Elc",
        "ntrade_Con",
        "ntrade_Trd",
        "ntrade_Trn",
        "ntrade_Inf",
        "fed_fund_rate",
        "govsec_rate_kzt_3m",
        "govsec_rate_kzt_1y",
        "govsec_rate_kzt_7y",
        "govsec_rate_kzt_10y",
        "tonia_rate",
        "rate_kzt_mort_0y_1y",
        "rate_kzt_mort_1y_iy",
        "rate_kzt_corp_0y_1y",
        "rate_usd_corp_0y_1y",
        "rate_kzt_corp_1y_iy",
        "rate_usd_corp_1y_iy",
        "rate_kzt_indv_0y_1y",
        "rate_kzt_indv_1y_iy",
        "realest_resed_prim_rus",
        "realest_resed_sec_rus",
        "cred_portfolio",
        "coef_k1",
        "coef_k3",
        "provisions",
        "percent_margin",
        "com_inc",
        "com_exp",
        "oper_inc",
        "oth_inc",
        "DR"
      ],
      "rows": 61,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bg",
      "title": "Breusch-Godfrey test [BG test]",
      "topics": [
        "bg"
      ]
    },
    {
      "page": "bp",
      "title": "Breusch-Pagan test",
      "topics": [
        "bp"
      ]
    },
    {
      "page": "check_betas",
      "title": "All possible regression variable coefficients.",
      "topics": [
        "check_betas"
      ]
    },
    {
      "page": "checkdata",
      "title": "Preliminary data check for errors",
      "topics": [
        "checkdata"
      ]
    },
    {
      "page": "corsel",
      "title": "Multicollinearity test",
      "topics": [
        "corsel"
      ]
    },
    {
      "page": "dec_plot",
      "title": "Decomposition plot",
      "topics": [
        "dec_plot"
      ]
    },
    {
      "page": "difflog",
      "title": "Transforming time-series data to stationary",
      "topics": [
        "difflog"
      ]
    },
    {
      "page": "finratKZ",
      "title": "finratKZ dataset",
      "topics": [
        "finratKZ"
      ]
    },
    {
      "page": "gq",
      "title": "Godfrey-Quandt test",
      "topics": [
        "gq"
      ]
    },
    {
      "page": "HP",
      "title": "Hodrick-Prescott filter for time series data",
      "topics": [
        "HP"
      ]
    },
    {
      "page": "load_ogpo_data_dictionary",
      "title": "Load OGPO data dictionary",
      "topics": [
        "load_ogpo_data_dictionary"
      ]
    },
    {
      "page": "load_ogpo_dataset",
      "title": "Load all OGPO insurance scoring datasets",
      "topics": [
        "load_ogpo_dataset"
      ]
    },
    {
      "page": "load_ogpo_test_final",
      "title": "Load OGPO insurance scoring final test dataset",
      "topics": [
        "load_ogpo_test_final"
      ]
    },
    {
      "page": "load_ogpo_test_with_target",
      "title": "Load OGPO insurance scoring test dataset with target",
      "topics": [
        "load_ogpo_test_with_target"
      ]
    },
    {
      "page": "load_ogpo_train",
      "title": "Load OGPO insurance scoring training dataset",
      "topics": [
        "load_ogpo_train"
      ]
    },
    {
      "page": "macroKZ",
      "title": "macroKZ dataset",
      "topics": [
        "macroKZ"
      ]
    },
    {
      "page": "ols_test_normality",
      "title": "Test for normality Test for detecting violation of normality assumption.",
      "topics": [
        "ols_test_normality"
      ]
    },
    {
      "page": "opt_size",
      "title": "Necessary size of the time-series dataset",
      "topics": [
        "opt_size"
      ]
    },
    {
      "page": "pct1",
      "title": "Transforming time-series data to stationary",
      "topics": [
        "pct1"
      ]
    },
    {
      "page": "pct4",
      "title": "Transforming time-series data to stationary",
      "topics": [
        "pct4"
      ]
    },
    {
      "page": "pt_multi",
      "title": "Pluto-Tasche method for multi-year probability of default (PD) analysis",
      "topics": [
        "pt_multi"
      ]
    },
    {
      "page": "pt_one",
      "title": "Pluto-Tasche method for one-year probability of default (PD) analysis",
      "topics": [
        "pt_one"
      ]
    },
    {
      "page": "reg_plot",
      "title": "Regression forecast plot",
      "topics": [
        "reg_plot"
      ]
    },
    {
      "page": "reg_test",
      "title": "Test for detecting violation of Gauss-Markov assumptions.",
      "topics": [
        "reg_test"
      ]
    },
    {
      "page": "regsel_f",
      "title": "Regressors selection",
      "topics": [
        "regsel_f"
      ]
    },
    {
      "page": "vif_reg",
      "title": "VIF by variable",
      "topics": [
        "vif_reg"
      ]
    }
  ],
  "_readme": "https://github.com/cran/AFR/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrow",
    "assertthat",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cli",
    "colorspace",
    "commonmark",
    "cowplot",
    "cpp11",
    "curl",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "goftest",
    "gridExtra",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "nortest",
    "numDeriv",
    "olsrr",
    "otel",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "quadprog",
    "quantmod",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tseries",
    "TTR",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xplorerr",
    "xtable",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "Data-transformation.Rmd",
      "filename": "Data-transformation.html",
      "title": "Data-transformation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Step 1",
        "Step 2",
        "Step 3",
        "Step 4"
      ],
      "created": "2022-10-11 11:32:33",
      "modified": "2023-03-30 06:00:02",
      "commits": 2
    },
    {
      "source": "Diagnostic-tests.Rmd",
      "filename": "Diagnostic-tests.html",
      "title": "Diagnostic-tests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Heteroskedasticity",
        "Breusch-Pagan Test",
        "Goldfeld-Quandt Test",
        "Non-collinearity",
        "VIF Test",
        "Durbin-Watson Test",
        "Breusch-Godfrey Test",
        "Normality",
        "Shapiro-Wilk statistic",
        "Kolmogorov-Smirnov statistic",
        "Cramer-Von Mises test",
        "Anderson test"
      ],
      "created": "2022-03-21 18:00:05",
      "modified": "2023-10-29 14:30:39",
      "commits": 3
    },
    {
      "source": "OGPO-insurance-scoring.Rmd",
      "filename": "OGPO-insurance-scoring.html",
      "title": "OGPO Insurance Scoring Dataset",
      "engine": "knitr::rmarkdown",
      "headings": [
        "title: \"OGPO Insurance Scoring Dataset\"output: rmarkdown::html_vignettevignette: >%\\VignetteIndexEntry",
        "Overview",
        "Available loading functions",
        "Training dataset",
        "Test dataset with target",
        "Final scoring dataset",
        "Data dictionary",
        "Local cache",
        "CRAN note"
      ],
      "created": "2026-06-21 18:55:56",
      "modified": "2026-06-21 18:55:56",
      "commits": 1
    },
    {
      "source": "Regression-model.Rmd",
      "filename": "Regression-model.html",
      "title": "Regression-model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "1. Optimal size of the time-series data",
        "2. Choose the best regression model",
        "3. Analysis of the model"
      ],
      "created": "2022-03-21 18:00:05",
      "modified": "2023-10-29 14:30:39",
      "commits": 2
    }
  ],
  "_score": 4.296665190261532,
  "_indexed": true,
  "_nocasepkg": "afr",
  "_universes": [
    "ardfm"
  ],
  "_previous": "0.3.8",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-06-21T19:37:12.000Z",
      "distro": "noble",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "5ee4bb334feee72d020bfb379711157caba65a62a1fc1e789046899fa4c93bd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-06-21T19:37:54.000Z",
      "distro": "noble",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "0e4365f01471c41eab3bba92e0c9899ed879bb5a6193f8f13157312cc981cc61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-06-21T19:36:11.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "f1adaf3093129a7af87f3be7bb87b25721cdacc017a7a0a746cb574badc8f7bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-06-21T19:36:01.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "cde9918bf3bb4c3b10792c94bd7501696d081c6a4f15aa947d8cbd252ec9f3df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.9",
      "date": "2026-06-21T19:37:15.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "0620ee6509f861cc838d3c8779d162892e1a348c7f8878f01527ca7bf8131235",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-21T19:36:07.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "411e96203b58f1c228aaf44b883e766df0e3fba3e94451a287ba13770e3b4837",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-21T19:36:00.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "302b35f5ac973f86b42bedf3c7f66b6b7b60e74014277c6bc67f7087eda0e387",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-06-21T19:35:56.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "9b3ab540d7f0a35d1ac59280e4bfc9766dd8ff922a9ed8d10b5d13450b18eee1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/27915108983"
    }
  ]
}