Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_factor_analysis.wasp
Title produced by softwareFactor Analysis
Date of computationWed, 05 Dec 2018 18:04:58 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2018/Dec/05/t1544029702466nfxsdz0075pc.htm/, Retrieved Fri, 03 May 2024 18:35:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=315777, Retrieved Fri, 03 May 2024 18:35:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact92
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Factor Analysis] [] [2018-12-05 17:04:58] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
NA
6
7
6
1
2
3
3
3
2
NA
2
7
7
7
NA
7
3
7
7
3
6
NA
1
3
7
6
1
2
3
5
3
7
6
1
3
1
3
2
1
3
2
2
7
5
3
7
1
3
5
5
7
NA
6
1
3
3
2
1
5
6
3
5
2
7
2
3
1
1
7
1
3
2
2
3
5
3
1
1
7
3
7
2
6
1
7
7
1
2
7
3
NA
NA
NA
4
6
6
2
2
3
3
3
2
NA
2
7
3
7
NA
7
2
7
7
3
6
NA
1
4
7
6
1
2
3
5
3
7
5
1
3
1
2
2
1
3
2
2
7
5
3
7
1
2
5
5
7
NA
6
1
4
4
2
1
6
6
3
3
2
6
2
3
2
1
6
NA
5
2
2
2
5
2
1
1
7
5
7
2
3
1
7
7
1
3
7
3
NA
NA
NA
6
7
7
2
4
5
6
4
3
NA
5
7
7
7
NA
7
5
7
7
5
7
NA
1
4
7
7
1
2
3
5
3
7
6
2
6
4
4
5
4
3
3
2
7
5
3
7
1
5
7
6
7
NA
7
5
5
6
3
1
7
6
6
6
3
6
2
5
2
2
6
NA
3
3
1
6
7
3
1
1
7
7
7
3
4
2
7
7
4
3
7
3
NA
NA




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center
R Engine error message
Error in array(list(NA, 6, 7, 6, 1, 2, 3, 3, 3, 2, NA, 2, 7, 7, 7, NA,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
R Engine error message & 
Error in array(list(NA, 6, 7, 6, 1, 2, 3, 3, 3, 2, NA, 2, 7, 7, 7, NA,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=315777&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [ROW]R Engine error message[/C][C]
Error in array(list(NA, 6, 7, 6, 1, 2, 3, 3, 3, 2, NA, 2, 7, 7, 7, NA,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=315777&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=315777&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center
R Engine error message
Error in array(list(NA, 6, 7, 6, 1, 2, 3, 3, 3, 2, NA, 2, 7, 7, 7, NA,  : 
  length of 'dimnames' [1] not equal to array extent
Execution halted



Parameters (Session):
Parameters (R input):
par1 = ;
R code (references can be found in the software module):
library(psych)
par1 <- as.numeric(par1)
x <- t(x)
nrows <- length(x[,1])
ncols <- length(x[1,])
y <- array(as.double(x[1:nrows,2:ncols]),dim=c(nrows,ncols-1))
colnames(y) <- colnames(x)[2:ncols]
rownames(y) <- x[,1]
print(y)
fit <- principal(y, nfactors=par1, rotate='varimax')
fit
fs <- factor.scores(y,fit)
fs
bitmap(file='test2.png')
plot(fs$scores,pch=20)
text(fs$scores,labels=rownames(y),pos=3)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Rotated Factor Loadings',par1+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variables',1,TRUE)
for (i in 1:par1) {
a<-table.element(a,paste('Factor',i,sep=''),1,TRUE)
}
a<-table.row.end(a)
for (j in 1:length(fit$loadings[,1])) {
a<-table.row.start(a)
a<-table.element(a,rownames(fit$loadings)[j],header=TRUE)
for (i in 1:par1) {
a<-table.element(a,round(fit$loadings[j,i],3))
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')