Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
Module: meridian.analysis.analyzer
Stay organized with collections
Save and categorize content based on your preferences.
Methods to compute analysis metrics of the model and the data.
Classes
class Analyzer
: Runs calculations to analyze the raw data after fitting the model.
class DataTensors
: Container for data variable arguments of Analyzer methods.
class DistributionTensors
: Container for parameters distributions arguments of Analyzer methods.
Functions
get_central_tendency_and_ci(...)
: Calculates mean and credible intervals for the given data.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[[["\u003cp\u003eThis page outlines the methods for computing analysis metrics of a model and its data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyzer\u003c/code\u003e class is used to perform calculations for analyzing raw data after model fitting.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataTensors\u003c/code\u003e class serves as a container for data variable arguments used in Analyzer methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionTensors\u003c/code\u003e class is a container for parameter distribution arguments that are utilized in Analyzer methods.\u003c/p\u003e\n"]]],["The document outlines tools for analyzing model and data metrics. The `Analyzer` class performs calculations on raw data post-model fitting. `DataTensors` and `DistributionTensors` classes serve as containers for data variables and parameter distributions, respectively, which are used as arguments in the `Analyzer` methods. The source code for these tools can be viewed on GitHub.\n"],null,["\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.2.0/meridian/analysis/analyzer.py) |\n\nMethods to compute analysis metrics of the model and the data.\n\nClasses\n\n[`class Analyzer`](../../meridian/analysis/analyzer/Analyzer.md): Runs calculations to analyze the raw data after fitting the model.\n\n[`class DataTensors`](../../meridian/analysis/analyzer/DataTensors.md): Container for data variable arguments of Analyzer methods.\n\n[`class DistributionTensors`](../../meridian/analysis/analyzer/DistributionTensors.md): Container for parameters distributions arguments of Analyzer methods.\n\nFunctions\n\n[`get_central_tendency_and_ci(...)`](../../meridian/analysis/analyzer/get_central_tendency_and_ci.md): Calculates mean and credible intervals for the given data."]]