Ë
    "£¯gI
  ã                   ó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Travel Mode Choiceé    )ÚutilsÚrestructuredtextzThis is public domain.a€  
Greene, W.H. and D. Hensher (1997) Multinomial logit and discrete choice models
in Greene, W. H. (1997) LIMDEP version 7.0 user's manual revised, Plainview,
New York econometric software, Inc.
Download from on-line complements to Greene, W.H. (2011) Econometric Analysis,
Prentice Hall, 7th Edition (data table F18-2)
http://people.stern.nyu.edu/wgreene/Text/Edition7/TableF18-2.csv
z@Data used to study travel mode choice between Australian cities
aC  The data, collected as part of a 1987 intercity mode choice
study, are a sub-sample of 210 non-business trips between Sydney, Canberra and
Melbourne in which the traveler chooses a mode from four alternatives (plane,
car, bus and train). The sample, 840 observations, is choice based with
over-sampling of the less popular modes (plane, train and bus) and under-sampling
of the more popular mode, car. The level of service data was derived from highway
and transport networks in Sydney, Melbourne, non-metropolitan N.S.W. and Victoria,
including the Australian Capital Territory.aô  ::

    Number of observations: 840 Observations On 4 Modes for 210 Individuals.
    Number of variables: 8
    Variable name definitions::

        individual = 1 to 210
        mode =
            1 - air
            2 - train
            3 - bus
            4 - car
        choice =
            0 - no
            1 - yes
        ttme = terminal waiting time for plane, train and bus (minutes); 0
               for car.
        invc = in vehicle cost for all stages (dollars).
        invt = travel time (in-vehicle time) for all stages (minutes).
        gc = generalized cost measure:invc+(invt*value of travel time savings)
            (dollars).
        hinc = household income ($1000s).
        psize = traveling group size in mode chosen (number).c                  ó   — t        «       S )ú¨
    Load the data modechoice data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )Úload_pandas© ó    úa/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/statsmodels/datasets/modechoice/data.pyÚloadr   6   s   € ô ‹=Ðr	   c                  óJ   — t        «       } t        j                  | dg d¢¬«      S )r   é   )é   é   é   é   é   é   )Ú	endog_idxÚexog_idx)Ú	_get_dataÚduÚprocess_pandas)Údatas    r
   r   r   B   s    € ô ‹;€DÜ×Ñ˜T¨qº=ÔIÐIr	   c                  ó<   — t        j                  t        ddd¬«      S )Nzmodechoice.csvú;T)ÚsepÚconvert_float)r   Úload_csvÚ__file__r   r	   r
   r   r   O   s   € Ü;‰;”xÐ!1°sÈ$ÔOÐOr	   N)Ú__doc__Ústatsmodels.datasetsr   r   Ú__docformat__Ú	COPYRIGHTÚTITLEÚSOURCEÚ
DESCRSHORTÚ	DESCRLONGÚNOTEr   r   r   r   r	   r
   ú<module>r)      sH   ðÙ Ý ,à"€à(€	Ø€ð
€ð€
ð/€	ðA€ò2	ò
JóPr	   