[R] Factor Analysis fit statistics from zelig() model = "factor.bayes" (executes mcmcfactanal() function)

2016-12-25 Thread Heather Kettrey
Hello, I am running a factor analysis with a multiply imputed dataset in zelig (specifying model = factor.bayes). I cannot find a way to get fit statistics for the specified model (a 2-factor model in this particular analysis). The summary() function only returns lambda (factor loadings) and psi

[R] Exploratory Factor Analysis with Multiply Imputed Data

2016-12-19 Thread Heather Kettrey
Hello, I am trying to conduct exploratory factor analysis (EFA) with multiply imputed data. I used Amelia II to create 40 imputed datasets and have saved the imputed data in .csv format (I saved the imputations both as a single file with all imputations and as 40 separate files - each containing

[R] Covariance between two dichotomous variables

2014-09-02 Thread Heather Kettrey
Hi, I am trying to test a mediation hypothesis using coefficients from logistic regression analyses (x, m, and y are all dichotomous). I am running a test of significance using MacKinnon and Dwyer's adaptation of Sobel's test (i.e., correcting for different scales of coefficients in cases of a

[R] Test of Parallel Regression Assumption in R

2013-03-11 Thread Heather Kettrey
Hi, I am running an analysis with an ordinal outcome and I need to run a test of the parallel regression assumption to determine if ordinal logistic regression is appropriate. I cannot find a function to conduct such a test. From searching various message boards I have seen a few useRs ask this

[R] Changing MaxNWts with the mi() function (error message)

2013-01-14 Thread Heather Kettrey
Hello, I am trying to impute data with the mi() function (mi package) and keep receiving an error message. When imputing the variable, sex, the mi() function accesses the mi.categorical() function, which then accesses the nnet() function. I then receive the following error message (preceded by my