202 questions
2 votes
0 answers
26 views
How to fix "correlation larger than 1" in longitudinal invariance with ordered-categorical measures using Marker Variable method
I am investigating the longitudinal measurement invariance of a socio-emotional learning (SEL) measure (5 factors, 2 waves) using lavaan and the WLSMV estimator. I am following the identification ...
1 vote
0 answers
46 views
sklearn's FactorAnalysis varimax orthogonal rotation increases correlation of factors
I'm using Scikit-Learn's FactorAnalysis in an application that relies on the assumption that the factors are uncorrelated. It would be great to have more interpretable factors, and an orthogonal ...
0 votes
0 answers
35 views
factor analysis, loadings not as expected
I ran an exploratory factor analysis in SPSS. There are supposed to be 9 items( factors) however the loadings are not as expected. The survey is a 5 point likert and all are quite highly rated. ...
2 votes
0 answers
113 views
Multiple-Group Factor Analysis Alignment in R - need to extract the factor scores
I'm trying to setup a factor which measures (it's just an example) trust in institutions. The data was registered in more than 10 regions and it would be important to have the same factor structure in ...
0 votes
1 answer
70 views
How do you interpret the different lines on a Very Simple Structure plot? And extract the values to feed into a ggplot?
For my factor analysis, I first created a scree plot and then a Very Simple Structure (VSS) plot to help discern the appropriate number of factors to retain. Using the psych package, here's my code to ...
0 votes
0 answers
138 views
Variable names not fully displayed when using psych::fa.diagram for plotting
Using the example from the psych package: library(psych) # ? fa.diagram f3 <- fa(Thurstone, 3, rotate="cluster") fa.diagram(f3, cut=.4, digits=2) f3l <- f3$loadings fa.diagram(f3l, ...
1 vote
2 answers
171 views
R Error in psych::polychoric() "Error in cor(x, use = "pairwise") : supply both 'x' and 'y' or a matrix-like 'x'"
I'm trying to run psych::polychoric(), but each time I get this error: Error in cor(x, use = "pairwise") : supply both 'x' and 'y' or a matrix-like 'x' I'm struggling to understand why my &...
1 vote
1 answer
102 views
Checking convergence in the results returned by the psych fa() function?
I am writing a function that will use the fa() function from the "psych" package. When fa() fails to converge, I want my function to discard the results and return an empty plot that just ...
0 votes
0 answers
62 views
How to perform a confirmatory factor analysis
I am trying to perform a confirmatory factor analysis in R based on a data set in data.frame form. For that, I would like to calculate the loading factor (\lambda), the construct reliability (CR) and ...
2 votes
1 answer
123 views
Psych library: factor analysis not convergence with mixed data
I want to compute factor analysis with mixed data (i.e., continous, categorical and binary) but I have a lot of warnings and it does not converge resulting in Nans ( objective num NaN, criteria NaN NA ...
0 votes
1 answer
57 views
How to use R package modelsummary to produce a factanal summary table
The modelsummary::supported_models() includes factanal objects, to purportedly produce a summary table of a factor analysis model. However, the following two attempts fail library(modelsummary) ...
3 votes
1 answer
270 views
Why do the factor loadings from R's fa() and factanal() functions differ when using the promax rotation?
I tried to use factanal() from base R and fa() from the psych package to perform a factor analysis on data from a questionnaire with same response scale for each question. Why do I obtain different ...
0 votes
0 answers
159 views
Why am I seeing negative factor loadings when using the factor-analyzer module in pandas and limiting the model to 1 factor?
I am trying to learn how to perform factor analysis in Pandas using the factor-analyzer module. I'm checking my work by running the same analysis in Stata. The initial, exploratory factor analysis ...
0 votes
1 answer
153 views
Best way to format this data for exploratory factor analysis, using R? [closed]
I have extremely little experience with factor analysis so my question may beyond rudimentary/remedial. My question is about data formatting. I have this dataset (well, this is just the first two of ...
1 vote
0 answers
44 views
Garch Standardization of returns-FactorAnalytics package in R
In the Garch part of the specFfm from FactorAnalytics (standardization of the returns), shoudn't the dataDT$ts[i] be lagged one period based on the basic GARCH(1,1) formula? for ( i in 1: NROW(dataDT)...