cubic: A Data Set for the Example of the Qprog Function

cubicR Documentation

A Data Set for the Example of the Qprog Function

Description

This data set is used for the example of the qprog function.

Usage

data(cubic)

Format

A data frame with 50 observations on the following 2 variables.

x

The predictor vector.

y

The response vector.

Details

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.

Source

STAT640 HW 14 given by Dr. Meyer.


coneproj documentation built on Oct. 15, 2023, 9:06 a.m.

Related to cubic in coneproj...