{% 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 %} Null Hypothesis Statistical Test Significance value P-Value Conclusion {% if result["test"] == "Chi-Square goodness of fit" %} There is no significant difference between the observed and the expected values. {% elif result["test"] == "Chi-Square Test" %} There is no association between {{ result["dv"] }} and {{ result["iv"] }}. {% else %} The distribution of {{ result["dv"] }} is the same across groups of {{ result["iv"] }} {% endif %} {{ result["test"] }} {{ result["alpha"] }} {{ result["p"] }} {% if result["p"] <= result["alpha"] %} Reject the null hypothesis {% else %} Accept the null hypothesis {% endif %} Cancel {{ form.submit(class="btn btn-primary") }} {% endblock content %}