Skip to content

SEM GFI

2 messages · VINAY KULKARNI, John Fox

#
Hi,
Please find below the code:
Thanks,Vinay
From: Bert Gunter <bgunter.4567 at gmail.com>
 To: VINAY KULKARNI <vinaypkulkarni at yahoo.com> 
Cc: "r-help at r-project.org" <r-help at r-project.org>
 Sent: Wednesday, 1 June 2016 2:16 AM
 Subject: Re: [R] SEM GFI
   
Probably impossible to answer without your following the posting guide
and posting your code, etc.

Cheers,

Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Tue, May 31, 2016 at 11:28 AM, VINAY KULKARNI via R-help
<r-help at r-project.org> wrote:

  
  
#
Dear Vinay and Burt,

I didn't see Vinay's original posting -- sorry about that.

Vinay: There's still not enough information here to tell why the results are different, and posting in HTML makes the code very hard to read. 

To elaborate slightly: You don't provide the data, so it's not possible to replicate your results. You also don't show the command or results from SAS, so it's not possible to know how the results differ. Your original message seems to imply that the results are identical accept for the value of GFI and one coefficient standard error. That seems unlikely. My guess: you inadvertently fit different models in SAS and sem.

Additionally, you'd probably find it easier, and less error prone, to specify the model in sem() using specifyEquations() rather than specifyModel(), as the message printed by the latter tells you.

I hope this helps,
 John

-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
Web: socserv.mcmaster.ca/jfox