{
  "_id": "6acb7187fe5cc25786e9027e",
  "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-10-11 11:19:54 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/f7fde338f3c5313c41922bdac98a27f0bce8ae0177fe836e48437d2865dcc653",
  "_filesize": 2129968,
  "_sha256": "f7fde338f3c5313c41922bdac98a27f0bce8ae0177fe836e48437d2865dcc653",
  "_expires": "2027-01-19T11:22:45.000Z",
  "_created": "2026-10-11T11:19:54.000Z",
  "_published": "2026-10-11T11:22:47.430Z",
  "_buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114457472555,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11700104061"
    },
    {
      "job": 114457472640,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700787368"
    },
    {
      "job": 114457472572,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11700562875"
    },
    {
      "job": 114457472680,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700378923"
    },
    {
      "job": 114457000340,
      "time": 161,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700408247"
    },
    {
      "job": 114457472628,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11700942077"
    },
    {
      "job": 114457472648,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11700647789"
    },
    {
      "job": 114457472670,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11700263649"
    },
    {
      "job": 114457472636,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700243536"
    }
  ],
  "_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": 1,
  "_contributors": [
    {
      "user": "avishekb9",
      "count": 2,
      "uuid": 123537056
    }
  ],
  "_userbio": {
    "uuid": 123537056,
    "type": "user",
    "name": "Avishek Bhandari",
    "followers": 6
  },
  "_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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sochcontagion.html"
  ],
  "_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-10-11T11:22:14.000Z",
      "distro": "resolute",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/e3644534837ac8aea1a876b4ad776e6f403ccb55936ea0d35f5cc291cd5ac05b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-11T11:22:04.000Z",
      "distro": "resolute",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/756a4ba4331682543fb22e389f6148849f1fa2d135e9a39d307a3f4e9bda370d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T11:21:53.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/81480ebd70c72d8a523b241d981cadec40bd4fec1b40c5e78238a88a5373e233",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-11T11:21:26.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/27133c3266ede5c1cd0526384017b474332b1c5715b8fa58b71bf3d2be55945c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-11T11:21:58.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/83bac3f02bd156418bd33b2bd1c64df9391d6a9982ca8b4893ea4ddf1538ee9f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T11:20:56.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/8629d436e6f10657230aadf502beedcc59d32c689107c0a767e1397ce80cb42f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T11:21:03.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/2c3b982b9e4b76bc068cb40993b7479fe1a93ca1882699c6da67d51258c9f4a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-11T11:21:01.000Z",
      "commit": "17bda217680236b1bbe512ae047d28f83132da24",
      "fileid": "https://r2.ropensci.org/0528ddfc05eb8b05ef6518379caa899874d79a74bc813f841099579a6df5e9ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avishekb9/actions/runs/38134999532"
    }
  ]
}