# Piecewise linear (pw_linear)#

## Description#

This function pw_linear simulates a piecewise linear model (see Cost linear). The covariates are standard Gaussian random variables. The response variable is a (piecewise) linear combination of the covariates.

## Usage#

import numpy as np