{
  "_id": "6a1fed94b401979e73440f38",
  "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-06-03 08:57:51 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>",
  "MD5sum": "82dc875cc1273c1acc5d6ec38af1eb22",
  "_user": "avishekb9",
  "_type": "src",
  "_file": "sochcontagion_0.1.0.tar.gz",
  "_fileid": "062d2951e4385353bf2e6ce325822a288e883aa48ef1971aa889798f6cbccd91",
  "_filesize": 2131589,
  "_sha256": "062d2951e4385353bf2e6ce325822a288e883aa48ef1971aa889798f6cbccd91",
  "_created": "2026-06-03T08:57:51.000Z",
  "_published": "2026-06-03T09:02:12.601Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79257956676,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380123550"
    },
    {
      "job": 79257956710,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380117907"
    },
    {
      "job": 79257956627,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380120053"
    },
    {
      "job": 79257956655,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380125999"
    },
    {
      "job": 79257462766,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380077077"
    },
    {
      "job": 79257956656,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380114342"
    },
    {
      "job": 79257956660,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380105409"
    },
    {
      "job": 79257956670,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380113013"
    },
    {
      "job": 79257956694,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380104852"
    }
  ],
  "_buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sochcontagion"
  },
  "_devurl": "https://github.com/avishekb9/sochcontagion",
  "_rbuild": "4.6.0",
  "_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-06-03T09:00:00.000Z",
      "distro": "noble",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "ffb00d0fe5a695c53bdcf8d7dc0daa144e8231ffdd6195f8f9dfaf1595053068",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:45.000Z",
      "distro": "noble",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "27842efdc254049d8275f49450c9b72b3df80094a1023582c61ac159922f3cbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:54.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "98c3a45984980e750954b878cb744ea7a8f4c144f6a7ffe2a3260f421b2257bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T09:00:09.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "67d4636b965a454caf17e785dfc3b3c479d46e5cfda3fa82abc0a46f54ad134a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:51.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "2154f1502a0cc7918c4ee084027056e57d1b891f155d42797bb79a3e840ccc9c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:02.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "7ff55c4ebc88d788d7af8bf713f5b8f7df89c6e95c5246d1c44c36cd6325089d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:24.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "377370d5ab1ac1e43a2416504d0d6009dd43a7681fb9be8fdcf62ec1cd9c0f45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T08:59:02.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "e0e605beec1eda75ab898013a6e678c6d255ffd945b4457d02a88f3f7792d3a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/26874322885"
    }
  ]
}