U
    Kvf_                     @   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U.S. Strike Duration Data    )utilsZrestructuredtextzThis is public domain.z
This is a subset of the data used in Kennan (1985). It was originally
published by the Bureau of Labor Statistics.

::

    Kennan, J. 1985. "The duration of contract strikes in US manufacturing.
        `Journal of Econometrics` 28.1, 5-28.
zcContains data on the length of strikes in US manufacturing and
unanticipated industrial production.zContains data on the length of strikes in US manufacturing and
unanticipated industrial production. The data is a subset of the data originally
used by Kennan. The data here is data for the months of June only to avoid
seasonal issues.z::

    Number of observations - 62

    Number of variables - 2

    Variable name definitions::

                duration - duration of the strike in days
                iprod - unanticipated industrial production
c                  C   s   t  } tj| ddS )
    Load the strikes data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    r   )Z	endog_idx)	_get_dataduZprocess_pandas)data r   E/tmp/pip-unpacked-wheel-2v6byqio/statsmodels/datasets/strikes/data.pyload_pandas)   s    	r	   c                   C   s   t  S )r   )r	   r   r   r   r   load6   s    	r
   c                   C   s   t tdtS )Nzstrikes.csv)r   Zload_csv__file__Zastypefloatr   r   r   r   r   B   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   
