Displaying 20 results from an estimated 1000 matches similar to: "structural equations using sem package"
2010 May 12
2
Reading R code help--Beginner
Hi, I am brand new to R and not familiar with the language, though I
have been reading the manuals and making some slow going progress. I am
working with some source code from a Global Vector Auto -Regressive
program written by Ranier Puhr from the R-forge group. I need help
interpreting the processes of the following code.
I am going to
post in parts since it's pretty long:
GVAR
2012 Aug 03
1
SEM standardized path coefficients
Hello,
I have conducted an SEM in which the resultant standardized path coefficients are much higher than would be expected from the raw correlation matrix. To explore further, I stripped the model down to a simple bivariate relationship between two variables (NDVI, and species richness), where it's my understanding that the SEM's standardized path coefficient should equal the correlation
2013 Jul 22
1
Error with sem function df = -6
Hello all,
I have an issue where I am generating data and trying to confirm the
estimates using a sem. I keep getting an error about the degree of freedom
being negative "Error in sem.default(ram, S = S, N = N, raw = raw, data =
data, pattern.number = pattern.number, : The model has negative degrees of
freedom = -6"
Can someone explain this error or tell me what is wrong with my
2012 Mar 12
1
SEM eigen value error 0 X 0 matrix
Using R-studio, I am trying to run a structural equation model and I am
running into problems with testing my primary model. Once I specify
everything and try to run it I get this error:
Error in eigen(S, symmetric = TRUE, only.values = TRUE) : 0 x 0 matrix
And when I look at the object for my primary model in my workspace, which is
created after I specify it, it lists all my model components,
2006 Jul 14
1
Error in Quantile Regression - Clear Message
Dear Users,
I loaded my dataset as following:
presu <- read.table("C:/_Ricardo/Paty/qtdata_f.txt", header=TRUE, sep="\t",
na.strings="NA", dec=".", strip.white=TRUE)
dep<-presu[,3];
exo<-presu[,4:92];
When I try:
rq(dep ~ exo, ...) or mle.stepwise(dep ~ exo, ...)
I got the same error:
> rq(dep ~ exo)
Error in model.frame(formula, rownames,
2010 Oct 12
1
Help with function writing
Hello all
I have what seems like a simple question but have not been able to find an
answer on the forum. I'm trying to define a function which involves
regression models and a large number of covariates.
I would like the function to accept any number of covariates and, ideally, I
would like to be able to enter the covariates in a group (e.g. as a list)
rather than individually. Is there any
2012 Oct 23
1
SEM multigroup modeling
Hello,
I am using the SEM package in R to fit a multigroup latent variable model and ran into some difficulties. I have 2 questions:
1. First, I am getting the following error message and wondering what to do to fix it:
Error in solve.default((N[g] - 1) * robustVcov(mod.g, adj.obj = adj.objects[[g]])) :
system is computationally singular: reciprocal condition number = 4.52055e-23
2011 Nov 24
0
sem package (version 2.1-1)
Dear R users,
Version 2.1-1 of the sem package, for structural equation modeling, is now
on CRAN.
Unlike version 2.0-0, which was a major overhaul of the package, version
2.1-1 just sprinkles some syntactic sugar on it, introducing the
specifyEquations() and cfa() functions; specifyEquations() supports model
specification in equation (rather than path) format, and cfa() facilitates
compact
2011 Nov 24
0
sem package (version 2.1-1)
Dear R users,
Version 2.1-1 of the sem package, for structural equation modeling, is now
on CRAN.
Unlike version 2.0-0, which was a major overhaul of the package, version
2.1-1 just sprinkles some syntactic sugar on it, introducing the
specifyEquations() and cfa() functions; specifyEquations() supports model
specification in equation (rather than path) format, and cfa() facilitates
compact
2011 Feb 04
1
GWAF package: lme.batch.imputed(): object 'kmat' not found
Hello, All,
GWAF 1.2
R.Version() is below.
system(lme.batch.imputed(
phenfile = 'phenfile.csv',
genfile = 'CARe_imputed_release.0.fhsR.gz',
pedfile='pedfile.csv',
phen='phen1',
covar=c('covar1','covar2'),
kinmat='imputed_fhs.kinship.RData',
outfile='imputed.FHS.IBC.GWAF.LME.output.0.txt'
))
Gives the error messages:
Error in
2006 Jul 13
2
MLE and QR classes
Hi,
I load my data set and separate it as folowing:
presu <- read.table("C:/_Ricardo/Paty/qtdata_f.txt", header=TRUE, sep="\t",
na.strings="NA", dec=".", strip.white=TRUE)
dep<-presu[,3];
exo<-presu[,4:92];
Now, I want to use it using the wls and quantreg packages. How I change the
data classes for mle and rq objects?
Thanks a lot,
2013 Mar 18
1
"save scores" from sem
I'm not aware of any routine that those the job, although I think that
it could be relatively easily done by multiplication the manifest
variable vector with the estimates for the specific effect.
To make an example:
v1; v2; v3; v4 are manifest variables that loads on one y latent
variablein a data frame called "A"
the code for the model should be like:
model <-specifymodel(
y
2010 Jul 31
3
a problem
dear:
when I read a Excel file(exp-11),The R project give me a error ,Just like this:
??'datafile'
> write.foreign("exp-11.xls")
???list(df = df, datafile = datafile, codefile = codefile) :
??'datafile'
> write.foreign("exp-11.xls")
???list(df = df, datafile = datafile, codefile = codefile) :
??'datafile'
>
2009 Jan 28
3
for/if loop
Hi, it's my first time to write a loop with R for my homework. This loop is
part of the function. I wanna assign values for hll according to panel
[ii,1]=pp. I didn't get any error message in this part. but then when I
further calculate another stuff with hll, the function can't return. I think
it must be some problem in my loop. Probably something stupid or easy. But I
tried to look
2006 Jul 17
2
Quantreg error
Dear User,
I got the following error running a regression quantile:
> rq1<-rq(dep ~ ., model=TRUE, data=exo, tau=0.5 );
> summary(rq1)
Erro em rq.fit.fnb(x, y, tau = tau + h) :
Error info = 75 in stepy: singular design
Any hint about the problem?
Thanks a lot,
________________________________________
Ricardo Gon?alves Silva, M. Sc.
Apoio aos Processos de Modelagem Matem?tica
2013 Aug 02
1
External sip phones register with the servers IP...
We have just updated our office server to Asterisk 11.4.0 from 1.8.15 and
internally everything is working fine. The problem we are having is that we
cannot use any external phone connected through the Internet. This used to
work fine with 1.8 but since the upgrade whenever you register any phone from
an outside network the phone tries to register using the servers internal IP.
I endo up
2019 Feb 02
2
linux rsync <-> SSHDroid has started becoming unreliable after an upgrade of Fedora 28 to 29
People,
For some years I have been using rsync quite happily to send / retrieve
files to / from SSHDroid Pro but recently I have started having a
problem when transferring large numbers of file - I am pretty sure it
started after upgrading from Fedora x86_64 28 to 29 - but I am not 100%
sure. Below is the tail end of the output of:
rsync -avvv root at 192.168.1.100:/storage . >
2007 Sep 12
1
vars package, impulse response functions ??
I am fitting a reduced form VAR model using VAR in the vars library. I have
several endogenous variables, and two exogenous variables. I would like to
explore the effects of a shock to one of the exogenous variables on one of
the endogenous variables. Using irf in the vars library only calculates the
irf for the endogenous variables, this is obviously by design, is there some
theoretical
2011 Mar 22
0
exo package from xfce affects shell open URLs?
Hi. Recently, in addition to Gnome I installed xfce.
Now, if firefox already started, and I open URLs in wine, I get this message box:
******************
Failed to execute default Web Browser.
No child processes.
******************
With trial and error I found that the package exo is causing this.
http://www.xfce.org/projects/exo
Please someone try to reproduce: install exo and run:
$ wine start
2004 Aug 23
2
[ Multiple drives ]
Hello,
I have 3 hdd (120 GB, 120 GB and 80 GB) mounted on
/data1 , /data2 and /data3.
All these drives must be shared via a public access
with Samba.
For the moment, I can only share the 'data1'
directory.
[public]
path = /data1
Is there a possibility to share several disks under
the same account ?
By example :
[public]
path = /data1, /data2, /data3
Then, under Windows, I'd like