U
    Ãmœd™  ã                   @   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é    )ÚutilsÚ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   úY/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/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   Ú__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGÚNOTEr	   r
   r   r   r   r   r   Ú<module>   s   