Meridian GeoX is now available. Run geo experiments to calibrate your MMM.
Get started here
Send feedback
meridian.analysis.review.checks.GoodnessOfFitCheck
Stay organized with collections
Save and categorize content based on your preferences.
Checks for goodness of fit of the model.
Inherits From: BaseCheck
meridian . analysis . review . checks . GoodnessOfFitCheck (
* ,
meridian : ( Any | None ) = None ,
model_context : ( meridian . model . context . ModelContext | None ) = None ,
inference_data : ( az . InferenceData | None ) = None ,
analyzer : meridian . analysis . analyzer . Analyzer ,
config : ConfigType ,
selected_geos : ( Sequence [ str ] | None ) = None ,
selected_times : ( Sequence [ str ] | None ) = None
)
Methods
is_relevant
View source
@classmethod
is_relevant (
model_context : meridian . model . context . ModelContext ,
inference_data : ( az . InferenceData | None ) = None
) -> bool
Checks if the check is relevant for the given model context.
run
View source
run () -> meridian . analysis . review . results . GoodnessOfFitCheckResult
Executes the check.
The return type uses the generic ResultType, making it specific for each
subclass.
Send feedback
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 2026-09-03 UTC.
Need to tell us more?
[[["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 2026-09-03 UTC."],[],[]]