degrees of freedom wrong under strong simple structure
Bug #184658 reported by
Ben Goodrich
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FAiR |
Fix Released
|
Medium
|
Ben Goodrich |
Bug Description
example(Factanal)
## Reestimate SEFA model with strong simple structure requirement
df.residual(sefa) # wrong
The problem is that the degrees of freedom calculation is only based on the number of fixed elements in the coefficient matrix and the number of zeros in the zeros argument to FAiR_fix_
Changed in fair: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This problem also occurs when perfect clustering is requested. It is mostly fixed in the trunk; see
http:// codebrowse. launchpad. net/~bgokgm/ fair/trunk/ revision/ 4
There is still a corner case in which simple structure or perfect clustering is insufficient to get the number of zeros the user requests into a particular factor. In that case the code will (correctly) squash more coefficients to zero but the degrees of freedom will not reflect this. A real fix will involve rechecking the degrees of freedom in the create_FAobject methods for restrictions. 1storder, restrictions. general, and restrictions. 2ndorder