Package supernova. February 23, 2018

Similar documents
Package polypoly. R topics documented: May 27, 2017

Package RTransferEntropy

Package gtheory. October 30, 2016

Package SK. May 16, 2018

Package ShrinkCovMat

Package covsep. May 6, 2018

Package invgamma. May 7, 2017

Package HIMA. November 8, 2017

Package MultisiteMediation

Package jmcm. November 25, 2017

Package FinCovRegularization

Package idmtpreg. February 27, 2018

Package Tcomp. June 6, 2018

Package robustrao. August 14, 2017

Package krige. August 24, 2018

Package scpdsi. November 18, 2018

Package depth.plot. December 20, 2015

Package BNN. February 2, 2018

Package reinforcedpred

Package MicroMacroMultilevel

Package NlinTS. September 10, 2018

Package leiv. R topics documented: February 20, Version Type Package

Package MonoPoly. December 20, 2017

Package LIStest. February 19, 2015

Package aspi. R topics documented: September 20, 2016

Package thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting

Package moderndive. July 6, 2018

Package gwqs. R topics documented: May 7, Type Package. Title Generalized Weighted Quantile Sum Regression. Version 1.1.0

Package ltsbase. R topics documented: February 20, 2015

Package noncompliance

Package TwoStepCLogit

Package CausalFX. May 20, 2015

Package rnmf. February 20, 2015

Package factorqr. R topics documented: February 19, 2015

Package RATest. November 30, Type Package Title Randomization Tests

Package misctools. November 25, 2016

Package goftest. R topics documented: April 3, Type Package

Package Select. May 11, 2018

Package funrar. March 5, 2018

Package covtest. R topics documented:

Package effectfusion

Package CPE. R topics documented: February 19, 2015

Package varband. November 7, 2016

Package BayesNI. February 19, 2015

Package locfdr. July 15, Index 5

Package dominanceanalysis

Package EMVS. April 24, 2018

Package resampledata

Package ADPF. September 13, 2017

Package RSwissMaps. October 3, 2017

Package r2glmm. August 5, 2017

Package bigtime. November 9, 2017

Package msu. September 30, 2017

Package nardl. R topics documented: May 7, Type Package

Package SimCorMultRes

Package chemcal. July 17, 2018

Package CMC. R topics documented: February 19, 2015

Package AID. R topics documented: November 10, Type Package Title Box-Cox Power Transformation Version 2.3 Date Depends R (>= 2.15.

Package rdefra. March 20, 2017

Package rgabriel. February 20, 2015

Package hds. December 31, 2016

Package PeriodicTable

Package timelines. August 29, 2016

Package cartogram. June 21, 2018

Package MAPA. R topics documented: January 5, Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4

Package beam. May 3, 2018

Package matrixnormal

Package MTA. R topics documented: May 14, Title Multiscalar Territorial Analysis Version 0.1.2

Package camsrad. November 30, 2016

Package Rarity. December 23, 2016

Package esreg. August 22, 2017

Package TideHarmonics

Package sbgcop. May 29, 2018

Package kgc. December 21, Version Date Title Koeppen-Geiger Climatic Zones

Package MAVE. May 20, 2018

Package SimSCRPiecewise

Package popgen. R topics documented: February 25, Version 0.2. Date Title Population genetic simulations & numerical analysis

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package generalhoslem

Package basad. November 20, 2017

Package threg. August 10, 2015

Package RcppSMC. March 18, 2018

Package mpmcorrelogram

Package icmm. October 12, 2017

Package stability. R topics documented: August 23, Type Package

Package BGGE. August 10, 2018

Package RootsExtremaInflections

The nltm Package. July 24, 2006

Package KMgene. November 22, 2017

Package clogitboost. R topics documented: December 21, 2015

Package plspolychaos

Package msir. R topics documented: April 7, Type Package Version Date Title Model-Based Sliced Inverse Regression

Package ExtremeBounds

Package CEC. R topics documented: August 29, Title Cross-Entropy Clustering Version Date

Package Metrics. November 3, 2017

Package LOST. April 20, 2017

Package epr. November 16, 2017

Package cellscape. October 15, 2018

Package platetools. R topics documented: June 25, Title Tools and Plots for Multi-Well Plates Version 0.1.1

Package weathercan. July 5, 2018

Transcription:

Type Package Package supernova February 23, 2018 Title Judd & McClelland Formatting for ANOVA Output Version 1.0 Date 2018-02-09 LazyData yes Produces ANOVA tables in the format used by Judd, McClelland, and Ryan (2017, ISBN:978-1138819832) in their introductory textbook, Data Analysis. This includes proportional reduction in error and formatting to improve ease the transition between the book and R. License GPL-3 Suggests ggformula, mosaic, Lock5Data, Lock5withR, okcupiddata, fivethirtyeight RoxygenNote 6.0.1 URL https://github.com/uclatall/supernova BugReports https://github.com/uclatall/supernova/issues NeedsCompilation no Author Jim Stigler [cre, aut], Jeff Chrabaszcz [aut] Maintainer Jim Stigler <jstigler@gmail.com> Repository CRAN Date/Publication 2018-02-23 09:21:53 UTC R topics documented: barhelp........................................... 2 Fingers........................................... 2 Fingers.messy........................................ 3 framesetup......................................... 4 insertrow.......................................... 5 print.supernova....................................... 5 1

2 Fingers printhelp.......................................... 6 Servers........................................... 6 superanova......................................... 7 supernova.......................................... 7 Survey............................................ 8 TipExperiment....................................... 8 Index 10 barhelp barhelp A function to produce vertical bar separators. barhelp(x, y) x y Original name for row. Number of spaces to add. The original row name with a number of spaces and vertical bar added. Fingers Data from introductory statistics students at a university. Students at a university taking an introductory statistics course were asked to complete this survey as part of their homework. Fingers

Fingers.messy 3 Format A dataset with 157 observations on the following 16 variables. Sex Sex of participant. RaceEthnic Racial or ethnic background. FamilyMembers Members of immediate family (excluding self). SSLast Last digit of social security number (NA if no SSN). Year Year in school: 1=First, 2=Second, 3=Third, 4=Fourth, 5=Other Job Current employment status: 0=not working, 1=part-time job, 2=full-time job MathAnxious Agreement with this statement "In general I tend to feel very anxious about mathematics": 2=Strongly Agree, 1=Agree, 0=Neither Agree nor Disagree, -1=Disagree, -2=Strongly Disagree Interest Interest in statistics and the course: 2=very interested in course and statistics, 1=somewhat interested, 0=no interest, -1=dread the course. GradePredict Prediction for final grade in the course from the university s grade points per unit: 4.0=A, 3.7=A-, 3.3=B+, 3.0=B, 2.7=B-, 2.3=C+, 2.0=C, 1.7=C-, 1.3=Below C- Thumb Length in mm from tip of thumb to the crease between the thumb and palm. Index Length in mm from tip of index finger to the crease between the index finger and palm. Middle Length in mm from tip of middle finger to the crease between the middle finger and palm. Ring Length in mm from tip of ring finger to the crease between the middle finger and palm. Pinkie Length in mm from tip of pinkie finger to the crease between the pinkie finger and palm Height Height in inches. Weight Weight in pounds. Fingers.messy Data from introductory statistics students at a university. Students at a university taking an introductory statistics course were asked to complete this survey as part of their homework. Fingers.messy

4 framesetup Format A dataset with 210 observations on the following 16 variables. Sex Sex of participant: 1=female, 2=male, 3=prefer not to answer RaceEthnic Racial or ethnic background: 1=White, 2=African American, 3=Asian, 4=Latino, 5=Other FamilyMembers Members of immediate family (excluding self). SSLast Last digit of social security number (NA if no SSN). Year Year in school. Job Current employment status. MathAnxious Agreement with this statement "In general I tend to feel very anxious about mathematics." Interest Interest in statistics and the course. GradePredict Prediction for final grade in the course from the university s grade points per unit. Thumb Length in mm from tip of thumb to the crease between the thumb and palm. Index Length in mm from tip of index finger to the crease between the index finger and palm. Middle Length in mm from tip of middle finger to the crease between the middle finger and palm. Ring Length in mm from tip of ring finger to the crease between the middle finger and palm. Pinkie Length in mm from tip of pinkie finger to the crease between the pinkie finger and palm Height Height in inches. Weight Weight in pounds. framesetup framesetup Sets up a null supernova data.frame framesetup(anm, x = 0) anm x anova object with no predictors. Number of predictiors to be included in the model. y An empty data.frame for use by supernova.

insertrow 5 insertrow insertrow Function to insert formatting rows in the output data.frame. insertrow(d, nr, rn = NULL) d nr rn Original data.frame Contents of the new row. The row in which to insert the new contents (remaining rows will be pushed down). d The original data.frame with the new row inserted. print.supernova print.supernova A print method for the supernova class ## S3 method for class 'supernova' print(x, pcut = 4,...) x A supernova object. pcut The integer number of decimal places of p-values to show.... Additional display arguments.

6 Servers printhelp printhelp A function to help with formatting in print.supernova printhelp(x, digits = max(3l, getoption("digits") - 2L), dig.tst = max(1l, min(5l, digits - 1L)), cs.ind = 1:k, tst.ind = k + 1, na.print = "",...) x digits dig.tst cs.ind tst.ind na.print An atomic character. From options by default. As in printcoefmat. As in printcoefmat. As in printcoefmat. Alternate string to print for NA values.... Additional arguments. A character with correct numeric formatting. Servers Data about tips collected from an experiment with 44 servers. Servers. Servers Format A dataset with 44 observations on the following 2 variables. ServerID A number assigned to each server. Tip How much the tip was.

superanova 7 superanova superanova Alias for supernova superanova(x) x A lm object. A supernova object. Examples superanova(lm(thumb ~ Weight, data = Fingers)) supernova supernova Creates a supernova object supernova(fit) fit lm object Details An alternative set of summary statistics for ANOVA. Sums of squares, degrees of freedom, mean squares, and F value are all equivalent to anova.lm. This package adds proportional reduction in error, an explicit summary of the whole model, and separate formatting of p values and is intended to match the output used in Judd, McClelland, and Ryan (2017).

8 TipExperiment An object of the class supernova, a named list with the munged data.frame and the original lm object. References Judd, C. M., McClelland, G. H., & Ryan, C. S. (2017). Data Analysis: A Model Comparison Approach to Regression, ANOVA, and Beyond (3rd edition). New York: Routledge. ISBN:879-1138819832 Examples supernova(lm(thumb ~ Weight, data = Fingers)) Survey Students at a university were asked to enter a random number between 1-20 into a survey. Format Students at a university taking an introductory statistics course were asked to complete this survey as part of their homework. Survey A dataset with 211 observations on the following 1 variable: Any1_20 The random number between 1 and 20 that a student thought of. TipExperiment Data about tips collected from an experiment with 44 servers. Servers were randomly assigned to write nothing or "Thank you" on the back of customers receipts. This experiment was an effort to examine whether the note would cause more generous tipping. TipExperiment

TipExperiment 9 Format A dataset with 44 observations on the following 3 variables. ServerID A number assigned to each server. Tip How much the tip was. Condition Which experimental condition the server was randomly assigned to.

Index anova, 4 anova.lm, 7 barhelp, 2 Fingers, 2 Fingers.messy, 3 framesetup, 4 insertrow, 5 lm, 7, 8 options, 6 print.supernova, 5, 6 printhelp, 6 Servers, 6 superanova, 7 supernova, 4, 5, 7, 7, 8 Survey, 8 TipExperiment, 8 10