getPre function

Retrieve the Percent Relative Error

Retrieve the Percent Relative Error

Function to retrieve the percent relative error (PRE) used in an equating from an object of class keout created by kequate.

getPre(object)

Arguments

  • object: An object of class keout as created by the function kequate.

Returns

A data frame containing the PRE of the equating.

Author(s)

bjorn.andersson@statistik.uu.se

kenny.branberg@stat.umu.se

marie.wiberg@stat.umu.se

See Also

kequate

Examples

P<-c(5, 20, 35, 25, 15) Q<-c(10, 30, 30, 20, 10) x<-0:4 glmx<-glm(P~I(x)+I(x^2), family="poisson", x=TRUE) glmy<-glm(Q~I(x)+I(x^2), family="poisson", x=TRUE) keEG<-kequate("EG", 0:4, 0:4, glmx, glmy) getPre(keEG)
  • Maintainer: Björn Andersson
  • License: GPL-2 | GPL-3
  • Last published: 2022-04-13

Useful links