cubic | R Documentation |
This data set is used for the example of the qprog function.
data(cubic)
A data frame with 50 observations on the following 2 variables.
x
The predictor vector.
y
The response vector.
We use the qprog function to fit a constrained cubic to this data set. The constraint is that the true regression is increasing, convex and nonnegative.
STAT640 HW 14 given by Dr. Meyer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.