Learn R Programming

FAiR (version 0.4-13)

parameter-class: Class "parameter"

Description

It is not necessary to understand this help page if one merely wants to estimate a factor analysis model. This help page is intended for those who want to modify or extend FAiR or otherwise want some idea of how FAiR works behind the scenes.

This class is used internally to hold information about the parameters in a factor analysis model.

Arguments

Objects from the Class

Objects can be created by calls of the form new("parameter", ...). However, rarely, if ever, would one want to do so directly because make_restrictions instantiates them and puts them into the slots of an object of restrictions-class.

Methods

A cormat method extracts the x slot of an object of "parameter.cormat". A coef method extracts the x slot of an object that inherits from "parameter.coef". There is no special extractor function for objects of "parameter.scale". There are also show methods.

The most important methods are those defined for the make_parameter S4 generic. This function takes two arguments, "par", which is a numeric vector but not part of the signature, and "object", which is an object that inherits from the "parameter" class. The make_parameter methods are defined for each inherited class and basically do two things. First, they do something like this object@x[object@free] <- par[object@select] to fill the free elements of x with corresponding values from "par". Then, these methods often check whether the parameters are collectively admissable under the assumptions of the factor analysis model. If not, the make_parameter method must set the invalid slot to some number that is greater than $-1.0$ and not $0.0$. It is preferable if larger values somehow indicate more flagrant inadmissability, since this number is used as a return value in the lexical optimization process (see genoud). Finally, the make_parameter should return object.

References

Howe, W.G. (1955) Some Contributions to Factor Analysis. Dissertation published as ORNL-1919 by Oak Ridge National Laboratory in Tennessee.

Reiersøl{Reiersol}, O. (1950) On the Identifiability of Parameters in Thurstone's Multiple Factor Analysis. Psychometrika, 15, 121--149.

Examples

Run this code
showClass("parameter")
showClass("parameter.cormat")
showClass("parameter.scale")
showClass("parameter.coef")
showClass("parameter.coef.nl")
showClass("parameter.coef.SEFA")
showClass("parameter.coef.SEFA.nl")
showMethods("make_parameter")

Run the code above in your browser using DataLab