Re: [R] sem-Package BIC calculation wrong!?

2017-03-30 Thread Peter Dalgaard
> On 30 Mar 2017, at 16:09 , Ludwig Kreuzpointner > wrote: > > To whom it may concern, > when I was calculating BIC with sem > e.g. as follows: > > cfa.mod <- cfa(reference.indicators=FALSE, covs=NULL) > F1: Sentences, Vocabulary, Sent.Completion, First.Letters, Four.Letter.Words > > cfa

[R] sem-Package BIC calculation wrong!?

2017-03-30 Thread Ludwig Kreuzpointner
To whom it may concern, when I was calculating BIC with sem e.g. as follows: cfa.mod <- cfa(reference.indicators=FALSE, covs=NULL) F1: Sentences, Vocabulary, Sent.Completion, First.Letters, Four.Letter.Words cfa.sem <- sem(cfa.mod, S=Thurstone, N=355) summary(cfa.sem) the BIC value is wro

[R] sem-package for categorical and multiply imputed data

2015-12-03 Thread Lorenz, Jennifer
Hi, can anyone recommend a package for structural euqation models with binary outcomes that is able to pool for multiply imputed datasets and calculate cluster-robust standard errors? I tried lavaan.survey from the package lavaan.survey, but unfortunately it does not support categorical data wi

Re: [R] sem package, suppress warnings

2013-01-20 Thread Dustin Fife
- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > > On Behalf Of Steve Taylor > > Sent: Sunday, January 20, 2013 3:22 PM > > To: Dustin Fife; r-help > > Subject: Re: [R] sem package, suppress warnings > > > > Have you t

Re: [R] sem package, suppress warnings

2013-01-20 Thread John Fox
Hamilton, Ontario, Canada > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Steve Taylor > Sent: Sunday, January 20, 2013 3:22 PM > To: Dustin Fife; r-help > Subject: Re: [R] sem package, suppress warnings > >

Re: [R] sem package, suppress warnings

2013-01-20 Thread Steve Taylor
> To: r-help > Subject: [R] sem package, suppress warnings > > Hi, > > I'm using the sem package under conditions where I know beforehand that > several models will be problematic. Because of that, I want to suppress > warnings. I've used the following code > >

[R] sem package, suppress warnings

2013-01-18 Thread Dustin Fife
Hi, I'm using the sem package under conditions where I know beforehand that several models will be problematic. Because of that, I want to suppress warnings. I've used the following code sem(mod, S = as.matrix(dataset), N = 1000, maxiter = 1, warn = FALSE) But I still get warning

[R] sem package: optimization did not converge

2010-12-01 Thread Maike Luhmann
In specifying a CFA model using the sem package, I got the following warning message: In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, : Could not compute QR decomposition of Hessian. Optimization probably did not converge. This is the complete input (incl

Re: [R] SEM PACKAGE

2010-03-22 Thread John Fox
Dear Isaac, > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Isaac SAGAON TEYSSIER > Sent: March-22-10 8:31 AM > To: r-help@r-project.org > Subject: [R] SEM PACKAGE > > > Dear all, > > &

Re: [R] SEM PACKAGE

2010-03-22 Thread Wincent
You can have a look at OpenMx (http://openmx.psyc.virginia.edu/openmx-features). 2010/3/22 Isaac SAGAON TEYSSIER : > > Dear all, > > > > I would like to know if it is possible to estimate multi-group SEM by using > R... > > > > Thank you > > > > > > ___

[R] SEM PACKAGE

2010-03-22 Thread Isaac SAGAON TEYSSIER
Dear all, I would like to know if it is possible to estimate multi-group SEM by using R... Thank you _ ¿Cuánto espacio necesitas para guardar tus emails? Con Hotmail tienes 5GB

Re: [R] sem package and growth curves

2010-03-03 Thread Daniel Nordlund
27;; 'Daniel Nordlund' > Cc: 'r-help' > Subject: RE: [R] sem package and growth curves > > Dear Chuck and Daniel, > > First, thanks Chuck for fielding the question, which I didn't notice in > r-help. > > I can get solutions for models A,

Re: [R] sem package and growth curves

2010-03-03 Thread Chuck Cleland
.0063780 7.53177 4.9960e-14 ALC1 <--> ALC1 > Vd2 0.0762156 0.0044523 17.11821 0.e+00 ALC2 <--> ALC2 > Vd3 0.0762794 0.0097763 7.80249 5.9952e-15 ALC3 <--> ALC3 > Vd4 0.1057875 0.0108526 9.74770 0.0000e+00 PEER1 <--> PEER1 > Vd5 0.1712811 0

Re: [R] sem package and growth curves

2010-03-03 Thread John Fox
0.0101878 3.67229 2.4038e-04 PEER3 <--> ALC3 Iterations = 139 snip - Regards, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada web: socser

Re: [R] sem package and growth curves

2010-03-03 Thread Chuck Cleland
On 3/2/2010 1:43 AM, Daniel Nordlund wrote: > I have been working through the book "Applied longitudinal data analysis: > modeling change and event occurrence" by Judith D. Singer and John B. > Willett. I have been working examples using SAS and also using it as an > opportunity for learning to

[R] sem package and growth curves

2010-03-01 Thread Daniel Nordlund
I have been working through the book "Applied longitudinal data analysis: modeling change and event occurrence" by Judith D. Singer and John B. Willett. I have been working examples using SAS and also using it as an opportunity for learning to use R for statistical analysis. I ran into some di

Re: [R] SEM package

2009-04-22 Thread Jim Lemon
John Fox wrote: Dear Tijana, I'm afraid that I can't entirely read the messages, but the problem doesn't look like it's peculiar to the sem package. It appears as if the package may have been properly installed but you didn't have permission to update HTML help links. If that's the case, then yo

Re: [R] SEM package

2009-04-20 Thread John Fox
Dear Tijana, I'm afraid that I can't entirely read the messages, but the problem doesn't look like it's peculiar to the sem package. It appears as if the package may have been properly installed but you didn't have permission to update HTML help links. If that's the case, then you can still load a

Re: [R] SEM package

2009-04-20 Thread Dimitri Liakhovitski
Nina, did you try to install this package using some other mirror? Dimitri On Mon, Apr 20, 2009 at 1:35 PM, Tijana Gonja wrote: > Hi > > I tried to install the sem package and it was succsessful but I keep getting > the following message > > Paket 'sem' erfolgreich ausgepackt und MD5 Summen abgeg

[R] SEM package

2009-04-20 Thread Tijana Gonja
Hi I tried to install the sem package and it was succsessful but I keep getting the following message Paket 'sem' erfolgreich ausgepackt und MD5 Summen abgeglichen Die heruntergeladenen Pakete sind in C:\Users\Dean\AppData\Local\Temp\RtmpVRxlLZ\downloaded_packages aktualisiere HTML Pak

Re: [R] CFA in R/sem package

2009-04-09 Thread Jarrett Byrnes
Sure, something like that. Store each model as an element of a list, and then use something like for(i in 1:4){ indices<-combn(1:4, i) for (j in 1:length(indices[1,])){ new.model<-combine.models(model.pieces[ indices[,j] ] ) #code for analysis }

Re: [R] CFA in R/sem package

2009-04-09 Thread Iuri Gavronski
Jarret, I've donwloaded the zip file and installed, but maybe have lost some pre-req check. I have manually installed sna. Anyway, which would be the approach you suggest? Making (using my example) 4 different models, one for each construct, then use combine.models and add.to.models to create the

Re: [R] CFA in R/sem package

2009-04-09 Thread Jarrett Byrnes
install.packages("sem-additions",repos="http://R-Forge.R-project.org";) Sorry, it's sem-additions on r-forge. Not sem.additions, which is what I had originally called it. But they won't take . in the name of a package. On Apr 9, 2009, at 4:07 PM, Iuri Gavronski wrote: Jarret, Look: ins

Re: [R] CFA in R/sem package

2009-04-09 Thread Iuri Gavronski
Jarret, Look: > install.packages("sem.additions", repos="http://R-Forge.R-project.org";) Warning message: package ‘sem.additions’ is not available > Best, Iuri. On Thu, Apr 9, 2009 at 3:10 PM, Jarrett Byrnes wrote: > Ivan, > > I recently put together the sem.additions package over at R forge i

Re: [R] CFA in R/sem package

2009-04-09 Thread Jarrett Byrnes
Ivan, I recently put together the sem.additions package over at R forge in part for just such a multiple model problem. THere are a variety of methods that make it easy to add/delete links that could be automated with a for loop and something from the combn package, I think. http://r-for

[R] CFA in R/sem package

2009-04-09 Thread Iuri Gavronski
Hi, I am not sure if R-help is the right forum for my question. If not, please let me know. I have to do some discriminant validity tests with some constructs. I am using the method of doing a CFA constraining the correlation of a pair of the constructs to 1 and comparing the chi-square of this c

Re: [R] [sem package] path.diagram() ignores the edge.label argument ..?

2009-03-09 Thread John Fox
] On > Behalf Of Martin Batholdy > Sent: March-09-09 8:35 AM > To: r-help@r-project.org > Subject: [R] [sem package] path.diagram() ignores the edge.label argument ..? > > hi, > > > I plot path diagrams with the path.diagram() function of the sem > package in combina

[R] [sem package] path.diagram() ignores the edge.label argument ..?

2009-03-09 Thread Martin Batholdy
hi, I plot path diagrams with the path.diagram() function of the sem package in combination with the graphviz application. Now I want the graphviz code for a path-plot with the actual standardized coefficients on the arrows (not the names). I tried to add edge.labels="values" as an argumen

Re: [R] sem package and AMOS

2009-02-03 Thread Anthony Dick
Hi John- Thanks. You were right--AMOS was not reading the sample size correctly (i.e., I was not telling it correctly). When I corrected the problem, I got the same estimates. Thanks for pointing me in the right direction. Anthony John Fox wrote: Dear Anthony, sem() does FIML estimation, n

Re: [R] sem package and AMOS

2009-02-02 Thread John Fox
Dear Anthony, sem() does FIML estimation, not 2SLS, and so it's hard to understand why you're getting "nearly identical" parameter estimates but very different coefficient standard errors and model chi-squares. In fact, unless the problem is very ill-conditioned, the parameter estimates should be

[R] sem package and AMOS

2009-02-02 Thread Anthony Dick
Hello- I am using R to build my initial models, but need to use AMOS to compare the models of two groups (adults vs. kids). The problem is I am getting different results with R and AMOS for the initial models of the separate groups (and the R results make more sense). The parameter estimates

Re: [R] sem package: start values

2009-01-25 Thread Anthony Dick
ster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Anthony Dick Sent: January-25-09 9:15 PM To: r-help@r-project.org Subject: [R] sem package: start value

Re: [R] sem package: start values

2009-01-25 Thread John Fox
-Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Anthony Dick > Sent: January-25-09 9:15 PM > To: r-help@r-project.org > Subject: [R] sem package: start values > > Hello- > > If I input a variance-covariance matrix

[R] sem package: start values

2009-01-25 Thread Anthony Dick
Hello- If I input a variance-covariance matrix and specify NA for start values, how does sem determine the start value? Is there a default? Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S. Maryla

Re: [R] R SEM package

2009-01-06 Thread John Fox
gt; John Fox, Professor > > Department of Sociology > > McMaster University > > Hamilton, Ontario, Canada > > web: socserv.mcmaster.ca/jfox > > > > > > > >> -Original Message- > >> From: r-help-boun...@r-project.org [mailto:r-hel

Re: [R] R SEM package

2009-01-06 Thread Anthony Dick
On Behalf Of Anthony Dick Sent: January-06-09 2:56 PM To: r-help@r-project.org Subject: [R] R SEM package Does anyone know if the sem package in R can implement a stacked model comparison, for example as in LISREL or AMOS? Thanks, Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow

Re: [R] R SEM package

2009-01-06 Thread John Fox
6-09 2:56 PM > To: r-help@r-project.org > Subject: [R] R SEM package > > Does anyone know if the sem package in R can implement a stacked model > comparison, for example as in LISREL or AMOS? > > Thanks, > > Anthony > > -- > Anthony Steven Dick, Ph.D. > Po

[R] R SEM package

2009-01-06 Thread Anthony Dick
Does anyone know if the sem package in R can implement a stacked model comparison, for example as in LISREL or AMOS? Thanks, Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S. Maryland Ave. MC-2030

Re: [R] sem package fails when no of factors increase from 3 to 4

2008-12-23 Thread Xiaoxu LI
6.6416e-11 xi1 <--> xi4 > PH42 0.12606 0.072905 1.7292 8.3780e-02 xi2 <--> xi4 > PH43 0.22301 0.071781 3.1068 1.8913e-03 xi3 <--> xi4 > > Iterations = 14 > Warning message: > In sem.mod(mod4, cor18, 500) : > The following observed variables are in t

Re: [R] sem package fails when no of factors increase from 3 to 4

2008-12-22 Thread John Fox
X15, X16, X17, X18 > ---------- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > B

[R] sem package fails when no of factors increase from 3 to 4

2008-12-22 Thread Xiaoxu LI
I checked through every 3 factor * 3 loading case. While, 4 factor * 3 loading failed. the data is 6 factor * 3 loading require(sem); cor18<-read.moments(); 1 .68 1 .60 .58 1 .01 .10 .07 1 .12 .04 .06 .29 1 .06 .06 .01 .35 .24 1 .09 .13 .10 .05 .03 .07 1 .04 .08 .16 .10 .12 .06 .25