Ë
    ¢�DjÙ  ã                   ó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Longley dataseté    )ÚutilsÚrestructuredtextzThis is public domain.a5  
The classic 1967 Longley Data

http://www.itl.nist.gov/div898/strd/lls/data/Longley.shtml

::

    Longley, J.W. (1967) "An Appraisal of Least Squares Programs for the
        Electronic Comptuer from the Point of View of the User."  Journal of
        the American Statistical Association.  62.319, 819-41.
Ú z¬The Longley dataset contains various US macroeconomic
variables that are known to be highly collinear.  It has been used to appraise
the accuracy of least squares routines.aW  ::

    Number of Observations - 16

    Number of Variables - 6

    Variable name definitions::

            TOTEMP - Total Employment
            GNPDEFL - GNP deflator
            GNP - GNP
            UNEMP - Number of unemployed
            ARMED - Size of armed forces
            POP - Population
            YEAR - Year (1947 - 1962)
c                  ó   — t        «       S )ú—
    Load the Longley data and return a Dataset class.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )Úload_pandas© ó    úeC:\Crop_Prediction\Backend\crop-ai-system\venv\Lib\site-packages\statsmodels/datasets/longley/data.pyÚloadr   -   s   € ô ‹=Ðr
   c                  óD   — t        «       } t        j                  | d¬«      S )r   r   )Ú	endog_idx)Ú	_get_dataÚduÚprocess_pandas©Údatas    r   r   r   9   s   € ô ‹;€DÜ×Ñ˜T¨QÔ/Ð/r
   c                  óŠ   — t        j                  t        d«      } | j                  d d …g d¢f   j	                  t
        «      } | S )Nzlongley.csv)é   é   é   é   é   é   é   )r   Úload_csvÚ__file__ÚilocÚastypeÚfloatr   s    r   r   r   F   s6   € Ü�;‰;”x Ó/€DØ�9‰9’QÒ-Ð-Ñ.×5Ñ5´eÓ<€DØ€Kr
   N)Ú__doc__Ústatsmodels.datasetsr   r   Ú__docformat__Ú	COPYRIGHTÚTITLEÚSOURCEÚ
DESCRSHORTÚ	DESCRLONGÚNOTEr   r   r   r	   r
   r   ú<module>r*      sE   ðÙ Ý ,à"€à*€	Ø€ð
€ð €
ð+€	ð€ò&	ò
0ór
   