fit.method: Methods to fit models

Description Usage Arguments Value Functions

Description

Methods to fit models

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
fit.method(model, data, type = c("lm", "glm", "glm.step.AIC", "glm.step.BIC",
  "glm.best.AIC", "glm.best.BIC", "gam", "glmnet", "glmnet.1se", "glmnet.cv",
  "glmnet.boot", "adaptiveLASSO", "SCAD", "penalized", "stability",
  "stability.step.AIC", "cox", "cox.step.AIC", "cox.step.BIC", "cox.best.AIC",
  "cox.best.BIC", "glmnet.cox1", "glmnet.cox2", "rpart1", "rpart2",
  "randomForest", "gbm", "gbm.cox", "coxtv", "coxtv.step.AIC",
  "coxtv.step.BIC"), pi = 0.8, rep = 100, size = 0.5, seed = NULL, ...)

fit.method.lm(model, data, ...)

fit.method.lm.step.AIC(model, data, ...)

fit.method.lm.step.BIC(model, data, ...)

fit.method.glm(model, data, ...)

fit.method.glm.step.AIC(model, data, ...)

fit.method.stab.step.AIC(model, data, pi = 0.8, B = 100, size = 0.5,
  seed = NULL, parallel = FALSE, ...)

fit.method.glm.step.BIC(model, data, ...)

fit.method.glm.step(model, data, ...)

fit.method.cox(model, data, ...)

fit.method.cox.step.AIC(model, data, ...)

fit.method.cox.step.BIC(model, data, ...)

fit.method.cox.step(model, data, ...)

fit.method.coxtv(model, data, ...)

fit.method.coxtv.step(model, data, ...)

fit.method.glmnet(model, data, family = "binomial", lambda = NULL,
  nfolds = 10, type.measure = "deviance", standardize = TRUE, alpha = 1,
  ...)

fit.method.glmnet.cv(model, data, family = "binomial", lambda = NULL,
  refit = TRUE, nfolds = 10, type.measure = "deviance",
  standardize = TRUE, alpha = 1, krepeat = 10, nse = 1, nlambda = 100,
  lambda.min.ratio = 1e-04, parallel = FALSE, ...)

fit.method.glmnet.boot(model, data, family = "binomial", lambda = NULL,
  refit = TRUE, krepeat = 100, type.measure = "deviance",
  standardize = TRUE, alpha = 1, nse = 1, nlambda = 100,
  lambda.min.ratio = 1e-04, parallel = FALSE, ...)

fit.method.penalized(model, data, ...)

fit.method.alasso(model, data, family = "binomial", lambda = NULL,
  nfolds = 10, type.measure = "deviance", standardize = TRUE, alpha = 1,
  ...)

fit.method.scad(model, data, family = "binomial", penalty = "SCAD",
  gamma = 3.7, alpha = 1, lambda.min = 0.001, nlambda = 100)

fit.method.stability(model, data, size = 0.632, steps = 100, weakness = 1,
  error = 0.05, pi_thr = 0.6, error.type = "pfer", family = "binomial",
  standardize = TRUE, intercept = TRUE, alpha = 1, ...)

fit.method.gam(model, data, family = "binomial", ...)

fit.method.rpart1(model, data, ...)

fit.method.rpart2(model, data, method = "anova",
  control = rpart.control(minsplit = 20, xval = 10, cp = 0), ...)

fit.method.randomForest(model, data, ntree = 500, ...)

fit.method.gbm(model, data, distribution = "bernoulli", cv.folds = 10,
  n.trees = 3000, interaction.depth = 2, verbose = FALSE,
  shrinkage = 0.001, n.cores = 1, ...)

fit.method.glm.glmulti.AIC(model, data, ...)

fit.method.glm.glmulti.BIC(model, data, ...)

fit.method.cox.glmulti.AIC(model, data, ...)

fit.method.cox.glmulti.BIC(model, data, ...)

fit.method.glm.glmulti(model, data, ...)

fit.method.cox.glmulti(model, data, ...)

Arguments

model

Model formula to fit

data

Data to fit model

...

Other arguments

Value

fitted model

Functions


lampk/R306 documentation built on May 20, 2019, 7:34 p.m.