Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Doc: Statistical Modeling

kmorrisongr edited this page Feb 17, 2020 · 1 revision

Test A Statistical Model

fcsm_test_model(model, test, test_group)

  • A wrapper for testing statistical models.
  • @param model The model you generated, be it from lm, glm, etc.
  • @param test The test data frame you'll be using. Should not include any group membership information.
  • @param test_group The actual group membership for your test data.
  • @return The accuracy of your model when predicting on the test data.

Perform Univariate Analysis

fcsm_uni(fc, adj_method)

  • Documentation WIP.
  • Perform univariate analysis on each feature in the Fc Array data frame. Return both p-values and q-values (based on adj_method).
  • @param fc The Fc Array data frame. Will be standardized for you so you are comparing apples to apples.
  • @param adj_method The method you want to use to adjust p-values. Use "none" as a passthrough

Clone this wiki locally