sam::OptionalDropping::Parameters¶
Module: Parameters of Hacking Strategies
#include <HackingStrategy.h>
Public Attributes¶
Name | |
---|---|
HackingMethod | name |
HackingTarget | target |
std::vector< std::vector< int > > | pooled List of condition groups to be used for the dropping procedure. |
std::vector< std::vector< int > > | split_by |
std::vector< std::string > | stopping_cond_defs Stopping condition PolicyChain definitions. |
std::optional< float > | defensibility The defensibility factor of the strategy. |
std::optional< float > | prevalence The prevalence factor of the strategy. |
HackingStage | stage |
Detailed Description¶
struct sam::OptionalDropping::Parameters;
Optional Dropping Collection Parameters
Indicates the indicies of groups that you like to be used for splitting in pooled
variable, e.g. [[1]], the first treatment group; and then use the split_by
parameters to define the [index, value] of the covariants.
Example usage:
{
"name": "OptionalDropping",
"pooled": [[1]],
"split_by": [[0, 1]],
"stopping_condition": ["sig"]
}
Filename: .json
Public Attributes Documentation¶
variable name¶
HackingMethod name = HackingMethod::OptionalDropping;
variable target¶
HackingTarget target {HackingTarget::Both};
Indicates which outcome variables are going to be targeted,
- control
- treatment
- both Todoto be implemented
variable pooled¶
std::vector< std::vector< int > > pooled;
List of condition groups to be used for the dropping procedure.
variable split_by¶
std::vector< std::vector< int > > split_by;
Lists of covariants index, and their value pairs, e.g., [[0, 0], [0, 1]], that is going to be used by the algorithm to split the dependent variables. In this case, the data will be splitted by the first covariants (level == 0), and then by the second covariants (level == 1).
variable stopping_cond_defs¶
std::vector< std::string > stopping_cond_defs {"sig"};
Stopping condition PolicyChain definitions.
variable defensibility¶
std::optional< float > defensibility;
The defensibility factor of the strategy.
variable prevalence¶
std::optional< float > prevalence;
The prevalence factor of the strategy.
variable stage¶
HackingStage stage {HackingStage::PostProcessing};
Updated on 29 June 2021 at 16:13:47 CEST