Description Usage Arguments Details Value See Also Examples
Given a multiple homals solution we can reconstruct the indicator matrix by assigning each object to the closest category point of the variable. We can then find out how well we have reconstructed the original data in terms of a classification table.
1 2 |
object |
Object of class |
... |
Further arguments ignored |
For variables with rank restrictions we first project the objects on the hyperplane spanned by the category quantifications, and then compute distances in that plane. If there are sets of variables, the percentage correctly classified for a variable is usually not the best thing to look at; except in some special cases, in which some sets consist of a single variable (such as regression and discriminant analysis). In any case a square table with observed vs. predicted values is computed.
cl.table |
List of classification tables for each variable. |
cr.vec |
Vector with classification rates. |
1 2 3 4 5 |
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
Classification rate:
Variable Cl. Rate %Cl. Rate
1 gender 0.7023 70.23
2 IQ 0.5147 51.47
3 advice 0.6481 64.81
4 SES 0.4760 47.60
5 School 0.0302 3.02
Classification Tables (observed vs. predicted):
Variable: gender
pre
obs F M
F 344 291
M 93 562
Variable: IQ
pre
obs 1 2 3 4 5 6 7 8 9
1 4 0 0 0 1 0 0 0 0
2 0 15 2 0 0 0 0 0 0
3 19 23 69 9 1 0 0 0 0
4 89 4 19 75 37 5 5 0 0
5 0 0 10 118 168 77 17 0 0
6 0 0 0 0 42 178 24 0 0
7 0 0 0 1 7 52 97 40 0
8 0 0 0 0 0 0 6 42 15
9 0 0 0 0 0 0 0 3 16
Variable: advice
pre
obs Agr Ext Gen Grls Man None Uni
Agr 11 0 1 0 0 0 0
Ext 11 93 0 0 24 32 1
Gen 45 0 166 166 29 0 1
Grls 0 0 5 13 0 0 0
Man 30 49 10 9 409 2 0
None 0 3 0 0 0 8 0
Uni 36 0 0 0 0 0 136
Variable: SES
pre
obs LoWC MidWC Prof Shop Skil Unsk
LoWC 7 9 12 0 12 3
MidWC 1 117 50 45 29 1
Prof 14 51 78 0 19 1
Shop 10 125 26 235 60 45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12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 1 0
18 0 1
19 0 0
2 0 0
20 0 0
21 3 0
22 0 0
23 0 0
24 0 0
25 0 0
26 0 0
27 0 0
28 0 0
29 0 1
3 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 0 0
35 0 0
36 1 0
37 3 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.