original_docstring: 
  		Calculate the Chi Square critical value.
  
  		Returns the critical value.
  		
docstring: Calculate the Chi Square critical value.
  Returns the critical value.
docstring_tokens: Calculate the Chi Square critical value . Returns the critical value .
code: def chisq(self):
  		'''
  		Calculate the Chi Square critical value.
  
  		Returns the critical value.
  		'''
  		expected = self.byte_count / self.IDEAL
  
  		if expected:
  			for byte in self.bytes.values():
  				self.xc2 += ((byte - expected) ** 2 ) / expected
  
  		return self.xc2
code_tokens: def chisq ( self ) : expected = self . byte_count / self . IDEAL if expected : for byte in self . bytes . values ( ) : self . xc2 += ( ( byte - expected ) ** 2 ) / expected return self . xc2
short_docstring: Calculate the Chi Square critical value.
short_docstring_tokens: Calculate the Chi Square critical value .
comment: '''
  		Calculate the Chi Square critical value.
  
  		Returns the critical value.
  		'''