Description Usage Arguments Value References See Also Examples
Conducts a LIR analysis for 2 variables with interval-valued observations whose relation is assumed to be linear.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | s.linlir(dat.idf, var=NULL, p=0.5, bet, epsilon=0, a.grid=100)
## S3 method for class 's.linlir'
print(x, ...)
## S3 method for class 's.linlir'
summary(object, ...)
## S3 method for class 's.linlir'
plot(x, y=NULL, ..., typ, para.typ="polygon", b.grid=500,
nb.func=1000, seed.func=NULL, pl.lrm=TRUE, pl.band=FALSE, lrm.col="blue",
pl.dat=FALSE, pl.dat.typ="hist", k.x=1, k.y=1, inf.margin=10, p.cex=1,
col.lev=15, plot.grid=FALSE, x.adj=0.5, x.padj=3,
y.las=0, y.adj=1, y.padj=0,
x.lim=c(0,0), y.lim=c(0,0), x.lab=" ", y.lab=" ")
|
dat.idf |
The |
var |
Names of the two variables out of the |
p |
Quantile of the abolute residuals' distribution to be used as loss function in the LIR analysis. (0.5 corresponds to the median.) |
bet |
Cutoff-point for the normalized profile likelihood function. |
epsilon |
Fraction of coarsening errors considered. |
a.grid |
Particular parameter of the internal function |
x |
Argument of the generic functions |
... |
Argument of the generic functions |
object |
The |
y |
Argument of the generic function |
typ |
Type of the plot. Possible values are |
para.typ |
Options for plot of |
b.grid |
Parameter for plot of |
nb.func |
Number of (randomly chosen) plotted undominated lines for plots of |
seed.func |
Set seed for the random selection of plotted regression lines for plots of |
pl.lrm |
Logical for plots of |
lrm.col |
Color used to highlight the LRM regression lines in the plots of |
pl.band |
Logical for plots of |
pl.dat |
Logical for plots of |
pl.dat.typ |
Type of the data plot. Possible values are |
k.x |
Particular data plot function parameter. 1/ |
k.y |
Particular data plot function parameter. 1/ |
inf.margin |
Particular parameter for data plot with |
p.cex |
Particular parameter for data plot with |
col.lev |
Particular parameter for data plot with |
plot.grid |
Logical for data plot with |
x.adj |
Horizontal position of the text for the abscissa. |
x.padj |
Vertical position of the text for the abscissa. |
y.las |
Orientation of the text for the ordinate. |
y.adj |
|
y.padj |
|
x.lim |
The limits for the abscissa of the plot. |
y.lim |
The limits for the ordinate of the plot. |
x.lab |
Title of the abscissa. |
y.lab |
Title of the ordinate. |
f.lrm |
Intercept and slope value(s) of the Likelihood-based Region Minimax (LRM) regression line(s). |
q.lrm |
Value of the p-quantile of the absolute residuals associated with the LRM regression line(s). |
a.undom |
Range of intercept values of the undominated regression lines. |
b.undom |
Range of slope values of the undominated regression lines. |
undom.para |
A matrix of undominated parameter combinations approximating the entire set of parameters corresponding to the set of undominated regression lines. |
config |
A list containing information about the settings of the LIR analysis. |
dat |
An |
n |
Number of observations. |
call |
Call of the function |
M. Cattaneo, A. Wiencierz (2012c). On the implementation of LIR: the case of simple linear regression with interval data. Technical Report No. 127. Department of Statistics. LMU Munich.
A. Wiencierz, M. Cattaneo (2012b). An exact algorithm for Likelihood-based Imprecise Regression in the case of simple linear regression with interval data. In: R. Kruse et al. (Eds.). Advances in Intelligent Systems and Computing. Vol. 190. Springer. pp. 293-301.
M. Cattaneo, A. Wiencierz (2012a). Likelihood-based Imprecise Regression. International Journal of Approximate Reasoning. Vol. 53. pp. 1137-1154.
idf.create
,
gen.lms
,
kl.ku
,
undom.para
1 2 3 4 5 6 7 8 9 10 11 12 | data('toy.smps')
toy.idf <- idf.create(toy.smps, var.labels=c("x","y"))
test <- s.linlir(toy.idf, bet=0.5)
test
summary(test)
plot(test, typ="para", x.adj=0.7, y.las=1, y.adj=6, y.padj=-3)
plot(test, typ="func", pl.lrm=FALSE, x.adj=0.7, y.adj=0.7, y.padj=-3)
plot(test, typ="lrm", lrm.col="red", pl.band=TRUE, pl.dat=TRUE, pl.dat.typ="draft",
k.x=10, k.y=10, y.las=1, y.adj=6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.