U
    Kvf                     @   s@   d Z ddlmZ dZdZe ZdZdZdZ	dZ
d	d
 Zdd ZdS )z1Smoking and lung cancer in eight cities in China.    )utilsZrestructuredtextzIntern. J. Epidemiol. (1992)zq
Transcribed from Z. Liu, Smoking and Lung Cancer Incidence in China,
Intern. J. Epidemiol., 21:197-201, (1992).
z=Co-occurrence of lung cancer and smoking in 8 Chinese cities.zwThis is a series of 8 2x2 contingency tables showing the co-occurrence
of lung cancer and smoking in 8 Chinese cities.
a  ::

    Number of Observations - 8
    Number of Variables - 3
    Variable name definitions::

        city_name - name of the city
        smoking - yes or no, according to a person's smoking behavior
        lung_cancer - yes or no, according to a person's lung cancer status
c                  C   s.   t td} | d}t j|dd}| |_|S )
    Load the China smoking/lung cancer data and return a Dataset class.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    zchina_smoking.csvZLocationz*Smoking and lung cancer in Chinese regions)datatitle)duZload_csv__file__Z	set_indexZDatasetraw_data)r   r   Zdset r	   K/tmp/pip-unpacked-wheel-2v6byqio/statsmodels/datasets/china_smoking/data.pyload_pandas   s
    	
r   c                   C   s   t  S )r   )r   r	   r	   r	   r
   load/   s    	r   N)__doc__Zstatsmodels.datasetsr   r   Z__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGZNOTEr   r   r	   r	   r	   r
   <module>   s   