Skip to contents

Collects and displays the fitted call, analysis settings, automatic diagnostics, window-average estimate, period-specific estimates, and the range and largest absolute value of the rolling reference forecast errors.

Usage

# S3 method for class 'eventsurvey'
summary(object, ...)

Arguments

object

An object returned by eventsurvey() or eventsurvey_summary().

...

Unused.

Value

An object of class summary.eventsurvey containing the fitted call, settings, estimates, diagnostics, and reference-error summaries. Printing the returned object displays the complete numerical summary.

See also

print.eventsurvey() for a compact console overview, plot.eventsurvey() for figures, and eventsurvey_report() for a self-contained HTML report.

Examples

fit <- eventsurvey(y ~ day, sample_data)
summary(fit)
#> Event-during-survey analysis
#> 
#> eventsurvey(formula = y ~ day, data = sample_data)
#> 
#> Settings
#>   Fit and forecast window: 6 periods
#>   Event period: exclude 
#>   Period schedule: observed 
#>   Calibration: estimand 
#>   Missing pre-event periods: 0
#>   Missing forecast periods: 0
#>   Final fit: 6 observed periods spanning 6 period(s) on the time scale
#>   Final forecast: 6 observed periods spanning 6 period(s) on the time scale
#>   Confidence level: 95 %
#> 
#> Automatic diagnostics
#>   [OK] Calendar coverage: No calendar periods are missing from the analysis span.
#>   [OK] Responses per period: The minimum observed-period sample size is 26.
#>   [OK] Variance information: Every observed period has an estimable within-period variance.
#>   [OK] Reference windows: 18 rolling pre-event reference windows calibrate the bias bound.
#>   [OK] Elapsed window spans: All fitting and forecasting windows span the requested number of calendar periods.
#> 
#> Window-average effect
#>     effect std_error conventional_low conventional_high bias_bound  conf_low
#>  0.2338301 0.3494136       -0.4510078         0.9186681  0.7864303 -1.848577
#>  conf_high n_windows n_reference
#>   2.435285        18         108
#> 
#> Period-specific effects
#>  relative_period observed counterfactual       effect std_error   conf_low
#>                1 4.075000       3.060427  1.014572993 0.2755797 -0.2032218
#>                2 3.650000       3.094517  0.555483138 0.3076257 -0.9105100
#>                3 3.225000       3.128607  0.096393283 0.3679333 -1.7663215
#>                4 3.235294       3.162697  0.072597546 0.4073448 -1.8353653
#>                5 3.205882       3.196786  0.009095926 0.4721175 -1.9326952
#>                6 2.885714       3.230876 -0.345161996 0.4961805 -2.3856433
#>  conf_high horizon bias_bound n_reference
#>   2.232368       2  0.4930164          18
#>   1.931914       3  0.6014881          18
#>   1.951732       4  0.8924199          18
#>   2.062067       5  0.8934478          18
#>   2.135153       6  0.8602366          18
#>   2.115669       7  0.9779732          18