{% extends "layout.html" %} {% block content %}

Test results

{{ form.hidden_tag() }} {% if form.title.errors %} {{ form.title(class="py-2 form-control is-invalid") }}
{% for error in form.title.errors %} {{ error }} {% endfor %}
{% else %} {{ form.title(class="form-control") }} {% endif %} {% if result["test"] == "Chi-Square goodness of fit" %} {% elif result["test"] == "Chi-Square Test" %} {% else %} {% endif %} {% if result["p"] <= result["alpha"] %} {% else %} {% endif %}
Null Hypothesis Statistical Test Significance value P-Value Conclusion
There is no significant difference between the observed and the expected values.There is no association between {{ result["dv"] }} and {{ result["iv"] }}.The distribution of {{ result["dv"] }} is the same across groups of {{ result["iv"] }}{{ result["test"] }} {{ result["alpha"] }} {{ result["p"] }}Reject the null hypothesisAccept the null hypothesis
Cancel {{ form.submit(class="btn btn-primary") }}
{% endblock content %}