PredictLm

scalaglm.PredictLm
case class PredictLm(mod: Lm, newX: DenseMatrix[Double]) extends Predict

Prediction from a fitted linear (Lm) model

Attributes

mod

fitted linear model

newX

covariate matrix for predictions

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

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val fitted: DenseVector[Double]

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