Update Investigation
functions to update an investigation with new information, such as updating the worksheet, or adding new models.
functions for updating investigation
- class friendly_doe.investigation_update.SetpointType(*values)
- FAVORITE = 'favorite'
- OPTIMAL = 'optimal'
- ROBUST = 'robust'
- friendly_doe.investigation_update.add_model_statistics(investigation: DoeSchema, auto_tune: bool = False) DoeSchema
Add model statistics to investigation
The investigation must have a worksheet and models defined to calculate model statistics. The function will fit the models to the data in the worksheet and calculate the following statistics for each model: - Anova table - Residuals - Replicates - Summary of fit - Coefficients with confidence intervals
- friendly_doe.investigation_update.add_setpoint(investigation: DoeSchema, setpoint_type: SetpointType, setpoint: list, log_d: list[float] | None = None) DoeSchema
Add a setpoint to investigation
parameters: investigation: DoeSchema - the investigation to add the setpoint to setpoint_type: SetpointType - the type of setpoint to add (optimal, robust, or favorite) setpoint: list - the setpoint to add, should be a list of factor levels corresponding to the factors in the investigation log_d: list[float] - the log D values for the setpoint, should be a list of log D values corresponding to the responses in the investigation. Only used for optimal setpoint.