Re: [R] Path analysis

2015-05-26 Thread John Fox
Dear Alberto, There are several R packages available on CRAN for structural equation modeling: sem, lavaan, and OpenMx come immediately to mind. If your model is recursive with only observed variables, then you could just use lm(). If your model is nonrecursive with only observed variables, the

Re: [R] Path analysis

2015-05-26 Thread Charles Determan
Given that your problem primarily focuses on a biological context you probably would have better luck with bioconductor (www.bioconductor.org). Regards, Charles On Tue, May 26, 2015 at 12:43 AM, Alberto Canarini < alberto.canar...@sydney.edu.au> wrote: > Hi there, > > As I'm approaching path ana

Re: [R] Path Analysis

2013-11-05 Thread John Fox
r- > project.org] On Behalf Of Sarah Rogers > Sent: Tuesday, November 05, 2013 8:45 AM > To: r-help@r-project.org > Cc: John Fox > Subject: Re: [R] Path Analysis > > Dear John, > Thanks for your help. I run the path analysis but the model does not > fit > the data. I am i

Re: [R] Path Analysis

2013-11-05 Thread Sarah Rogers
Dear John, Thanks for your help. I run the path analysis but the model does not fit the data. I am in doubt if this reflects the model construction et al. (too many variables or more needed, more paths or change in direction of paths, sample size, etc) or it could be that there is an error-variance

Re: [R] Path Analysis

2013-11-02 Thread John Fox
Dear Sarah, It's generally a good idea to include a reproducible example if you want to get help with a problem, but in this case it's a safe bet that the problem is that the model you specified has no variance or covariance parameters for the variables x1 and x2, which, I assume, you mean to b

Re: [R] path analysis

2012-12-25 Thread Pascal Oettli
First, hello, Second, http://r.789695.n4.nabble.com/path-analysis-td2528558.html#a2530207 Last, Regards Le 26/12/2012 04:11, Ali Mahmoudi a écrit : What's the function of 'path analysis ' to do it with R? Please help me.Thanks. [[alternative HTML version deleted]]

Re: [R] path analysis help

2012-08-30 Thread John Fox
Dear Jinsong, This model is grossly underidentified because there are no exogenous variables in it. Your inability to estimate the model isn't a software issue. Best, John --- John Fox Senator McMaster Professor of Social Statistics Department of Soci

Re: [R] path analysis

2010-09-07 Thread Mark Difford
Guy, For a partial least squares approach look at packages plspm and pathmox. Also look at sem.additions. Regards, Mark. -- View this message in context: http://r.789695.n4.nabble.com/path-analysis-tp2528558p2530207.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] path analysis

2010-09-07 Thread JLucke
There are three paths to path analysis in R: the SEM package; the LAVAAN package; and the OpenMx approach. The first two are R programs. The last accesses the program OpenMx. Guy rotem Sent by: r-help-boun...@r-project.org 09/06/2010 10:37 AM To r-help@r-project.org cc Subject [R] pat

Re: [R] path analysis

2010-09-06 Thread Sarah Goslee
There are lots of options for path analysis in R. If you go to http://www.rseek.org and type path analysis into the search box, you will get lots of information on functions/packages, and more general info as well. Beyond that, we'd need more specifics about your task. Sarah On Mon, Sep 6, 2010

Re: [R] Path Analysis

2010-05-24 Thread John Fox
Dear Sam, > -Original Message- > From: R Help [mailto:rhelp.st...@gmail.com] > Sent: May-24-10 1:04 PM > To: John Fox > Cc: r-help > Subject: Re: [R] Path Analysis > > That's an interesting idea, I got the same impression from your SEM > appendix to &quo

Re: [R] Path Analysis

2010-05-24 Thread R Help
That's an interesting idea, I got the same impression from your SEM appendix to "Companion to applied regression" in the paragraph just before Section 3. So I could get the same results if I built the following two models: mod1 = lm(intent~exposure+benefit+norms+childBarrier+parentBarrier+knowBe

Re: [R] Path Analysis

2010-05-24 Thread John Fox
Dear sstewart, The model appears to reflect the path diagram, assuming that you intend to allow the exogenous variables to be correlated and want the errors to be uncorrelated. This is one way to model the binary variable reuse. An alternative would be to fit the equation for intent by least-squ

Re: [R] path analysis (misspecification?)

2009-03-08 Thread Martin Batholdy
thank you very much! I definitely need more theoretical background ... but for now; what does that mean for this dataset? x1 should be the intermediate variable of x2 and y1 (x2 -> x1 -> y1) Can I test that with this kind of analysis? or do I see know that this kind of "intermediate variabl

Re: [R] path analysis (misspecification?)

2009-03-08 Thread William Revelle
Martin, hi, I have following data and code; cov <- c (1.670028 ,-1.197685 ,-2.931445,-1.197685,1.765646,3.883839,-2.931445,3.883839,12.050816) cov.matrix <- matrix(cov, 3, 3, dimnames=list(c("y1","x1","x2"), c("y1","x1","x2"))) path.model <- specify.model() x1 -> y1, x1-y1 x2 <-> x1,

Re: [R] path analysis in R (standardized solution)

2009-03-08 Thread William Revelle
At 4:16 AM +0100 3/9/09, Martin Batholdy wrote: hi, this is my first time I use the sem package in R. I made a simple path analysis. Now I was wondering how to get the standardized solution. How can I get the standardized estimates of the path coefficients? ?std.coef __