datefix

Description

Given one or more string variables containing date information, datefix converts the variables to numeric encoded variables with a date format. If the newvar() option is used, only one variable can be used in the command. The program does not accommodate date-time values, only dates.

If you installed the old -datefix- code that didn’t use a .pkg or -net install-, run this first:
. capture erase `"`c(sysdir_plus)'/datefix.ado"'

To install run the following code:
. net install datefix, from("https://www.tcope.land/s/") replace

The syntax for this command is: datefix varlist [, newvar(string) drop df(date %fmt) order(string) topyear(integer)]

See help file for more information on options.

Current Version: 2.0 (31 March 2023)


regtab

Description

Formats the collected regression tables; exports point estimate, 95% CI, and p-value to excel; and applies excel formatting (column widths, merges cells, sets column widths). Title appears in cell A1. Top left cell of table is B2.

To install run the following code:
. net install regtab, from("https://www.tcope.land/s/") replace

The syntax for this command is: regtab, xlsx(string) sheet(string) [models(string) coef(string) title(string)]

See help file for more information on options.

Current Version: 1.0 (7 March 2024)


pkgtransfer

Description

Creates a .do file in the current directory with the name "pkgtransfer.do" that contains install commands for all currently installed 3rd party Stata packages. No options..

To install run the following code:
. net install pkgtransfer, from("https://www.tcope.land/s/") replace

The syntax for this command is: pkgtransfer

Current Version: 1.0 (24 March 2024)


massdesas

Description

-massdesas- will generate .dta versions of all .sas7bdat files within a specified directory and all sub-directories. Options exist to erase .sas7bdat file after generating the .dta file, and to make all variable names lowercase.

-fs- is required to run -massdesas-

To install -fs- first:
. ssc install fs

To install run the following code (.pkg coming soon):
. copy "https://www.tcope.land/s/massdesas.ado" `"`c(sysdir_plus)'/massdesas.ado"', public replace
. copy "https://www.tcope.land/s/massdesas.sthlp" `"`c(sysdir_plus)'/massdesas.sthlp"', public replace


check

Description

-check- will generate descriptive statistics, as well as information about missingness, uniqueness, and variable formatting.

-mdesc- and -unique- are required to run -check-
To install -mdesc- and -unique- first:
. ssc install mdesc
. ssc install unique

To install run the following code (.pkg coming soon):
. copy "https://www.tcope.land/s/check.ado" `"`c(sysdir_plus)'/check.ado"', public replace
. copy "https://www.tcope.land/s/check.sthlp" `"`c(sysdir_plus)'/check.sthlp"', public replace

To test the program:
. sysuse auto, replace
. check *
. check *, short