OLS_modeling: functions related to modeling

Description Usage Arguments Details Value Author(s) See Also Examples

Description

<Delete and Replace>

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
reg_model(dat_yx, reg_obj, rank = 1, rank_by = c("bic", "rsq", "rss",
  "adjr2", "cp"), debug = FALSE, ...)

lm_boot(model, y = NA, data = NA, n_boot = 50)

many_boots(model, n_range, r_boots = 10, n_clus = 1, lm_boot, ...)

reg_multi(y_vars, data, form_y = c("y~.", "y~.*."), n_v_max = 3,
  n_best = 1, really_big = FALSE, n_clus = 1, ...)

mod_multi(reg_multi_obj, data, ...)

pred_multi(mods, data, dat0, id_col, n_clus = 1, clus = NA,
  out_dir = NULL, se_fit = TRUE, return = FALSE, fix_outliers = T,
  outlier_fun = function(y0, yhat, yhat_se) {     large = yhat > max(y0)
  * 1.5     small = yhat < 0     yhat[small] = 0     yhat[large] =
  quantile(y0, 0.99) * 1.5     yhat_se[large] = max(yhat_se[!large &
  !small])     yhat_se[small] = max(yhat_se[!large & !small])    
  data.frame(fit = yhat, se_fit = yhat_se) })

multi_bs(mods, n_boot = 50, n_clus, lm_boot)

lm_summary(x, data, resids = FALSE)

Arguments

dat_yx

tbd

reg_obj

tbd

rank

tbd

rank_by

tbd

debug

tbd

...

tbd

lm_boot() parameters:

model

tbd

y

tbd

data

tbd

n_boot

tbd

many_boots() parameters:

n_range

tbd

r_boots

tbd

n_clus

tbd

lm_boot

tbd

y_vars

tbd

form_y

tbd

n_v_max

tbd

n_best

tbd

really_big

tbd

reg_multi_obj

tbd

mods

tbd

dat0

tbd

id_col

tbd

clus

tbd

out_dir

tbd

se_fit

tbd

return

tbd

fix_outliers

tbd

outlier_fun

tbd

multi_bs() parameters:

x

tbd

resids

tbd

model

tbd

...

tbd

reg_multi() parameters:

data

tbd

n_clus

tbd

...

tbd

mod_multi() parameters:

data

tbd

...

tbd

pred_multi() parameters:

data

tbd

n_clus

tbd

mods

tbd

n_boot

tbd

n_clus

tbd

lm_boot

tbd

lm_summary() parameters:

data

tbd

Details

<Delete and Replace>


Revision History

1.0 date and revisions..

Value

reg_model: lm_boot: many_boots: reg_multi: mod_multi: pred_multi: multi_bs: lm_summary:

Author(s)

Jacob Strunk <Jacob.strunk@dnr.wa.gov>

See Also

regsubsets

Examples

1
<Delete and Replace>

jstrunk001/lasR documentation built on April 20, 2020, 7:24 a.m.