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