{
  "_id": "6a47969a2f27a93436c0ece8",
  "Package": "sochcontagion",
  "Type": "Package",
  "Title": "Scale-Ordered Contagion: Spectral Theory and Tests of\nHeterogeneous Information Adaptation",
  "Version": "0.1.0",
  "Date": "2026-06-02",
  "Authors@R": "c(\nperson(given = \"Avishek\", family = \"Bhandari\", role = c(\"aut\",\"cre\"),\nemail = \"avishekb@iitbbs.ac.in\",\ncomment = \"Indian Institute of Technology Bhubaneswar\"),\nperson(given = \"Ipsita\", family = \"Parida\", role = \"aut\",\nemail = \"a23hs09014@iitbbs.ac.in\",\ncomment = \"Indian Institute of Technology Bhubaneswar\"))",
  "Description": "A spectral theory of financial contagion under\nheterogeneous information adaptation, with the estimators and\nfalsifiable tests it implies. Modelling both the source and the\nreceiving market as exponential information filters yields a\nbi-exponential transmission response whose power spectrum is\nthe product of two Lorentzians; the slower market supplies the\nbinding spectral corner. Projected onto a maximal-overlap\ndiscrete wavelet basis (Percival and Walden, 2000,\nISBN:9780521685085) this gives a closed-form\ntransfer-entropy-by-scale profile and three predictions\n(Scale-Ordered Contagion): scale ordering by adaptation speed,\nshape symmetry across direction, and magnitude asymmetry. The\npackage provides the closed-form spectrum and scale power, a\nprofile-matching estimator that recovers adaptation rates and\nendogenises the fast/slow classification, the wavelet-quantile\ndirectional-gain measure built from the transfer-entropy\nestimator of Schreiber (2000) <doi:10.1103/PhysRevLett.85.461>\nwith quantile conditioning (Koenker and Bassett, 1978)\n<doi:10.2307/1913643> and the quantile goodness-of-fit of\nKoenker and Machado (1999)\n<doi:10.1080/01621459.1999.10473882>, and the three tests with\nphase-randomised surrogate (Theiler, Eubank, Longtin,\nGaldrikian and Farmer, 1992) <doi:10.1016/0167-2789(92)90102-S>\nand stationary block-bootstrap (Politis and Romano, 1994)\n<doi:10.1080/01621459.1994.10476870> nulls. Bundled G20 equity\nreturns and replication scripts reproduce the headline results;\nthe package is general-purpose and accommodates user-supplied\nreturns.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/avishekb9/sochcontagion",
  "BugReports": "https://github.com/avishekb9/sochcontagion/issues",
  "Config/testthat/edition": "3",
  "Repository": "https://avishekb9.r-universe.dev",
  "Date/Publication": "2026-06-03 02:27:43 UTC",
  "RemoteUrl": "https://github.com/avishekb9/sochcontagion",
  "RemoteRef": "HEAD",
  "RemoteSha": "17bda217680236b1bbe512ae047d28f83132da24",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 06:49:27 UTC",
    "User": "root"
  },
  "Author": "Avishek Bhandari [aut, cre] (Indian Institute of Technology\nBhubaneswar),\nIpsita Parida [aut] (Indian Institute of Technology Bhubaneswar)",
  "Maintainer": "Avishek Bhandari <avishekb@iitbbs.ac.in>",
  "_user": "avishekb9",
  "_type": "src",
  "_file": "sochcontagion_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9410f456a93b822436ea1b35d47d5cd23c8090fe62fb6b46701528c1ef83591c",
  "_filesize": 2134578,
  "_sha256": "9410f456a93b822436ea1b35d47d5cd23c8090fe62fb6b46701528c1ef83591c",
  "_expires": "2026-10-11T11:01:45.000Z",
  "_created": "2026-07-03T06:49:27.000Z",
  "_published": "2026-07-03T11:01:46.154Z",
  "_jobs": [
    {
      "job": 84986043103,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8059736695"
    },
    {
      "job": 84986042884,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8059736974"
    },
    {
      "job": 84986042961,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8059727039"
    },
    {
      "job": 84986042947,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8059721779"
    },
    {
      "job": 84986042601,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8059697777"
    },
    {
      "job": 84986042999,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8059729123"
    },
    {
      "job": 84986042936,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8059722055"
    },
    {
      "job": 84986043003,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8059724502"
    },
    {
      "job": 84986043033,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8059721273"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818",
  "_status": "success",
  "_upstream": "https://github.com/avishekb9/sochcontagion",
  "_commit": {
    "id": "17bda217680236b1bbe512ae047d28f83132da24",
    "author": "Avishek Bhandari <avishekb@iitbbs.ac.in>",
    "committer": "Avishek Bhandari <avishekb@iitbbs.ac.in>",
    "message": "Add GPL-3 LICENSE.md for GitHub license detection\n\nFull canonical GPL-3 text. Already listed in .Rbuildignore, so the\nCRAN source tarball is unchanged.\n",
    "time": 1780453663
  },
  "_maintainer": {
    "name": "Avishek Bhandari",
    "email": "avishekb@iitbbs.ac.in",
    "login": "avishekb9",
    "description": "",
    "uuid": 123537056
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "waveslim",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "avishekb9",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "avishekb9",
      "count": 2,
      "uuid": 123537056
    }
  ],
  "_userbio": {
    "uuid": 123537056,
    "type": "user",
    "name": "Avishek Bhandari",
    "followers": 4
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sochcontagion"
  },
  "_devurl": "https://github.com/avishekb9/sochcontagion",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sochcontagion.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "modwt_detail",
    "phase_surrogate",
    "plot_market_rates",
    "plot_scale_profiles",
    "plot_soch_symmetry",
    "soch_bands",
    "soch_classify",
    "soch_fit_market",
    "soch_fit_pair",
    "soch_peak_frequency",
    "soch_peak_scale",
    "soch_pipeline",
    "soch_profiles",
    "soch_scale_power",
    "soch_spectrum",
    "soch_test_magnitude",
    "soch_test_ordering",
    "soch_test_symmetry",
    "sym_kl",
    "wq_gain",
    "wqte_profile"
  ],
  "_datasets": [
    {
      "name": "g20_returns",
      "title": "Daily Log-Returns of G20 Equity Markets",
      "object": "g20_returns",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Argentina",
        "Australia",
        "Brazil",
        "Canada",
        "China",
        "France",
        "Germany",
        "India",
        "Indonesia",
        "Italy",
        "Japan",
        "Mexico",
        "Russia",
        "SouthAfrica",
        "SouthKorea",
        "Turkey",
        "UK",
        "USA"
      ],
      "rows": 5036,
      "table": true,
      "tojson": true
    },
    {
      "name": "market_groups",
      "title": "Advanced / Emerging Market Grouping",
      "object": "market_groups",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "g20_returns",
      "title": "Daily Log-Returns of G20 Equity Markets",
      "topics": [
        "g20_returns"
      ]
    },
    {
      "page": "market_groups",
      "title": "Advanced / Emerging Market Grouping",
      "topics": [
        "market_groups"
      ]
    },
    {
      "page": "modwt_detail",
      "title": "MODWT Wavelet Detail Coefficients",
      "topics": [
        "modwt_detail"
      ]
    },
    {
      "page": "phase_surrogate",
      "title": "Phase-Randomised Surrogate Series",
      "topics": [
        "phase_surrogate"
      ]
    },
    {
      "page": "plot_market_rates",
      "title": "Plot Recovered Market Adaptation Rates",
      "topics": [
        "plot_market_rates"
      ]
    },
    {
      "page": "plot_scale_profiles",
      "title": "Plot Directed WQTE Scale Profiles",
      "topics": [
        "plot_scale_profiles"
      ]
    },
    {
      "page": "plot_soch_symmetry",
      "title": "Plot the SOCH-B Shape-Symmetry Test",
      "topics": [
        "plot_soch_symmetry"
      ]
    },
    {
      "page": "soch_bands",
      "title": "MODWT Scale Bands",
      "topics": [
        "soch_bands"
      ]
    },
    {
      "page": "soch_classify",
      "title": "Endogenous Fast/Slow Classification",
      "topics": [
        "soch_classify"
      ]
    },
    {
      "page": "soch_fit_market",
      "title": "Pooled Market-Level Adaptation Rates",
      "topics": [
        "soch_fit_market"
      ]
    },
    {
      "page": "soch_fit_pair",
      "title": "Profile-Matching Estimator (single pair)",
      "topics": [
        "soch_fit_pair"
      ]
    },
    {
      "page": "soch_peak_frequency",
      "title": "Spectral Peak Frequency",
      "topics": [
        "soch_peak_frequency"
      ]
    },
    {
      "page": "soch_peak_scale",
      "title": "Predicted Peak MODWT Scale",
      "topics": [
        "soch_peak_scale"
      ]
    },
    {
      "page": "soch_pipeline",
      "title": "Full SOCH Empirical Pipeline",
      "topics": [
        "soch_pipeline"
      ]
    },
    {
      "page": "soch_profiles",
      "title": "Build All Directed WQTE Profiles",
      "topics": [
        "soch_profiles"
      ]
    },
    {
      "page": "soch_scale_power",
      "title": "Closed-Form Wavelet Scale Power",
      "topics": [
        "soch_scale_power"
      ]
    },
    {
      "page": "soch_spectrum",
      "title": "Product-Lorentzian Transmission Spectrum",
      "topics": [
        "soch_spectrum"
      ]
    },
    {
      "page": "soch_test_magnitude",
      "title": "Test SOCH-C: Directional Magnitude Asymmetry",
      "topics": [
        "soch_test_magnitude"
      ]
    },
    {
      "page": "soch_test_ordering",
      "title": "Test SOCH-A: Scale Ordering by Adaptation Speed",
      "topics": [
        "soch_test_ordering"
      ]
    },
    {
      "page": "soch_test_symmetry",
      "title": "Test SOCH-B: Shape Symmetry Across Direction",
      "topics": [
        "soch_test_symmetry"
      ]
    },
    {
      "page": "sym_kl",
      "title": "Symmetric Kullback-Leibler Divergence of Normalised Profiles",
      "topics": [
        "sym_kl"
      ]
    },
    {
      "page": "wq_gain",
      "title": "Wavelet-Quantile Directional Gain",
      "topics": [
        "wq_gain"
      ]
    },
    {
      "page": "wqte_profile",
      "title": "Wavelet-Quantile Directional Scale Profile",
      "topics": [
        "wqte_profile"
      ]
    }
  ],
  "_readme": "https://github.com/avishekb9/sochcontagion/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "multitaper",
    "quantreg",
    "SparseM",
    "survival",
    "waveslim"
  ],
  "_vignettes": [
    {
      "source": "replication.Rmd",
      "filename": "replication.html",
      "title": "Reproducing the G20 results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data and the verified directional signature",
        "Test 1 (SOCH-A) and Test 3 (SOCH-C) on the eight-market sample",
        "Test 4: endogenous classification",
        "Test 2 (SOCH-B): the sharp shape-symmetry test"
      ],
      "created": "2026-06-02 18:48:14",
      "modified": "2026-06-02 18:48:14",
      "commits": 1
    },
    {
      "source": "methodology.Rmd",
      "filename": "methodology.html",
      "title": "The Scale-Ordered Contagion methodology",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The mechanism",
        "From spectrum to wavelet scales",
        "Three falsifiable predictions",
        "Identification"
      ],
      "created": "2026-06-02 18:48:14",
      "modified": "2026-06-02 18:48:14",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "sochcontagion",
  "_universes": [
    "avishekb9"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T06:51:42.000Z",
      "distro": "resolute",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/81853452d155e2a0cf7ab1c0ff6ecff2023fc9f56993563eb9af9071421f131f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T06:51:43.000Z",
      "distro": "resolute",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/fcb84cc79c0e29ead83f511d266d096ccc1eb075363b4226bc0a5e70bfe66a31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T06:51:10.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/355777bb3981453c882f81645859e656866552b06d1a72ff14fc787a6394c98a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T06:50:57.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/b600b7faddf02bcf69d28e8e580fb186f6f621d7f5923d600940e2aaf25df9da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-03T06:51:32.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/12dfaf77b4f41856a62ac8c7bddb73a7ee87cad3f5955f95be1e5e97be7374f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T06:50:47.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/05f7f8ca8c053b5b82deea145facc09a4da546a03a763fe3f6d96e717e819913",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T06:50:56.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/d49a8401f8159afc89893c2b461a1c0087c9a0a21b8145992b2ea7d13721a393",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T06:50:45.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/19c7e594f3ca68786a5db11ed865adedc448c645c17ae9bbeb995dca1f1cb943",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/28643575818"
    }
  ]
}