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

[R] Path analysis

2015-05-25 Thread Alberto Canarini
Hi there, As I'm approaching path analysis I was wondering which packages may suite a path analysis for my data. My data are on interaction of soil biotic and abiotic factor, like microbial biomass carbon, soil carbon, water content, temperature etc. Thanks in advance, Best regards. Alberto

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

[R] Path Analysis

2013-11-02 Thread Sarah Rogers
Hello, I have just started to work on a path analysis (see attached image for the diagram), but I have encountered an error message. This is the code I have used: cov_matrix<-var(xdata) library(sem) model.xdata<-specifyModel() x1 -> y2, xy12, NA x2 -> y1, xy21, NA y1 -> y2, yy12, NA y2 -> y

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]]

[R] path analysis

2012-12-25 Thread Ali Mahmoudi
What's the function of 'path analysis ' to do it with R? Please help me.Thanks. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p

Re: [R] path analysis help

2012-08-30 Thread John Fox
nt of Sociology McMaster University Hamilton, Ontario, Canada > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Jinsong Zhao > Sent: Thursday, August 30, 2012 10:47 AM > To: r-help@r-project.org > Subject: [R] pat

[R] path analysis help

2012-08-30 Thread Jinsong Zhao
Hi there, I searched R-help list with "path analysis" as keyword, and learn that sem package can do it. However, I don't figure out a way to construct the model for the path diagram as Fig. 1. in Huang et al. (2002)[1]. I try the following code: huang.cor <- readMoments(diag=FALSE, names=c('

[R] path analysis and diagram (structural model)

2012-05-26 Thread Kristi Glover
Hi R- USER, I have been struggling to compute path analysis in R. I installed package "sem" and I tried to run the analysis but could not get a diagram. I have very big data set, here I just copied a sample of my data and I wanted to see how I can do the path analysis and get the patch diagram

[R] Path analysis with logistic regression

2010-10-27 Thread Mohamed Lajnef
Dear all, I would like to make a path analysis after retrieving relevant variables (continuous or binary) after logistic regression. So I try to model the dependent variable (0/1) based on the significant predictors using path analysis Could you tell me if there is a suitable package in R to

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
] path analysis Hi. which package i need to install to be able to run "Path analysis" using r? many thanks, Guy -- Guy Rotem Department of Life Sciences The Spatial Ecology Lab Ben Gurion University of the Negev P.O.B. 653 Beer-Sheva 84105 ISRAEL +972-52-3354485 (mobile) +972-8-64

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

[R] path analysis

2010-09-06 Thread Guy rotem
Hi. which package i need to install to be able to run "Path analysis" using r? many thanks, Guy -- Guy Rotem Department of Life Sciences The Spatial Ecology Lab Ben Gurion University of the Negev P.O.B. 653 Beer-Sheva 84105 ISRAEL +972-52-3354485 (mobile) +972-8-6461350 (lab) [[alte

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
ster >  Professor of Social Statistics > 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 >

Re: [R] Path Analysis

2010-05-24 Thread John Fox
/jfox > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of R Help > Sent: May-24-10 11:18 AM > To: r-help > Subject: [R] Path Analysis > > Hello list, > > I'm trying to make sure that I'm per

[R] Path Analysis

2010-05-24 Thread R Help
Hello list, I'm trying to make sure that I'm performing a path analysis correctly using the sem package. the figure at http://flame.cs.dal.ca/~sstewart/regressDiag.png has a detailing of the model. The challenge I'm having is that reuse is an indicator (0/1) variable. Here's the code I'm using:

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 __

[R] path analysis (misspecification?)

2009-03-08 Thread Martin Batholdy
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 <->

[R] path analysis in R (standardized solution)

2009-03-08 Thread Martin Batholdy
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? __ R-help@r-project.org mailing list ht