Skip to main content
0 votes
0 answers
13 views

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 ...
Anna Beatriz Gomes's user avatar
1 vote
0 answers
45 views

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 ...
Eleuterio's user avatar
0 votes
0 answers
33 views

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. ...
Karin Vrijburg's user avatar
2 votes
0 answers
109 views

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 ...
lvmben's user avatar
  • 21
0 votes
1 answer
68 views

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 ...
ryorlets's user avatar
0 votes
0 answers
129 views

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, ...
John Stone's user avatar
1 vote
2 answers
169 views

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 &...
A McNally's user avatar
0 votes
0 answers
65 views

I imputed 20 datasets with the mice package to deal with missing data. An example of the code I used to impute is: imp2 <- mice(merged_data, m = 20, maxit = 10, predictorMatrix = ...
Bryan's user avatar
  • 1
0 votes
0 answers
29 views

I am using multiple imputation to handle missingness in my dataset of 83 variables across 250 participants. I intend to use 12 of these variables, which comprise a self-compassion questionnaire, in a ...
Bryan's user avatar
  • 1
1 vote
1 answer
98 views

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 ...
TiredSquirrel's user avatar
0 votes
0 answers
60 views

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 ...
gibarian's user avatar
  • 157
2 votes
1 answer
116 views

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 ...
zandarina's user avatar
0 votes
1 answer
52 views

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) ...
tomw's user avatar
  • 3,291
3 votes
1 answer
266 views

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 ...
BPeif's user avatar
  • 370
0 votes
0 answers
157 views

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 ...
Jon Boyette's user avatar

15 30 50 per page
1
2 3 4 5
14