Displaying 5 results from an estimated 5 matches for "gam12".
Did you mean:
ram12
2009 May 01
1
computationally singular and lack of variance parameters in SEM
...ix<-matrix(c(
+ 1, 0, 0, 0,
+ -0.4974, 1, 0, 0,
+ -0.4403, 0.7965, 1, 0,
+ 0.1250, 0.2602, 0.1825, 1),ncol=4,byrow=T)
rownames(CorMatrix)<-colnames(CorMatrix)<-c('Herbivory','Ants','Coccoids',
'Space')
ramcor<-specify.model()
Coccoids<->Ants, gam12, NA
Space->Ants, gam12, NA
Ants->Herbivory,bet21, NA
?read.table
sem<-sem(ram=ramcor,S=CorMatrix,N=80,fixed.x=c('Coccoids','Space'))
var(data)
VarMatrix<-matrix(c(
+ 0.73, 0, 0, 0,
+ -86.11, 35877.52, 0, 0,
+ -23.46, 11569.9, 5620.26, 0,
+ 0.82, 346.83, 138.21...
2010 May 24
1
Path Analysis
...xposure','benefit','norms','childBarrier','parentBarrier','knowBenefit','recuse')],use="pairwise.complete.obs")$correlations
modMat = matrix(c(
'exposure -> intent', 'gam11',NA,
'benefit -> intent', 'gam12',NA,
'norms -> intent', 'gam13',NA,
'childBarrier -> intent', 'gam14',NA,
'parentBarrier -> intent', 'gam15',NA,
'knowBenefit -> intent', 'gam16',NA,
'intent<->intent','psi11',NA,
'...
2011 Mar 08
1
SEM error
Dear All,
I am new for R and SEM. I try to fit the model with Y (ordinal outcome), X
(4 categorical data), M1-M3 (continuous), and 2 covariates (Age&sex) as a
diagram.
library(polycor)
model.ly <-specify.model()
1: x -> m1, gam11, NA
2: x -> m2, gam12, NA
3: x -> m3, gam13, NA
4: age -> m1, gam14, NA
5: age -> m2, gam15, NA
6: age -> m3, gam16, NA
7: sex -> m1, gam17, NA
8: sex -> m2, gam18, NA
9: sex -> m3, gam19, NA
10: x -> y, gam20, NA
11: m1 -> y, gam21, NA
12: m2 -> y, gam22, NA
13: m3 -> y, gam2...
2011 Nov 24
0
sem package (version 2.1-1)
...format, and cfa() facilitates
compact specification of simple confirmatory factor analysis models.
For example, from ?sem, the Duncan, Haller, and Portes peer-influences model
can now be specified as
model.dhp.1 <- specifyEquations(covs="RGenAsp, FGenAsp")
RGenAsp = gam11*RParAsp + gam12*RIQ + gam13*RSES + gam14*FSES +
beta12*FGenAsp
FGenAsp = gam23*RSES + gam24*FSES + gam25*FIQ + gam26*FParAsp +
beta21*RGenAsp
ROccAsp = 1*RGenAsp
REdAsp = lam21(1)*RGenAsp # to illustrate setting start values, not
necessary here
FOccAsp = 1*FGenAsp
FEdAsp = lam42(1)*FGenAsp
and the Wheaton alient...
2011 Nov 24
0
sem package (version 2.1-1)
...format, and cfa() facilitates
compact specification of simple confirmatory factor analysis models.
For example, from ?sem, the Duncan, Haller, and Portes peer-influences model
can now be specified as
model.dhp.1 <- specifyEquations(covs="RGenAsp, FGenAsp")
RGenAsp = gam11*RParAsp + gam12*RIQ + gam13*RSES + gam14*FSES +
beta12*FGenAsp
FGenAsp = gam23*RSES + gam24*FSES + gam25*FIQ + gam26*FParAsp +
beta21*RGenAsp
ROccAsp = 1*RGenAsp
REdAsp = lam21(1)*RGenAsp # to illustrate setting start values, not
necessary here
FOccAsp = 1*FGenAsp
FEdAsp = lam42(1)*FGenAsp
and the Wheaton alient...