PValueAdjust
Test and adjust (correct) p-value for multiple tests
Input: a table containing lists of p-values.
Output: a table containing lists of corrected p-values.
Config Parameters:
alpha (float between 0 and 1): FWER, family-wise error rate, e.g. 0.1. Except for
fdr_twostage, the p-value correction is independent of thealphaspecified as argumentmethods: Method used for testing and adjustment of pvalues. Can be either the full name or initial letters. Available methods are:
bonferroni: one-step correctionfdr_bh: Benjamini/Hochberg (non-negative)fdr_by: Benjamini/Yekutieli (negative)fdr_tsbh: two stage fdr correction (non-negative)fdr_tsbky: two stage fdr correction (non-negative)sidak: one-step correctionholm-sidak: step down method using Sidak adjustmentsholm: step-down method using Bonferroni adjustmentssimes-hochberg: step-up method (independent)hommel: closed method based on Simes tests (non-negative)
For more details, see https://www.statsmodels.org/dev/generated/statsmodels.stats.multitest.multipletests.html
config_specs: ConfigSpecsinput_specs: InputSpecsmessage_dispatcher: gws_core.core.classes.observer.message_dispatcher.MessageDispatcher | Noneoutput_specs: OutputSpecsstyle: gws_core.model.typing_style.TypingStyle | NoneConstructor, please do not overwrite this method, use the init method instead Leave the constructor without parameters
This can be overwritten to perform custom check before running task. See doc of CheckBeforeTaskResult for more information
ConfigParamsTaskInputsCheckBeforeTaskResultcompute stats
AnyConfigParamsCreate a temporary directory. This directory will be deleted after the task is run. Output file or folder are moved out of this directory before it is deleted.
strReturn the message dispatcher, raising if it is not set.
MessageDispatcherstrtype[gws_core.resource.resource.Resource] | NoneMessageDispatcherstr | Nonestr | NoneThis can be overwritten to perform custom initialization of the task. This method is called just after the init and before the check_before_run method
strLog an error message, optionally appending the formatted traceback of an exception.
strException | NonestrStore a message in the progress
strMessageLevelstrstrThis must be overiwritten to perform the task of the task.
This is where most of your code must go
ConfigParamsTaskInputsdictThis can be overwritten to perform action after the task run. This method is called after the resources are saved. This method is useful to delete temporary objects (like files) to clear the server after the task is run.
Update the progress value
floatstrReturns the name of the class
bool - Falsebool - Falsebool - FalsestrReturns the full name of the class
bool - Falsebool - FalsestrstrVersionGet the human name of the object
strReturns the input specs of the process
InputSpecsReturns the input specs of the process
OutputSpecsGet the short description of the object
strGet the style of the object
TypingStyleGet the typing name of the object Ex: 'RESOURCE.gws_core.Table'
strTypingNameObjGet all the classes that inherit this class
list