public class FactorModelEffect implements ModelEffect
public FactorModelEffect(kotlin.Array[] levels,
boolean restricted)
public FactorModelEffect(kotlin.Array[] levels,
boolean restricted,
java.lang.Object id)
public java.lang.Object getID()
public int getSize()
public DoubleMatrix getX()
public DoubleMatrix getXtX()
public DoubleMatrix getXty(kotlin.Array[] y)
public void setID(java.lang.Object id)
public DoubleMatrix getXtX2(FactorModelEffect fme)
fme - a FactorModelEffectpublic DoubleMatrix getyhat(DoubleMatrix beta)
public DoubleMatrix getyhat(kotlin.Array[] beta)
public kotlin.Array[] getLevels()
public boolean getRestricted()
public void setRestricted(boolean restricted)
public int getNumberOfLevels()
public kotlin.Array[] getLevelCounts()
public ModelEffect getCopy()
public ModelEffect getSubSample(kotlin.Array[] sample)
public int getEffectSize()