fit.PRO: Fitting distributions to Patient-reported Outcome Data
Description
To fit PRO data to distributions including GLD, PD, GPD, Weibull, EWD
and other families.
Usage
fit.PRO(x,dist,x.range,nclass)
Value
x.fit, y.fit
Fitted marginal distribution for row- and column-data when 'x' is a matrix.
Psi
Plackett estimate of the Psi. ONLY for 'fit.FSD2'
If each of x.fit and y.fit, the following values are available:
xhist
histogram.
dist
distribution type. Options include Weibull,
gpd -- generalized Pareto distribution, pd or
Pareto, EWD-- exponentiated Weibull distribtion.
size
Total number of observations (sample size)
pars
Estimates of parameters.
y,y2,x
the pdf (y) and cdf (y2) values evaluated on a grid x
Arguments
x
'x' can be a vector or a matrix, a 'histogram', or binned data.
dist
distribution type for 'x' and/or 'y'. Options include Weibull, gpd -- generalized Pareto distribution, pd or
Pareto, EWD-- exponentiated Weibull distribtion.
x.range
Specifies the range of data. Used only for interval PRO data.
nclass
Number of classes/bins. Used only for interval PRO data.