
    "g_                     B    d Z ddlmZ dZdZe ZdZdZdZ	dZ
d	 Zd
 Zd Zy)zU.S. Strike Duration Data    )utils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                  D    t               } t        j                  | d      S )
    Load the strikes data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    r   )	endog_idx)	_get_dataduprocess_pandas)datas    ^/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/statsmodels/datasets/strikes/data.pyload_pandasr   )   s     ;DTQ//    c                      t               S )r   )r    r   r   loadr   6   s     =r   c                  \    t        j                  t        d      j                  t              S )Nzstrikes.csv)r	   load_csv__file__astypefloatr   r   r   r   r   B   s    ;;x.55e<<r   N)__doc__statsmodels.datasetsr   r	   __docformat__	COPYRIGHTTITLESOURCE
DESCRSHORT	DESCRLONGNOTEr   r   r   r   r   r   <module>r       sE     ,"*	(
	

0	=r   