PredictGlm

scalaglm.PredictGlm
case class PredictGlm(mod: Glm, newX: DMD, response: Boolean) extends Predict

Prediction from a fitted linear (Glm) model

Value parameters

mod

fitted generalised linear model

newX

covariate matrix for predictions

response

predictions on the response scale?

Attributes

Returns

An object of type PredictGlm 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 on the desired scale

fitted values on the desired scale

Attributes

val lp: DenseVector[Double]

fitted values on the linear predictor scale

fitted values on the linear predictor scale

Attributes

val nX: DenseMatrix[Double]

fitted values

fitted values

Attributes

lazy val rtix: DenseMatrix[Double]

for internal use (probably should be marked private)

for internal use (probably should be marked private)

Attributes

lazy val se: DenseVector[Double]

standard errors for the predictions on the desired scale

standard errors for the predictions on the desired scale

Attributes

lazy val selp: DenseVector[Double]

standard errors on the linear predictor scale

standard errors on the linear predictor scale

Attributes