# suppress the warnings and other messages from showing in the knitted file.
knitr::opts_chunk$set(fig.width = 7, fig.height = 5, fig.path = "figures/", echo = TRUE, warning = FALSE, message = FALSE)
devtools::source_gist("8e6e5dc401e3fc1042ef7a030f9d19c7", filename = "revised_toc.R")
if (!require(easiOrigin)) {
  if (!require(remotes)) install.packages("remotes")
  remotes::install_github("cwendorf/easiOrigin")
}
library(easiOrigin)

Regression Vignette

This vignette analyzes data from a multiple-variable design.

thisfile <- knitr::current_input()
revised_toc(thisfile, base_level = 3, toc_depth = 4)

Data Management

Data Entry

Predictor1 <- c(0, 0, 3, 5)
Predictor2 <- c(4, 7, 4, 9)
Criterion <- c(9, 6, 4, 9)
RegressionData <- data.frame(Predictor1, Predictor2, Criterion)

Descriptive Statistics

descMeans(RegressionData)

Analyses of the Regression Coefficients

Confidence Intervals

ciCoefficients(Criterion ~ Predictor1 + Predictor2)
graphCoefficients(Criterion ~ Predictor1 + Predictor2)
ciCoefficients(Criterion ~ Predictor1 + Predictor2, conf.level = .99)
graphCoefficients(Criterion ~ Predictor1 + Predictor2, conf.level = .99)

Significance Tests

nhstCoefficients(Criterion ~ Predictor1 + Predictor2)

Analyses of the Model

Source Table

descModel(Criterion ~ Predictor1 + Predictor2)

Significance Test

nhstModel(Criterion ~ Predictor1 + Predictor2)

Effect Size

pvaModel(Criterion ~ Predictor1 + Predictor2)


cwendorf/EASIalt documentation built on Oct. 31, 2023, 1:20 a.m.