
    M/Ph                     D    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dS )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.
 zThe 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     a/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/statsmodels/datasets/longley/data.pyloadr   -   s     ==r
   c                  J    t                      } t          j        | d          S )r   r   )	endog_idx)	_get_dataduprocess_pandasdatas    r   r   r   9   s#     ;;DTQ////r
   c                      t          j        t          d          } | j        d d g df                             t
                    } | S )Nzlongley.csv)                     )r   load_csv__file__ilocastypefloatr   s    r   r   r   F   sB    ;x//D9QQQ----.55e<<DKr
   N)__doc__statsmodels.datasetsr   r   __docformat__	COPYRIGHTTITLESOURCE
DESCRSHORT	DESCRLONGNOTEr   r   r   r	   r
   r   <module>r*      s      , , , , , ,"*	
 
+	&	 	 	
0 
0 
0    r
   