[R] Determining r2 values for a SEM

2011-11-04 Thread K Stewart
Hello, 

I have been using the SEM package and developed 4 models that all have an
adequate fit.  I require r2 values for the variables in my SEM and cannot
find a way to get r2 values for a SEM.  I have attempted using the smc
(squared multiple correlation) function, but this only takes the initial
covariance matrix and not the fitted SEM as arguements, so the r2 values
cannot be correct.  Is there a way to determine r2 values for an SEM in the
SEM package or another way to get these values in R?

Thank you for your assistance, 

Katherine Stewart

--
View this message in context: 
http://r.789695.n4.nabble.com/Determining-r2-values-for-a-SEM-tp3990855p3990855.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Determining r2 values for a SEM

2011-11-04 Thread Mark Difford
On Nov 04, 2011 at 6:55pm Katherine Stewart wrote:

  Is there a way to determine r2 values for an SEM in the SEM package or
 another way to get 
 these values in R?

Katherine,

rsquare.sem() in package sem.additions will do it for you.

Regards, Mark.

-
Mark Difford (Ph.D.)
Research Associate
Botany Department
Nelson Mandela Metropolitan University
Port Elizabeth, South Africa
--
View this message in context: 
http://r.789695.n4.nabble.com/Determining-r2-values-for-a-SEM-tp3990855p3991279.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Determining r2 values for a SEM

2011-11-04 Thread John Fox
Dear Mark and Katherine,

As well, version 2.0-0 of the sem package on R-Forge, and soon to be on
CRAN, includes R^2 values as part of the summary() output (along with many
other enhancements).

Best,
 John

 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
 project.org] On Behalf Of Mark Difford
 Sent: November-04-11 3:06 PM
 To: r-help@r-project.org
 Subject: Re: [R] Determining r2 values for a SEM
 
 On Nov 04, 2011 at 6:55pm Katherine Stewart wrote:
 
   Is there a way to determine r2 values for an SEM in the SEM package
  or another way to get these values in R?
 
 Katherine,
 
 rsquare.sem() in package sem.additions will do it for you.
 
 Regards, Mark.
 
 -
 Mark Difford (Ph.D.)
 Research Associate
 Botany Department
 Nelson Mandela Metropolitan University
 Port Elizabeth, South Africa
 --
 View this message in context:
 http://r.789695.n4.nabble.com/Determining-r2-values-for-a-SEM-
 tp3990855p3991279.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-
 guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.