similar to: Which package should I use if I estimate a recursive model?

Displaying 20 results from an estimated 10000 matches similar to: "Which package should I use if I estimate a recursive model?"

2003 May 24
1
Can Package SEM do mean structural analysis?
Hi. I am wondering whether Package SEM can do with intercepts and means in its structural analysis. If it can not calculate, how can I make a supplemental function in R? Many thanks in advance. --------========---------- Mitsuo Igarashi mitsu5 at ruby.famille.ne.jp
2008 Apr 01
1
SEM with a categorical predictor variable
Hi, we are trying to do structural equation modelling on R. However, one of our predictor variables is categorical (smoker/nonsmoker). Now, if we want to run the sem() command (from the sem library), we need to specify a covariance matrix (cov). However, Pearson's correlation does not work on the dichotomous variable, so instead we produced a covariance matrix using the Spearman's (or
2002 Aug 13
1
Ex ante forecasting from structural equation models (SEM package)
Dear Helplist, I want to produce forecasts from a structural equation model. With the SEM package the model setup and its estimation is possible. However, I have not figured out how to obtain ex ante forecasts, i.e. applying the Gauss-Seidel algorithm to the estimated structural equations for provided values of the exogenous variables (i.e.: y_t = -inv(A)*B*x_t). Does anyone know if the there is
2005 Dec 01
1
Error in structural equation model - "The model has negative degrees of freedom"
Hi I am running a structural equation model with R using the sem command; am getting the following error: "Error in sem.default : The model has negative degrees of freedom = -4" My model is as follows: s_model = specify.model() x1->m1, b1,NA x2->m1, b2,NA x3->m2, b3,NA x4->m2, b4,NA x5->m2, b5,NA x6->m2, b6,NA m1->y, a1,NA m2->y, a2,NA m1<->m1, v1,NA
2007 Apr 21
1
Fitting multinomial response in structural equation
Hi - I am confronting a situation where I have a set of structural equation and one or two of my responses are multinomial. I understand that sem would not deal with the unordered response. So I am thinking of the following two ways: 1. Expanding my response to a new set of binary variables corresponding to each label of my multinomial response. Then use each of these as a separate response in my
2006 Feb 07
1
elements from 'sem' function
Hi, I would like to print elements from sem (structural equation modeling) function (e.g., model-reproduced covariance matrix (C); estimated asymptotic covariance matrix of parameter estimates (cov)). How can I do this? Thanks, Andr?? -- Andr?? Tavares Corr??a Dias Laborat??rio de Ecologia Vegetal Universidade Federal do Rio de Janeiro CCS-IB-Departamento de Ecologia Caixa Postal 68020
2007 Aug 12
1
SEM for categorical data
Hi I am looking for a structural equation modeling package in R which can be used for categorical data. Is anyone aware of the existence of such a package? Would appreciate any help on this. Thank you Upasna -- --------------------------------------------------------------------- Upasna Sharma Research Scholar Shailesh J. Mehta School of Management, Indian Institute of Technology, Bombay
2005 Mar 09
2
Structural equation models with R
Hello useRs, I`m running structural equation models with R, but for one of my models the below error message apears. I`m trying to change startvalues but without success. The manual for sem package did not help me. Does anyone knows how to change startvalues for iteration in sem package? Or it can be another problem with the model? Error in startvalues(S, ram, debug = debug, tol = start.tol)
2004 Jan 29
1
Confirmatory Factor Analysis in R? SEM?
Hi Has anyone used R to conduct confirmatory factor analysis? This email pertains to use of SEM. For context consider an example: the basic idea is that there are a bunch of observables variables (say study habbits, amount of time reading in the bus, doing homework, helping other do homework, doing follow-up on errors etc.) and one believes that all these variables maybe measured by two or
2009 May 29
3
SEM/path question
Dear R People: Could someone recommend a "baby book" on path analysis and SEM, please? Or if someone has an example that they use in the classroom setting, that would be very cool too. Thanks in advance, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2002 Jul 22
2
typsize and fscale arguments to nlm
Dear R list members, I have a question about the proper use of the typsize and fscale arguments to nlm. I use nlm in my sem package to fit general structural-equation models, which entails maximizing a multinormal likelihood with respect to parameters that represent regression coefficients and covariances of variables. The magnitudes of these parameters can be very different. The
2004 Feb 26
2
Structural Equation Model
Hello all! I want to estimate parameters in a MIMIC model. I have one latent variable (ksi), four reflexive indicators (y1, y2, y3 and y4) and four formative indicators (x1, x2, x3, x4). Is there a way to do it in R? I know there is the SEM library, but it seems not to be possible to specify formative indicators, that is, observed exogenous variables which causes the latent variable. Thanks,
2013 Jun 23
1
2SLS / TSLS / SEM non-linear
Dear all, I try to conduct a SEM / two stage least squares regression with the following equations: First: X ~ IV1 + IV2 * Y Second: Y ~ a + b X therein, IV1 and IV2 are the two instruments I would like to use. the structure I would like to maintain as the model is derived from economic theory. My problem here is that I have trouble solving the equations to get the reduced form so I can run
2007 Apr 09
1
Dealing with large nominal predictor in sem package
Hi, I am using tsls function from sem package to estimate a model which includes large number of data. Among its predictors, it has a nominal data which has about 10 possible values. So I expand this parameter into 9-binary-value predictors with the coefficient of base value equals 0. I also have another continuous predictor. The problem is that, whenever I run the tsls, I will get 'System
2005 Oct 10
1
SEM with dichotomous indicators
Hello, I'd like to know if there is a way to fit a Structural equation model with dichotomous indicators (ex: problem with a phone solved/ or not) having effects on a ordinal variable. How I do that using R? Do you have an example with the code in R that you can send to me? Thanks a lot! Renata Estrella UFRJ, Brasil, Rio de Janeiro Renata Leite Estrella Assistente de
2008 Jul 27
2
Link functions in SEM
Is it possible to fit a structural equation model with link functions in R? I am trying to build a logistic-regression-like model in sem, because incorporating the dichotomous variables linearly seems inappropriate. Mplus can do something similar by specifying a 'link' parameter, but I would like to be able to do it in R, ofcourse. I have explored the 'sem' package from John Fox,
2002 Jan 08
2
how to use attr?
I'm trying to build a flexible OLS/SUR/2SLS/3SLS package and I'm having trouble getting some information out of a formula. For example.... # set up the system of equations demand <- q ~ p + d supply <- q ~ p + f + a inst <- ~ d + f + a systemeq <- list( demand, supply ) ...blah, blah, blah... # get the number if instruments... # or build the "bigX"... #I
2004 Nov 28
2
Tetrachoric and polychoric ceofficients (for sem) - any tips?
About two years ago there was a thread about this which suggested that at that time nobody had these coefficients ready to go. (a) has anyone in the meanwhile programmed them? (b) I think I can see how to do the tetrachoric one with mvtnorm on similar lines to an example on the help page so will try that if nobody else already has (c) looking at the polychoric one makes me realise yet again
2010 Oct 25
1
structural equation modeling in sem, error, The model has negative degrees of freedom = -3, and The model is almost surely misspecified...
Hi all, I am attempting to learn my way through the sem package by constructing a simple structural model for some of my data on bird diversity, abundance, and primary productivity. I have constructed a covariance matrix between these variables as per the following: >S_matrix = matrix(c( >+ 0.003083259, 0, 0, >+ 0.143870284, 89.7648490, 0, >+ 0.276950919,
2002 Jul 26
1
No subject
Hi, I am trying to run a structural equation model in the sem package and i have debug set to true, but i get an error that says "subscript out of bounds" with no further explanation. Is there anymore documentation available for this or is there any generic reason to what this might refer ? Thanks, Adam _________________________________________________________ ____________ Adam