U
    Kvf                     @   sH   d Z ddlmZ dZdZd ZdZdZdZ	dZ
d	d
 Zdd Zdd ZdS )zBreast Cancer Data    )utilsZrestructuredtextz???z
This is the breast cancer data used in Owen's empirical likelihood.  It is taken from
Rice, J.A. Mathematical Statistics and Data Analysis.
http://www.cengage.com/statistics/discipline_content/dataLibrary.html
z#Breast Cancer and county populationz;The number of breast cancer observances in various countiesz::

    Number of observations: 301
    Number of variables: 2
    Variable name definitions:

        cancer - The number of breast cancer observances
        population - The population of the county

c                  C   s   t  } tj| dd dS )Nr   )Z	endog_idxZexog_idx)	_get_dataduZprocess_pandas)data r   D/tmp/pip-unpacked-wheel-2v6byqio/statsmodels/datasets/cancer/data.pyload_pandas   s    r   c                   C   s   t  S )z
    Load the data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )r   r   r   r   r   load$   s    	r	   c                   C   s   t jtdddS )Nz
cancer.csvT)Zconvert_float)r   Zload_csv__file__r   r   r   r   r   0   s    r   N)__doc__Zstatsmodels.datasetsr   r   Z__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGZNOTEr   r	   r   r   r   r   r   <module>   s   