Get Experiment Results
cloudwatchevidently_get_experiment_results | R Documentation |
Retrieves the results of a running or completed experiment¶
Description¶
Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.
Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.
Usage¶
cloudwatchevidently_get_experiment_results(baseStat, endTime,
experiment, metricNames, period, project, reportNames, resultStats,
startTime, treatmentNames)
Arguments¶
baseStat |
The statistic used to calculate experiment results. Currently the
only valid value is |
endTime |
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time. |
experiment |
[required] The name of the experiment to retrieve the results of. |
metricNames |
[required] The names of the experiment metrics that you want to see the results of. |
period |
In seconds, the amount of time to aggregate results together. |
project |
[required] The name or ARN of the project that contains the experiment that you want to see the results of. |
reportNames |
The names of the report types that you want to see. Currently,
|
resultStats |
The statistics that you want to see in the returned results.
|
startTime |
The date and time that the experiment started. |
treatmentNames |
[required] The names of the experiment treatments that you want to see the results for. |
Value¶
A list with the following syntax:
list(
details = "string",
reports = list(
list(
content = "string",
metricName = "string",
reportName = "BayesianInference",
treatmentName = "string"
)
),
resultsData = list(
list(
metricName = "string",
resultStat = "Mean"|"TreatmentEffect"|"ConfidenceIntervalUpperBound"|"ConfidenceIntervalLowerBound"|"PValue",
treatmentName = "string",
values = list(
123.0
)
)
),
timestamps = list(
as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$get_experiment_results(
baseStat = "Mean",
endTime = as.POSIXct(
"2015-01-01"
),
experiment = "string",
metricNames = list(
"string"
),
period = 123,
project = "string",
reportNames = list(
"BayesianInference"
),
resultStats = list(
"BaseStat"|"TreatmentEffect"|"ConfidenceInterval"|"PValue"
),
startTime = as.POSIXct(
"2015-01-01"
),
treatmentNames = list(
"string"
)
)