R2.U | R Documentation |
Compute the upper boundary correlation coefficient for two interval variables.
R2.U(ref, pred)
ref |
Variable that was predicted. |
pred |
The prediction given by the model. |
The upper boundary correlation coefficient.
Oldemar Rodriguez Rojas
LIMA-NETO, E.A., 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.
LIMA-NETO, E.A., DE CARVALHO, F.A.T., (2010). Constrained linear regression models for symbolic interval-valued variables. Computational Statistics and Data Analysis 54, 333-347.
sym.glm
data(int_prost_train)
data(int_prost_test)
res.cm <- sym.lm(lpsa ~ ., sym.data = int_prost_train, method = "cm")
pred.cm <- sym.predict(res.cm, int_prost_test)
R2.U(int_prost_test$lpsa, pred.cm$Fitted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.