├── .gitignore ├── LICENSE ├── README.md ├── data ├── README.md ├── binomial_sim.csv └── sleepstudy.csv ├── project ├── build.properties └── plugins.sbt ├── src ├── main │ └── scala │ │ └── com │ │ └── stitchfix │ │ └── mbest │ │ ├── Examples.scala │ │ ├── FirthLogisticRegression.scala │ │ ├── MBestRegistrator.scala │ │ ├── MatrixUtils.scala │ │ ├── MixedEffectsRegression.scala │ │ ├── MixedEffectsRegressionBase.scala │ │ └── MixedEffectsRegressionModel.scala └── test │ └── scala │ └── com │ └── stitchfix │ └── mbest │ ├── FirthLogisticRegressionTest.scala │ ├── LocalSpark.scala │ ├── MatrixComparisonTestUtils.scala │ ├── MatrixUtilsTest.scala │ ├── MixedEffectsRegressionTest.scala │ └── SleepStudyTestData.scala └── version.sbt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/README.md -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/data/README.md -------------------------------------------------------------------------------- /data/binomial_sim.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/data/binomial_sim.csv -------------------------------------------------------------------------------- /data/sleepstudy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/data/sleepstudy.csv -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=0.13.13 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/Examples.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/Examples.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/FirthLogisticRegression.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/FirthLogisticRegression.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/MBestRegistrator.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/MBestRegistrator.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/MatrixUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/MatrixUtils.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/MixedEffectsRegression.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/MixedEffectsRegression.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/MixedEffectsRegressionBase.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/MixedEffectsRegressionBase.scala -------------------------------------------------------------------------------- /src/main/scala/com/stitchfix/mbest/MixedEffectsRegressionModel.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/main/scala/com/stitchfix/mbest/MixedEffectsRegressionModel.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/FirthLogisticRegressionTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/FirthLogisticRegressionTest.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/LocalSpark.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/LocalSpark.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/MatrixComparisonTestUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/MatrixComparisonTestUtils.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/MatrixUtilsTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/MatrixUtilsTest.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/MixedEffectsRegressionTest.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/MixedEffectsRegressionTest.scala -------------------------------------------------------------------------------- /src/test/scala/com/stitchfix/mbest/SleepStudyTestData.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stitchfix/MomentMixedModels/HEAD/src/test/scala/com/stitchfix/mbest/SleepStudyTestData.scala -------------------------------------------------------------------------------- /version.sbt: -------------------------------------------------------------------------------- 1 | version in ThisBuild := "0.1.0" 2 | 3 | --------------------------------------------------------------------------------