ó
įp7]c           @   sb   d  Z  d d l m Z d Z d Z e  Z d Z d Z d Z	 d Z
 d	   Z d d
  Z d   Z d S(   s"   Bill Greene's credit scoring data.i’’’’(   t   utilst   restructuredtextsL   Used with express permission of the original author, who
retains all rights.s¦   
William Greene's `Econometric Analysis`

More information can be found at the web site of the text:
http://pages.stern.nyu.edu/~wgreene/Text/econometricanalysis.htm
s$   William Greene's credit scoring datasl   More information on this data can be found on the
homepage for Greene's `Econometric Analysis`. See source.
s²   ::

    Number of observations - 72
    Number of variables - 5
    Variable name definitions - See Source for more information on the
                                variables.
c          C   s   t    }  t j |  d d S(   s”   Load the credit card data and returns a Dataset class.

    Returns
    -------
    Dataset instance:
        See DATASET_PROPOSAL.txt for more information.
    t	   endog_idxi    (   t	   _get_datat   dut   process_pandas(   t   data(    (    s>   lib/python2.7/site-packages/statsmodels/datasets/ccard/data.pyt   load_pandas   s    	c         C   s   t  j t   d |  S(   s]  Load the credit card data and returns a Dataset class.

    Parameters
    ----------
    as_pandas : bool
        Flag indicating whether to return pandas DataFrames and Series
        or numpy recarrays and arrays.  If True, returns pandas.

    Returns
    -------
    Dataset instance:
        See DATASET_PROPOSAL.txt for more information.
    t	   as_pandas(   R   t   as_numpy_datasetR   (   R   (    (    s>   lib/python2.7/site-packages/statsmodels/datasets/ccard/data.pyt   load+   s    c           C   s   t  j t d d t S(   Ns	   ccard.csvt   convert_float(   R   t   load_csvt   __file__t   True(    (    (    s>   lib/python2.7/site-packages/statsmodels/datasets/ccard/data.pyR   <   s    N(   t   __doc__t   statsmodels.datasetsR    R   t   __docformat__t	   COPYRIGHTt   TITLEt   SOURCEt
   DESCRSHORTt	   DESCRLONGt   NOTER   t   NoneR
   R   (    (    (    s>   lib/python2.7/site-packages/statsmodels/datasets/ccard/data.pyt   <module>   s   	