Software

R Packages

apa7

Facilitate writing documents in APA Style

ggdiagram

An object-oriented approach to making diagrams via ggplot2

Complex diagrams can take a long time to get right. The ggdiagram package can take away much of the burden of tedious calculation.

A regression path model

Latent variable path diagram with all variables scaled to their variance sizes.

A hierarchical model of abilities

simstandard

R package for simulating data using standardized coefficients

Tutorial

In the model below, the path coefficients are standardized. You would like to simulate the variables in the model, but you do not know the disturbance and residual variances. The simstandard package can help.

A standardized latent variable model

unusualprofile

An R package for detecting unusual scores in a test profile

Tutorial

This package estimates how unusual a multivariate normal profile is.

ggnormalviolin

A ggplot2 extension package for creating normal violin plots

I needed to show confidence intervals and conditional normal distributions with specific means and standard deviations. I wrote the ggnormalviolin package to make this happen.

It makes plots like this:

Example plot made with ggnormalviolin

psycheval

Functions useful for psychological evaluations

This package is still in a preliminary state, just like Individual Psychometrics, the book it accompanies.

Mulivariate Confindence Intervals

WJSmisc

A set of functions I find convenient to have readily available to me

Whoa! How did you place those labels so perfectly?

spiro

An R package for making digital spirographs

Tutorial

My Gallery

Making digital spirographs is fun! I made an R package called spiro that can make animated spirographs like this one:

arrowheadr

R package for making a custom arrowheads for ggplot2 using ggarrow

Tutorial

The arrowheadr package allows one to create custom arrowheads that can be used with the ggarrow package.

Quarto Extensions

apaquarto

A Quarto Extension for Creating APA 7 Style Documents

This is a quarto article template that creates APA Style 7th Edition documents in .docx, .html. and .pdf. I made this extension for my own workflow. If it helps you, too, I am happy. The output of the template is displayed below:

Unable to display PDF file. Download instead.

Shiny Apps

Composite IQ Calculator

This app calculates a composite IQ from multiple IQ test administrations. Be patient! This app usually takes 10–30 seconds to load.

Unusual Profiles

The Mahalanobis distance measures how unusual a set of scores is. It is often used to detect multivariate outliers. The conditional Mahalanobis distance measures how unusual a set of scores is after controlling for one or more other scores. For example, how unusual is a set of scores at time 2 after controlling for the scores at time 1? How unusual is a set of scores after controlling for their overall elevation?

A full explanation can be found in Schneider, W. J., & Ji, F. (2023). Detecting unusual score patterns in the context of relevant predictors. Journal of Pediatric Neuropsychology, 9, 1–17.

Generalized Relative Proficiency Index

This app extends Richard Woodcock’s Relative Proficiency Index (RPI). Woodcock believed that the optimal difficulty for learning was the point at which the student gets the question right about 90% of the time. Such questions are just hard enough to prevent boredom but also easy enough to prevent frustration. The RPI tells us how difficult an item is for a student when a typical peer is able to answer it correctly 90% of the time.

The Generalized RPI allows us to set any difficulty criterion we wish (e.g., 50%). In addition, we can flip the comparison such that we can say how difficulty the typical peer finds the item when the individual can answer it at the criterion level. This alternative is especially useful for communicating the abilities of gifted students. The traditional RPI for gifted students is generally high, but it is not easy to see the difference between an RPI of 99, 99.9, and 99.9999. In all three cases, the student is almost certain to answer the question correctly.

The “flipped” Generalized RPI can communicate the degree of giftedness in a more straightforward way. For example, when a particular student encounters an item in the optimal 90% difficulty level, the typical peer has a 2% probability of answering it correctly.

Latent Variable Conditional Distributions

This app allows a user to specify any latent variable model, input the values of the indicator variables, and the app will display the distributions of the latent variables, disturbance varianbles, and error variables.

Accuracy of a Simplified PSW Model of SLD Identification

This app uses a simple model of Specific Learning Disability to show the conditions in which a classification decision is stable (or not). It demonstrated points made in Schneider, W. J., Flanagan, D. P., Niileksela, C. R., & Engler, J. R. (2024). The effect of measurement error on the positive predictive value of PSW methods for SLD identification: How buffer zones dispel the illusion of inaccuracy. Journal of School Psychology, 103, 101280.

The app is not intended to be used in real SLD identiification decisions, but it may be useful in helping practitioners develop more accurate intuitions and heuristics about how the interaction of an individual’s observed scores, decision thresholds, and measurement error affects the stability of diagnostic/identification decisions.

Item Response Theory Curves

This app demonstrates how a 4PL item characteristic curve (the relationship between ability and probability of answering correctly) change depending on a (Discrimination/Loading), b (Item Difficulty), c (Guessing Parameter), d (Upper Bound). Useful for teach principles of item response theory.