public class ContrastHelper extends Object
Constructor and Description |
---|
ContrastHelper() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.math3.linear.RealMatrix |
grandMean(int dimension,
boolean transpose)
Calculate the grand mean contrast
|
static org.apache.commons.math3.linear.RealMatrix |
grandMeanBetween(List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
Create grand mean contrast for between participant effects
|
static org.apache.commons.math3.linear.RealMatrix |
grandMeanWithin(List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> rmList,
List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
Create grand mean contrast for within participant effects
|
static org.apache.commons.math3.linear.RealMatrix |
interactionBetween(List<edu.ucdenver.bios.webservice.common.domain.HypothesisBetweenParticipantMapping> betweenMap,
List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
Create an interaction contrast for between participant effects
|
static org.apache.commons.math3.linear.RealMatrix |
interactionWithin(List<edu.ucdenver.bios.webservice.common.domain.HypothesisRepeatedMeasuresMapping> withinMap,
List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList,
List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
Create an interaction contrast for within participant effects
|
static org.apache.commons.math3.linear.RealMatrix |
mainEffectBetween(edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor factorOfInterest,
List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
Create a main effect contrast for between participant factors.
|
static org.apache.commons.math3.linear.RealMatrix |
mainEffectWithin(edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode factorOfInterest,
List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList,
List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
Create a main effect contrast for within participant factors.
|
static org.apache.commons.math3.linear.RealMatrix |
trendBetween(edu.ucdenver.bios.webservice.common.domain.HypothesisBetweenParticipantMapping factorOfInterestMap,
List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
Create a trend test fpr the specified factor of interest
|
static org.apache.commons.math3.linear.RealMatrix |
trendWithin(edu.ucdenver.bios.webservice.common.domain.HypothesisRepeatedMeasuresMapping factorOfInterestMap,
List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList,
List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
Create a trend test fpr the specified within participant of interest
|
public static org.apache.commons.math3.linear.RealMatrix mainEffectBetween(edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor factorOfInterest, List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
factorOfInterest
- factor being testedfactorList
- list of all between participant effectspublic static org.apache.commons.math3.linear.RealMatrix mainEffectWithin(edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode factorOfInterest, List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList, List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
factorOfInterest
- factor being testedfactorList
- additional within participant effectspublic static org.apache.commons.math3.linear.RealMatrix interactionBetween(List<edu.ucdenver.bios.webservice.common.domain.HypothesisBetweenParticipantMapping> betweenMap, List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
betweenMap
- list of all between participant effects being testedfactorList
- list of all between participant effectspublic static org.apache.commons.math3.linear.RealMatrix interactionWithin(List<edu.ucdenver.bios.webservice.common.domain.HypothesisRepeatedMeasuresMapping> withinMap, List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList, List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
withinMap
- list of all within participant effects being testedfactorList
- list of all within participant effectsresponseList
- list of response variablespublic static org.apache.commons.math3.linear.RealMatrix trendBetween(edu.ucdenver.bios.webservice.common.domain.HypothesisBetweenParticipantMapping factorOfInterestMap, List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
factorOfInterestMap
- factor of interest plus trend type informationfactorList
- list of all between participant factorspublic static org.apache.commons.math3.linear.RealMatrix trendWithin(edu.ucdenver.bios.webservice.common.domain.HypothesisRepeatedMeasuresMapping factorOfInterestMap, List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> factorList, List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
factorOfInterestMap
- factor of interest plus trend type informationfactorList
- list of all within participant factorspublic static org.apache.commons.math3.linear.RealMatrix grandMean(int dimension, boolean transpose)
dimension
- size of contrasttranspose
- if true, return the transposepublic static org.apache.commons.math3.linear.RealMatrix grandMeanBetween(List<edu.ucdenver.bios.webservice.common.domain.BetweenParticipantFactor> factorList)
factorList
- list of all between participant effectspublic static org.apache.commons.math3.linear.RealMatrix grandMeanWithin(List<edu.ucdenver.bios.webservice.common.domain.RepeatedMeasuresNode> rmList, List<edu.ucdenver.bios.webservice.common.domain.ResponseNode> responseList)
rmList
- list of all within participant effectsresponseList
- list of all response variablesUniversity of Colorado Denver, Department of Biostatistics and Informatics