coef.cornet.html 6.19 KB
Newer Older
 Armin Rauschenberger committed Jan 08, 2019 1 2 3 4 5 6 7 8   Armin Rauschenberger committed Feb 05, 2019 9 Extract estimated coefficients — coef.cornet • cornet  Armin Rauschenberger committed Jan 08, 2019 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32   Armin Rauschenberger committed Feb 05, 2019 33   Armin Rauschenberger committed Jan 08, 2019 34   Armin Rauschenberger committed Feb 05, 2019 35 36   Armin Rauschenberger committed Jan 08, 2019 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 
 Armin Rauschenberger committed Feb 05, 2019 123 124 

Extracts estimated coefficients from linear and logistic regression, under the penalty parameter that minimises the cross-validated loss.

 Armin Rauschenberger committed Jan 08, 2019 125 126 127 
 Armin Rauschenberger committed Jan 17, 2019 128 
# S3 method for cornet 
Armin Rauschenberger committed Jan 08, 2019  129      130      131      132      133      134      135                                                                                                                                                           coef(object, ...)

Arguments

object

cornet object

...

further arguments (not applicable)

 Armin Rauschenberger committed Feb 05, 2019 136   Armin Rauschenberger committed Jan 08, 2019 137 138 139   Armin Rauschenberger committed Feb 05, 2019 140   Armin Rauschenberger committed Jan 08, 2019 141 142 143   Armin Rauschenberger committed Feb 05, 2019 144 145 146 147 148 149 150 

Value

This function returns a matrix with $$n$$ rows and two columns, where $$n$$ is the sample size. It includes the estimated coefficients from linear (first column, "beta") and logistic (second column, "gamma") regression.

 Armin Rauschenberger committed Jan 08, 2019 151 152 153 154 155 156 157 158 159 

Examples

NA
#> [1] NA