Learn R Programming

npde (version 3.5)

NpdeRes-class: Class "NpdeRes"

Description

The results component of a NpdeObject object

Arguments

Objects from the Class

NpdeRes objects are created during a call to npde or autonpde as the "results" slot in a NpdeObject object. An NpdeRes object contains the following slots:

res

a dataframe containing the results. Columns include id (group), xobs (observed X), yobs (observed Y), cens (indicator for censored data), as well as the actual results: ypred (model population predictions), pd (prediction discrepancies), npde (normalised prediction distribution errors), ycomp (completed data), ydobs (decorrelated observed data).

N

number of subjects

ntot.obs

total number of non-missing observations

ploq

a vector giving the probability that a given observation is LOQ, according to the model

icens

index of (non-missing) censored observations

not.miss

a vector of boolean indicating for each observation whether it is missing (FALSE) or available (TRUE)

pd.sim

pd computed for a number of simulated datasets (optional, used to obtain prediction intervals on the distribution of pd)

npde.sim

npde computed for a number of simulated datasets (optional, used to obtain prediction intervals on the distribution of npde)

Methods

print(npde.res):

Prints a summary of object npde.res

show(npde.res):

Prints a short summary of object npde.res

showall(npde.res):

Prints a detailed summary of object npde.res

plot(npde.res):

Plots the data in npde.res. More details can be found in plot.NpdeRes

summary(npde.res):

Returns a summary of object npde.res in list format

gof.test(x, parametric=TRUE, ...):

Returns goodness-of-fit tests

See Also

npde, autonpde, plot.NpdeRes, NpdeObject

Examples

Run this code
methods(class="NpdeRes")

showClass("NpdeRes")

Run the code above in your browser using DataLab