Skip to contents

Simulated data for regression

Usage

res_demo_1

Format

A data frame with 100 observations on the following 3 variables.

x

a numeric vector

y_lin

a numeric vector

y_fan_back

a numeric vector

Examples


res_demo_1
#> # A tibble: 100 × 3
#>        x y_lin y_fan_back
#>    <int> <dbl>      <dbl>
#>  1     1  9.33      -48.3
#>  2     2 -7.22       76.6
#>  3     3 47.0       102. 
#>  4     4 25.0        29.3
#>  5     5 16.7        59.0
#>  6     6 15.7        97.8
#>  7     7 13.9       -38.5
#>  8     8 29.4        85.5
#>  9     9 37.2        16.9
#> 10    10 38.7        38.9
#> # ℹ 90 more rows