U
    ÃmœdH  ã                   @   sH   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d„ ZdS )zStack loss dataé    )ÚutilsÚrestructuredtextzThis is public domain. zw
Brownlee, K. A. (1965), "Statistical Theory and Methodology in
Science and Engineering", 2nd edition, New York:Wiley.
z(Stack loss plant data of Brownlee (1965)zÂThe stack loss plant data of Brownlee (1965) contains
21 days of measurements from a plant's oxidation of ammonia to nitric acid.
The nitric oxide pollutants are captured in an absorption tower.a³  ::

    Number of Observations - 21

    Number of Variables - 4

    Variable name definitions::

        STACKLOSS - 10 times the percentage of ammonia going into the plant
                    that escapes from the absoroption column
        AIRFLOW   - Rate of operation of the plant
        WATERTEMP - Cooling water temperature in the absorption tower
        ACIDCONC  - Acid concentration of circulating acid minus 50 times 10.
c                   C   s   t ƒ S )ú¤
    Load the stack loss data and returns a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )Úload_pandas© r   r   ú\/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/statsmodels/datasets/stackloss/data.pyÚload#   s    	r   c                  C   s   t ƒ } tj| dd�S )r   r   )Z	endog_idx)Ú	_get_dataÚduZprocess_pandas)Údatar   r   r   r   .   s    	r   c                   C   s   t  td¡ t¡S )Nzstackloss.csv)r
   Zload_csvÚ__file__ZastypeÚfloatr   r   r   r   r	   ;   s    r	   N)Ú__doc__Zstatsmodels.datasetsr   r
   Ú__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGÚNOTEr   r   r	   r   r   r   r   Ú<module>   s   