
Last chance! 50% off unlimited learning
Sale ends in
Given a function object f
containing both the estimated
and theoretical versions of a summary function, these operations
combine the estimated and theoretical functions into a new function.
When plotted, the new function gives either the P-P plot or Q-Q plot
of the original f
.
PPversion(f, theo = "theo", columns = ".")QQversion(f, theo = "theo", columns = ".")
The function to be transformed. An object of class "fv"
.
The name of the column of f
that should be treated as the
theoretical value of the function.
Character vector, specifying the columns of f
to which the transformation will be applied.
Either a vector of names of columns of f
,
or one of the abbreviations recognised by fvnames
.
Another object of class "fv"
.
The argument f
should be an object of class "fv"
,
containing both empirical estimates
The P--P version of f
is the function
f
is a cumulative distribution function (such as the
result of Fest
or Gest
) then
this is a P--P plot, a plot of the observed versus theoretical
probabilities for the distribution.
The diagonal line
The Q--Q version of f
is the function
f
is a cumulative distribution function,
a plot of X
, the Q--Q version of Kest(X)
is
essentially equivalent to Lest(X)
.
# NOT RUN {
opa <- par(mar=0.1+c(5,5,4,2))
G <- Gest(redwoodfull)
plot(PPversion(G))
plot(QQversion(G))
par(opa)
# }
Run the code above in your browser using DataLab