#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)
library(altEASI)

Estimation Approach to Statistical Inference

Multiple Regression Vignette

Three Variable Example Data

Score1 <- c(5,6,6,7,7,7,8,8,9)
Score2 <- c(6,7,8,8,7,9,7,9,9)
Outcome <- c(72,69,75,84,72,81,75,84,81)

RegressionData <- data.frame(Score1,Score2,Outcome)
RegressionData

Analyses of a Regression Model

Overall Fit of Regression Model

pvaRegression(Outcome~Score1+Score2)

Confidence Intervals for the Regression Coefficients

ciRegression(Outcome~Score1+Score2)
ciRegression(Outcome~Score1+Score2,conf.level=.99)

Plot of the Confidence Intervals for the Regression Coefficients

cipRegression(Outcome~Score1+Score2)
cipRegression(Outcome~Score1+Score2,conf.level=.99)

Significance Tests for the Regression Coefficients

nhstRegression(Outcome~Score1+Score2)


cwendorf/easi-dev documentation built on Oct. 23, 2020, 4:28 p.m.