predict: Predict method for Universal Scalability Law models
Description
predict is a function for predictions of the
scalability of a system modeled with the Universal
Scalability Law.
Usage
## S3 method for class 'USL':
predict(object, newdata, sigma, kappa)
Arguments
object
A USL model object for which prediction is
desired.
newdata
An optional data frame in which to look
for variables with which to predict. If omitted, the
fitted values are used.
sigma
Optional parameter to be used for evaluation
instead of the parameter computed for the model.
kappa
Optional parameter to be used for evaluation
instead of the parameter computed for the model.
Value
predict produces a vector of predictions.
Details
The parameters sigma or kappa are useful to
do a what-if analysis. Setting these parameters override
the model parameters and show how the system would behave
with a different contention or coherency delay parameter.
predict internally uses the function returned by
scalability to calculate the result.
References
Neil J. Gunther. Guerrilla Capacity Planning: A Tactical
Approach to Planning for Highly Scalable Applications and
Services. Springer, Heidelberg, Germany, 1st edition,
2007.