U
    Kvf[                     @   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Name of dataset.    )utilsZrestructuredtextzThis is public domain.z"Engel (1857) food expenditure dataae  
This dataset was used in Koenker and Bassett (1982) and distributed alongside
the ``quantreg`` package for R.

Koenker, R. and Bassett, G (1982) Robust Tests of Heteroscedasticity based on
Regression Quantiles; Econometrica 50, 43-61.

Roger Koenker (2012). quantreg: Quantile Regression. R package version 4.94.
http://CRAN.R-project.org/package=quantreg
zEngel food expenditure data.zUData on income and food expenditure for 235 working class households in 1857 Belgium.z::

    Number of observations: 235
    Number of variables: 2
    Variable name definitions:
        income - annual household income (Belgian francs)
        foodexp - annual household food expenditure (Belgian francs)
c                   C   s   t  S )z
    Load the data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )load_pandas r   r   C/tmp/pip-unpacked-wheel-2v6byqio/statsmodels/datasets/engel/data.pyload!   s    	r   c                  C   s   t  } tj| dd dS )Nr   )Z	endog_idxZexog_idx)	_get_dataduZprocess_pandas)datar   r   r   r   -   s    r   c                   C   s   t tdS )Nz	engel.csv)r   Zload_csv__file__r   r   r   r   r   2   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   	