# HH v2.3-37

0

0th

Percentile

## Statistical Analysis and Data Display: Heiberger and Holland

Support software for Statistical Analysis and Data Display (Springer, ISBN 0-387-40270-5). This contemporary presentation of statistical methods features extensive use of graphical displays for exploring data and for displaying the analysis. The authors demonstrate how to analyze data---showing code, graphics, and accompanying computer listings---for all the methods they cover. They emphasize how to construct and interpret graphs, discuss principles of graphical design, and show how accompanying traditional tabular results are used to confirm the visual impressions derived directly from the graphs. Many of the graphical formats are novel and appear here for the first time in print. All chapters have exercises.

## Functions in HH

 Name Description ci.plot Plot confidence and prediction intervals for simple linear regression datasets Datasets for Statistical Analysis and Data Display, Heiberger and Holland F.curve plot a chisquare or a F-curve. arima.diag.hh Repair design error in S-Plus arima.diag as.likert Support functions for diverging stacked barcharts for Likert, semantic differential, and rating scale data. AEdotplot.data.frame AE (Adverse Events) dotplot of incidence and relative risk, support functions col.hh Initializing Trellis Displays panel.acf Panel functions for tsdiagplot. AEdotplot AE (Adverse Events) dotplot of incidence and relative risk plot.mmc.multicomp MMC (Mean--mean Multiple Comparisons) plot. multicomp.reverse Force all comparisons in a "multicomp" object to have the same sign. as.multicomp Support functions in R for MMC (mean--mean multiple comparisons) plots. ResizeEtc Display multiple independent trellis objects on the same coordinated scale. arma.loop Loop through a series of ARIMA models and display coordinated tables and diagnoastic graphs. panel.xysplom panel method for xysplom. if.R Conditional Execution for R or S-Plus hov Homogeneity of Variance GSremove Remove selected GraphSheetPages in the S-Plus Windows GUI Graphsheet axis.i2wt specialized axis function for interaction2wt. plot.hov Homogeneity of Variance Plot logit Logistic function and its inverse. interaction.positioned interaction method for positioned factors. diag.maybe.null Returns a value for the diagonal of NA and NULL arguments. ladder Draw a "ladder of powers" plot, plotting each of several powers of y against the same powers of x. panel.interaction2wt Plot all main effects and twoway interactions in a multifactor design glhtWithMCP.993 Retain averaging behavior that was previously available in glht. X.residuals Residuals from the regression of each column of a data.frame against all the other columns. panel.ci.plot Default Panel Function for ci.plot panel.cartesian trellis panel function, with labeled rows and columns and without strip labels. lmatRows Find the row numbers in the lmat corresponding to the focus factor. intxplot Interaction plot, with an option to print standard error bars. ResizeEtc.likertPlot Display multiple independent trellis objects, representing likert plots, on the same coordinated scale. aovSufficient Analysis of variance from sufficient statistics for groups. anovaMean ANOVA table from the group sample sizes, means, and standard deviations. mcalinfct MCA multiple comparisons analysis (pairwise) interaction2wt Plot all main effects and twoway interactions in a multifactor design regr1.plot plot x and y, with optional straight line fit and display of squared residuals multicomp.order Update a multicomp object by ordering its contrasts. likertMosaic Diverging stacked barcharts for Likert, semantic differential, rating scale data, and population pyramids based on mosaic as the plotting style. npar.arma Count the number of parameters in an ARIMA model specification. panel.dotplot.tb Dotplot with evenly spaced tiebreakers. orthog.complete Construct an orthogonal matrix which is an arbitrary completion of the column space of the input set of columns. export.eps Exports a graph to an EPS file. hh Resolve filenames relative to the HH directory. lm.case case statistics for regression analysis grid.yaxis.hh make x- and y-axis labels panel.bwplott Extension to S-Plus trellis to allow transposed plots. objip loop through all attached directories looking for pattern HH-package Support software for Statistical Analysis and Data Display by Richard M. Heiberger and Burt Holland lm.regsubsets Evaluate lm model with highest adjusted $R^2$. panel.bwplot.intermediate.hh Panel functions for bwplot. as.matrix.listOfNamedMatrices Convert a list of matrices to a single matrix mmc MMC (mean--mean multiple comparisons) plots. positioned-class Class "positioned", extends "ordered" to specify the position for graphing the levels of a factor. likert Diverging stacked barcharts for Likert, semantic differential, rating scale data, and population pyramids. extra Miscellaneous functions that I wish were in or consistent between S-Plus and R. LikertPercentCountColumns Display likert plots with percents in the first column of panels and counts in the second column of panels. defunct Defunct Functions in Package 'HH' ancova Compute and plot oneway analysis of covariance tsdiagplot Times series diagnostic plots for a structured set of ARIMA models. seqplot Time series plot. summary.arma.loop summary and print and subscript methods for tsdiagplot and related objects. seqplot.forecast seqplot with confidence bands for the forecast region. ae.dotplot AE (Adverse Events) dotplot of incidence and relative risk strip.xysplom strip function that is able to place the correlation or regression coefficient into the strip label. panel.pairs.hh Function based on S-Plus panel.pairs to add the subpanel.scales and panel.cex arguments. HH.regsubsets Display tabular results for Best Subsets Regression. residual.plots Residual plots for a linear model. tsacfplots Coordinated time series and ACF and PCF plots. do.formula.trellis.xysplom Interprets model formulas for xysplom and extended bwplots legendGrob2wt place separate keys to the left of each row of a trellis emptyMainLeftAxisLeftStripBottomLegend Remove main title, left axis tick labels, left strip, bottom legend from plot and keep the vertical spacing allocated to those items. sufficient Calculates the mean, standard deviation, and number of observations in each group of a data.frame that has one continuous variable and two factors. gof.calculation Calculate Box--Ljung Goodness of Fit for ARIMA models in S-Plus. print.TwoTrellisColumns Print two conformable trellis plots in adjacent columns with user control of widths. partial.corr partial correlations print.tsdiagplot Print a "tsdiagplot" object. likertColor Selection of colors for Likert plots. dchisq.intermediate Intermediate f and chisq functions to simplify writing for both R and S-Plus. vif Calculate the Variance Inflation Factor xysplom scatterplot matrix with potentially different sets of variables on the rows and columns. strip.background0 Turn off the coloring in the trellis strip labels. Color 0 is the background color. resid.squares plot squared residuals in inches to match the y-dimension panel.axis.right Right-justify right-axis tick labels. regr2.plot 3D plot of z against x and y, with regression plane fit and display of squared residuals. position Find or assign the implied position for graphing the levels of a factor. A new class "positioned", which inherits from "ordered" and "factor", is defined. perspPlane Helper functions for regr2.plot plot.multicomp Multiple comparisons plot that gives independent user control over the appearance of the significant and not significant comparisons. ancova-class Class "ancova" Analysis of Covariance cp.calc Rearranges and improves the legibility of the output from the stepwise function in S-Plus. mmc.mean MMC (mean--mean multiple comparisons) plots from the sufficient statistics for a one-way design. OddsRatio Calculate or plot the odds ratio for a 2x2 table of counts. norm.curve plot a normal or a t-curve with both x and z axes. pyramidLikert Print a Likert plot as a Population Triangle push.vp.hh push and pop a grid viewport, turn clipping off, change scale. t.trellis Interchange the x- and y-axes for an S-Plus trellis object. Interchange the conditioning variables for an R trellis object. No Results!