p r2_mz module to compute McKelvey & Zavoina's R2 p r2o module to calculate an ordinal explained variation statistic p r2reg3 module to compute System R2, Adj. R2, F-Test, and Chi2-Test after reg3 or sureg p r2sem module to perform Overall System Structural Equation Modeling (SEM) R2, Adj. R2, F-Test, and Chi2-Test p radar module to draw radar (spider) plots p ralloc module to design randomized controlled trials p ralpha module to generate pseudo-random characters or words p ranktest module to test the rank of a matrix using the Kleibergen-Paap rk statistic p ranova module to estimate single factor repeated measures ANOVA p ranvar module to compute the random group variance estimator of the mean for survey data p raschcvt module to produce data in WINSTEPS format p raschpower module to estimate power of the Wald test in order to compare the means of the latent trait in two groups of individuals p raschtest module to estimate parameters of the Rasch model by CML, MML or GEE p raschtestv7 module to estimate parameters of the Rasch model by CML, MML or GEE (v7) p rbounds module to perform Rosenbaum sensitivity analysis for average treatment effects on the treated p rc2 module to estimate Goodman's Row and Columns model 2 p rc_spline module to generate restricted cubic splines p rcd module to run commands recursively p rcsgen module to generate restricted cubic splines and their derivatives p rcspline module for restricted cubic spline smoothing p rct_minim module to assign treatments to subjects in a controlled trial p rd module for regression discontinuity estimation p rdci module to calculate risk difference confidence intervals p rdplot module to graph residual distribution after regression-type command p rdpower module to perform power calculations for random designs p readlog module to read and process a file p recap module to perform capture-recapture analysis for three sources with Goodness-of-Fit based confidence intervals p recast2 module to change storage type of variable p reclink module to probabilistically match records p recode2 module to provide extended recode capabilities p reffadjust module to estimate adjusted regression coefficients for the association between two random effects variables p reffect module to compute Pearson's r Effect Size Computation for Analysis of Variance (ANOVA) p reformat module to reformat regression output p reg2hdfe module to estimate a Linear Regression Model with two High Dimensional Fixed Effects p reganat module to perform graphical inspection of linear multivariate models based on regression anatomy p regaxis module to make regular linear and logarithmic axis scales, ranges and tick lists p regdis module to control variables and decimals in regression displays p reglike module to calculate log-likelihood function value from regress p regoprob module to estimate random effects generalized ordered probit models p regoprob2 module to estimate random effects generalized ordered probit models (update) p regpar module to compute population attributable risks from binary regression models p regplot module to plot regression fit p regpred module to calculate linear regression predictions p regresby module to generate regression residuals by byvarlist p regsave module to save regression results to a Stata-formatted dataset p relrank module to generate relative data (grade transformation) p renames module to rename variables p renfiles module providing a convenient way to change filenames for (a matched subset of) files in a directory of choice p rensheet module to edit variable names and labels p reorder module to reorder variables in dataset, reversibly p reset module to calculate specification tests in regression analysis p reshape7 module to provide improved reshape p reshape8 module to reshape while preserving variable labels p reswage module to estimate a reservation wage model with endogenous selection p rev module to reverse value order of variables p revrs module to reverse variable value order p revv module to reverse value order of variables p reweight module for survey reweighting p rewrite module to rewrite text files from disk performing macro substitutions p rfl module to maintain lists of recently accessed files p rfregk module to estimate random-effects model with weights p rglm module to estimate robust generalized linear models p rgroup module for Random Group Variance Estimation p rhetplot module to graph residual heteroscedasticity after regression-type command p richness module to compute measures of income richness p ridder module to solve equation by Ridder's method p ridgereg module to compute Ridge Regression Models p rii module to perform Repeated-Imputation Inference p rmanova module to estimate repeated measures ANOVA p rmse module to calculate raw or adjusted RMSE (Root MSE) p rnd modules for random number generation p roblpr module to estimate long memory in a set of timeseries p robreg module providing robust regression estimators p robumeta module to perform robust variance estimation in meta-regression with dependent effect size estimates p rocmic module to estimate minimally important change (MIC) thresholds for continuous clinical outcome measures using ROC curves p rocss module to calculate ROC curve and other statistics for any classification method p rolling2 module to perform rolling window and recursive estimation p rollreg module to perform rolling regression estimation p roman module for handling Roman numerals and decimal equivalents p romantoarabic module for converting roman numerals to arabic numbers p rowranks module to create row ranks of a set of variables p rowsort module to row sort a set of integer variables p rpnfcn module to provide a Mata generic function evaluator based on Reverse Polish Notation p rrlogit module to estimate logistic regression for randomized response data p rrreg module to estimate linear probability model for randomized response data p rsource module to run R from inside Stata using an R source file p rtfutil module to provide utilities for writing Rich Text Format (RTF) files p rtnorm Mata module to produce truncated normal pseudorandom variates (Mata) p runmlwin module to run the MLwiN multilevel modelling software from within Stata p runmplus module to set up data for Mplus p running module for symmetric nearest neighbour smoothing p runningprod Mata module to obtain the running product of a vector p runparscale module to run PARSCALE from Stata p russ_stata tutorial in Russian p rvfplot2 module to produce residual-versus-fitted plot after regression-type command p rvlrplot module to plot residuals vs lagged residuals for time series data p rvpplot2 module to graph residual-versus-predictor plot after regression-type command