public class GamUtilsCubicRegression
extends java.lang.Object
Constructor and Description |
---|
GamUtilsCubicRegression() |
Modifier and Type | Method and Description |
---|---|
static void |
expandOneGamCol(double xval,
double[][] binvD,
double[] basisVals,
double[] hj,
double[] knots) |
static double |
gen_a_m_j(double xjp1,
double x,
double hj) |
static double |
gen_a_p_j(double xj,
double x,
double hj) |
static double |
gen_c_m_j(double xjp1,
double x,
double hj) |
static double |
gen_c_p_j(double xj,
double x,
double hj) |
static int |
locateBin(double xval,
double[] knots) |
static void |
updateAFunc(double[] basisVals,
double xval,
int binIndex,
double[] knots,
double[] hj) |
static void |
updateFMatrixCFunc(double[] basisVals,
double xval,
int binIndex,
double[] knots,
double[] hj,
double[][] binvD) |
public static double gen_a_m_j(double xjp1, double x, double hj)
public static double gen_a_p_j(double xj, double x, double hj)
public static double gen_c_m_j(double xjp1, double x, double hj)
public static double gen_c_p_j(double xj, double x, double hj)
public static int locateBin(double xval, double[] knots)
public static void updateAFunc(double[] basisVals, double xval, int binIndex, double[] knots, double[] hj)
public static void updateFMatrixCFunc(double[] basisVals, double xval, int binIndex, double[] knots, double[] hj, double[][] binvD)
public static void expandOneGamCol(double xval, double[][] binvD, double[] basisVals, double[] hj, double[] knots)