• Documentation
    • About ​ValidMind
    • Get Started
    • Guides
    • Support
    • Releases

    • ValidMind Library
    • Python API
    • Public REST API

    • Training Courses
  • Log In
  1. tests
  2. model_validation
  3. RegressionCoeffs
  • ValidMind Library Python API

  • Python API
  • 2.15.0
  • init
  • init_dataset
  • init_model
  • init_r_model
  • generate_documentation_text
  • get_test_suite
  • get_content_ids
  • log_metric
  • preview_template
  • print_env
  • reload
  • run_text_generation
  • run_documentation_tests
  • run_test_suite
  • tags
  • tasks
  • test
  • scorer_decorator
  • log_text
  • log_test_result
  • experimental_agent
  • RawData
    • RawData
    • inspect
    • serialize

  • Submodules
  • __version__
  • datasets
    • classification
      • customer_churn
      • taiwan_credit
    • credit_risk
      • lending_club
      • lending_club_bias
    • llm
      • rag
      • rfp
    • nlp
      • cnn_dailymail
      • twitter_covid_19
    • regression
      • california_housing
      • credit_card_balance
      • fred
      • lending_club
  • errors
  • test_suites
    • classifier
    • cluster
    • embeddings
    • llm
    • nlp
    • parameters_optimization
    • regression
    • statsmodels_timeseries
    • summarization
    • tabular_datasets
    • text_data
    • time_series
  • tests
    • data_validation
      • ACFandPACFPlot
      • ADF
      • AutoAR
      • AutoMA
      • AutoStationarity
      • BivariateScatterPlots
      • BoxPierce
      • ChiSquaredFeaturesTable
      • ClassImbalance
      • CommonWords
      • DatasetDescription
      • DatasetSplit
      • DescriptiveStatistics
      • DickeyFullerGLS
      • Duplicates
      • EngleGrangerCoint
      • FeatureTargetCorrelationPlot
      • Hashtags
      • HighCardinality
      • HighPearsonCorrelation
      • IQROutliersBarPlot
      • IQROutliersTable
      • IsolationForestOutliers
      • JarqueBera
      • KPSS
      • LJungBox
      • LaggedCorrelationHeatmap
      • LanguageDetection
      • Mentions
      • MissingValues
      • MissingValuesBarPlot
      • MutualInformation
      • PearsonCorrelationMatrix
      • PhillipsPerronArch
      • PolarityAndSubjectivity
      • ProtectedClassesCombination
      • ProtectedClassesDescription
      • ProtectedClassesDisparity
      • ProtectedClassesThresholdOptimizer
      • Punctuations
      • RollingStatsPlot
      • RunsTest
      • ScatterPlot
      • ScoreBandDefaultRates
      • SeasonalDecompose
      • Sentiment
      • ShapiroWilk
      • Skewness
      • SpreadPlot
      • StopWords
      • TabularCategoricalBarPlots
      • TabularDateTimeHistograms
      • TabularDescriptionTables
      • TabularNumericalHistograms
      • TargetRateBarPlots
      • TextDescription
      • TimeSeriesDescription
      • TimeSeriesDescriptiveStatistics
      • TimeSeriesFrequency
      • TimeSeriesHistogram
      • TimeSeriesLinePlot
      • TimeSeriesMissingValues
      • TimeSeriesOutliers
      • TooManyZeroValues
      • Toxicity
      • UniqueRows
      • WOEBinPlots
      • WOEBinTable
      • ZivotAndrewsArch
      • nlp
    • model_validation
      • AdjustedMutualInformation
      • AdjustedRandIndex
      • AutoARIMA
      • BertScore
      • BleuScore
      • CalibrationByDecile
      • CalibrationCurve
      • ClassifierPerformance
      • ClassifierThresholdOptimization
      • ClusterCosineSimilarity
      • ClusterPerformanceMetrics
      • ClusterSizeDistribution
      • CoefficientStability
      • CompletenessScore
      • ConfusionMatrix
      • ContextualRecall
      • CumulativePredictionProbabilities
      • DurbinWatsonTest
      • ExpectedCoefficientSigns
      • FeatureImportance
      • FeatureSensitivity
      • FeaturesAUC
      • FowlkesMallowsScore
      • GINITable
      • Heteroscedasticity
      • HomogeneityScore
      • HyperParametersTuning
      • InfluentialObservations
      • KMeansClustersOptimization
      • KolmogorovSmirnov
      • Lilliefors
      • LinearitySpecification
      • MeteorScore
      • MinimumAccuracy
      • MinimumF1Score
      • MinimumROCAUCScore
      • ModelMetadata
      • ModelParameters
      • ModelPredictionResiduals
      • ModelsPerformanceComparison
      • OverfitDiagnosis
      • PerformanceConfidenceIntervals
      • PerformanceOverTime
      • PermutationFeatureImportance
      • PopulationStabilityIndex
      • PrecisionRecallCurve
      • PredictionIntervals
      • PredictionProbabilitiesHistogram
      • PredictionRange
      • ROCCurve
      • RegardScore
      • RegressionCoeffs
      • RegressionErrors
      • RegressionErrorsComparison
      • RegressionFeatureSignificance
      • RegressionModelForecastPlot
      • RegressionModelForecastPlotLevels
      • RegressionModelSensitivityPlot
      • RegressionModelSummary
      • RegressionPerformance
      • RegressionPermutationFeatureImportance
      • RegressionR2Square
      • RegressionR2SquareComparison
      • RegressionResidualsPlot
      • RegressionWeakspots
      • ResidualBiasBySegment
      • ResidualNormality
      • RobustStandardErrors
      • RobustnessDiagnosis
      • RougeScore
      • SHAPGlobalImportance
      • ScenarioAnalysis
      • ScoreProbabilityAlignment
      • ScorecardHistogram
      • SilhouettePlot
      • TailPerformance
      • TimeSeriesPredictionWithCI
      • TimeSeriesPredictionsPlot
      • TimeSeriesR2SquareBySegments
      • TokenDisparity
      • ToxicityScore
      • TrainingTestDegradation
      • VMeasure
      • VarianceInflationFactor
      • WeakspotsDiagnosis
      • sklearn
      • statsmodels
    • plots
      • BoxPlot
      • CorrelationHeatmap
      • HistogramPlot
      • ViolinPlot
    • prompt_validation
      • Bias
      • Clarity
      • Conciseness
      • Delimitation
      • NegativeInstruction
      • Robustness
      • Specificity
    • stats
      • CorrelationAnalysis
      • DescriptiveStats
      • NormalityTests
      • OutlierDetection
  • unit_metrics
  • vm_models

On this page

  • RegressionCoeffs
    • Purpose
    • Test Mechanism
    • Signs of High Risk
    • Strengths
    • Limitations
  • Edit this page
  • Report an issue
  1. tests
  2. model_validation
  3. RegressionCoeffs

validmind.RegressionCoeffs

RegressionCoeffs

@tags('tabular_data', 'visualization', 'model_training')

@tasks('regression')

defRegressionCoeffs(model:validmind.vm_models.VMModel,confidence_level:float=0.95) → Tuple[go.Figure, validmind.vm_models.RawData, pd.DataFrame]:

Assesses the significance and uncertainty of predictor variables in a regression model through visualization of coefficients and their confidence intervals.

Purpose

The RegressionCoeffs metric visualizes the estimated regression coefficients alongside their confidence intervals (95% by default), providing insights into the impact and significance of predictor variables on the response variable. This visualization helps to understand the variability and uncertainty in the model's estimates, aiding in the evaluation of the significance of each predictor.

Test Mechanism

The function operates by extracting the estimated coefficients and their confidence intervals at confidence_level (default 95%) from the fitted statsmodels model, which uses the model's own reference distribution (Student's t for OLS). The confidence interval indicates the range within which the true coefficient value is expected to fall with that confidence. The coefficients and their confidence intervals are then visualized in a bar plot. The x-axis represents the predictor variables, the y-axis represents the estimated coefficients, and the error bars depict the confidence intervals.

Signs of High Risk

  • The confidence interval for a coefficient contains the zero value, suggesting that the predictor may not significantly contribute to the model.
  • Multiple coefficients with confidence intervals that include zero, potentially indicating issues with model reliability.
  • Very wide confidence intervals, which may suggest high uncertainty in the coefficient estimates and potential model instability.

Strengths

  • Provides a clear visualization that allows for easy interpretation of the significance and impact of predictor variables.
  • Includes confidence intervals, which provide additional information about the uncertainty surrounding each coefficient estimate.

Limitations

  • The method assumes normality of residuals and independence of observations, assumptions that may not always hold true in practice.
  • It does not address issues related to multi-collinearity among predictor variables, which can affect the interpretation of coefficients.
  • This metric is limited to regression tasks using tabular data and is not applicable to other types of machine learning tasks or data structures.
RegardScore
RegressionErrors
  • ValidMind Logo
    ©
    Copyright 2026 ValidMind Inc.
    All Rights Reserved.
    Cookie preferences
    Legal
  • Get started
    • Development
    • Validation
    • Setup & admin
  • Guides
    • Access
    • Configuration
    • Integrations
    • Workflows
    • Inventory
    • Risk tiering
    • Documents & templates
    • Documentation
    • Validation
    • Reporting & auditing
    • Monitoring
    • Attestation
  • ValidMind Library
    • Quickstarts
    • Development tutorial
    • Validation tutorial
    • Run tests & test suites
    • Use library features
    • Code samples
    • Python API
    • Public REST API
  • Training
    • Learning paths
    • Courses
    • Videos
  • Support
    • Troubleshooting
    • FAQ
    • Get help
  • Edit this page
  • Report an issue
  • Community
    • GitHub
    • LinkedIn
    • Events
    • Blog