The $P$-value of a test equals its observed significance level.
In [1]:
from question2 import *
In [2]:
q = MultiPartQuestion()
In [3]:
dir(q)
Out[3]:
In [4]:
q.traits()
Out[4]:
In [5]:
q.answer = 3
In [6]:
q.submits_allowed = '3'
In [7]:
q.submits_allowed = 3
In [8]:
q.seed = 3
In [9]:
q.parts
Out[9]:
In [10]:
q.text = 'This is my question'
q.max_pts = [3,4,5]
In [11]:
q.to_JSON()
Out[11]:
In [12]:
q.comment_if_wrong = 'Hint: guess randomly!'
In [13]:
q.to_JSON()
Out[13]:
In [14]:
q2 = ShortAnswer()
q2.text = 'Please explain the central limit theorem.'
q3 = ShortAnswer()
q3.text = 'Please detail the assumptions you are making.'
In [15]:
q.parts = [q2,q3]
q.to_JSON()
Out[15]:
In [16]:
q.parts
Out[16]:
In [ ]: