ind_print Options

ind_print is invoked at the command line and is controlled through the use of various options strings.

For daily data, the default, use the following command (“CRSP>” below indicates the command prompt and is not entered):

CRSP> ind_print

or

CRSP> dindprint

For monthly data, type:

CRSP> mindprint

or

CRSP> ind_print /d1 /fm (path to monthly database directory)

where /d1 points to a database other than the daily default and /fm indicates that it is a monthly database.

Sample of usage:

C:\CMGS310> ind_print /fm /d1 c:\crspdata\mix200712\
CRSP 1925 Monthly US Stock & Index, data ending 20071231
Default date range 20071031 - 20071231
 
Setid: 420
Available -> portfolio(s):1, rebaltype(s):1, listtype(s):1
 
Enter identifier or new option beginning with a slash.
Type ? for help.
/ml “mtret;mtind;maret;maind”
 
Keep previous data options? (y/n)
y
 
Enter identifier or new option beginning with a slash.
Type ? for help.
1000080
 
Indno Indco Primflag Portnum
1000080 1000004 0 0
 
Indname
CRSP NYSE/NYSE MKT/Nasdaq Value-Weighted Market Index
Groupname
NYSE/NYSE MKT/Nasdaq Market Capitalization
 
Date Tret Tind Aret Aind
20071031 0.025852 4018.33 0.024710 1379.56
20071130 -0.049292 3820.26 -0.051242 1308.87
20071231 -0.004328 3803.72 -0.006266 1300.67

Options begin with a forward slash. Multiple options are placed on a single line.

/hh /dt 2000-2007

Monthly data items precede daily items with an “m”. For example, Daily Total Returns are accessed with item name tret. Monthly Total Returns are accessed with item name mtret.