PredictLm

scalaglm.PredictLm
case class PredictLm(mod: Lm, newX: DMD) extends Predict

Prediction from a fitted linear (Lm) model

Value parameters

mod

fitted linear model

newX

covariate matrix for predictions

Attributes

Returns

An object of type PredictLm with several useful attributes, including .fitted and .se

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Predict
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val fitted: DVD

fitted values

fitted values

Attributes

val nX: DenseMatrix[Double]

New covariate matrix (including intercept, if required)

New covariate matrix (including intercept, if required)

Attributes

lazy val se: DenseVector[Double]

standard errors for the predictions

standard errors for the predictions

Attributes

lazy val xrti: DenseMatrix[Double]

for internal use (probably should be marked private)

for internal use (probably should be marked private)

Attributes