PredictGlm

case class PredictGlm(mod: Glm, newX: DenseMatrix[Double], response: Boolean) extends Predict

Prediction from a fitted linear (Glm) model

Value Params
mod

fitted generalised linear model

newX

covariate matrix for predictions

response

predictions on the response scale?

Returns

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

trait Serializable
trait Product
trait Equals
trait Predict
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

val fitted: DenseVector[Double]

fitted values on the desired scale

fitted values on the desired scale

val lp: DenseVector[Double]

fitted values on the linear predictor scale

fitted values on the linear predictor scale

val nX: DenseMatrix[Double]

fitted values

fitted values

lazy val rtix: DenseMatrix[Double]

for internal use (probably should be marked private)

for internal use (probably should be marked private)

lazy val se: DenseVector[Double]

standard errors for the predictions on the desired scale

standard errors for the predictions on the desired scale

lazy val selp: DenseVector[Double]

standard errors on the linear predictor scale

standard errors on the linear predictor scale