Package ubic.basecode.math.linearmodels
Class LeastSquaresFitTest
- java.lang.Object
-
- ubic.basecode.math.linearmodels.LeastSquaresFitTest
-
public class LeastSquaresFitTest extends Object
- Author:
- paul
-
-
Constructor Summary
Constructors Constructor Description LeastSquaresFitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestEstrogen()Tests limma-like functionality.voidtestLSFOneContinuousWithMissing3()voidtestLSFThreeLevelsOnecontinous2()voidtestLSFThreeLevelsOneContinuousWithMissing3()voidtestLSFTwoLevels()voidtestLSFTwoLevels2()Many missing values; Two factors, two levels + interaction.voidtestLSFTwoLevels3()voidtestLSFTwoLevelsOneContinuous()voidtestMatrixWeightedRegress()Weighted least squares test for 2D matricesvoidtestNHBE()Tests limma-like functionality Multiple levels per factor, unbalanced designvoidtestOneWayAnova()Has a lot of missing values.voidtestSingular()voidtestSingular2()Originally causes failures during summarization step.voidtestThreeWaySingular()voidtestTwoWayAnovaUnfittable()Sanity check.voidtestTwoWayAnovaWithInteractions()Check for problem reported by TF -- Gemma gives slightly different result.voidtestTwoWayTwoLevelsOneContinousInteractionC()No missing values; Two-way ANOVA with interaction, PLUS a continuous covariate.voidtestVectorRegress()voidtestVectorWeightedRegress()voidtestVectorWeightedRegressWithMissing()
-
-
-
Method Detail
-
testLSFOneContinuousWithMissing3
public void testLSFOneContinuousWithMissing3() throws Exception- Throws:
Exception
-
testLSFThreeLevelsOnecontinous2
public void testLSFThreeLevelsOnecontinous2() throws Exception- Throws:
Exception
-
testLSFThreeLevelsOneContinuousWithMissing3
public void testLSFThreeLevelsOneContinuousWithMissing3() throws Exception- Throws:
Exception
-
testLSFTwoLevels2
public void testLSFTwoLevels2() throws ExceptionMany missing values; Two factors, two levels + interaction.- Throws:
Exception
-
testLSFTwoLevelsOneContinuous
public void testLSFTwoLevelsOneContinuous() throws Exception- Throws:
Exception
-
testMatrixWeightedRegress
public void testMatrixWeightedRegress() throws ExceptionWeighted least squares test for 2D matrices- Throws:
Exception
-
testOneWayAnova
public void testOneWayAnova() throws ExceptionHas a lot of missing values.- Throws:
Exception
-
testSingular2
public void testSingular2() throws ExceptionOriginally causes failures during summarization step. There are two pivoted columns.- Throws:
Exception
-
testTwoWayAnovaUnfittable
public void testTwoWayAnovaUnfittable() throws ExceptionSanity check.- Throws:
Exception
-
testTwoWayAnovaWithInteractions
public void testTwoWayAnovaWithInteractions() throws ExceptionCheck for problem reported by TF -- Gemma gives slightly different result. Problem is not at this level.- Throws:
Exception
-
testTwoWayTwoLevelsOneContinousInteractionC
public void testTwoWayTwoLevelsOneContinousInteractionC() throws ExceptionNo missing values; Two-way ANOVA with interaction, PLUS a continuous covariate.- Throws:
Exception
-
testVectorRegress
public void testVectorRegress()
-
testVectorWeightedRegress
public void testVectorWeightedRegress() throws Exception- Throws:
Exception
-
testVectorWeightedRegressWithMissing
public void testVectorWeightedRegressWithMissing() throws Exception- Throws:
Exception
-
testNHBE
public void testNHBE() throws ExceptionTests limma-like functionality Multiple levels per factor, unbalanced design- Throws:
Exception
-
-