cm
is used to fit a linear regression model to symbolic interval-valued variables based on the centre method (Billard and Diday, 2000).cm(formula1, formula2, data, ...)
formula
: a symbolic description of the model to be fitted. formula
: a symbolic description of the model to be fitted. cm
returns an object of class "cm
" including at least the following elements:
Billard, L. and Diday, E. (2000) Regression analysis for interval-valued data. Data Analysis, Classification and Related Methods: Proceedings of the Seventh Conference of the International Federation of Classification Societies, Springer-Verlag, pp. 369-374.
Lima Neto, E.A. and De Carvalho, F.A.T. (2008). Centre and range method to fitting a linear regression model on symbolic interval data. Computational Statistics and Data Analysis, 52, 1500--1515.
summary.cm
, coef
, fitted.cm
, residuals.cm
, formula
data("Cardiological.MinMax", package = "iRegression") ## see Billard and Diday (2000)
ex.cm <- cm(PulseMin~SystMin+DiastMin,PulseMax~SystMax+DiastMax,data=Cardiological.MinMax)
ex.cm
Run the code above in your browser using DataLab