Template-Type: ReDIF-Software 1.0
Title: QQPLOT2: Stata module to produce quantile-quantile plot
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: qqplot2 plots the quantiles of varname1 against the quantiles of
 varname2. qqplot2 minutely generalises qqplot in the sense that the user can
 control the main title through the title() option.
Keywords: graphics, quantile-quantile plots, frequency distributions
Series: Statistical Software Components
Number: S352902
Creation-Date: 19980823
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qqplot2.ado
File-Format: text/plain
File-Size: 63 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qqplot2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S352902



Template-Type: ReDIF-Software 1.0
Title: PARMEST: Stata module to create new data set with one observation per parameter of most recent model
Author-Name: Roger Newson
Author-Email: r.newson@cxwms.ac.uk
Author-WorkPlace-Name: Imperial College School of Medicine
Programming-Language: Stata
Abstract: parmest extracts the parameters of the most recently fitted model,
 with their standard errors and confidence limits, to form a new data set
 (replacing the existing one) with 1 observation per parameter and
 variables corresponding to parameter names, estimates, standard errors
 and confidence limits. parmest calls the programs estse, svroweq and svrown.
 It creates a new data set with character variables eq and parm
 containing equation and parameter names, respectively, and numeric
 variables estimate, stderr, min$S_level and max$S_level, containing
 parameter estimates, standard errors and confidence limits,
 respectively.
Series: Statistical Software Components
Number: S352601
Creation-Date: 19980723
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/parmest.ado
File-Format: text/plain
File-Size: 79 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/estse.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/svroweq.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/svrown.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/parmest.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S352601

Template-Type: ReDIF-Software 1.0
Title: LONGPLOT: Stata module to produce exploratory plot for longitudinal data
Author-Name:  Zhiqiang Wang
Author-Email: wang@menzies.su.edu.au
Author-WorkPlace-Name: Menzies School of Health Research
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: In a longplot, each line represents each individual with a unique id
 number. If you specify a group variable, different groups are represented by
 different colors and different symbols. The xvar is the time variable.  
Keywords: graphics, longitudinal data, panel data
Series: Statistical Software Components
Number: S352503
Creation-Date: 19980814
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/longplot.ado
File-Format: text/plain
File-Size: 102 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/longplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S352503

Template-Type: ReDIF-Software 1.0
Title: NNEST: Stata module to perform J test and Cox-Pesaran-Deaton test for nonnested models
Author-Name: Gregorio Impavido 
Author-Email: Gimpavido@worldbank.org
Author-WorkPlace-Name: The World Bank
Programming-Language: Stata
Abstract: nnest implements the J test (Davidson and MacKinnon, 1981) and the
 Cox-Pesaran-Deaton test (Cox 1961, 1962; Pesaran 1974; Pesaran and Deaton
 1978) for non-nested models.
Series: Statistical Software Components
Number: S352502
Creation-Date: 19980629
Size: 129 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/nnest.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S352502

Template-Type: ReDIF-Software 1.0
Title: LPRPLOT: Stata module to produce logistic regression partial residual plots
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: lprplot produces a partial residual plot after logistic regression.
 The plot is computed as described in Landwehr, Pregibon, and Shoemaker (1984).
 Warning:  lprplot is computationally intensive and may take a long time to
 run.  It uses ksm, lowess to produce the smoothed plot.  Lowess
 calculations on 1,000 observations, for instance, require estimating
 1,000 regressions. Note: lprplot will not work if logistic was used with weights. 
 These files should be placed in the stata|ado directory.
Series: Statistical Software Components
Number: S352501
Creation-Date: 19980818
Size: 58 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/lprplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/lprplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S352501

Template-Type: ReDIF-Software 1.0
Title: CATENATE: Stata module to concatenate variables into string variable
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: catenate generates a new string variable by concatenating varlist. The
 variables in varlist may be string or numeric.
Keywords: data management, string variables, concatenation
Series: Statistical Software Components
Number: S352001
Creation-Date: 19980811
Size: 39 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/catenate.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/catenate.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S352001

Template-Type: ReDIF-Software 1.0
Title: KDENSITY: Corrected Stata module to compute kernel smoother
Author-Name: James Hardin
Author-Email: jwh@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: This is a correction to kdensity.ado, to be placed in the |stata|ado directory.
 This replacement file fixes 2 problems: 1) the -density- option was coded backwards.
 2) the -at- option could lose observations if there were missing values.
     If the variable being used in the -kdensity- command had missing values
     in observations where the -at()- variable was saved, then the 
     estimated density could have less than the requested number of 
     points. It will be included in the September 1998 fixes via the STB. This is version 2.2.5.
Series: Statistical Software Components
Number: S351902
Creation-Date: 19980720
Size: 318 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/kdensity.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S351902

Template-Type: ReDIF-Software 1.0
Title: ZB_QRM: Stata module to Recoding multiple responses into binary variables 
Author-Name: Eric Zbinden
Author-Email: Zbinden@cmu.unige.ch
Author-WorkPlace-Name: Universite de Geneve
Programming-Language: Stata
Abstract: zb_qrm generates 'nnew' new binary variables according to the
 code of the 'rootexist' variables. Usually multiple
 choices are registred in variables representing first choice,
 second choice etc. The name of these variables are assumed to be 
 numbered from 1 to the maximum number of choices. 
Series: Statistical Software Components
Number: S351901
Creation-Date: 19980301
Size: 80 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/zb_qrm.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/rccount.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/zb_qrm.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S351901

Template-Type: ReDIF-Software 1.0
Title: STGTCALC: Stata module to calculate time-varying regression coefficients in Cox PH models (variant)
Author-Name: Patrick Royston
Author-Email: proyston@rpms.ac.uk
Author-WorkPlace-Name: Imperial College School of Medicine
Author-Name: Peter Sasieni
Author-WorkPlace-Name: Imperial Cancer Research Fund
Programming-Language: Stata
Abstract: stgtcalc calculates local estimates of the regression coefficients in the Cox
 model most recently fitted for using stcox.
 stgtplot plots the estimates and confidence intervals against the failure
 times. varlist is (a subset of) the independent variables in model fitted by
 stcox. stgtcalc implements a suggestion of Grambsch and Therneau (1994).
Series: Statistical Software Components
Number: S351702
Creation-Date: 19980322
Size: 152 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stgtcalc.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stgtcalc.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stgtplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stgtplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S351702

Template-Type: ReDIF-Software 1.0
Title: STBTCALC: Stata module to calculate time-varying regression coefficients in Cox PH models
Author-Name: Patrick Royston
Author-Email: proyston@rpms.ac.uk
Author-WorkPlace-Name: Imperial College School of Medicine
Author-Name: Peter Sasieni
Author-WorkPlace-Name: Imperial Cancer Research Fund
Programming-Language: Stata
Abstract: stbtcalc calculates local estimates of the regression coefficients in the Cox
 model defined by stset with predictors in varlist. The estimates are
 calculated within moving windows which bracket a fixed number of "deaths"
 (events). stbtplot plots the estimates and confidence intervals against the failure
 times.  varlist is (a subset of) the predictors in stbtcalc's varlist.
Series: Statistical Software Components
Number: S351701
Creation-Date: 19980322
Size: 167 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stbtcalc.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stbtcalc.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stbtplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stbtplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S351701

Template-Type: ReDIF-Software 1.0
Title: CANON: Corrected Stata module to compute canonical correlations
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: This is a correction to canon.ado, to be placed in the |stata|ado directory.
 It prevents an error when there is only one variable in one of the sets. It will be included in the 
 September 1998 fixes via the STB.
Series: Statistical Software Components
Number: S351201
Creation-Date: 19980804
Size: 167 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/canon.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S351201

Template-Type: ReDIF-Software 1.0
Title: SBROWNI: Stata module to calculate Spearman-Brown reliability correction for test length
Author-Name: Herve M. Caci
Author-Email: hcaci@pratique.fr
Author-WorkPlace-Name: Fondation Lenval
Programming-Language: Stata
Abstract:  The reliability of a test (Cronbach's alpha or Kuder-Richardson's coefficient
 in case of dichotomous items) is dependent of the number of items.
 This immediate command comes in two forms: (1) If the reliability is known for 
 a test (#rel0) with any particular number of
 items (#count0), the Spearman-Brown formula can be used to estimate how much
 the reliability would increase if the number of items were increased to
 #count1; and (2) The converted formula can be used to estimate the number of items required
 to obtain a particular reliability (#rel1).
Series: Statistical Software Components
Number: S351002
Creation-Date: 19980802
Size: 55 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sbrowni.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sbrowni.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S351002

Template-Type: ReDIF-Software 1.0
Title: KR20: Stata module to calculate Kuder-Richardson coefficient of reliability
Author-Name: Herve M. Caci
Author-Email: hcaci@pratique.fr
Author-WorkPlace-Name: Fondation Lenval
Programming-Language: Stata
Abstract:  Computes the reliability coefficient of a set of dichotomous items, whereas
 Cronbach's alpha is used for multipoint scales. In addition, KR20 computes
 the item difficulty (proportion of 'right' answers),
 the average value of item difficulty,
 the item variance,
 the item-test point-biserial correlation coefficients,
 and the average value of item-test correlation coefficients.
Series: Statistical Software Components
Number: S351001
Creation-Date: 19980802
Size: 217 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/kr20.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/kr20.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S351001

Template-Type: ReDIF-Software 1.0
Title: VMATCH: Stata module to match variables between subjects
Author-Name: Guy D. van Melle
Author-Email: guy.van-melle@inst.hospvd.ch
Author-WorkPlace-Name: University of Lausanne
Programming-Language: Stata
Abstract:  vmatch attempts to find records that "match" a given "case" in the sense
 that they are similar (see rules) with respect to the variables declared in 
 the options. Variable ^casevar^ is assumed to contain a 1 for cases (to be 
 matched) and any other value for non-cases. The new variable ^newvar^ will 
 be created to receive the number of matches for a case and, for non-cases, 
 either the number of times it was called a match or the identification number
 of the case for which it was first called (see option first). String 
 variables are allowed in the matching process (see option strng).
Series: Statistical Software Components
Number: S350801
Creation-Date: 19980731
Size: 488 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vmatch.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vmatch.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350801

Template-Type: ReDIF-Software 1.0
Title: QBETA: Stata module to generate quantile-quantile plot for data vs fitted beta distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: qbeta plots the quantiles of varname against the quantiles of a
 two-parameter beta distribution with shape parameters alpha and beta. By
 default, alpha and beta are taken from S_2 and S_3, which is where
 beta (q.v.) puts maximum likelihood estimates of them.
 qbeta uses an approximation to the inverse of the beta distribution
 function given by Abramowitz and Stegun (1965, p.945).
Keywords: graphics, beta distribution, quantile-quantile plots
Series: Statistical Software Components
Number: S350703
Creation-Date: 19980730
Size: 90 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qbeta.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qbeta.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350703

Template-Type: ReDIF-Software 1.0
Title: PBETA: Stata module to generate probability plot for data compared with fitted beta distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: pbeta produces a probability plot for varname compared with a
 two-parameter beta distribution with shape parameters alpha and beta. By
 default, alpha and beta are taken from S_2 and S_3, which is where
 beta (q.v.) puts maximum likelihood estimates of them.
Keywords: graphics, beta distribution, probability plots
Series: Statistical Software Components
Number: S350702
Creation-Date: 19980730
Size: 56 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pbeta.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pbeta.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350702

Template-Type: ReDIF-Software 1.0
Title: BETA: Stata module to fit beta distribution by moments and maximum likelihood
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: beta works on a single variable. All non-missing values must be
 between 0 and 1. A two-parameter beta distribution is fitted by the
 method of moments (a closed-form calculation) and by the method of
 maximum likelihood (ML) (an iterative calculation, which may
 occasionally be rather slow). The parameters are shape parameters, here
 called alpha and beta. The algorithm used for ML estimation was proposed by P.W. Mielke (1975).
Keywords: maximum likelihood, moments, beta distribution, frequency distributions
Series: Statistical Software Components
Number: S350701
Creation-Date: 19980730
Size: ??? lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/beta.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/beta.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350701

Template-Type: ReDIF-Software 1.0
Title: CNDNMB3: Stata module to calculate condition number of regressor matrix
Author-Name: Michael Blasnik
Author-Email: mblas9@aol.com
Programming-Language: Stata
Abstract: cndnmb3 calculates the maximal condition number of a matrix of regressors. 
 This statistic (the ratio of largest to smallest eigenvalue) is an unbounded
 measure of collinearity, or ill-conditioning, in the data, as described by Belsley,
 Conditioning Diagnostics, 1991. 
Series: Statistical Software Components
Number: S350601
Creation-Date: 19980729
Size: 29 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cndnmb3.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S350601


Template-Type: ReDIF-Software 1.0
Title: OPROBPR: Stata module to display predicted probabilities from ordered probit and logit
Author-Name: Nick Winter
Author-Email: nwinter@umich.edu
Author-WorkPlace-Name: University of Michigan
Programming-Language: Stata
Abstract: oprobpr estimates an ordered probit or logit model on a continuous X 
 variable and an optional set of covariates, then lists and graphs the 
 predicted probabilities from this model against the X variable, 
 holding the covariates constant.  Optionally, quadratic or quadratic 
 and cubic terms can be added to the model, as well as interaction terms 
 between X and one or more other covariates. oprobpr is an extension of 
 logpred published by Joanne Garrett (sg42)
 and of probpred published by Mead Over (sg42.2).
Series: Statistical Software Components
Number: S350101
Creation-Date: 19980724
Size: 258 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/oprobpr.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/oprobpr.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350101

Template-Type: ReDIF-Software 1.0
Title: PSBAYES: Stata module to perform pseudo-Bayes smoothing of cell estimates
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: psbayes takes datavar, which should be a set of frequencies, and
 shrinks or smooths it towards a set of frequencies implied by prior
 probabilities. This will have the effect of replacing sampling
 zeros by positive estimates whenever the priors are positive.
Keywords: categorical data, pseudo-Bayes smoothing
Series: Statistical Software Components
Number: S350002
Creation-Date: 19980723
Size: 78 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/psbayes.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/psbayes.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350002

Template-Type: ReDIF-Software 1.0
Title: CCWEIGHT: Stata module to generate inverse sampling probability weights
Author-Name: Roger Newson
Author-Email: r.newson@ic.ac.uk
Author-WorkPlace-Name: Imperial College School of Medicine
Programming-Language: Stata
Abstract: ccweight takes, as input, a varlist whose distinct values correspond
 to case groups, and a status variable (1 for cases, 0 for controls) in
 the option status. It creates, as output, a new variable, suitable
 for use as a pweight variable when the case-control study is analysed
 by regression with robust variances.
Series: Statistical Software Components
Number: S350001
Creation-Date: 19980723
Size: 276 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ccweight.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ccweight.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S350001

Template-Type: ReDIF-Software 1.0
Title: STCUMH: Stata module to check proportional hazards assumption
Author-Name: Kim Lyngby Mikkelsen
Author-Email: kimmik@ipm.hosp.dk
Author-WorkPlace-Name: Institute of Preventive Medicine, Denmark
Programming-Language: Stata
Abstract: stcumh plots estimates of the cumulative baseline hazards for two strata
 in stratavar against each other. The slope of the plotted graph will (at
 any time point) approximately be the relative risk between the two strata.
 If the proportional hazards assumption between the two strata (in the
 equivalent unstratified Cox regression analysis) is fulfilled, the plot
 should be a straight line through (0,0).
Series: Statistical Software Components
Number: S349801
Creation-Date: 19980722
Size: 276 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stcumh.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stcumh.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S349801

Template-Type: ReDIF-Software 1.0
Title: UNITROOT: MATLAB module to calculate (Augmented) Dickey-Fuller and Phillips-Perron tests 
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [ADF, ADFRESID, DF, DFRESID] = UNITROOT (SERIES) tests the null hypothesis of the
 existence of a unit root in SERIES and returns matrix ADF with the results for the 
 Augmented Dickey-Fuller regression with the highest number of augmented terms (dlags), 
 if any, significant at the 10% level, vector ADFRESID with the residuals of the ADF regression,
 matrix DF with the results for the Dickey-Fuller regression, and
 vector DFRESID with the residuals of the DF regression.
Series: Statistical Software Components
Number: T871806
Requires: MATLAB Statistics Toolbox (function files NORMCDF.M and TCDF.M) and
 the author's function files ADFREG.M, DFCRIT.M, DURBINH.M, DWATSON.M, and PHILLIPS.M.
Creation-Date: 19980607
Size: 157 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/unitroot.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871806

Template-Type: ReDIF-Software 1.0
Title: PHILLIPS: MATLAB module to calculate Phillips-Perron test of the unit-root hypothesis 
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [TPP, TPPSIG] = PHILLIPS (SE2, T2, RESID, RSS, SIGMA, OBS)
 computes the Phillips-Perron (Phillips, 1987, Phillips & Perron, 1988)
 autocorrelation/heteroskedasticity corrected t-ratio TPP on the unit-root
 coefficient in a Dickey-Fuller or an Augmented Dickey-Fuller (1979) regression, and
 evaluates its significance level TPPSIG.
Series: Statistical Software Components
Number: T871805
Requires: The author's DFCRIT function.
Creation-Date: 19980406
Size: 96 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/phillips.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871805

Template-Type: ReDIF-Software 1.0
Title: DFCRIT: MATLAB module to calculate Critical Dickey-Fuller values and level of significance
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [SIG, CRIT] = DFCRIT (TRATIO, SSIZE, VARIANT) computes the critical values CRIT
 of the Dickey-Fuller distribution for given sample size SSIZE and returns the
 level SIG, if any, at which t-value TRATIO is significant.
 Critical values are returned as a row vector for the 1%, 5% and 10% significance
 levels of a one-sided test.  The relevant critical values CRIT are computed from a 
 response surface developed by MacKinnon (1991).
Series: Statistical Software Components
Number: T871804
Creation-Date: 19980423
Size: 137 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/dfcrit.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871804

Template-Type: ReDIF-Software 1.0
Title: BDS: MATLAB module to calculate Brock, Dechert & Scheinkman test for independence
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [W, SIG, C, C1, K] = BDS (SERIES, MAXDIM, DISTANCE, METHOD, MAXRAM)
 uses the time-series vector SERIES (1) and the dimensional distance (either defined 
 as fraction DISTANCE of the standard deviation of SERIES if FLAG = 0,
 or defined such that the one dimensional correlation integral of SERIES
 is equal to DISTANCE if FLAG = 1) to compute BDS statistics W for each dimension 
 between 2 and MAXDIM, significance levels SIG at which the null hypotheses of no dependence are
 rejected against (almost) any type of linear and non-linear dependence,
 correlation integral estimates C for each dimension M between 2 and MAXDIM,
 first-order correlation integral estimates C1 computed over the last N-M+1
 observations, and parameter estimate K.
Series: Statistical Software Components
Number: T871803
Creation-Date: 19980630
Size: 619 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/bds.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871803

Template-Type: ReDIF-Software 1.0
Title: ARCHTEST: MATLAB module to calculate test for autoregressive conditional heteroskedasticity
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [Q, QSIG] = ARCHTEST (RESIDUALS, LAGS) tests the null hypothesis of no AutoRegressive
 Conditional Heteroskedasticity in time series RESIDUALS up to and including the lag
 order(s) specified by LAGS, returning Q, the small-sample corrected Q statistic(s)
 of Engle's ARCH test and QSIG, the level(s) of significance at which H0 is rejected.
Series: Statistical Software Components
Number: T871802
Requires: MATLAB Statistics Toolbox and L. Kanzler's DFCRIT m-function.
Creation-Date: 19980514
Size: 110 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/archtest.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871802

Template-Type: ReDIF-Software 1.0
Title: ADFREG: MATLAB module to calculate augmented Dickey-Fuller regression
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: [BETA, SE, T, TSIG, RESID, RSS, SIGMA] = ADFREG (SERIES, DLAGS) runs and evaluates a
 Dickey-Fuller (1979) type OLS regression on SERIES with the number of augmented terms
 (differenced lags) given by DLAGS (default is 0).
Series: Statistical Software Components
Number: T871801
Requires: MATLAB Statistics Toolbox and L. Kanzler's DFCRIT m-function.
Creation-Date: 19980406
Size: 70 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/adfreg.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T871801

Template-Type: ReDIF-Software 1.0
Title: CIRCSUMM: Stata module to produce summary statistics for circular data
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: circsumm produces summary statistics for circular variables with scales
 between 0 and 360 degrees. These are: 
 the mean direction (in degrees),
 the length of the resultant vector,
 the vector strength or mean resultant length
 (length of resultant / number of observations), and
 the circular range (length of smallest arc including all observations) (in degrees)
Keywords: circular statistics, directions, vectors
Series: Statistical Software Components
Number: S349201
Creation-Date: 19980714
Size: 141 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/circsumm.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/circsumm.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S349201

Template-Type: ReDIF-Software 1.0
Title: ORTHOG: Stata module to orthogonalize variables
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: orthog orthogonalizes varlist and creates a new set of orthogonal variables
 newvarlist using a modified Gram-Schmidt procedure (Golub and Van Loan 1989).
 The order of the variables in varlist determines the orthogonalization.
Series: Statistical Software Components
Number: S349101
Creation-Date: 19980713
Size: 168 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/orthog.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/orthog.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S349101

Template-Type: ReDIF-Software 1.0
Title: MSTDIZE: Stata module to produce marginal standardization of two-way tables
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: mstdize takes a table of varname, with rows indexed by rowvar and
 columns indexed by colvar, and produces a new table containing varname
 scaled such that the row totals are given by rowtotvar and the column
 totals given by coltotvar.
Keywords: tabulations, marginal standardization, Deming-Stephan, iterative proportional fitting
Series: Statistical Software Components
Number: S347501
Creation-Date: 19980629
Size: 104 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mstdize.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mstdize.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S347501

Template-Type: ReDIF-Software 1.0
Title: EBA: Stata module to perform extreme bound analysis
Author-Name: Gregorio Impavido 
Author-Email: Gimpavido@worldbank.org
Author-WorkPlace-Name: The World Bank
Programming-Language: Stata
Abstract: eba Performs the Extreme Bound Analysis on the regressor "var2".
 For given a dependent variable "var1", and a set of regressors 
 "var2", Z and X. The program runs n!/(k!(n-k)!) OLS regressions by
 taking combinations of k Z variables among the n listed. It then
 displays minimum and maximum parameter estimates for "var2" together 
 with their t-statistics, p-value and Z variables used. This is version
 1.2 of the software.
Series: Statistical Software Components
Number: S347401
Creation-Date: 19980626
Size: 301 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/eba.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/eba.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S347401

Template-Type: ReDIF-Software 1.0
Title: VIOLIN: Stata module to generate violin plots
Author-Name: Thomas Steichen 
Author-Email: STEICHT@RJRT.com
Programming-Language: Stata
Abstract: violin produces violin plots, a box plot - density trace synergism.  To reveal
 the distributional structure in a variable, the violin plot combines the basic 
 summary statistics of a boxplot with the graphical information provided by a 
 local density estimator.  The violin plot displays the median as a short 
 horizontal line, the first-to-third quartile range as a narrow shaded box, 
 the lower-to-upper adjacent value range as a vertical line, and "boxes" the 
 data with mirrored density traces. This is version 1.2.0 of the software.
Series: Statistical Software Components
Number: S347301
Creation-Date: 19980625
Size: 540 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/violin.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/violin.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S347301

Template-Type: ReDIF-Software 1.0
Title: ARRAY: Stata package to support arrays of variables 
Author-Name: David E. Moore
Author-Email: moordi@email.uc.edu
Author-WorkPlace-Name: University of Cincinnati
Programming-Language: Stata
Abstract: This package contains four programs, and their associated help files: 
 array.ado, aelem.ado, assign.ado, and ido.ado.  The first is used to 
 define arrays of variables, the second provides access to particular array 
 elements (i.e., variables), the third assigns values to array elements, and 
 the fourth provides a simple looping construct to specify array elements in 
 a systematic manner. This provides the Stata programmer
 with most of the capabilities of SAS arrays.
Series: Statistical Software Components
Number: S346503
Creation-Date: 19980616
Size: 8 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/array.zip
File-Format: application/bin/zipped
File-Function: program code and help files
Handle: RePEc:boc:bocode:S346503

Template-Type: ReDIF-Software 1.0
Title: VLIST: Stata module to expand variable list in command syntax
Author-Name: David E. Moore
Author-Email: moordi@email.uc.edu
Author-WorkPlace-Name: University of Cincinnati
Programming-Language: Stata
Abstract: vlist expands and unabbreviates a varlist of either all new or all 
 existing variables; see [U] 18.4 varlists. The result is returned in the global 
 macro S_1. The number of variables is returned in the global macro S_2. 
 This is a more general command than Stata's unabbrev, since it can expand a list 
 of new variables.  Also, unlike Stata's parse, vlist knows how to expand
 varlists with embedded numbers, such as, v1_1-v1_4.  Finally, when used 
 with array (q.v.), vlist can expand varlists containing array references.
Series: Statistical Software Components
Number: S346502
Creation-Date: 19980616
Size: 128 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vlist.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vlist.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S346502

Template-Type: ReDIF-Software 1.0
Title: PWCORRW: Stata module to print wide correlation matrix with significance indicators
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: pwcorrw displays a 'wide' format with significance indicators. You need to
 set log linesize # and then run  pwcorrw <varlist> , width(#) <options> 
 The extra option -width- (default 6) is the number of columns displayed. 
 Choices of 7 or more will typically result in a mess
Keywords: correlation
Series: Statistical Software Components
Number: S346501
Creation-Date: 19980616
Size: 106 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pwcorrw.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S346501

Template-Type: ReDIF-Software 1.0
Title: ADDTEX: Stata module to display text on a graph
Author-Name: Guy D. van Melle
Author-Email: guy.van-melle@inst.hospvd.ch
Author-WorkPlace-Name: University of Lausanne
Programming-Language: Stata
Abstract:  addtex will put stored texts in 
 preassigned positions on an existing graph. 
 The texts to be displayed must be stored in global macros. 
 The program obeys desired magnification (also stored, default 100) 
 and saves the resulting plot when a (new) filename is provided.
Series: Statistical Software Components
Number: S345901
Creation-Date: 19980610
Size: 160 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/addtex.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/addtex.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hlTex.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hlTex.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345901

Template-Type: ReDIF-Software 1.0
Title: MVTEST: Stata module to perform multivariate F tests
Author-Name: David E. Moore
Author-Email: moordi@email.uc.edu
Author-WorkPlace-Name: University of Cincinnati
Programming-Language: Stata
Abstract: mvtest tests linear hypotheses about the estimated parameters from the most
 recently estimated multivariate regression using Wilks' lambda, Pillai's trace
 and Hotelling-Lawley's trace.  An optional transformation matrix to be applied
 to the dependent variables prior to testing may be supplied.  
Series: Statistical Software Components
Number: S345804
Creation-Date: 19980609
Size: 253 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvtest.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvtest.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345804

Template-Type: ReDIF-Software 1.0
Title: TPVAR: Stata module to generate turning-point variable for graphics labelling
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: tpvar generates a variable for use in labelling data points on a
 scatter plot with appropriate text that appears near point symbols.
 Given the current sort order, tpvar identifies observations in which
 the value of varname is either above both previous and following values
 or below both previous and following values. These are local maxima and
 minima, or turning points. A new variable newvar is generated for these
 turning points, which takes values of varname + above * range of varname
 and varname - below * range of varname for maxima and minima respectively. 
 These values of newvar will often be good places to put text, just above and 
 just below point symbols for varname.
Keywords: graphics, adding text, scatter plots
Series: Statistical Software Components
Number: S345803
Creation-Date: 19980609
Size: 24 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tpvar.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tpvar.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345803

Template-Type: ReDIF-Software 1.0
Title: MVSAMPSI: Stata module to determine sample size and power for multivariate regression
Author-Name: David E. Moore
Author-Email: moordi@email.uc.edu
Author-WorkPlace-Name: University of Cincinnati
Programming-Language: Stata
Abstract: mvsamp1i estimates required sample size or power of tests for multivariate
 F tests derived from Wilks' lambda.  If n() is specified, mvsamp1i computes 
 power; otherwise, it computes sample size.  mvsamp1i is an immediate command; 
 all of its arguments are numbers; see help immed. At a given value of Wilks' lambda, 
 mvsamp1i computes power for alpha and n, or sample size for alpha and power.  
Series: Statistical Software Components
Number: S345802
Creation-Date: 19980609
Size: 228 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvsampsi.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvsampsi.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345802

Template-Type: ReDIF-Software 1.0
Title: MVSAMP1I: Stata module to determine sample size and power for multivariate regression
Author-Name: David E. Moore
Author-Email: moordi@email.uc.edu
Author-WorkPlace-Name: University of Cincinnati
Programming-Language: Stata
Abstract: mvsamp1i estimates required sample size or power of tests for multivariate
 F tests derived from Wilks' lambda.  If n() is specified, mvsamp1i computes 
 power; otherwise, it computes sample size.  mvsamp1i is an immediate command; 
 all of its arguments are numbers; see help immed. At a given value of Wilks' lambda, 
 mvsamp1i computes power for alpha and n, or sample size for alpha and power.  
Series: Statistical Software Components
Number: S345801
Creation-Date: 19980609
Size: 148 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvsamp1i.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mvsamp1i.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345801

Template-Type: ReDIF-Software 1.0
Title: TRNBIN0: Stata module to estimate zero-truncated negative binomial regression
Author-Name: Joseph Hilbe
Author-Email: hilbe@asu.edu
Author-WorkPlace-Name: Arizona State University
Programming-Language: Stata
Abstract: A 0-truncated negative binomial model is appropriate when modeling count 
 data which have no possibility of having 0 values. This is to be 
 distinguished from data sets without 0 values, but which may have 0's. 
 For example, length of hospital stay data (LOS) begins with patients having
 a LOS of 1. 0 values are not allowed. This is a situation where a
 truncated model may be appropriate.
Series: Statistical Software Components
Number: S345401
Creation-Date: 19980421
Size: 153 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/trnbin0.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/nbin0lf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/trnbin0.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345401

Template-Type: ReDIF-Software 1.0
Title: CP: Stata module to generate results for all possible combinations of arguments
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: cp applies stata_cmd using all possible n-tuples of arguments from
 between one and five lists: each possible argument from one list, each
 possible pair of arguments from two lists, and so forth. This is version 1.2.0 of the software.
Keywords: programming, all possible results
Series: Statistical Software Components
Number: S345301
Creation-Date: 19980604
Size: 134 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cp.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cp.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345301

Template-Type: ReDIF-Software 1.0
Title: SWITCHR: Stata module to estimate switching regression models
Author-Name: Fred Zimmerman
Author-Email: zimmer@leland.Stanford.EDU
Author-WorkPlace-Name: Stanford University
Programming-Language: Stata
Abstract: This revised version of switchr calculates switching regression 
 estimates for a two-component model
 in which observations are drawn from two different regression regimes (or
 components), but separation into the separate regimes is unobserved. Such
 a situation is also called a mixture model.
Series: Statistical Software Components
Number: S345201
Creation-Date: 19980602
Size: 403 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/switchr.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_sw_lik.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_sw_lik2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/elapse.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/switchr.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/elapse.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S345201

Template-Type: ReDIF-Software 1.0
Title: SPELL: Stata module to identify spells or runs 
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Author-Name: Richard Goldstein
Author-Email:  richgold@ix.netcom.com
Programming-Language: Stata
Abstract: spell examines varname, treated as a sequence or series, to identify
 spells or runs, contiguous subsequences in which condstr is true for
 every value. A spell ends when condstr becomes false, or when condstr is
 true and the end of the data is reached. This is version
 1.3.1 of the software, which supersedes Rich Goldstein's spell2. 
Keywords: time series, longitudinal data, panel data, spells, runs
Series: Statistical Software Components
Number: S344901
Creation-Date: 19980531
Size: 81 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/spell.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/spell.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344901

Template-Type: ReDIF-Software 1.0
Title: ADJPROP: Stata module to calculate adjusted probabilities from logistic regression estimates
Author-Name: Joanne M. Garrett
Author-Email: garrettj@med.unc.edu
Author-WorkPlace-Name: University of North Carolina
Programming-Language: Stata
Abstract: adjprop calculates and optionally graphs adjusted probabilities (risks) and
 confidence intervals from logistic regression estimates for one or two
 nominal X variables, adjusted for covariates. If second X is specified,
 probabilities are calculated for all possible combinations of X categories,
 and an interaction effect is tested. Default shows estimated probabilities
 and confidence intervals only. Optionally, model estimates and/or a graph
 may be displayed. Dummy variables are created for xvar1. The lowest dummy
 variable defaults to the reference group. If xvar2 is specified, dummy
 variables are created for it also, as well as interaction terms.
 This version of the software appears in STB-43.
Series: Statistical Software Components
Number: S344804
Creation-Date: 19980529
Size: 302 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/adjprop.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/adjprop.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344804

Template-Type: ReDIF-Software 1.0
Title: ADJMEAN: Stata module to calculate variables' means adjusted for covariates
Author-Name: Joanne M. Garrett
Author-Email: garrettj@med.unc.edu
Author-WorkPlace-Name: University of North Carolina
Programming-Language: Stata
Abstract: adjmean calculates and optionally graphs adjusted means and confidence
 intervals from linear regression estimates for one or two nominal X
 variables, adjusted for covariates.  If a second X is specified, means
 are calculated for all possible combinations of X categories, and an
 interaction effect is tested. Default shows estimated means and confidence
 intervals only. Optionally, model estimates and/or a graph may be displayed.
 Dummy variables are created for xvar1. The lowest dummy variable defaults
 to the reference group. If xvar2 is specified, dummy variables are created
 for it also, as well as interaction terms. This version replaces adjmean2, posted earlier.
 This version of the software appears in STB-43.
Series: Statistical Software Components
Number: S344803
Creation-Date: 19980529
Size: 293 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/adjmean.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/adjmean.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344803

Template-Type: ReDIF-Software 1.0
Title: LOGPRED: Stata module to calculate logistic regression probabilities
Author-Name: Joanne M. Garrett
Author-Email: garrettj@med.unc.edu
Author-WorkPlace-Name: University of North Carolina
Programming-Language: Stata
Abstract: logpred calculates and prints probabilities and 95% confidence intervals from
 logistic regression estimates for a continuous X variable, adjusted for
 covariates.  Default prints probabilities and confidence intervals; model
 estimates and graph can be shown. Optionally a quadratic or a quadratic and
 cubic term can be added to the model. An interaction between X and a nominal
 variable can be estimated and graphed. Dummy variables are created for the
 nominal variable with the lowest category defaulting to the reference group.
Series: Statistical Software Components
Number: S344802
Creation-Date: 19980529
Size: 281 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/logpred.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/logpred.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344802

Template-Type: ReDIF-Software 1.0
Title: REGPRED: Stata module to calculate linear regression predictions
Author-Name: Joanne M. Garrett
Author-Email: garrettj@med.unc.edu
Author-WorkPlace-Name: University of North Carolina
Programming-Language: Stata
Abstract: regpred calculates and prints predicted values and 95% confidence intervals
 from linear regression estimates for a continuous X variable, adjusted for
 covariates.  Default prints predicted values and confidence intervals; model
 estimates and graph can be shown. Optionally a quadratic or a quadratic and
 cubic term can be added to the model. An interaction between X and a nominal
 variable can be estimated and graphed. Dummy variables are created for the
 nominal variable with the lowest category defaulting to the reference group.
Series: Statistical Software Components
Number: S344801
Creation-Date: 19980529
Size: 274 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/regpred.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/regpred.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344801

Template-Type: ReDIF-Software 1.0
Title: QWEIBULL: Stata module to generate quantile-quantile plot for data vs fitted Weibull distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: qweibull plots the quantiles of varname against the quantiles of a
 two-parameter Weibull distribution with scale parameter b and shape
 parameter c. By default, b and c are taken from S_2 and S_3, which is
 where wbull (q.v.) puts maximum likelihood estimates of them.
Keywords: graphics, Weibull distribution, quantile-quantile plots, frequency distributions
Series: Statistical Software Components
Number: S343505
Creation-Date: 19980529
Size: 80 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qweibull.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qweibull.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S343505

Template-Type: ReDIF-Software 1.0
Title: WBULL: Stata module to fit Weibull distribution by maximum likelihood
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: wbull fits a Weibull distribution to a single variable by the method
 of maximum likelihood. Frequency weights may be used to fit variables
 given in frequency distribution form. The distribution is here 
 parameterised by a scale parameter b and a shape parameter c.
Keywords: maximum likelihood, Weibull distribution, frequency distributions
Series: Statistical Software Components
Number: S343504
Creation-Date: 19980529
Size: 25 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/wbull.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/wbull.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S343504

Template-Type: ReDIF-Software 1.0
Title: PWEIBULL: Stata module to generate probability plot for data compared with 
 fitted Weibull distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: pweibull produces a probability plot for varname compared with a
 two-parameter Weibull distribution with scale parameter b and shape
 parameter c. By default, b and c are taken from S_2 and S_3, which is
 where wbull (q.v.) puts maximum likelihood estimates of them.
Keywords: graphics, probability plots, frequency distributions, Weibull distribution
Series: Statistical Software Components
Number: S343503
Creation-Date: 19980529
Size: 57 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pweibull.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pweibull.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S343503

Template-Type: ReDIF-Software 1.0
Title: BIV: Stata module to calculate bivariate results for each pair of variables in a varlist
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: biv displays bivariate results for each pair of distinct variables in
 the varlist. For p variables there will be p(p-1)/2 such pairs if the
 order of the variables is immaterial and p(p-1) otherwise. This is version 1.6.0 of the software.
Keywords: programming, bivariate results
Series: Statistical Software Components
Number: S343502
Creation-Date: 19980529
Size: 56 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biv.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biv.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S343502

Template-Type: ReDIF-Software 1.0
Title: DLOGIT2: Stata modules to compute marginal effects for logit, probit, and mlogit 
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: The commands dlogit2, dprobit2, and dmlogit2 compute marginal
 effects for, respectively, logistic regression, probit
 regression, and multinomial logistic regression. 
Series: Statistical Software Components
Number: S343501
Creation-Date: 19960308
Size: 7 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dlogit.zip
File-Format: application/bin/zipped
File-Function: program code
Handle: RePEc:boc:bocode:S343501

Template-Type: ReDIF-Software 1.0
Title: ROLLREG: RATS module to perform rolling and moving-window regressions
Author-Name: Simon van Norden
Author-Email: svn@alum.mit.edu
Author-WorkPlace-Name: Ecole des H.E.C.
Author-WorkPlace-Postal: Service de l'enseignement de la finance, Ecole des H.E.C.
 3000 Cote-Sainte-Catherine, Montreal QC, CANADA   H3T 2A7
Programming-Language: RATS
Abstract: This procedure does rolling OLS regressions in one of three modes.
 Given an initial range of observations, ADD adds observations
 (one at a time) to the end of the sample, DROP drops them from the
 beginning of the sample, and MOVE simultaneously adds and drops
 so that the number of observations in each regression is constant.
 The resulting series of coefficients and standard errors are stored in numbered
 series, and may be graphed.
Series: Statistical Software Components
Number: R852701
Creation-Date: 19950601
Size: 303 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/ratsl/rollreg.src
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:R852701

Template-Type: ReDIF-Software 1.0
Title: SF36PROG: Stata modules to process SF-36 data
Author-Name: Philip Ryan
Author-Email: pryan@medicine.adelaide.edu.au
Author-WorkPlace-Name: University of Adelaide
Author-WorkPlace-Postal: Department of Public Health, University of Adelaide, South Australia
Programming-Language: Stata
Abstract: sf36_man.do is a "manual" version, so named because it forces the user to
 "manually" edit any out-of-range data before the program will proceed, and
 sf36_aut.do is an "automatic" version, so named because, without reference to
 the user, it recodes out-of-range data to missing.
 Both version return correct results on the Medical Outcomes Trust 100
 observation test data set (a particularly tricky little data set).
 The documentation for each do file is contained in embedded comments in the
 programs.  I might note here that the programs insist on the 36 SF-36
 questions being named SF36_nn$ where nn = 01 to 11 and $ = a to j where
 appropriate (eg SF36_03d or SF36_11a or SF36_08) - these are the question
 identifiers given in the SF-36 documentation.
Series: Statistical Software Components
Number: S344102
Creation-Date: 19980507
Size: 544 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sf36_man.do
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sf36_aut.do
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S344102

Template-Type: ReDIF-Software 1.0
Title: PARMEST: Stata module to create new dataset with observations as parameters of recent model
Author-Name: Roger Newson
Author-Email: r.newson@cxwms.ac.uk
Author-WorkPlace-Name: Imperial College Medical School
Programming-Language: Stata
Abstract: parmest extracts the parameters of the most recently fitted model,
 with their standard errors and confidence limits, to form a new data set
 (replacing the existing one) with one observation per parameter and
 variables corresponding to parameter names, estimates, standard errors
 and confidence limits.
Series: Statistical Software Components
Number: S344101
Creation-Date: 19980521
Size: 79 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/parmest.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/estse.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/svroweq.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/svrown.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/parmest.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S344101

Template-Type: ReDIF-Software 1.0
Title: REGLIKE: Stata module to calculate log-likelihood function value from regress
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: After running regress, reglike computes the log-likelihood and puts its
 value into the global macro S_E_ll.
Series: Statistical Software Components
Number: S343401
Creation-Date: 19980514
Size: 22 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/reglike.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/reglike.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S343401

Template-Type: ReDIF-Software 1.0
Title: GPH: MATLAB module to calculate Geweke-Porter-Hudak long memory statistic
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: GPH (SERIES, INCL, EXCL) returns (1) GPH frequency domain estimator D 
 of (differenced) time series in vector SERIES, (2) the number of observations 
 NOBS used in the frequency domain regression, (3) asymptotic t-ratio TASY and 
 associated level of  significance SIGASY (when the known theoretical variance of the 
 residuals (pi¾/6) is imposed on the calculation), and (4) OLS t-ratio TOLS and 
 corresponding significance level SIGOLS (when the standard
 errors are estimated from standard OLS regression output).
Series: Statistical Software Components
Number: T850805
Creation-Date: 19980429
Size: 267 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/gph.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T850805

Template-Type: ReDIF-Software 1.0
Title: VARRATIO: MATLAB module to calculate heteroskedasticity-consistent variance ratio
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: VARRATIO (P, Q) performs heteroskedasticity-consistent variance-ratio
 computations using overlapping observations for each spacing q defined in Q on the
 time series P.
Series: Statistical Software Components
Number: T850804
Requires: MATLAB Statistics Toolbox.
Creation-Date: 19980329
Size: 120 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/varratio.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T850804

Template-Type: ReDIF-Software 1.0
Title: QSTAT: MATLAB module to calculate Ljung-Box q statistic
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: QSTAT (SERIES, M) returns (row vector) Q, the Ljung & Box corrected Q
 statistics of serial correlation in (vector) SERIES for each lag order specified by
 (vector) M, and (row vector) QSIG, the levels of significance at which the associated
 null hypotheses of no correlation are rejected.
Series: Statistical Software Components
Number: T850803
Requires: MATLAB Statistics Toolbox.
Creation-Date: 19980407
Size: 99 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/qstat.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T850803

Template-Type: ReDIF-Software 1.0
Title: DWATSON: MATLAB module to calculate Durbin-Watson statistic and significance
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: DWATSON(SERIES) computes the Durbin-Watson statistic d of
 serial correlation and the significance level, if any, at which the null hypothesis d=2
 is rejected against either of the one-sided alternatives (but not both!), using both
 upper-bound and lower-bound critical values.
Series: Statistical Software Components
Number: T850802
Creation-Date: 19980406
Size: 138 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/dwatson.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T850802

Template-Type: ReDIF-Software 1.0
Title: DURBINH: MATLAB module to calculate Durbin's h statistic
Author-Name: Ludwig Kanzler
Author-Email: ludwig.kanzler@economics.oxford.ac.uk
Author-WorkPlace-Name: University of Oxford
Programming-Language: MATLAB
Abstract: DURBINH (DW, SE2, N, H1) computes the Durbin h statistic DH (a statistic
 of autocorrelation which is robust to the inclusion of lagged dependent variables in
 the regression, see Durbin, 1970) and evaluates the associated null hypothesis of no
 serial correlation against the alternative of EITHER positive OR negative
 autocorrelation if argument H1 is 1 (one-sided test) or against the alternative of ANY
 autocorrelation if H1 is 2 (two-sided test, default). 
Series: Statistical Software Components
Number: T850801
Requires: MATLAB Statistics Toolbox.
Creation-Date: 19980406
Size: 74 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/matlab/durbinh.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:T850801

Template-Type: ReDIF-Software 1.0
Title: ENCODE2: Stata module to encode a string variable using all contents
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: This function can be performed with egen, group.
Series: Statistical Software Components
Number: S342502
Creation-Date: 19980504
Handle: RePEc:boc:bocode:S342502

Template-Type: ReDIF-Software 1.0
Title: REGRESBY: Stata module to generate regression residuals by byvarlist
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: The syntax is regresby varlist [if <exp>] [in <range>] [weight], 
 by(byvarlist) generate(resvar) [regress_options] 
 to get the residuals from by byvarlist: regress varlist ..., regress_options
Keywords: regression residuals, by
Series: Statistical Software Components
Number: S342501
Creation-Date: 19980504
Size: 44 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/regresby.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S342501

Template-Type: ReDIF-Software 1.0
Title: TRIPLOT: Stata module to generate triangular plots
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: triplot produces a triangular plot of the three variables leftvar,
 rightvar and botvar, which are plotted on the left, right and bottom
 sides of an equilateral triangle. Each should have values between 0 and
 some maximum value (default 1) and the sum of the three variables should
 be equal to that maximum (within rounding error). Most commonly, three
 fractions or proportions add to 1, or three percents add to 100.
 The constraint that the three variables have a constant sum means that
 there are just two independent pieces of information. Hence it is
 possible to plot observations in two dimensions.
 Triangular plots appear under various names in the literature, including
 trilinear, triaxial, three-element maps, ternary, reference triangles,
 percentage triangles, mixture, facies, barycentric. This is version 1.1.0 of the software.
Keywords: graphics, triangular plots, trilinear plots, ternary plots, triaxial plots
Series: Statistical Software Components
Number: S342401
Creation-Date: 19980504
Size: 277 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/triplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/triplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S342401

Template-Type: ReDIF-Software 1.0
Title: FOURIER: Stata module to generate Fourier series
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: fourier generates Fourier series (sine and cosine transformations of the specified variable).
Keywords: generating variables, time series, Fourier series
Series: Statistical Software Components
Number: S341901
Creation-Date: 19980427
Size: 22 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/fourier.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/fourier.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341901

Template-Type: ReDIF-Software 1.0
Title: LMOMENTS: Stata module to generate L-moments and derived statistics
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: lmoments generates L-moments and derived statistics. L-moments offer a 
 systematic, satisfying and indeed elegant approach 
 to the summarization of theoretical distributions and data samples 
 and have applications in the estimation of parameters and of 
 quantiles, and in hypothesis tests for probability distributions. See
 Hosking, J.R.M. 1992. Moments or L moments? An example comparing two 
 measures of distributional shape. American Statistician 46, 186-189. 
Keywords: L-moments, frequency distributions
Series: Statistical Software Components
Number: S341902
Creation-Date: 19980427
Size: 155 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/lmoments.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/lmoments.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341902

Template-Type: ReDIF-Software 1.0
Title: INTTERMS: Stata module to enumerate all indicators for all intersections of 
 two categorical variables
Author-Name: Vince Wiggins
Author-Email: vwiggins@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840   USA
Programming-Language: Stata
Abstract: intterms generates a set of indicators for all intersections of two
 categorical variables.
Series: Statistical Software Components
Number: S341801
Creation-Date: 19980427
Size: 65 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/intterms.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/intterms.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341801

Template-Type: ReDIF-Software 1.0
Title: SEQ: Stata module to generate sequences of integers
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: seq creates newvar containing one or more sequences of integers. It is
 principally useful for quick creation of observation identifiers or
 automatic numbering of levels of factors or categorical variables.
 This is an improved version of the software that appeared in STB-37.
Keywords: generating variables, integer sequences
Series: Statistical Software Components
Number: S341501
Creation-Date: 19980426
Size: 38 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/seq.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/seq.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341501

Template-Type: ReDIF-Software 1.0
Title: RANOVA: Stata module to estimate single factor repeated measures ANOVA
Author-Name: Joseph Hilbe
Author-Email: hilbe@asu.edu
Author-WorkPlace-Name: Arizona State University
Programming-Language: Stata
Abstract: The statistical design permits analysis of repeated (treatment) measures 
 on the same individuals. Total model variability is divided into:
 SS Treatment - the variability resulting from the independent variable; i.e., 
 the levels or categories of response
 SS Within    - the variablity that cannot be accounted for by the independent variable
 a.   SS Subjects - the variability resulting from individual differences.
 b.   SS Error    - the variability resulting from random factors
Series: Statistical Software Components
Number: S341201
Creation-Date: 19980421
Size: 121 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ranova.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ranova.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341201

Template-Type: ReDIF-Software 1.0
Title: RMANOVA: Stata module to estimate repeated measures ANOVA
Author-Name: George M. Hoffman
Author-Email: ghoffman@mcw.edu
Author-WorkPlace-Name: Medical College of Wisconsin
Programming-Language: Stata
Abstract: rmanova computes within and between sum of squares, with error for each as interaction
 Example: rmanova bp patnum time drug will compute the ANOVA table for:
 effect of independent factor(s) drug1 drug2 drug 3 (between effects) on dependent var bp,
 measured on subjects patnum, adjusted for repeated measures over time (within effect).
 Data should be in LONG format.
Series: Statistical Software Components
Number: S341202
Creation-Date: 19980421
Size: 50 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/rmanova.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/rmanova.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S341202

Template-Type: ReDIF-Software 1.0
Title: CATDEV: Stata modules for interpretation of categorical dependent variable models
Author-Name: J. Scott Long
Author-Email: jslong@exchange.ucs.indiana.edu
Author-WorkPlace-Name: Indiana University
Programming-Language: Stata
Abstract: There are several methods that can be used to effectively interpret the 
 results of regression models for categorical dependent variables. Each of these 
 methods requires the analyst to complete post estimation computations of the 
 estimated parameters. Generally speaking, the estimated coefficients cannot be 
 meaningfully interpreted without additional computations. This set of additions 
 to Stata (in the form of ado files) that facilitate the interpretation of 
 results of the following models: binary logit, binary probit, ordinal logit, 
 ordinal probit, multinomial logit, Poisson regression, negative binomial regression, 
 and tobit. These commands make it easy to do the computations for a variety of 
 methods of interpretation: predicted outcomes and plots of these outcomes, 
 discrete changes in predicted outcomes, partial change in predicted outcomes, 
 standardized coefficients for variables based on a latent variable, factor 
 changes in odds ratios for logit models, and factor changes in mean counts 
 for count models. Details on each of these methods of interpretation can be 
 found in my book Regression Models for Categorical and Limited Dependent Variables 
 (Sage Publications). 
Series: Statistical Software Components
Number: S340701
Creation-Date: 19980416
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/adov4.zip
File-Format: application/bin/zipped
File-Function: program code
Handle: RePEc:boc:bocode:S340701

Template-Type: ReDIF-Software 1.0
Title: FODSTR: Stata modules to handle fractional day calculations 
Author-Name: William Gould
Author-Email: wgould@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: fodstr newvar oldvar extracts the fraction-of-a-day stored in Stata's date
 format and formats it in readable (hh:mm:ss) form. fod2str newvar oldvar creates
 the full formatted dd mmmm yyyy hh:mm:ss form. mkfrac newvar oldvar performs the
 inverse trasformation; given a string variable containing a date, it returns the 
 fraction of a day involved (i.e. 1 Jan 1998 06:00:00 becomes 0.5000).
Series: Statistical Software Components
Number: S340602
Creation-Date: 19980415
Size: 39 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/fodstr.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/fod2str.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mkfrac.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S340602

Template-Type: ReDIF-Software 1.0
Title: HPLOTC: Stata module to generate horizontal plots with confidence intervals
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: hplotc is a driver for hplot (q.v.) that produces a display of means
 and confidence intervals for different groups of varname defined by the
 by option (and whatever combination of if and in may be
 specified). 
Keywords: graphics, horizontal plots, confidence intervals
Series: Statistical Software Components
Number: S320803
Creation-Date: 19971008
Size: 84 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hplotc.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hplotc.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320803

Template-Type: ReDIF-Software 1.0
Title: HPLOT: Stata module to generate horizontal plots
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: The basic form of hplot is a graph with one horizontal line for each
 observation included. On that line are one or more point symbols
 representing the values in varlist according to a common scale.
 hplot can produce a variety of horizontally labelled plots for data,
 including W.S. Cleveland's dot charts or dot plots; variations on them
 with continuous rather than dotted lines; D.R. McNeil's horizontal
 parallel line plots; and displays for showing key quantities with or
 without confidence intervals. By default, the data in varlist are represented on horizontal dotted
 lines with base at zero that extend to the maximum for each observation.
 If negative values are present, dotted lines also extend to the minimum.
 Point symbols are used to show actual values. This is version 1.3.5 of the software.
Keywords: graphics, dot plots, parallel line plots, horizontal plots
Series: Statistical Software Components
Number: S320801
Creation-Date: 19980331
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hplot.ado
File-Format: text/plain
File-Size: 592 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/byvar2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_grmax.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_grmin.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320801

Template-Type: ReDIF-Software 1.0
Title: HBAR: Stata module to generate horizontal bar charts
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: hbar produces a horizontal bar chart for varlist. Bars for different
 variables are stacked with base at 0, depending on whether values are
 positive or negative. If the data allow it, a different base may be forced using the ^xscale^
 option. A legend on the left of the data region can be from a specified
 variable. Names up to at least 24 characters long are fine at default
 settings so long as most characters are lower case. If that variable is
 not specified, the order in the data will be used; or, if that is not
 desired, the legend can be blank. The legend is right-justified. The
 legend should look readable up to about 30 observations. This is version 1.2.1 of the software.
Keywords: graphics, horizontal bar charts
Series: Statistical Software Components
Number: S322902
Creation-Date: 19980401
Size: 508 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hbar.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hbar.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S322902

Template-Type: ReDIF-Software 1.0
Title: GENFREQ: Stata module to produce a frequency distribution for a variable
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: genfreq produces a frequency distribution for varname in which the
 range of varname is divided into bins or classes of width given by
 width( ) and the frequency of values falling into each class is
 computed. The limits of each class are multiples of the width. This is version 1.1.2 
 of the software.
Keywords: generating variables, frequency distributions
Series: Statistical Software Components
Number: S338802
Creation-Date: 19980330
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/genfreq.ado
File-Format: text/plain
File-Size: 74 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/genfreq.hlp
File-Format: text/plain
File-Size: 67 lines
File-Function: help file
Handle: RePEc:boc:bocode:S338802

Template-Type: ReDIF-Software 1.0
Title: BARPLOT: Stata module to plot varlist against xvar
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: barplot produces a plot of the variables in yvarlist against xvar.
 Each variable in yvarlist is plotted as a series of unshaded bars rising
 above or falling below one or more base lines. The height of each bar is
 given by the y variable, the width via the width option, the base via
 the base option and the horizontal centre of each bar by xvar. This is version 1.2.0 of the software.
Keywords: graphics, bar plots, histograms, time series
Series: Statistical Software Components
Number: S338801
Creation-Date: 19980330
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/barplot.ado
File-Format: text/plain
File-Size: 81 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/barplot.hlp
File-Format: text/plain
File-Size: 143 lines
File-Function: help file
Handle: RePEc:boc:bocode:S338801

Template-Type: ReDIF-Software 1.0
Title: EWMA: Stata module to calculate exponentially weighted moving average
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: ewma calculates an exponentially weighted moving average of the series
 named in the generate() option.
Keywords: time series, exponentially weighted moving average
Series: Statistical Software Components
Number: S338701
Creation-Date: 19980327
Size: 16 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ewma.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S338701

Template-Type: ReDIF-Software 1.0
Title: DROPMISS: Stata modules to drop variables with all values missing
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: dropmiss drops variables in the variable list for which all values are missing.
Keywords: data management, missing values
Series: Statistical Software Components
Number: S338601
Creation-Date: 19980326
Size: 19 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dropmiss.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S338601

Template-Type: ReDIF-Software 1.0
Title: GRMINMAX: Stata modules to calculate row min/max values from variable list
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: _grmin, _grmax extend the egen function list to incorporate row minima
 and maxima, respectively.
Keywords: generating variables, maximum, minimum, egen
Series: Statistical Software Components
Number: S338501
Creation-Date: 19980325
Size: 48 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_grmax.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_grmin.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S338501

Template-Type: ReDIF-Software 1.0
Title: LJS: Stata module to left-justify string variables for printing
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: ljs takes each string variable within varlist and left-justifies it by
 trimming leading and trailing spaces and padding with as many spaces on
 the right as are needed to make each value exactly the same length.
Keywords: output, format, string variables, left-justification
Series: Statistical Software Components
Number: S338402
Creation-Date: 19980324
Size: 29 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ljs.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ljs.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S338402

Template-Type: ReDIF-Software 1.0
Title: DTOBIT2: Stata module to estimate a tobit model with marginal effects at observed censoring rate
Author-Name: Vince Wiggins
Author-Email: vwiggins@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840   USA
Programming-Language: Stata
Abstract: Estimates a tobit model and provides a table of marginal effects evaluated at
 the observed censoring rate of the dependent variable.  The marginal effects
 are computed for the dependent variable conditional on the censoring and on
 the unconditional expected value of the dependent variable.
Series: Statistical Software Components
Number: S338401
Creation-Date: 19980324
Size: 104 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dtobit2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dtobit2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S338401

Template-Type: ReDIF-Software 1.0
Title: STATAFAQ: A guide to the on-line FAQs at StataCorp's web site
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: This guide lists all the FAQs currently answered by StataCorp's web pages.
Keywords: FAQ, Stata website
Series: Statistical Software Components
Number: S338302
Creation-Date: 19980323
Size: 556 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stataFAQ8323.txt
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S338302

Template-Type: ReDIF-Software 1.0
Title: RGLM: Stata module to estimate robust generalized linear models
Author-Name: Roger Newson
Author-Email: r.newson@cxwms.ac.uk
Author-WorkPlace-Name: Imperial College Medical School
Programming-Language: Stata
Abstract: rglm fits generalized linear models and calculates a Huber (sandwich) 
 estimate of the variance-covariance matrix of estimates. It can be used alone 
 or called without arguments after a previous call to glm. As with other 
 "robust" commands, the units may be considered to fall into clusters. This version was posted 
 on 12 June 1998.
Series: Statistical Software Components
Number: S338301
Creation-Date: 19980323
Size: 343 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/rglm.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/rglm.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S338301

Template-Type: ReDIF-Software 1.0
Title: CID: Stata module to calculate confidence intervals for means or differences
Author-Name: Patrick Royston
Author-Email: proyston@rpms.ac.uk
Author-WorkPlace-Name: Royal Postgraduate Medical School
Programming-Language: Stata
Abstract: cid calculates confidence intervals (CIs) for means or differences.
 In the first form, cid calculates a CI for the mean of varname.
 In the second form, cid produces a CI for mean difference between varname1 and
 varname2.  Data are assumed to be paired, but unpaired changes this assumption.
 In the third form, cid gives a CI for the mean difference across the two groups
 defined by groupvar.  Data are assumed paired, but unpaired reverses this.
 median calculates CI's as above, except for medians rather than for means.
 CI's are determined by rank-based methods as described in Gardner and
 Altman's (1989) book "Statistics with Confidence", pp. 74-79.  A normal
 approximation with a continuity correction of 0.5 is used, rather than
 tables of exact values.  The accuracy should be adequate when both groups
 have at least 5 observations.
Series: Statistical Software Components
Number: S338001
Creation-Date: 19980322
Size: 247 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cid.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cid.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S338001

Template-Type: ReDIF-Software 1.0
Title: CONTRAST: Stata module to calculate contrasts between factor levels
Author-Name: Patrick Royston
Author-Email: proyston@rpms.ac.uk
Author-WorkPlace-Name: Royal Postgraduate Medical School
Programming-Language: Stata
Abstract: contrast calculates contrasts between factor levels or groups of continuous
 data. The command has two forms. the first form of contrast permits arbitrarily complex analysis
 of variance or analysis of covariance models, whereas the second form and
 contrasi (the immediate form) only support one-way analysis of variance models. In all cases the 
 contrast coefficients are `standardized' inside the program by subtraction of their mean, 
 so as to add up to zero.  These standardized coefficients are displayed as __a in the output.
 The output includes a confidence interval for L, a significance test for the
 hypothesis L = 0, an overall analysis of variance F-test that the group (or
 fac1) means are equal and the residual standard deviation from the analysis
 of variance.
Series: Statistical Software Components
Number: S337701
Creation-Date: 19980320
Size: 203 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/contrast.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/contrast.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/contrasi.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/contrasi.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/aov1cont.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/aov1cont.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_jprcout.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S337701

Template-Type: ReDIF-Software 1.0
Title: TPRED: Stata module to generate predictions from Tobit model 
Author-Name: William Gould
Author-Email: wgould@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: tpred newvar, { p(#,#) | e(#,#) | ystar(#,#) } generates predictions
 after a tobit model is used, where the braces means you must specify one and only 
 one of the p(), e(), or ystar() options.  Either or both numbers may be specified as period.
 p(.,0) refers to the predicted probability y<0; e(.,0) refers to E(y|y<0); 
 e(100,.) refers to E(y|y>100); and ystar(0,.) refers to E(ystar | ystar=0 if y<0, ystar=y otherwise).
Series: Statistical Software Components
Number: S337601
Creation-Date: 19980317
Size: 145 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tpred.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S337601

Template-Type: ReDIF-Software 1.0
Title: DISTPLOT: Stata module to generate distribution function plot
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: distplot produces a plot of the cumulative distribution function for
 varname. This shows the proportion (or if desired the frequency) of
 values less than or equal to each value. With the surv option, distplot produces 
 a plot of the survival (a.k.a. survivor, reliability) function for varname. This shows the
 proportion (or if desired the frequency) of values greater than each
 value, that is, the complement of the cumulative distribution function. This is version
 1.4.0 of the software.
Keywords: graphics, frequency distributions, cumulative distribution function
Series: Statistical Software Components
Number: S337502
Creation-Date: 19980315
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/distplot.ado
File-Format: text/plain
File-Size: 145 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/distplot.hlp
File-Format: text/plain
File-Size: 96 lines
File-Function: help file
Handle: RePEc:boc:bocode:S337502

Template-Type: ReDIF-Software 1.0
Title: QUANTIL2: Stata module to generate multivariate quantile plot
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: -quantil2- produces a plot of the ordered values of varlist against the
 so-called plotting positions, which are essentially quantiles of a
 uniform distribution on [0,1] for the same number of values. -quantil2-
 generalises -quantile- to allow multiple variables, or a single variable
 classified by another variable; plotting positions other than
 (i - 0.5) / n; and a wider variety of graphical choices. Installation of
 -_gpp- is needed. This is version 1.0.1 of the software.
Keywords: graphics, frequency distributions, quantile plots
Series: Statistical Software Components
Number: S237501
Creation-Date: 19980315
Size: 99 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/quantil2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_gpp.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/quantil2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S337501

Template-Type: ReDIF-Software 1.0
Title: MISSING: Stata module to replace missing values
Author-Name: Jose Maria Sanchez Saez
Author-Email: jmsaez@arrakis.es
Programming-Language: Stata
Abstract: missing replaces missing values for the variables in varlist.
Series: Statistical Software Components
Number: S327202
Creation-Date: 19980313
Size: 162 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/missing.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/missing.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S337202

Template-Type: ReDIF-Software 1.0
Title: DISTAN: Stata module to generate similarity measures
Author-Name: Jose Maria Sanchez Saez
Author-Email: jmsaez@arrakis.es
Programming-Language: Stata
Abstract: distan calculates similarity and dissimilarity measures between
 observations.
Series: Statistical Software Components
Number: S37201
Creation-Date: 19980313
Size: 149 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/distan.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/distan.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S337201

Template-Type: ReDIF-Software 1.0
Title: DATMAT: Stata module to multiply variables via matrix multiplication
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: Consider the k variables in "oldvarlist" as an N x k matrix, where N is
 the number of observations.  The matrix called "matname" is a k x m matrix.
 Then the resulting matrix product of "oldvarlist"*"matname" is a N x m matrix,
 whose m columns become m new variables in "newvarlist".
 Note that the matrix multiplication performed by -datmat- is purely positional;
 i.e., it does just what you expect based on the order of the variables,
 observations, and rows and columns of "matname".  The row and column names of
 the matrix "matname" are ignored.  This is different from the behavior of
 matrix score.
Series: Statistical Software Components
Number: S336901
Creation-Date: 19980309
Size: 89 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/datmat.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/datmat.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336901

Template-Type: ReDIF-Software 1.0
Title: PANTEST2: Stata module to perform diagnostic tests in fixed effects panel regressions
Author-Name: Nicholas Oulton
Author-Email: n.oulton@niesr.ac.uk
Author-WorkPlace-Name: National Institute of Economic and Social Research
Programming-Language: Stata
Abstract: pantest2 tests for serial correlation of residuals, for the significance
 of fixed effects, and for the normality of residuals. This version requires the name
 of the time variable (tis...) as the first argument. This is version 1.0.2 of the software.
Series: Statistical Software Components
Number: S336601
Creation-Date: 19980306
Size: 96 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pantest2.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S336601

Template-Type: ReDIF-Software 1.0
Title: SOMERSD: Stata module to calculate Somers' D statistic
Author-Name: Roger Newson
Author-Email: r.newson@cxwms.ac.uk
Author-WorkPlace-Name: Imperial College Medical School
Programming-Language: Stata
Abstract: somersd calculates values of Somers' D (or Kendall's tau-a) for the first
 variable of varlist as a predictor of each of the other variables in
 varlist, with estimates and jackknife variances stored as output as if
 for the parameters of a maximum likelihood fit.
Series: Statistical Software Components
Number: S336401
Creation-Date: 19980304
Size: 107 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/somersd.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tidot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ujack.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/somersd.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336401

Template-Type: ReDIF-Software 1.0
Title: QGAMMA: Stata module to generate quantile-quantile plot for data vs fitted gamma distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: qgamma plots the quantiles of varname against the quantiles of a
 two-parameter gamma distribution with shape parameter alpha and scale
 parameter beta. By default, alpha and beta are taken from S_alpha and
 S_beta, which is where gamma (q.v.) puts maximum likelihood estimates of
 them.
Keywords: graphics, gamma distribution, quantile-quantile plots
Series: Statistical Software Components
Number: S336203
Creation-Date: 19980303
Size: 92 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qgamma.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/qgamma.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336203

Template-Type: ReDIF-Software 1.0
Title: PGAMMA: Stata module to generate probability plot for data vs fitted gamma distribution
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: pgamma produces a probability plot for varname compared with a
 two-parameter gamma distribution with shape parameter alpha and scale
 parameter beta. By default, alpha and beta are taken from S_alpha and
 S_beta, which is where gamma (q.v.) puts maximum likelihood estimates of
 them.
Keywords: graphics, gamma distribution, probability plots
Series: Statistical Software Components
Number: S336202
Creation-Date: 19980302
Size: 58 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pgamma.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/pgamma.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336202

Template-Type: ReDIF-Software 1.0
Title: GAMMA: Stata module to fit gamma distribution by moments and maximum likelihood
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: gamma works on a single variable. All non-missing values must be
 positive. A two-parameter gamma distribution is fitted by the method of
 moments (a closed-form calculation) and by the method of maximum
 likelihood (ML) (an iterative calculation, which may occasionally be
 rather slow).
Keywords: maximum likelihood, moments, gamma distribution, frequency distributions
Series: Statistical Software Components
Number: S336201
Creation-Date: 19980302
Size: 106 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gamma.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gamma.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336201


Template-Type: ReDIF-Software 1.0
Title: MARKOV: Stata module to generate Markov probabilities
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: markov examines varname, treated as a sequence or series, to produce
 basic summaries relevant to discrete-time, discrete-state Markov chains.
 markov tabulates one-step transition frequencies from one state to
 another, carries out a chi-square test for independence, and tabulates a
 transition probability matrix. The frequency matrix and the probability
 matrix are saved as F and P, or as whatever names are specified.
 Matrices with these names are overwritten. It is the user's responsibility to 
 ensure that data are in the appropriate sort order when markov is called. tabchi 
 must be installed first.
Keywords: time series, Markov, transition probabilities, chi-square tests
Series: Statistical Software Components
Number: S336002
Creation-Date: 19980228
Size: 75 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/markov.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/markov.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336002

Template-Type: ReDIF-Software 1.0
Title: MARKER: Stata module to generate indicator variable marking desired sample
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: marker creates a 0-1 variable markvar, such that markvar has value 1
 if all values are present (not missing) for every variable in varlist and have 
 sensible non-zero weights if weights are specified and satisfy any if or in condition 
 specified, and 0 otherwise. The name of markvar defaults to _marker, providing 
 that is not already in use. The main use of marker is to define samples so that 
 the results of commands that automatically ignore any observations with missing 
 values on any of the variables specified (e.g. regress) are comparable 
 with the results of other commands that do not do this (e.g. summarize). Once the 
 sample has been defined, it can be specified by ... if markvar == 1 or even 
 more concisely by ... if markvar
Keywords: data management, mark
Series: Statistical Software Components
Number: S336001
Creation-Date: 19980228
Size: 14 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/marker.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/marker.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S336001

Template-Type: ReDIF-Software 1.0
Title: HECKMAN2: Stata module to estimate Heckman selection model using Heckman's two-step approach
Author-Name: Vince Wiggins
Author-Email: vwiggins@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840   USA
Programming-Language: Stata
Abstract: heckman2 performs both Heckman's two-step procedure with Heckman's adjusted
 covariance matrix of the estimates for estimation of selection models.
Series: Statistical Software Components
Number: S335901
Creation-Date: 19980227
Size: 154 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/heckman2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/heckman2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S335901

Template-Type: ReDIF-Software 1.0
Title: MCA: Stata module to perform multiple correspondence analysis
Author-Name: Philippe Van Kerm
Author-Email: philippe.vankerm@fundp.ac.be
Author-WorkPlace-Name: University of Namur
Author-WorkPlace-Postal: University of Namur, Department of Economics, Rempart 
 de la Vierge 8, B-5000 Namur, Belgium
Programming-Language: Stata
Abstract: The command mca produces numerical results as well as graphical 
 representations for multiple correspondence analyses (MCA). mca actually conducts 
 an adjusted simple correspondence analysis on the Burt matrix constructed with 
 varlist (i.e. matrix of frequency counts resulting from all two-way cross-tabulations 
 of the variables in varlist including the cross-tabulations of each variable 
 with itself). It can be shown that the total inertia of the Burt matrix is 
 high due to the fitting of the diagonal sub-matrices. Consequently, a simple 
 correspondence analysis applied to this matrix usually results in maps of 
 apparently poor quality. As a remedy, if not otherwise specified (see Options), 
 mca adjusts the obtained principal inertias (eigenvalues) following a method 
 suggested by Benzecri and presented in Greenacre (1984).
Series: Statistical Software Components
Number: S335503
Creation-Date: 19980223
Size: 423 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mca.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mca.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S335503

Template-Type: ReDIF-Software 1.0
Title: CORANAL: Stata module to perform simple correspondence analysis
Author-Name: Philippe Van Kerm
Author-Email: philippe.vankerm@fundp.ac.be
Author-WorkPlace-Name: University of Namur
Author-WorkPlace-Postal: University of Namur, Department of Economics, Rempart 
 de la Vierge 8, B-5000 Namur, Belgium
Programming-Language: Stata
Abstract: The command coranal produces numerical results as well as graphical outputs for
 simple correspondence analyses. The computation algorithm draws most largely on
 Blasius and Greenacre, eds., Correspondence Analysis in the Social Sciences - 
 Recent Developments and Applications, 1994. 
Series: Statistical Software Components
Number: S335502
Creation-Date: 19980223
Size: 508 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/coranal.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/coranal.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S335502

Template-Type: ReDIF-Software 1.0
Title: BIPLOT: Stata module to generate biplots
Author-Name: Ulrich Kohler
Author-Email: UKOHLER@mlsowi.sowi.uni-mannheim.de
Author-WorkPlace-Name: University of Mannheim
Author-WorkPlace-Postal: Universitaet Mannheim, LS f. Methoden d. emp. Sozialforschung
 und angew. Soziologie, D-68131 Mannheim, Germany
Programming-Language: Stata
Abstract: biplot draws biplots of the data matrix defined by varlist. Biplots are 
 useful for visual inspection of data matrices, allowing the eye to identify 
 patterns, regularities and outliers. In a biplot variables (columns) are shown 
 as arrows from the origin and observations (rows) are shown as points.
 The configuration of arrows reflects the relations of the variables. The
 cosine of the angle between the arrows reflects the correlation between
 the variables they represent. If the variables are not standardized, the
 length of each arrow reflects the standard deviation of the variable it
 represents. The scatter of observations shows relations among observations. The
 distance between two points approximates the Euclidean distance between
 two observations of the data matrix. The cutpoint of a perpendicular
 from a point to an arrow shows the value of the variable the arrow
 represents.
Series: Statistical Software Components
Number: S335501
Creation-Date: 19980223
Size: 227 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S335501

Template-Type: ReDIF-Software 1.0
Title: GPH_SEAS: RATS module to perform fractional integration of seasonally adjusted timeseries
Author-Name: Christopher F Baum
Author-Email: baum@bc.edu
Author-WorkPlace-Name: Boston College
Author-WorkPlace-Postal: Boston College, Department of Economics, Chestnut Hill MA 02167 USA
Programming-Language: RATS
Abstract: This procedure is a generalization of Estima's GPH.SRC procedure which performs
 the Geweke/Porter-Hudak log-periodogram regression on a timeseries to estimate the order
 of fractional integration. As recently noted by Ooms and Hassler (Econ. Letters, 56:2, 1997) 
 this regression will inappropriately include ordinates corresponding to seasonal frequencies
 when the data series have been seasonally adjusted. The modified procedure 'zero-pads' the
 series and removes those ordinates, following recommendations of Ooms and Hassler. An 
 option permits the disabling of these features for ready comparison with the standard
 GPH regression. 
Series: Statistical Software Components
Number: R980223
Creation-Date: 19980223
Size: 100 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/ratsl/gph_seas.src
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:R980223

Template-Type: ReDIF-Software 1.0
Title: HAUSMAN: Stata module to compute a Hausman test statistic 
Author-Name: Jeroen Weesie
Author-Email: socw23@Weesie.fsw.ruu.nl
Programming-Language: Stata
Abstract: hausman computes a Hausman test-statistic H for a hypothesis Ho. The test 
 is based on the difference between two estimates b1 and b2. Under Ho, b1 is 
 assumed to be consistent and efficient estimate with asymptotic covariance 
 matrix V1. The alternative estimator b2, with asymptotic covariance matrix 
 V2, is consistent --but usually inefficient--both under Ho and the alternative
 hypothesis Ha.  
Series: Statistical Software Components
Number: S323502
Creation-Date: 19971022
Size: 380 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hausman.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hausman.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S323502

Template-Type: ReDIF-Software 1.0
Title: OCRATIO: Stata modules to fit continuation-ratio models on ordinal response data
Author-Name: Rory Wolfe
Author-Email: wolfer@cryptic.rch.unimelb.edu.au
Author-WorkPlace-Name: Royal Children's Hospital, Parkville, Victoria
Author-WorkPlace-Postal: CEB Unit, Dept of Paediatrics, Royal Children's Hospital, Parkville, Vic.  3052 Australia      
Programming-Language: Stata
Abstract: ocratio fits models based on continuation-ratio probabilities to ordinal 
 responses (using maximum-likelihood). Three models are available using the
 logit, probit and complementary-log-log (f(x)=log[-log(1-x)]) functions.
 These models are an alternative to the models based on cumulative 
 probabilities fitted by ologit and oprobit. ocratio also enables the 
 fitting of a "ocloglog" model by using the cumulative option. 
 This is possible because the "ocloglog" model is equivalent to the
 continuation-ratio complementary-log-log.
Series: Statistical Software Components
Number: S334801
Creation-Date: 19980216
Size: 354 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ocratio.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ocrpred.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ocratio.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S334801

Template-Type: ReDIF-Software 1.0
Title: SPIKEPLT: Stata module to generate spike plot showing fine structure of the data
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Author-Name: Tony Brady
Author-Email: t.brady@rpms.ac.uk
Author-WorkPlace-Name: Royal Postgraduate Medical School
Programming-Language: Stata
Abstract: spikeplt produces a spike plot, histogram or rootogram for varname
 that will show some of the fine structure of the data. varname is
 plotted on the x-axis. The frequency of each value, after any rounding,
 and applying any weight, is shown by a vertical spike drawn from a
 reference level (by default 0). If used to produce histograms, the default 
 is to show raw frequencies in each bin or interval. In contrast to 'graph, histogram', 
 there is no restriction to a maximum of 50 bins, and a few hundred spikes may be
 tolerable, especially if there are interesting gaps, clusters or
 preferred values. Berry uses the name `spike chart' for
 this kind of histogram. If used to produce time series plots, the varname would be the time
 variable, and the weight variable would be the values for those times. Chapman and Mahon 
 used the  name `spike graph' for such a plot.This is version 1.6.2 of the software.
Keywords: graphics, spike plots, histograms, rootograms, time series, frequency distributions
Series: Statistical Software Components
Number: S321001
Creation-Date: 19980211
Size: 101 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/spikeplt.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/spikeplt.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S321001

Template-Type: ReDIF-Software 1.0
Title: NBINREG: Stata module to estimate negative binomial regression models
Author-Name: Joseph Hilbe
Author-Email: hilbe@asu.edu
Author-WorkPlace-Name: Arizona State University
Programming-Language: Stata
Abstract: Here is the first version of a maximum liklihood negative binomial
 with cluster, robust, and score options. Initial values are
 calculated my a call to poisson. Two scores are produced: 1)
 the normal B-based scores, and 2) the score based on the alpha parameter.
 The latter score necessitates a digamma function, which is 
 approximated here until a formal one is developed by Statacorp. I have not added 
 the comparison with Poisson here, but it takes only a little extra code. Otherwise, 
 the output is the same as other ML algorithms. A caveat: if the true value of alpha 
 is close to 0, then the model is really Poisson. There may be convergence problems. 
 This is true with any NB type program. Actually, when modeling it is probably best 
 to start with Poisson - and if found to be overdispersed then use the NB. 
 The value of the robust option here is quite important. It may be 
 quite likely that an instance of overdispersed Poisson data is not
 truly negative binomial either. A clustering effect, for instance,
 which may cause overdispersion, may not take a gamma shape. If so,
 then the robust options becomes important.
Series: Statistical Software Components
Number: S334001
Creation-Date: 19980208
Size: 135 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/nbinreg.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/nbinlf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/nbinreg.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S333901

Template-Type: ReDIF-Software 1.0
Title: MOVSUMM: Stata module to produce moving summaries of variables
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: movsumm produces a new variable containing moving summaries of varname
 for overlapping windows of specified length. Possible summaries are those produced by 
 summarize and  saved in _result( ). It is the user's responsibility to place observations 
 in the appropriate sort order first. fweights and aweights are allowed. This is 
 version 1.1.0 of the software.
Keywords: generating variables, time series, smoothing, summarize
Series: Statistical Software Components
Number: S333601
Creation-Date: 19980204
Size: 56 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/movsumm.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/movsumm.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S333601

Template-Type: ReDIF-Software 1.0
Title: GRAND: Stata modules to compute grand mean and dummies for differences
Author-Name: Vince Wiggins
Author-Email: vwiggins@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840   USA
Programming-Language: Stata
Abstract: For use after fit to present a set of indicator/dummy variables in a "grand
 mean" and difference from the "grand mean" form.  The specified list of
 variables (indicator_variable_list) must be orthogonal and completely span the
 space.  The model estimated by fit must include the complete list of indicator
 variables that fully span space.  Use the hascons or nocons on fit to
 allow the full set of indicators to be included in the model. This is version 1.01 of 
 this software.
Series: Statistical Software Components
Number: S333502
Creation-Date: 19980203
Size: 224 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/grand.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/grand.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S333502

Template-Type: ReDIF-Software 1.0
Title: GMCI: Stata module to calculate geometric means and their confidence intervals
Author-Name: John Carlin
Author-Email: j.carlin@medicine.unimelb.edu.au
Author-WorkPlace-Name: Royal Children's Hospital, Melbourne
Programming-Language: Stata
Abstract: gmci Calculates geometric means, and level-specified confidence intervals,
 for one, or several variables at a time. This software is now available in Stata 
 Technical Bulletin STB-41, January 1998.
Series: Statistical Software Components
Number: S332301
Creation-Date: 19980122
Size: 102 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gmci.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gmci.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S332301

Template-Type: ReDIF-Software 1.0
Title: FOR211: Stata modules to document features of for and extend the for command 
Author-Name: Patrick Royston
Author-Email: proyston@rpms.ac.uk
Author-WorkPlace-Name: Royal Postgraduate Medical School
Programming-Language: Stata
Abstract: Various features and options of -for- in Stata 5.0 are not
 documented either in the help file or in the manual. The help in
 for211.hlp provides (unofficial) documentation. Anyone using the
 forundoc.hlp or for210.hlp previously posted on this list should please consider 
 that _superseded_ by for211.hlp, irrespective of whether they use 
 -for211-. -for211- fixes some small bugs in -for-, particularly with 
 regard to the specification of list types through the l( ) option. 
 There is also a new -numeric- option. Unlike its now-obsolete predecessor -for210-,
 -for211- now supports the use of multiple quotes in any Stata command. 
Series: Statistical Software Components
Number: S331601
Creation-Date: 19980115
Size: 394 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/for211.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/for211.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S331601

Template-Type: ReDIF-Software 1.0
Title: NONCENT: Stata module to compute probabilities from noncentral t distribution 
Author-Name: Thomas Steichen 
Author-Email: STEICHT@RJRT.com
Programming-Language: Stata
Abstract: noncent computes probabilities from the cumulative non-central t 
 distribution from negative infinity to t for positive, integer
 degrees of freedom, df, and noncentrality parameter, delta.
Series: Statistical Software Components
Number: S331101
Creation-Date: 19971209
Size: 172 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/noncent.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/noncent.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S331101

Template-Type: ReDIF-Software 1.0
Title: HETPROB: Stata module to estimate heteroskedastic probit model
Author-Name: William Gould
Author-Email: wgould@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: hetprob estimates heteroskedastic corrected probits. If you type
 hetprob y x1 x2 x3, variance(z1 z2), hetprob estimates b0, b1, b2, b3, g1, and g2 of
 Pr(y~=0) = F( b0 + b1*x1 + b2*x2 + b3*x3 where
 s2 = exp(g1*x1 + g2*z2) ), so that Pr(y~=0)
 = F( [b0 + b1*x1 + b2*x2 + b3*x3] / exp[(g1*x1 + g2*x2)] )
Series: Statistical Software Components
Number: S331002
Creation-Date: 19980108
Size: 102 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hetprob.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hetpr_lf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hetprob.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S331002

Template-Type: ReDIF-Software 1.0
Title: TABLAB: Stata module to autocrosstabulate a variable
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: tablab takes a variable and cross-tabulates it with a copy of itself.
 This may be useful if and only if the variable is a labelled numeric
 variable and you wish to examine its labelled and unlabelled versions
 simultaneously.
Keywords: tabulations, labels
Series: Statistical Software Components
Number: S331001
Creation-Date: 19980108
Size: 14 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tablab.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/tablab.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S331001

Template-Type: ReDIF-Software 1.0
Title: SSSPLOT: Stata module to generate seasonal subseries plots
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: sssplot produces a graph of datavar by monthvar and yearvar. In
 practice datavar may be raw data or the seasonal component of such data. The 
 descriptors monthvar and yearvar are used for concreteness. The plot
 may be useful whenever periods (e.g. years) are divided into a fixed
 number of shorter periods (e.g. months, quarters).
Keywords: graphics, time series, seasonal data
Series: Statistical Software Components
Number: S329601
Creation-Date: 19971223
Size: 105 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sssplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sssplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S329601

Template-Type: ReDIF-Software 1.0
Title: CENPOIS: Stata module to estimate censored maximum likelihood Poisson regression models
Author-Name: Joseph Hilbe
Author-Email: atjmh@asuvm.inre.asu.edu
Author-WorkPlace-Name: Arizona State University
Author-Name: Dean Judson
Author-Email: djudson@unr.edu
Author-Workplace-Name: University of Nevada, Reno 
Programming-Language: Stata
Abstract: cenpois estimates censored maximum likelihood Poisson regression models using
 Stata's ml method for estimation. Cases may be uncensored, left censored, or right 
 censored. It includes the cluster, robust, and score options.
Series: Statistical Software Components
Number: S329101
Creation-Date: 19971217
Size: 81 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cenpois.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cnpoislf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/cenpois.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S329101

Template-Type: ReDIF-Software 1.0
Title: TRPOIS0: Stata module to estimate zero-truncated Poisson regression models
Author-Name: Joseph Hilbe
Author-Email: atjmh@asuvm.inre.asu.edu
Author-WorkPlace-Name: Arizona State University
Programming-Language: Stata
Abstract: trpois0 estimates maximum likelihood zero-truncated Poisson regression models using
 Stata's ml method for estimation. A 0-truncated Poisson model is appropriate when 
 modeling count data which does not have values of 0. This is to be distinguished from
 data sets without 0 values, but which may have 0's. For example, length of hospital 
 stay data (LOS) begins with patients having a LOS of 1. 0 values are not allowed. 
 This is a situation where a truncated model is appropriate. trpois0 implements 
 the cluster, robust, and score options.
Series: Statistical Software Components
Number: S329001
Creation-Date: 19971217
Size: 100 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/trpois0.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/trpoislf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/trpois0.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S329001

Template-Type: ReDIF-Software 1.0
Title: POISML: Stata module to estimate maximum likelihood Poisson regression models
Author-Name: Joseph Hilbe
Author-Email: atjmh@asuvm.inre.asu.edu
Author-WorkPlace-Name: Arizona State University
Programming-Language: Stata
Abstract: poisml estimates maximum likelihood Poisson regression models using
 Stata's ml method for estimation. It includes the cluster, robust, and score options.
Series: Statistical Software Components
Number: S328902
Creation-Date: 19971216
Size: 100 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/poisml.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mypoislf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/poisml.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S328902

Template-Type: ReDIF-Software 1.0
Title: _GPCRANK: Stata module to generate transformation of rank
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: egen newvar = pcrank(var) computes 100 * (i - a)/(n - 2a + 1) from rank i
Keywords: generating variables, ranks, egen
Series: Statistical Software Components
Number: S328901
Creation-Date: 19971216
Size: 25 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_gpcrank.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S328001

Template-Type: ReDIF-Software 1.0
Title: MKSTRSN: Stata modules to format Social Security number variables
Author-Name: William Gould
Author-Email: wgould@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: mkstrsn and mkdashsn make string variables (without and with dashes, 
 respectively) from a nine-digit variable containing a Social Security number. 
 The commands have the syntax mkstrsn newvar oldvar and mkdashsn newvar oldvar.
Series: Statistical Software Components
Number: S328601
Creation-Date: 19971212
Size: 39 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mkstrsn.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/mkdashsn.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S328601

Template-Type: ReDIF-Software 1.0
Title: COLLFREQ: Stata module to generate combinations of variables and their associated frequencies
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: Given varlist, collfreq produces a new data set consisting of all
 combinations of varlist that exist in the data together with a new
 variable that contains the frequency of each combination.
Keywords: generating variables, categorical data, collapse
Series: Statistical Software Components
Number: S328401
Creation-Date: 19971209
Size: 46 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/collfreq.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/collfreq.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S328401

Template-Type: ReDIF-Software 1.0
Title: GOLOGIT: Stata module to estimate generalized ordered logit models
Author-Name: Vincent Kang Fu
Author-Email: vfu@ucla.edu
Author-WorkPlace-Name: UCLA
Programming-Language: Stata
Abstract: The gologit command estimates regression models for ordinal dependent variables. 
 The actual values taken on by the dependent variable are irrelevant except
 that larger values are assumed to correspond to "higher" outcomes. The 
 ologit command included with Stata imposes what is called the 
 proportional odds assumption on the data. The gologit model relaxes the 
 proportional odds assumption and allows the effects of the explanatory 
 variables to vary with the point at which the categories of the dependent 
 variable are dichotomized. Version 1.0.1, revised 7 December 1997.
Series: Statistical Software Components
Number: S327701
Creation-Date: 19971203
Size: 258 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gologit.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/goll.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/gologit.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S327701

Template-Type: ReDIF-Software 1.0
Title: VALLAB: Stata module to pack values and labels into a new string variable
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: vallab takes a labelled numeric variable and packs its numeric values
 and their associated labels into a new string variable. The result may be useful 
 for tabulation.
Keywords: tabulations, labels, string variables
Series: Statistical Software Components
Number: S327601
Creation-Date: 19971202
Size: 28 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vallab.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vallab.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S327601

Template-Type: ReDIF-Software 1.0
Title: HIST2: Stata module to graph a histogram with integer-coded categorical variables
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: hist2 graphs a histogram of varname, the result being quite similar to
 graph varname , histogram .  hist2 , however, is intended for use with integer-
 coded categorical variables. The x-axis is automatically labeled and those
 labels are centered below the corresponding bar. hist2 differs from hist 
 in that each title ( l1 l2 r1 r2 t1 t2 b1 b2 title ) may be blanked out if 
 a period "." is given as argument.
Keywords: graphics, histograms, categorical data, hist
Series: Statistical Software Components
Number: S327501
Creation-Date: 19971201
Size: 82 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hist2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hist2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S327501

Template-Type: ReDIF-Software 1.0
Title: SPARL: Stata module to produce scatter plot and y-x regression line
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: sparl produces a scatter plot and regression line for yvar predicted
 from xvar. The data are yvar and xvar and the regression equation is by default 
 ypred = a + b xvar. The options logx, logy, power and quad allow the use of
 logarithmic transforms and the fitting of quadratics. The scatter plot is basically 
 graph yvar ypred ypred xvar. This is version 1.5.5 of the software.
Keywords: graphics, scatter plot, regression
Series: Statistical Software Components
Number: S327001
Creation-Date: 19971126
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sparl.ado
File-Format: text/plain
File-Size: 176 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sparl.hlp
File-Format: text/plain
File-Size: 203 lines
File-Function: help file
Handle: RePEc:boc:bocode:S327001

Template-Type: ReDIF-Software 1.0
Title: BLOGIT2: Stata module to produce grouped data logit with support for in
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: The blogit2 command duplicates the actions of blogit but allows for
 an in clause.
Keywords: binary response, logit, blogit
Series: Statistical Software Components
Number: S326801
Creation-Date: 19971124
Size: 45 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/blogit2.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S326801

Template-Type: ReDIF-Software 1.0
Title: ISTDIZE: Stata module to generate indirectly standardized rates using a standard population
Author-Name: Mario Cleves
Author-Email: mcleves@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: istdize produces indirectly standardized rates using a standard population.
 This standardization methods is indicated in situations where the
 stratum-specific rates for the population being studied are either unavailable
 or are based on small numbers and thus unreliable. The standardization
 utilizes the stratum-specific rates of a standard population to calculate the
 expected number of cases in the study population(s), sums them and then
 compares them to the actual number of cases observed. The standard
 population's information must be contained in another Stata data file and
 specified via using on the command line.
Series: Statistical Software Components
Number: S328201
Creation-Date: 19971208
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/istdize.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/istdize.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S328201

Template-Type: ReDIF-Software 1.0
Title: ELAPSE: Stata module to calculate elapsed time in procedure 
Author-Name: Fred Zimmerman
Author-Email: zimmer@leland.Stanford.EDU
Author-WorkPlace-Name: Stanford University
Programming-Language: Stata
Abstract: Elapse displays a string with the name of the operation, 
 if specified, and the time elapsed between start_time and current time.
Series: Statistical Software Components
Number: S3257001
Creation-Date: 19971113
Size: 90 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/elapse.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/elapse.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S325701

Template-Type: ReDIF-Software 1.0
Title: BLOCKMAT: Mathematica package to handle block matrix operations
Author-Name: David A. Belsley
Author-Email: belsley@bc.edu
Author-WorkPlace-Name: Boston College
Programming-Language: Mathematica
Abstract: BlockMatrix.m provides the Kronecker product, Vec operator,
 Adjoin, BlockDiagonal and BlockMatrix functions, particularly useful in econometric
 applications of systems estimation. Unlike Outer[], which creates
 four-dimensional tensors, KroneckerProduct[] produces the two-dimensional result
 expected in econometrics.
Series: Statistical Software Components
Number: M6B2301
Creation-Date: 19961123
Size: 102 lines
File-URL: ftp://ftp.bc.edu/pub/user/belsley/mma/BlockMat.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:M6B2301

Template-Type: ReDIF-Software 1.0
Title: METRICS: Mathematica package of econometric tools
Author-Name: David A. Belsley
Author-Email: belsley@bc.edu
Author-WorkPlace-Name: Boston College
Programming-Language: Mathematica
Abstract: Econometrics.m provides OLS regression, instrumental variables and
 two-stage least squares, Theil mixed estimation, White standard errors, 
 handles lags and differences, and performs the Belsley et al. regression diagnostics.
 This package is fully documented in the book "Economic and Financial Modeling 
 with Mathematica", Hal Varian, editor, published by TELOS/Springer-Verlag, 1993, 
 ISBN 0-387-97882-8. 
Series: Statistical Software Components
Number: M6B2302
Creation-Date: 19961123
Size: 1126 lines
File-URL: ftp://ftp.bc.edu/pub/user/belsley/mma/Metrics.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:M6B2302

Template-Type: ReDIF-Software 1.0
Title: STATUTIL: Mathematica package of statistical utilities
Author-Name: David A. Belsley
Author-Email: belsley@bc.edu
Author-WorkPlace-Name: Boston College
Programming-Language: Mathematica
Abstract: StatUtil.m provides Gaussian, multivariate Gaussian, F-tests, covariance
 and correlation matrices, as well as a number of building blocks useful when working
 with data in Mathematica.
Series: Statistical Software Components
Number: M6B2303
Creation-Date: 19961123
Size: 296 lines
File-URL: ftp://ftp.bc.edu/pub/user/belsley/mma/StatUtil.m
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:M6B2303

Template-Type: ReDIF-Software 1.0
Title: LOOPPLOT: Stata modules to generate scatter plots with loops
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: loopplot produces a scatter or twoway plot for varlist, in which
 connect(l) has the effect of producing a loop: the last data point is
 joined to the first. This is achieved by temporarily appending one or more
 extra observations to the data set that copy the first relevant non-missing
 observation for each loop.
Keywords: graphics, scatter plots, closed loops
Series: Statistical Software Components
Number: S325001
Creation-Date: 19971105
Size: 50 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/loopplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/loopplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S325001

Template-Type: ReDIF-Software 1.0
Title: UNIVAR: Stata module to generate univariate summary with box-and-whiskers plot
Author-Name: John R. Gleason
Author-Email: loesljrg@ican.net
Author-WorkPlace-Name: Syracuse University
Programming-Language: Stata
Abstract: univar displays a univariate summary of each variable in varlist, using a
 horizontal format resembling that of summarize without the detail option.
 However, the output includes a five-number summary (minimum, 25th, 50th, 75th percentiles, 
 and maximum) normally available only with the detail option of
 summarize. This is version 1.1.2 of univar, updating the version in STB-36, as corrected
 in Statalist Digest v3n249.
Series: Statistical Software Components
Number: S324801
Creation-Date: 19971103
Size: 137 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/univar.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/univar.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S324801

Template-Type: ReDIF-Software 1.0
Title: LABSUMM: Stata module to generate summary table with variable labels
Author-Name: Thomas Steichen 
Author-Email: STEICHT@RJRT.com
Programming-Language: Stata
Abstract: program labsumm.ado generates standard summarize
 output but with variable labels in place of variable names (if the label
 exists). This program will not accept the detail or meanonly options, nor
 will it work with the 'by varlist:' prefix (you could use Patrick
 Royston's byvar, published in STB-27 to get around this limitation). The program 
 will accept the format option but if the display format is
 wider than 10 characters then the column headers will not align with the
 statistics below. Lastly, although it will correctly compute weighted statistics, it will
 not display a column containing the weight.
Series: Statistical Software Components
Number: S324503
Creation-Date: 19971031
Size: 69 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/labsumm.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S324503

Template-Type: ReDIF-Software 1.0
Title: SUMMVL: Stata module to generate summary table with variable labels
Author-Name: Jeroen Weesie
Author-Email: socw23@Weesie.fsw.ruu.nl
Programming-Language: Stata
Abstract: summvl displays the undetailed summary statistics of varlist, along with the 
 variable labels truncated to 29 chars. total reports the (weighted) totals and 
 the minimum and maximum value of each variable in varlist, along with the variable labels.
Series: Statistical Software Components
Number: S324502
Creation-Date: 19971031
Size: 74 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/summvl.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/summvl.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S324502


Template-Type: ReDIF-Software 1.0
Title: SVYMLOG: Stata module for mlogit in survey data
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: This is the survey version of mlogit: svymlog, as well as corrected ado files for
 svyolog and svyoprob, which were posted previously, and a new version of svylc 
 that is compatible with svymlog, svyolog, and svyoprob. These files are now part of the
 official Stata update and should be obtained from StataCorp.
Series: Statistical Software Components
Number: S324301
Creation-Date: 19971029
Handle: RePEc:boc:bocode:S324301

Template-Type: ReDIF-Software 1.0
Title: SERRBAR2: Stata modules to generate standard error bar charts
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: serrbar2 graphs by default a standard error bar chart for meanvar
 and sdvar versus xvar where meanvar and sdvar are the means and the
 standard deviations of some variable. It extends serrbar.
Keywords: graphics, error bar plots, serrbar
Series: Statistical Software Components
Number: S324201
Creation-Date: 19971028
Size: 19 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/serrbar2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/serrbar2.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S324201

Template-Type: ReDIF-Software 1.0
Title: VPLPLOT: Stata modules to generate paired data plots
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: vplplot plots paired data for var1 and var2 using parallel
 vertical lines to show the differences between values. var1 and var2
 are on the vertical axis. Normally var1 and var2 will have the same
 units. This is version 1.3.0 of the software.
Keywords: graphics, parallel line plots, paired data
Series: Statistical Software Components
Number: S323801
Creation-Date: 19971024
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vplplot.ado
File-Format: text/plain
File-Size: 39 lines
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/vplplot.hlp
File-Format: text/plain
File-Size: 57 lines
File-Function: help file
Handle: RePEc:boc:bocode:S323801

Template-Type: ReDIF-Software 1.0
Title: SDTEST: Corrected Stata modules sdtest, sdtesti
Author-Name: Bill Sribney
Author-Email: wsribney@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: These are versions of sdtest.ado, sdtesti.ado, and _ttest.ado 
 which correct errors in the one-tailed p-values introduced in Stata 5.0. They
 must be placed in the 'official' Stata:ado directory (not in any of its subdirectories):
 C:\STATA\ADO in Wintel, :Stata:ado in Macintosh, /usr/local/stata/ado for UNIX.
Series: Statistical Software Components
Number: S323701
Creation-Date: 19971023
Size: 814 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sdtest.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/sdtesti.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/_ttest.ado
File-Format: text/plain
File-Function: program code
Handle: RePEc:boc:bocode:S323701

Template-Type: ReDIF-Software 1.0
Title: IIA: Stata module to test the iia assumption in conditional logistic regression 
Author-Name: Jeroen Weesie
Author-Email: socw23@Weesie.fsw.ruu.nl
Programming-Language: Stata
Abstract: Estimates McFadden's discrete choice model (with clogit) and subsequently 
 performs Hausman tests for the assumption of 'independence of irrelevant 
 alternatives' (IIA) for each of the alternatives. iia can also be used in more 
 general contexts where the conditional maximum-likelihood estimator for the 
 logistic regression model (e.g., the rasch model of item-response theory). Warning: these
 modules are a work in progress. 
Series: Statistical Software Components
Number: S323501
Creation-Date: 19971022
Size: 380 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/iia.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hausman.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/iia.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/hausman.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S323501

Template-Type: ReDIF-Software 1.0
Title: DUPS: Stata module to identify and optionally remove duplicate observations
Author-Name: Thomas Steichen 
Author-Email: STEICHT@RJRT.com
Programming-Language: Stata
Abstract: dups provides information about unique and duplicate observations
 in the dataset and, optionally, drops all duplicate observations. varlist
 is an optional variable list that determines which observations are duplicates 
 (observations must match exactly on all variables in the list to be duplicates). 
 If no varlist is given, then all variables in the dataset are used to determine 
 duplicates. drop is a command line option that causes duplicate observations 
 to be dropped from the dataset.
Series: Statistical Software Components
Number: S322901
Creation-Date: 19971015
Size: 117 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dups.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/dups.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S322901

Template-Type: ReDIF-Software 1.0
Title: REG3: Stata modules to perform three-stage least squares and SURE
Author-Name: Vince Wiggins
Author-Email: vwiggins@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: This is version 1.06 (11 June 1998) of a three-stage least squares command. 
 reg3 introduces a new (trial) syntax for multiple equation models.
 You could estimate a pair of equations by typing 
    reg3 (y1 y2 x1 x2 x3) (y2 y1 x1 x4 x5)
 or you could define equations, 
    eq y1 y2 x1 x2 x3
    eq y2 y1 x1 x4 x5
    reg3 y1 y2
 The parens tell reg3 that you are specifying the variables (lhs followed by 
 rhs). Without parens, you are specifying equation names. You can even 
 mix and match syntax:
    eq y1 y2 x1 x2 x3
    reg3 y1 (y2 y1 x1 x4 x5)
 -reg3- does not currently support weights or robust standard errors. It does
 support constraints. In fact, it can be used to estimate constrained
 seemingly unrelated regression (-sureg-) models.
    eq y1 y2 x1 x2 x3
    eq y2 y1 x1 x4 x5
    constraint define 1 [y1]x1 = [y2]x1
    reg3 y1 y2, constraints(1)
 I have tested the command on several problems but it is not yet fully
 certified, so please do report any problems to me personally. This revision contains a 
 new 'dfols' option for small-sample degrees of freedom corrections and the capability to 
 iterate on the covariance matrix of the errors. The help file contains examples
 from Klein's Model I; the data for that model are downloadable below.
Series: Statistical Software Components
Number: S322201
Creation-Date: 19971023
Size: 807 lines
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/reg3.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/reg3.hlp
File-Format: text/plain
File-Function: help file
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/klein.do
File-Format: text/plain
File-Function: test data from Klein Model I
Handle: RePEc:boc:bocode:S322201


Template-Type: ReDIF-Software 1.0
Title: ALLCROSS: Stata modules to create variables corresponding to moment matrices
Author-Name: Kenneth Higbee
Author-Email: khigbee@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: allcross creates variables corresponding to the cross-products and squares of
 the variables in varlist. The names of the created variables are formed by
 concatenating the names in varlist involved in the cross-product term. 
Series: Statistical Software Components
Number: S321601
Creation-Date: 19971002
Size: 1 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/allcross.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/allcross.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S321601

Template-Type: ReDIF-Software 1.0
Title: OMODEL: Stata modules to perform tests on ordered probit and ordered logit models
Author-Name: Rory Wolfe
Author-Email: wolfer@cryptic.rch.unimelb.edu.au
Author-WorkPlace-Name: Royal Children's Hospital, Parkville, Victoria
Author-WorkPlace-Postal: CEB Unit, Dept of Paediatrics, Royal Children's Hospital, Parkville, Vic. 3052 Australia      
Programming-Language: Stata
Abstract: omodel.ado and omodel.hlp can be used to
 perform a test of the assumption of constancy of effects across categories
 assumed in models fitted by ologit or oprobit. omodel is an alternative to ologit 
 and oprobit for estimating ordered logit and probit models. It produces the same 
 results but it also reports an approximate likelihood-ratio test of whether the coefficients 
 are equal across categories (i.e. a test of the proportional-odds assumption if logit is the
 requested model). 
Series: Statistical Software Components
Number: S320901
Creation-Date: 19970925
Size: 4 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/omodel.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/omodel.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320901

Template-Type: ReDIF-Software 1.0
Title: SYMMETRY: Stata modules to perform tests of symmetry for NxN contingency tables
Author-Name: Mario Cleves
Author-Email: mcleves@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: Here is an ado file and a help file for calculating asymptotic
 and exact tests of symmetry for NxN contingency tables from dependent samples.
 This test is known in genetics as the TDT test. "symmetry" performs symmetry and 
 marginal homogeneity tests on square NxN
 tables where there is a 1 to 1 matching of cases and controls (non-independence). 
Series: Statistical Software Components
Number: S320802
Creation-Date: 19970924
Size: 8 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/symmetry.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/symmetry.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320802

Template-Type: ReDIF-Software 1.0
Title: STACK: Stata module to stack datasets
Author-Name: William Gould
Author-Email: wgould@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: I made some changes to -stack-.
 The first thing I added was the ability for -into()- to understand dash
 notation to mean a variable range, so you can type things like 
    . stack a b c d e f, into(v1-v3)
 With that change, one could type 
    . stack 250+vars95 250+vars96, into(v1-v257) clear 
 I added an alternative to the
 - -into()- option: -group()-. The new -stack- understands
    . stack a b c d e f, group(3)
 as an alternative to 
    . stack a b c d e f, into(a b)
 - -group(#)- means there are to be # groups and the variable names are to 
 obtained from the first group. (-stack- always allowed the new variables 
 it created to be named the same as existing variables.)
 So with this, one can type 
    . stack 250+vars95 250+vars96, group(2)
 and the resulting 250+ variables will have the same names as the 250+ vars95.
 The new -stack- will appear in STB-40.
 Both stack.ado and stack.hlp are to be copied into the *OFFICIAL* ado-directory. 
Series: Statistical Software Components
Number: S320501
Creation-Date: 19970920
Size: 5 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stack.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/stack.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320501


Template-Type: ReDIF-Software 1.0
Title: ACPLOT: Stata module to plot the autocorrelogram
Author-Name: Nicholas J. Cox
Author-Email: N.J.Cox@durham.ac.uk
Author-WorkPlace-Name: University of Durham
Programming-Language: Stata
Abstract: I tinkered with Sean Becketti's original -ac- program. The -acplot- below
 has some extra features. The program displays and prints the correlogram of a series.
Keywords: graphics, time series, autocorrelation, correlogram
Series: Statistical Software Components
Number: S320302
Creation-Date: 19970918
Size: 4 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/acplot.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/acplot.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320302

Template-Type: ReDIF-Software 1.0
Title: BIPROB/SUPROB: Stata modules to perform bivariate and nested probit estimation
Author-Name: James W. Hardin
Author-Email: jwh@stata.com
Author-WorkPlace-Name: Stata Corporation
Author-WorkPlace-Postal: Stata Corporation, 702 University Drive East, College Station, Texas 77840 USA
Programming-Language: Stata
Abstract: Here are updated versions of the programs that appeared in the Stata Technical
 Bulletin (STB-33 sg61). I have not yet added weights to these programs (another poster asked about
 this), but here are the latest versions that I have. The additions/changes to these versions 
 from those in the STB include a LR test of the correlation parameter in the case of 
 bivariate probit and that the correlation is parameterized using the inverse hyperbolic tangent
 in order to prevent the optimizer from wandering out of the parameter space. 
 In any event, the models allowed by these commands include (1) bivariate probit, 
 (2) seemingly unrelated probit [generalizes bivariate probit so that each dependent 
 variable may have a different list of covariates] and (3) nested probit
 [one outcome is only observed if the other is equal to one (or zero)].
Series: Statistical Software Components
Number: S320101
Creation-Date: 19970916
Size: 7 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biprob.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/suprob.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/bipr_l2.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/bipr_lf.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/biprob.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S320101

Template-Type: ReDIF-Software 1.0
Title: RALLOC: Stata module to design randomized controlled trials
Author-Name: Philip Ryan
Author-Email: pryan@medicine.adelaide.edu.au
Author-WorkPlace-Name: University of Adelaide
Author-WorkPlace-Postal: Department of Public Health, University of Adelaide, South Australia
Programming-Language: Stata
Abstract: Here is a program (ralloc.ado) and help file (ralloc.hlp) that may be useful
 for those designing randomised controlled trials. It allocates treatments at
 random in blocks of varying sizes. Randomising in blocks helps ensure
 balance in the proportions of treatments allocated, especially if the time
 for subject recruitment cannot be known in advance. Trials may have 2, 3 or
 4 treatment arms. If only 2 treatments, one can allocate treatments in the
 ratio of 1:1, 1:2 or 1:3. If 3 or 4 treatments then only a 1:1 ratio is
 allowed. One can choose from 3 to 7 different block sizes and start the
 sizing from a user-chosen point. Block sizes may be allocated equally or (to
 avoid too many small or large blocks) in the proportions of elements of
 Pascal's triangle. Blocks are randomly shuffled so that "breaking the
 blind" by figuring out the blocking pattern is very difficult.
 One feature of ralloc is that the data file the program creates saves with
 it a series of notes that document the randomisation protocol. Without
 necessarily completely understanding how it does it, Stata's notes command
 allows one to time-and-date-stamp a note using " TS " as a global macro. I
 have extracted bits of this code, copy user-supplied options of the ralloc
 command into global macros, then pass these macros to the notes code.
Series: Statistical Software Components
Number: S319901
Creation-Date: 19970913
Size: 9 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ralloc.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/ralloc.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S319901

Template-Type: ReDIF-Software 1.0
Title: STRIP: Stata module to strip unwanted characters
Author-Name: P.T.Seed
Author-Email: P.Seed@umds.ac.uk
Author-WorkPlace-Name: United Medical & Dental School
Author-WorkPlace-Postal: Department of Public Health Medicine, Block 8 (South Wing), 
 St. Thomas's Hospital, Lambeth Palace Road, London SE1 7EH
Programming-Language: Stata
Abstract: strip removes unwanted characters (usually punctuation marks) 
 from string variables, and saves the transformed string as a 
 new variable. Uses include: converting numbers formatted with commas
 to ordnary strings, standardising codes that sometimes include spaces.
 Tidying up various types of messy data entry.
Series: Statistical Software Components
Number: S319701
Creation-Date: 19970911
Size: 2 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/strip.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/strip.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S319701

Template-Type: ReDIF-Software 1.0
Title: WHITE: Stata module to perform White's test for heteroscedasticity
Author-Name: Jeroen Weesie
Author-Email: socw23@Weesie.fsw.ruu.nl
Programming-Language: Stata
Abstract: htest, szroeter, and white provide tests for the assumption of 
 the linear regression model that the residuals e are homoscedastic, 
 i.e., have constant variance. The tests differ with respect to the 
 specification of residual variances under the alternative hypothesis.
 white considers the general (unrestricted) alternative hypothesis 
 in which no assumptions is made on the residual variances (White 
 1980). szroeter considers the alternative hypothesis that the residual 
 variances are monotonically increasing in some variable (Szroeter 
 1978). htest performs standard score tests for H: b=0 for two parametric 
 forms of heteroscedasticity: multiplicative heteroscedasticity and
 random coefficient heteroscedasticity (REF). Warning: these
 modules are a work in progress. Note: the modules htest and szroeter
 are not currently available from IDEAS.
Series: Statistical Software Components
Number: S319401
Creation-Date: 19970908
Size: 3 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/white.ado
File-Format: text/plain
File-Function: program code
File-URL: ftp://ftp.bc.edu/pub/user/baum/statal/white.hlp
File-Format: text/plain
File-Function: help file
Handle: RePEc:boc:bocode:S319401

Template-Type: ReDIF-Software 1.0
Title: GPHROB: RATS modules to perform tests for fractional integration of timeseries
Author-Name: Christopher F Baum
Author-Email: baum@bc.edu
Author-WorkPlace-Name: Boston College
Author-WorkPlace-Postal: Boston College, Department of Economics, Chestnut Hill MA 02167 USA
Author-Name: John T. Barkoulas
Author-Email: barkoula@bcaxp1.bc.edu
Author-Workplace-Name: Louisiana Tech University
Programming-Language: RATS
Abstract: These procedures, written for RATS version 4.2/4.3, calculate the GPH 
 (Geweke & Porter-Hudak, 1983 J. Time Series Analysis) spectral regression estimator,
 the Robinson Gaussian semiparametric estimator (1995 Annals of Statistics) and the
 Robinson average periodogram long memory estimator (1994 Annals of Statistics)
 for fractional order of integration of a timeseries. Procedure GPH.SRC performs the test 
 for a single series, for a given power value, and prints the result.
 Procedure GPHFN.SRC performs the test on differenced data
 and returns its results. This is useful if you are calculating GPH tests 
 for a range of series and power values; you may then tabulate the results 
 in a matrix. Procedure RGSER.SRC, originally written by Rob Schoen, has been corrected from the 
 version posted on Estima's website. It implements Robinson's Gaussian semiparametric
 estimator. Program RAVPER.SRC, written by John Barkoulas, implements
 Robinson's average periodogram long memory estimator.
Series: Statistical Software Components
Number: R792001
Creation-Date: 19970920
Size: 6 Kb
File-URL: ftp://ftp.bc.edu/pub/user/baum/ratsl/GPHROB.zip
File-Format: application/bin/zipped
File-Function: program code
Handle: RePEc:boc:bocode:R792001


