old_contents: import iolib, datasets, tools
  from tools.tools import add_constant, categorical
  import regression
  from .regression.linear_model import OLS, GLS, WLS, GLSAR
  from .genmod.generalized_linear_model import GLM
  from .genmod import families
  import robust
  from .robust.robust_linear_model import RLM
  from .discrete.discrete_model import (Poisson, Logit, Probit, MNLogit,
                                        NegativeBinomial)
  from .tsa import api as tsa
  from .nonparametric import api as nonparametric
  import distributions
  from __init__ import test
  from . import version
  from info import __doc__
  from graphics.gofplots import qqplot, qqplot_2samples, qqline, ProbPlot
  from .graphics import api as graphics
  from .stats import api as stats
  from .emplike import api as emplike
  
  from .formula import api as formula
  
  import os
  
  chmpath = os.path.join(os.path.dirname(__file__), 'statsmodelsdoc.chm')
  if os.path.exists(chmpath):
      def open_help(chmpath=chmpath):
          from subprocess import Popen
          p = Popen(chmpath, shell=True)
  
  del os
  del chmpath
  
new_contents: import iolib, datasets, tools
  from tools.tools import add_constant, categorical
  import regression
  from .regression.linear_model import OLS, GLS, WLS, GLSAR
  from .genmod.generalized_linear_model import GLM
  from .genmod import families
  import robust
  from .robust.robust_linear_model import RLM
  from .discrete.discrete_model import (Poisson, Logit, Probit, MNLogit,
                                        NegativeBinomial)
  from .tsa import api as tsa
  from .nonparametric import api as nonparametric
  import distributions
  from __init__ import test
  from . import version
  from info import __doc__
  from graphics.gofplots import qqplot, qqplot_2samples, qqline, ProbPlot
  from .graphics import api as graphics
  from .stats import api as stats
  from .emplike import api as emplike
  
  from .formula import api as formula
  
  from .iolib.smpickle import load_pickle as load
  
  import os
  
  chmpath = os.path.join(os.path.dirname(__file__), 'statsmodelsdoc.chm')
  if os.path.exists(chmpath):
      def open_help(chmpath=chmpath):
          from subprocess import Popen
          p = Popen(chmpath, shell=True)
  
  del os
  del chmpath
  
subject: Add load function to main API. Closes #840.