AMK: Additive Multiplicative Kernel Regression

Description Usage Arguments

View source: R/AMK.R

Description

Additive Multiplicative Kernel Regression

Usage

1
2
3
4
5
6
7
8
9
AMK(
  trainX,
  trainY,
  testX,
  bw = "dpi_gap",
  nMultiCov = 3,
  fixedCov = c(1, 2),
  cirCov = NA
)

Arguments

trainX

a matrix or dataframe to be used in modelling

trainY

a numeric or vector as a target

testX

a matrix or dataframe, to be used in computing the predictions

bw

a vector or character input. If character, the input should be 'dpi' or 'dpi_gap'

nMultiCov

a numerical value specifying the number of covariates in multiplicative term

fixedCov

a vector or numeric specifying the fixed covariates column number, default value is NA


nitesh-1507/DSWE documentation built on April 16, 2020, 5:28 p.m.