code: def chamberlain(n, q, alpha=0.05):
      return norm.ppf(1 - alpha / 2) * np.sqrt(q * (1 - q) / n)
  
imports: import numpy
  import warnings
  import scipy.stats
  from numpy.linalg import pinv
  from scipy.stats import norm
  from statsmodels.tools.decorators import cache_readonly
  from statsmodels.regression.linear_model import RegressionModel, RegressionResults, RegressionResultsWrapper
  from statsmodels.tools.sm_exceptions import ConvergenceWarning, IterationLimitWarning
label_desc: Use image node_id 4 for calling a global function with example usage: chamberlain(n, q, alpha) and returns: unknown