{
  "_id": "6ad5d9197f75c4fbd3a1eae5",
  "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-10-19 08:43:00 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",
  "_user": "ardfm",
  "_type": "src",
  "_file": "AFR_0.3.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/5785d30d0d3dd0f4e789bdddc26ba14d530545090b3aaab896272f1f38ecf777",
  "_filesize": 339087,
  "_sha256": "5785d30d0d3dd0f4e789bdddc26ba14d530545090b3aaab896272f1f38ecf777",
  "_expires": "2027-01-27T08:47:19.000Z",
  "_created": "2026-10-19T08:43:00.000Z",
  "_published": "2026-10-19T08:47:20.928Z",
  "_buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117968329343,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12172934463"
    },
    {
      "job": 117968329312,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12173302609"
    },
    {
      "job": 117968328152,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12172799324"
    },
    {
      "job": 117968328146,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12173147314"
    },
    {
      "job": 117965041084,
      "time": 504,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12173771046"
    },
    {
      "job": 117968328067,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12173451694"
    },
    {
      "job": 117968328133,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12172694680"
    },
    {
      "job": 117968328060,
      "time": 111,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12173053420"
    },
    {
      "job": 117968328101,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12172958880"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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": "2026-10",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "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": 587,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AFR"
  },
  "_searchresults": 31,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/AFR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "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.093421685162236,
  "_indexed": true,
  "_nocasepkg": "afr",
  "_universes": [
    "ardfm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-10-19T08:45:16.000Z",
      "distro": "resolute",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/db567237128eed0aefc8aa8f3b9080fbe9819097da6cb4e4ff58ae1f4c93110b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.9",
      "date": "2026-10-19T08:45:20.000Z",
      "distro": "resolute",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/3acbc8c25cc87ebde10c46b1655bdbe153fa5ed30a38d9387aa69b99a863dca8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-10-19T08:45:06.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/234014d47e12788e2dbd94441a3a2beb3352be8465efc09b7438e86fb53c3565",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.9",
      "date": "2026-10-19T08:45:28.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/63f40d7d858851008e5ff4a8f3c7027499a2768d2441008edd58936b2acb1d4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.9",
      "date": "2026-10-19T08:45:35.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/e3b5fa752f145002ae3296321c890f057d273f22fcdc19aef7d78587bd03c8c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-10-19T08:44:23.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/03b8fcde0b315a65fe6136ee53b2af455ef0a37799868ba829b2f6ceded65e01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-10-19T08:44:32.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/d68b6bb097f1147eda1db7c7e206043ecdc3d661b886e1e85da5048f468579cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.9",
      "date": "2026-10-19T08:44:52.000Z",
      "commit": "0294d79e9b47ef35a24727ba794100562455aaee",
      "fileid": "https://r2.ropensci.org/df0f1f2fa183ccb74ae7bcb5386b9aa709bde3bb515be6d8f87155eafe283b23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ardfm/actions/runs/39223747563"
    }
  ]
}