Displaying 20 results from an estimated 300 matches similar to: "- factanal scores correlated?"
2005 Dec 17
0
- McNemar with unequal sample sizes
Hi,
i need to test the equality of proportions in a paired case, like here:
after before
+ -
+ 10 14
- 5 53
So usually i use the mcnemar.test(stats).
Due to mortality, I now got the problem that my sample sizes in both
factors are not equal any more -- there are less cases in the "after"
condition. I already learned that Ekbohm (1982) and Marascuilo adressed
the problem
2011 Nov 20
2
ltm: Simplified approach to bootstrapping 2PL-Models?
Dear R-List,
to assess the model fit for 2PL-models, I tried to mimic the
bootstrap-approach chosen in the GoF.rasch()-function. Not being a
statistician, I was wondering whether the following simplification
(omit the "chi-squared-expressed model fit-step") would be appropriate:
GoF.ltm <- function(object, B = 50, ...){
liFits <- list()
for(i in 1:B){
rndDat <-
2005 Nov 17
1
Predicting and Plotting "hypothetical" values of factors
Last Friday, I noticed that it is difficult to work with regression
models in which there are factors. It is easier to do the old fashioned
thing of coding up "dummy" variables with 0-1 values. The predict
function's newdata argument is not suited to insertion of hypothetical
values for the factor, whereas it has no trouble with numeric variables.
For example, if one uses a
2013 Jan 02
1
Extracting factors from "factanal"
Dear R users
Happy New year to all for a start. Below is some data that I ran a factor
analysis on. Using $score prints the scores for each of the three factors.
However, I would like to access those factors as variable for new
computations. How do I do that? In SPSS we just call fact1_1, fact2_1 etc..
Thanks for your suggestions. V
============
v1 <- c(1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,4,5,6)
v2
2009 Mar 31
3
Factor Analysis Output from R and SAS
Dear Users,
I ran factor analysis using R and SAS. However, I had different outputs from
R and SAS.
Why they provide different outputs? Especially, the factor loadings are
different.
I did real dataset(n=264), however, I had an extremely different from R and
SAS.
Why this things happened? Which software is correct on?
Thanks in advance,
- TY
#R code with example data
# A little
2009 Aug 11
3
loadings function (PR#13886)
Full_Name: Mike Ulrich
Version: 2.9
OS: Mac OSX
Submission from: (NULL) (69.169.178.34)
The help documentation for loadings() lists more then one parameter. The
function call only expects one parameter. The digits, cutoff, and sort
parameters are not used in the function.
## S3 method for class 'loadings':
print(x, digits = 3, cutoff = 0.1, sort = FALSE, ...)
## S3 method for class
2004 Nov 30
1
Info
I am having difficulty obtaining the scores from my principal component
analysis. I have used this method before and have had no problems. The
data set that I am using this time is similar to what I have used in the
past. What do I need to do to my dataset in order for me to obtain these
scores?
R screen says the following message
Error in factanal(covmat = pasa.cov, factors = 4) :
2004 Jun 15
1
R: slope estimations of teeth like data
On 15 Jun 2004 at 13:52, Vito Muggeo wrote:
> Dear Petr,
> Probably I don't understand exactly what you are looking for.
>
> However your "plot(x,c(y,z))" suggests a broken-line model for the
> response "c(y,x)" versus the variables x. Therefore you could estimate
> a segmented model to obtain (different) slope (and breakpoint)
> estimates. See
2007 May 03
3
factanal AIC?
Dear list members,
Could any expert on factor analysis be so kind to explain how to calculate AIC on the output of factanal. Do I calculate AIC wrong or is factanal$criteria["objective"] not a negative log-likelihood?
Best regards
Jens Oehlschl?gel
The AIC calculated using summary.factanal below don't appear correct to me:
n items factors total.df rest.df model.df
2007 May 03
3
factanal AIC?
Dear list members,
Could any expert on factor analysis be so kind to explain how to calculate AIC on the output of factanal. Do I calculate AIC wrong or is factanal$criteria["objective"] not a negative log-likelihood?
Best regards
Jens Oehlschl?gel
The AIC calculated using summary.factanal below don't appear correct to me:
n items factors total.df rest.df model.df
2011 Aug 12
1
Which Durbin-Watson is correct? (weights involved) - using durbinWatsonTest and dwtest (packages car and lmtest)
Hello!
I have a data frame mysample (sorry for a long way of creating it
below - but I need it in this form, and it works). I regress Y onto X1
through X11 - first without weights, then with weights:
regtest1<-lm(Y~., data=mysample[-13]))
regtest2<-lm(Y~., data=mysample[-13]),weights=mysample$weight)
summary(regtest1)
summary(regtest2)
Then I calculate Durbin-Watson for both regressions
2005 Sep 28
1
gee models summary
I'm running some GEE models but when I request the summary(pcb.gee) all
I get are rows and rows of intercorelations and they fill up the screen
buffer so I can not even scroll back to see what else might be in the
summary. How do I get the summary function to NOT print the
intercorrelations?
Thanks,
--
Dean Sonneborn
Programmer Analyst
Department of Public Health Sciences
University of
2005 Apr 05
1
extracting Proportion Var and Cumulative Var values from factanal
Hi R users,
I need some help in the followings:
I'm doing factor analysis and I need to extract the loading values and
the Proportion Var and Cumulative Var values one by one.
Here is what I am doing:
> fact <- factanal(na.omit(gnome_freq_r2),factors=5);
> fact$loadings
Loadings:
Factor1 Factor2 Factor3 Factor4 Factor5
b1freqr2 0.246 0.486 0.145
2012 Feb 06
1
na.action in stats::factanal() must be using formula interface and dataframe input to specify na.action?
hi,
Does factanal() force the user to use the formula interface if they wish to specify an na.action?
v1 <- c(1,1,1,1,1,1,1,1,NA,1,3,3,3,3,3,4,5,6)
v2 <- c(1,2,1,1,1,1,2,1,2,1,3,NA,3,3,3,4,6,5)
v3 <- c(3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,5,4,6)
v4 <- c(3,3,4,NA,3,1,1,2,1,1,1,1,2,NA,1,5,6,4)
v5 <- c(1,1,1,1,1,3,3,3,3,3,1,1,1,1,1,6,4,5)
v6 <- c(1,1,1,2,1,3,3,3,4,3,1,1,1,2,1,6,5,4)
m1
2012 May 25
1
Correlograms: using boxes and different variables on rows and columns
I'm trying to make correlograms using corrgram. See below for a simple
example.
####
library(corrgram)
data(baseball)
vars1 <- c("Assists","Atbat","Errors","Hits","Homer","logSal")
vars2 <- c("Putouts","RBI","Runs","Walks","Years")
2002 Jul 08
0
factanal results interpretation - am I right here?
Hi,
I have obtained some results with factanal that seem to support a hypothesis I already had, and I'd like to verify that I can indeed conclude this from this new analysis.
We had subjects reproduce perceived trajectories with a device that allowed us to measure spatial position (the path) and the device's orientation at any of those positions. From this, we calculated the rotation of
2006 Feb 24
1
Extracting information from factanal()
Dear list members,
I apologize for putting this (probably) very basic question on the
mailing list. I have scanned through the R website (using search) but
did not found an answer.
(code included below)
A factor matrix is simply extracted (which can then subsequently be
exported using write.table) by FACT$loadings[1:6,].
I would also like to specifically extract and export
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
--=-hiYzUeWcRJ/+kx41aPIZ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hi,
on March 10 I filed a wishlist bug report asking for the inclusion of
some changes to factanal() and the associated print method. The changes
were originally proposed by John Fox in 2005; they make print.factanal()
display factor correlations if factanal() is called with rotation =
2005 Dec 22
1
add factor to dataframe given ranges
Hi all,
I would like to factorize the entries in a dataframe given some
groupings. E.g:
mydf = data.frame(
a = rnorm(100,10),
b = rnorm(100,10),
c = rgamma(100, 1, scale=1))
group = hist(mydf$c, breaks="FD")
group$breaks
The idea is to create a factor "mydf$d" with levels corresponding to
the ranges in group$breaks.
There must be an easy way to do this that I
2013 Mar 06
6
Ggplot2: Moving legend, change fill and removal of space between plots when using grid.arrange() possible use of facet_grid?
Hi,
# For publications, I am not allowed to repeat the axes. I have tried to
remove the axes using:
# yaxt="n", but it did not work. I have not understood how to do this in
ggplot2. Can you help me?
# I also do not want loads of space between the graphs (see below script
with Dummy Data).
# If I could make it look like the examples on the (nice) examples page:
#