U
    KvfH                     @   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    )utilsZ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)zThe 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   G/tmp/pip-unpacked-wheel-2v6byqio/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	   Z__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGZNOTEr   r   r   r   r   r   r   <module>   s   