Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mm_run_reg

Build formula and run linear regression for metamodel


Description

Build formula and run linear regression for metamodel

Usage

mm_run_reg(analysis, dep, params, dat, type, poly.order, k)

Arguments

analysis

either "oneway" or "twoway"

dep

dependent variable in regression

params

string vector with the name(s) of the parameter of interest. Defaults to all.

dat

data to use in regression

type

type of metamodel

poly.order

order of polynomial for the linear regression metamodel. Default: 2

k

the dimension of the basis used to represent the smooth term. The default depends on the number of variables that the smooth is a function of. k should not be less than the dimension of the null space of the penalty for the term (see null.space.dimension), but will be reset if it is. See choose.k for further information.

all_params

all params in PSA

Value

a statistical metamodel


dampack

Decision-Analytic Modeling Package

v1.0.0
GPL-3
Authors
Fernando Alarid-Escudero [aut], Greg Knowlton [aut, cre], Caleb Easterly [aut], Eva Enns [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.