{% if dataset_stats_table %}

The following table shows the key figures of the base and the alternative dataset.

The allocated privacy budget for each dataset are shown below and noise is applied accordingly to compute the estimate and the 95% confidence interval.

The symmetric mean absolute percentage error between base and alternative estimates is computed and indicated in the last column.

Base: privacy budget: {{dataset_stats_eps[0]}}
Alternative: privacy budget: {{dataset_stats_eps[1]}}
{{dataset_stats_table}}
{% endif %} {% if missing_values_table %}

The following table shows the number of missing values for each column of the two datasets.

The allocated privacy budget for each dataset are shown below and noise is applied accordingly to compute the estimate and the 95% confidence interval.

The symmetric mean absolute percentage error between base and alternative estimates is computed and indicated in the last column.

Base: privacy budget: {{missing_values_eps[0]}}
Alternative: privacy budget: {{missing_values_eps[1]}}
{{missing_values_table}}
{% endif %} {% if trips_over_time_linechart or trips_per_weekday_barchart or trips_per_hour_linechart %}
{% if trips_over_time_linechart %}

This visualization shows the relative number of trips on a timeline of the base and alternative dataset.

The allocated privacy budget for each dataset are shown below and noise is applied accordingly to compute the estimate (blue and orange line) and the 95% confidence interval. The confidence interval is visualized as shaded error bands, colored respectively for base and alternative.

The y-axis shows the percentage of trips while the x-axis will show the timeline aggregated as indicated below the visualization. The legend indicates the color for the base dataset and the alternative dataset.

Base: privacy budget: {{trips_over_time_eps[0]}} 95% CI: +/- {{trips_over_time_moe[0]}} %
Alternative: privacy budget: {{trips_over_time_eps[1]}} 95% CI: +/- {{trips_over_time_moe[1]}} %
{{trips_over_time_linechart}}

{{trips_over_time_info}}

{{trips_over_time_measure}}
{{trips_over_time_summary_table}}
{% endif %} {% if trips_per_weekday_barchart %}

This histogram visualizes the relative number of trips per weekday for the base and alternative dataset.

The allocated privacy budgets for both datasets are shown below and noise is applied accordingly to compute the estimate (bars) and the 95% confidence interval (error bar).

The y-axis shows the percentage of trips while the x-axis shows the weekdays. The legend indicates the color for the base dataset and the alternative dataset.

Base: privacy budget: {{trips_per_weekday_eps[0]}} 95% CI: +/- {{trips_per_weekday_moe[0]}} %
Alternative: privacy budget: {{trips_per_weekday_eps[1]}} 95% CI: +/- {{trips_per_weekday_moe[1]}} %
{{trips_per_weekday_barchart}} {{trips_per_weekday_measure}}
{% endif %} {% if trips_per_hour_linechart %}

This linechart shows the relative number of trips per hour over the course of a day, disaggregated by weekday and weekend for the base and alternative dataset.

The allocated privacy budget for both datasets are shown below and noise is applied accordingly to compute the estimate (lines). The confidence interval is indicated below but not visualized in the graph due to visual clarity.

The legend shows the colors for each time category (weekday start, weekday end, weekend start, weekend end) indicating the start and end timestamp of each trip and if the trip was during the week or on the weekend. Furthermore, the lines are either continuous or dashed for the base and the alternative dataset.

The y-axis shows the percentage of trips while the x-axis shows the hour of the day.

Base: privacy budget: {{trips_per_hour_eps[0]}} 95% CI: +/- {{trips_per_hour_moe[0]}} %
Alternative: privacy budget: {{trips_per_hour_eps[1]}} 95% CI: +/- {{trips_per_hour_moe[1]}} %
{{trips_per_hour_linechart}} {{trips_per_hour_measure}}
{% endif %}
{% endif %}