getPre: Retrieve the Percent Relative Error

getPreR Documentation

Retrieve the Percent Relative Error

Description

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

Usage

getPre(object)

Arguments

object

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

Value

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)

kequate documentation built on April 13, 2022, 9:06 a.m.