Generate integrals of basis terms for use in the ssden1 suite.
mkint(mf, type, id.basis, quad, term, rho, rho.int)
mkint2(mf, type, id.basis, quad, term)
mkint
returns a list of five elements.
First moments of phi's.
First moments of rk's.
Cross moments of phi*log(rho).
Cross moments of rk*log(rho).
Types for variables.
mkint2
returns a list of three elements.
Second moments of phi's.
Cross moments of phi's and rk's.
Second moments of rk.
Model frame of the model formula.
List specifying the type of spline for each variable.
Index of observations to be used as "knots."
Quadratures on marginal domains, weighted by rho.
Model terms generated by mkterm
.
Marginal log(rho) on quadrature points.
Marginal integrals of log(rho).
mkint
calculates the first moments of basis functions with
respect to the indepent joint density rho; mkint2
calculates
the second moments for use in project.ssden1
.