[ Search |  Up Level |  Project home |  Index |  Class hierarchy ]

 RustEmet1987readdata2022.ox

Read bus data from Rust (1987) to be read into niqlow.

This program

Input

The Output

 Global variables, functions, enumerations

Variables
 ext const
 files const files in order as they appear in Table 1.
 groups const samples for columns of Tables IX and X based on group of file..
 Mxjmps const J: # mileage jumps beyond 0.
 mxmiles const max miles.
 Nbins const Bin counts.
 outdir const
 runtype const month method.
 SVnames const
Functions
 main
Enumerations
 Anonymous enum 1 Names for items in the header for each bus.
 Anonymous enum 2 Names for columns of output file and Stata variable names.
 Anonymous enum 3
 Anonymous enum 4 Identify replacement month by r2m and r2y or r2mi.

 Global

Enumerations
Anonymous enum 1 Names for items in the header for each bus. inid, r1m, r1y, r2m, r2y, r2mi, r3m, r3y, r3mi, fm, fy, Nheader
Anonymous enum 2 Names for columns of output file and Stata variable names. myg, id, ss, tt, mm, ii, x90, df90, x175, df175, Ncols
Anonymous enum 3 group, fname, nmths, nbuses
Anonymous enum 4 Identify replacement month by r2m and r2y or r2mi. Rust (1987) uses the mileage reading at replacement in the raw file to determine which month the replacement occurred. Original replicated used the month of replacement in the raw file. UseMonth, UseMileage, UseRust, Nruns

 ext

const decl ext

 files

const decl files
files in order as they appear in Table 1.

 groups

const decl groups
samples for columns of Tables IX and X based on group of file..

 main

main ( )

 Mxjmps

const decl Mxjmps
J: # mileage jumps beyond 0.

 mxmiles

const decl mxmiles
max miles.

 Nbins

const decl Nbins
Bin counts.

 outdir

const decl outdir

 runtype

const decl runtype
month method.

 SVnames

const decl SVnames