Skip to content

[WIP] Centroid Extraction#229

Open
bobbraswell wants to merge 2 commits intoaiorazabala:masterfrom
bobbraswell:centroid
Open

[WIP] Centroid Extraction#229
bobbraswell wants to merge 2 commits intoaiorazabala:masterfrom
bobbraswell:centroid

Conversation

@bobbraswell
Copy link

try something like...
ldata <- import.pqmethod("lipset.dat")
lcor <- cor(ldata)
results <- qcf(lcor)
results

The hardest part of a centroid extraction in R is dealing with the sign vector used to maximize positive manifold before each factor is extracted. This function implements a new algorithm from the IFI-Zurich report in references list. This will not be a function called by the user, but will be wrapped in the centroid extraction function.
The function committed last time is renamed and debugged, and supplemented by all other necessary functions. Given an input matrix X (correlation matrix), "results <- qcf(X)" will return centroid FA results.  At this stage it has been tested on three datasets and seems to give the same results as other standards. More testing needed.
@maxheld83 maxheld83 added this to the 1.5.0 Centroid Rotation and More "Old School" Q-Methodology milestone Aug 18, 2015
@maxheld83 maxheld83 changed the title Centroid [WIP] Centroid Extraction Aug 24, 2015
@aiorazabala aiorazabala self-assigned this Aug 24, 2016
@aiorazabala
Copy link
Owner

Since this is a new function, it needs a help file (.../man/centroid.Rd) and has to follow other standard R package instructions: extension *.R, changes in namespace, etc.

Otherwise it won't pass the checks to be built as an R package (and people won't know how to use it either, e.g. which are the arguments to pass to this function?).

@aiorazabala aiorazabala modified the milestones: Centroid Rotation and More "Old School" Q-Methodology, 1.6.0 Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants