Learn R Programming

valueprhr (version 0.1.0)

generate_analysis_summary: Generate Comprehensive Analysis Summary

Description

Creates a complete summary of all analysis results including models, validation, and structural break tests.

Usage

generate_analysis_summary(
  comparison_table,
  cv_summary = NULL,
  break_results = NULL,
  cca_results = NULL,
  granger_results = NULL
)

Value

A list with formatted summary components.

Arguments

comparison_table

Data frame from compare_models.

cv_summary

Data frame from summarize_cv_results (or NULL).

break_results

Result from test_structural_breaks (or NULL).

cca_results

Result from run_sparse_cca (or NULL).

granger_results

Data frame from panel_granger_test (or NULL).

Examples

Run this code
comparison <- data.frame(
  model = c("Model A", "Model B"),
  R2 = c(0.95, 0.92),
  RMSE_log = c(0.05, 0.06)
)
summary_list <- generate_analysis_summary(comparison)
print(summary_list$best_model)

Run the code above in your browser using DataLab