% unless goal.nil? %> <% experiment_class = "experiment experiment_with_goal" %> <% else %> <% experiment_class = "experiment" %> <% end %> <% experiment.calc_winning_alternatives %>
Alternative Name | Participants | Non-finished | Completed | Conversion Rate | Finish | |
---|---|---|---|---|---|---|
<%= alternative.name %> <% if alternative.control? %> control <% end %> | <%= alternative.participant_count %> | <%= alternative.unfinished_count %> | <%= alternative.completed_count(goal) %> | <%= number_to_percentage(alternative.conversion_rate(goal)) %>% <% if experiment.control.conversion_rate(goal) > 0 && !alternative.control? %> <% if alternative.conversion_rate(goal) > experiment.control.conversion_rate(goal) %> +<%= number_to_percentage((alternative.conversion_rate(goal)/experiment.control.conversion_rate(goal))-1) %>% <% elsif alternative.conversion_rate(goal) < experiment.control.conversion_rate(goal) %> <%= number_to_percentage((alternative.conversion_rate(goal)/experiment.control.conversion_rate(goal))-1) %>% <% end %> <% end %> |
<%= confidence_level(alternative.z_score(goal)) %>
<%= number_to_percentage(round(alternative.p_winner(goal), 3)) %>%
|
<% if experiment.has_winner? %> <% if experiment.winner.name == alternative.name %> Winner <% else %> Loser <% end %> <% else %> <% end %> |
Totals | <%= total_participants %> | <%= total_unfinished %> | <%= total_completed %> | N/A | N/A | N/A |