Learn R Programming

⚠️There's a newer version (1.7.2) of this package.Take me there.

damisc

DAMisc is a package that I maintain to support my teaching at UWM and the ICPSR Summer Program. Broadly speaking it contains a set of routines that aid in the interpretation and presentation of regression models (including linear models, GLMs and other limited dependent variables models). I have tried not to duplicate functionality available elsewhere, rather to fill in with my own functions when other software proves inadequate or too cumbersome. The package can be installed directly from this repository with:

library(devtools)
install_github("damisc", username="davidaarmstrong")

Copy Link

Version

Install

install.packages('DAMisc')

Monthly Downloads

80

Version

1.5

License

GPL (>= 2)

Maintainer

Dave Armstrong

Last Published

June 25th, 2019

Functions in DAMisc (1.5)

DAintfun

Surface Plots for Two-Way Interactions
DAMisc-package

Dave Armstrong's Miscellaneous Functions
aclp

Example data for btscs function
InteractionEx

Example Data for DAintfun
NKnots

AIC and BIC selection of number of spline knots
combTest

Test for Combining Categories in Multinomial Logistic Regression Models.
france

Example data for factorplot function
binfit

Scalar Measures of Fit for Binary Variable Models
btscs

Generate Spells for Binary Variables
NKnotsTest

Test of functional form assumption using B-splines
aveEffPlot

Average Effect Plot for Generalized Linear Models
mnlAveEffPlot

Average Effects Plot for Multinomial Logistic Regression
balsos

Bayesian Alternating Least Squares Optimal Scaling
makeHypSurv

Make Hypothetical Predictions for Survey Data
oc2plot

Plot First Differences from Ordinal DV Model
glmChange

Maximal First Differences for Generalized Linear Models
glmChange2

Maximal First Differences for Generalized Linear Models
inspect

Inspect a Variable in a Data Frame
crSpanTest

Test of Span Parameter in linearity for Component + Residual Plots
cat2Table

Fitted Values and CIs for 2-Categorical Interactions
prepanel.ci

Lattice prepanel function for confidence intervals
print.diffci

Print Confidence Intervals for Predicted Probabilities and Their Differences
ordChange2

Average Effects for Proportional Odds Logistic Regression Models
logit_cc

Functions for Estimating Interaction Effects in Logit and Probit Models
ordChange

Maximal First Differences for Proportional Odds Logistic Regression Models
panel.transci

Lattice panel function for translucent confidence intervals
loessDeriv

Estimate Derivatives of LOESS Curve.
intEff

Functions for Estimating Interaction Effects in Logit and Probit Models
intQualQuant

Predictions for Factor-Numeric Interactions in Linear Models
changeSig

Regions of Statistical Significance in Interactions
plot.balsos

Plot Results from BALSOS
ordfit

Fit Statistics for Proportional Odds Logistic Regression Models
cv.lo2

Cross-validating Loess curve
crTest

Test of linearity for Component + Residual Plots
outEff

Plot Effects of Removing Outliers
outXT

Create LaTeX or CSV versions of an Object Produced by CrossTable
panel.2cat

Lattice panel function for confidence intervals with capped bars
poisGOF

Deviance and Chi-squared Goodness-of-Fit Test for Poisson Models
mnlChange2

Average Effects for Multinomial Logistic Regression Models
mnlChange

Maximal First Differences for Multinomial Logistic Regression Models
plot.loess

Plot LOESS curve.
ordAveEffPlot

Plot Average Effects of Variables in Proportional Odds Logistic Regression
print.pre

Print method for objects of class pre
test.balsos

Testing Measurement Level Assumptions.
pre

Proportional and Expected Proportional Reductions in Error
testLoess

Significance Test for Loess vs. LM
poisfit

Scalar Measures of Fit for Poisson GLMs Models
simPredpolr

Calculate Predictions for Proportional Odds Logistic Regression
testGAMint

Simulated F-test for Linear Interactions
probci

Confidence Intervals for Predicted Probabilities and Their Differences
ziChange

Maximal First Differences for Zero-Inflated Models
mnlSig

Print Statistically Significant MNL Coefficients
mnlfit

Fit Statistics and Specification Test for Multinomial Logistic Regression
probgroup

Plog Probabilities by Group
panel.doublerug

Lattice panel function for two rug plots
yj_trans

Optimizing Yeo-Johnson Transformation
searchVarLabels

Search Variable Labels Attribute
secondDiff

Calculate Cross-Derivative and its Variability
panel.ci

Lattice panel function for confidence intervals
tscslag

Lag a time-series cross-sectional variables
scaleDataFrame

Standardize quantitative variables in a data frame
DAintfun2

Conditional Effects Plots for Interactions in Linear Models
alsosDV

Alternating Least Squares Optimal Scaling
DAintfun3

Conditional Effects Plots for Interactions in Linear Models
BGMtest

Tests the five Berry, Golder and Milton (2012) Interactive Hypothesis