rational_rss_fac: Residual sum of squares of rational function models

Description Usage Arguments Details Value

Description

Produce a function that calculates the residual sum of squares of a set of rational function models.

Usage

1
rational_rss_fac(y, x, dim_f, dim_g)

Arguments

y

a response vector. (num vec)

x

a predictor vector. (num vec)

dim_f

the number of coefficients in the numerator. (num)

dim_g

the number of coefficients in the denominator, excluding the constant term. (num)

Details

The produced function can be minimised using SMC-SA, multiSA or CEPSO.

Value

a function that takes in a matrix of rational function coefficients (numerator precede denominator, in ascending order), each column corresponds to a rational function, and returns a vector of redisual sum of squares.


weiyaw/blackbox documentation built on June 7, 2019, 5:12 a.m.