Search.setIndex({"docnames": ["diagnostics", "index", "models", "simulator"], "filenames": ["diagnostics.md", "index.rst", "models.md", "simulator.md"], "titles": ["Diagnostic tools", "Welcome to spycause\u2019s documentation!", "Models", "Simulation code"], "terms": {"index": [], "modul": [], "search": [], "page": [], "The": [], "document": [], "thi": [], "project": [], "i": 1, "work": [], "progress": [], "text": [0, 3], "toctre": [], "simul": 1, "md": [], "input": 3, "here": [0, 3], "code": 1, "model": 1, "ordinari": 1, "least": 1, "squar": 1, "ol": 1, "condit": 1, "autoregress": 1, "adjust": 1, "car": [1, 3], "joint": 1, "propens": 1, "score": 1, "outcom": [1, 3], "diagnost": 1, "tool": 1, "add": [0, 3], "sp\u012b": 1, "k\u00f4z": 1, "e": 1, "sp\u0113": 1, "python": 1, "packag": 1, "spatial": [1, 3], "causal": 1, "data": [1, 3], "all": [1, 3], "ar": 1, "fit": 1, "bayesian": 1, "framework": 1, "us": [1, 3], "stan": 1, "program": 1, "languag": 1, "intrins": 1, "icar": 1, "next": 1, "step": 1, "implement": 1, "diff": 1, "instrument": 1, "variabl": [1, 3], "geograph": 1, "regress": 1, "discontinu": 1, "design": 1, "reich": 1, "b": 1, "j": 1, "yang": 1, "guan": 1, "y": [1, 3], "giffin": 1, "A": 1, "miller": 1, "m": 1, "rappold": 1, "2021": 1, "review": 1, "infer": 1, "method": 1, "environment": 1, "epidemiolog": 1, "applic": 1, "intern": 1, "statist": 1, "89": 1, "4": 1, "605": 1, "634": 1, "develop": 1, "team": 1, "2023": 1, "user": 1, "guid": 1, "manual": [1, 3], "2": [1, 3], "31": 1, "http": 1, "mc": 1, "org": 1, "carsimul": [1, 3], "class": 3, "spycaus": 3, "nlat": 3, "d": 3, "sp_confound": 3, "none": 3, "interfer": 3, "__init__": 3, "initi": 3, "self": 3, "int": 3, "side": 3, "length": 3, "lattic": 3, "number": 3, "covari": 3, "gener": 3, "matrix": 3, "default": 3, "specifi": 3, "mode": 3, "confound": 3, "between": 3, "locat": 3, "string": 3, "option": 3, "partial": 3, "onli": 3, "among": 3, "cluster": 3, "randomregion": 3, "recommend": 3, "select": 3, "yourself": 3, "adjac": 3, "block": 3, "diagon": 3, "call": 3, "take": 3, "while": 3, "If": 3, "network": 3, "queen": 3, "weight": 3, "same": 3, "pass": 3, "treat": 3, "0": 3, "5": 3, "z_conf": 3, "25": 3, "y_conf": 3, "interf": 3, "x_sd": 3, "1": 3, "x_sp": 3, "9": 3, "ucar_sd": 3, "ucar_str": 3, "95": 3, "vcar_sd": 3, "vcar_str": 3, "balanc": 3, "y_sd": 3, "kwarg": 3, "base": 3, "some": 3, "conf": 3, "could": 3, "arrai": 3, "size": 3, "differ": 3, "have": 3, "level": 3, "float": 3, "treatment": 3, "effect": 3, "z": 3, "nonspati": 3, "standard": 3, "deviat": 3, "autocorrel": 3, "sd": 3, "error": 3, "term": 3, "strength": 3, "associ": 3, "factor": 3, "parametr": 3, "share": 3, "x": 3, "nxd": 3, "nx1": 3}, "objects": {"spycause.simulator": [[3, 0, 1, "", "CARSimulator"]], "spycause.simulator.CARSimulator": [[3, 1, 1, "", "__init__"], [3, 1, 1, "", "simulate"]]}, "objtypes": {"0": "py:class", "1": "py:method"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"]}, "titleterms": {"welcom": 1, "spycaus": 1, "": 1, "document": 1, "indic": [], "tabl": [], "simul": 3, "titl": [], "content": 1, "diagnost": 0, "tool": 0, "model": 2, "ordinari": 2, "least": 2, "squar": 2, "ol": 2, "condit": 2, "autoregress": 2, "adjust": 2, "car": 2, "joint": 2, "propens": 2, "score": 2, "outcom": 2, "code": 3, "refer": 1, "intrins": 2, "icar": 2, "paramet": 3, "return": 3}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"Diagnostic tools": [[0, "diagnostic-tools"]], "Welcome to spycause\u2019s documentation!": [[1, "welcome-to-spycause-s-documentation"]], "Contents:": [[1, null]], "References": [[1, "references"]], "Models": [[2, "models"]], "Ordinary least squares (OLS)": [[2, "ordinary-least-squares-ols"]], "Conditional autoregressive adjustment (CAR)": [[2, "conditional-autoregressive-adjustment-car"]], "Intrinsic conditional autoregressive adjustment (ICAR)": [[2, "intrinsic-conditional-autoregressive-adjustment-icar"]], "Joint propensity score and outcome (Joint)": [[2, "joint-propensity-score-and-outcome-joint"]], "Simulation code": [[3, "simulation-code"]], "Parameters": [[3, "parameters"], [3, "id1"]], "Returns": [[3, "returns"]]}, "indexentries": {"carsimulator (class in spycause.simulator)": [[3, "spycause.simulator.CARSimulator"]], "__init__() (spycause.simulator.carsimulator method)": [[3, "spycause.simulator.CARSimulator.__init__"]], "simulate() (spycause.simulator.carsimulator method)": [[3, "spycause.simulator.CARSimulator.simulate"]]}})