pdstools.ih.IHAnalysis
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- SuccessRate(outcome_col='pyOutcome', **kwargs) polars.Expr ¶
- Return type:
polars.Expr
- AUC(outcome_col='pyOutcome', propensity_col='pyModelPropensity') polars.Expr ¶
- Return type:
polars.Expr
- _metricPerPeriod(df, period, metrics, OutcomeTime_col='pxOutcomeTime', by=None, **kwargs)¶
- _cumulativeMetricPerPeriod(df, period, metrics, OutcomeTime_col='pxOutcomeTime', by=None, **kwargs)¶
- successRatePerPeriod(df, period='1d', **kwargs)¶
- volumesPerPeriod(df, period='1d', **kwargs)¶
- _plotPerPeriod(df: polars.LazyFrame, to_plot, period, color=None, facet_col=None, facet_row=None, **kwargs)¶
- Parameters:
df (polars.LazyFrame)
- plotSuccessRatePerPeriod(df: polars.LazyFrame, period, cumulative=False, color=None, facet_col=None, facet_row=None, **kwargs)¶
- Parameters:
df (polars.LazyFrame)
- plotVolumesPerPeriod(df: polars.LazyFrame, period, cumulative=False, color=None, facet_col=None, facet_row=None, **kwargs)¶
- Parameters:
df (polars.LazyFrame)
- plotPropensityDistribution(df: polars.LazyFrame, channel, direction, issue, group, name, propensityType, **kwargs)¶
- Parameters:
df (polars.LazyFrame)