Description Usage Arguments Value
Calculates and returns a list of matrixes, each one representing a PWP expansion for dimention d. Combines all of the parameters on a relatively fast computation of basis expansion for X described on the thesis and on (Denison, Mallik and Smith, 1998).
1 | calculate_Phi(X, M, J, K, d, tau, indep_terms)
|
X |
Design matrix of n observations and d covariables (numeric - n*d) |
M |
M minus 1 is the degree of the polinomial (integer - M > 0) |
J |
Number of intervals in each dimention (integer - J > 1) |
K |
Order of continuity in the derivatives (integrer - K < M) |
d |
Number of dimentions, this parameter helps to improve efficiency |
tau |
matrix containing the nodes in which to split the Piecewise Polinomials |
indep_terms |
Keeps the independent terms in the PWP expansion. Leaving those terms might lead to identificability errors. (logical) |
A list of PWP expansion matrixes for each dimention d.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.