search for: g22

Displaying 11 results from an estimated 11 matches for "g22".

Did you mean: 22
2009 Jul 31
1
scale subsets of grouped data in data frame
...o operators: subgroup iteration attribute value selection (Can use a regex for the attrribute name.) I can do this in R with a lot of code and manual steps. It would be really nice to find a more automated way. My data looks like this group group_height group_weight height weight g22 3.2 8.896 3.2 8.896 g22 2.5 6.95 2.5 6.95 g22 3.1 8.618 3.1 8.618 g49 2.4 6.672 2.4 6.672 g49 4.2 11.676 4.2 11.676 g49 2.5 6.95 2.5 6.95 g55 2.6 7.228 2.6 7.228 g55 3.4 9.452 3.4 9.452 g55 3.3 9.174 3.3 9.174 What I want to do is scale the data by each group...
2006 Aug 16
1
Specifying Path Model in SEM for CFA
...gt; X1,l11, NA F1 -> X2,l21, NA F1 -> X3,l31, NA F1 -> X4,l41, NA F1 -> X5, NA, 0.20 F2 -> X1,l12, NA F2 -> X2,l22, NA F2 -> X3,l32, NA F2 -> X4,l42, NA F2 -> X6, NA, 0.25 F1 <-> F2,g12, 1 F1 <-> F1,g11, 1 F2 <-> F2,g22, 1 X1 <-> X1, NA, 1 X2 <-> X2, NA, 1 X3 <-> X3, NA, 1 X4 <-> X4, NA, 1 X5 <-> X5, NA, 1 X6 <-> X6, NA, 1 This at least converges: > summary(fit.sem) Model Chisquare = 2147 Df = 10 Pr(>Chisq) = 0 Chisquare (null model) = 2934 Df = 15...
2004 Jul 03
2
DSTEIN error (PR#7047)
...rn(A) } I.exp <- function(A11,A12,A22) { rbind(cbind(A11, A12), cbind(t(A12),A22)) } G <- function(D2, Ra, A11, A12, A22){ D2 %*% Ra %*% I.exp(A11,A12,A22) %*% t(Ra) %*% t(D2) } W <- function(G){ G11 <- G[1:n, 1:4] G12 <- G[1:4, 5:6] G22 <- G[5:6, 5:6] } W <- function(G,n,k){ G11 <- G[1:n, 1:n] G12 <- G[1:n, (n+1):(n+k)] G22 <- G[(n+1):(n+k), (n+1):(n+k)] G11 - G12 %*% solve(G22) %*% t(G12) } zbc <- function(y,lambda, mu, sigma) { ((y/mu)^lambda - 1) / (lambda * sigma) }...
2008 Sep 09
1
creating table of averages
..."f12" "f13" "f14" "f21" "f22" [55] "f23" "f24" "g11" "g12" "g13" "g14" [61] "g21" "g22" "g23" "g24" "g31" "g32" [67] "g33" "g41" "g42" "g43" "h11" "h12" [73] "h13" "h21"...
2005 Jun 09
2
can nlme do the complex multilevel model?
...lowing is the 2-level model. and the level-1 model deals with the student,and the level-2 model deals with the class level the students belong to. Level-1 Model Y = B0 + B1*(ZLEAD) + B2*(ZBUL) + B3*(ZSHY) + R Level-2 Model B0 = G00 + U0 B1 = G10 + G11*(ZWARMT) + U1 B2 = G20 + G21*(ZWARMT) + G22*(ZABLET) + U2 B3 = G30 + G31*(ZWARMT) + G32*(ZSHYT1) + U3 i have seen the ?lme in nlme,but still have no ideal how to do. ps:i know how to do if the Level-2 Model are: B0 = G00 + U0 B1 = G10 + U1 B2 = G20 + U2 B3 = G30 + U3 2005-06-10 ------ Deparment of Sociology Fudan Univer...
2005 Jul 22
2
[LLVMdev] Need help on SPEC 95 "standard" commandlines
...,test) STDIN_FILENAME = /dev/null STDOUT_FILENAME = null.out RUN_OPTIONS = 40 19 else STDIN_FILENAME = 2stone9.in STDOUT_FILENAME = 2stone9.out RUN_OPTIONS = 50 9 endif include ../../Makefile.spec95 Makefile (END) which suggests the compiling command: gcc -DSPEC_CPU95 -O2 -o spec_go g2.c g22.c g23.c g25.c g26.c g27a.c g27b.c g28.c g29.c g2eye.c g2jlib2.c g2jos.c g2list.c g2reas.c g2s2.c g2s3.c g2shp.c and the running commandline: ./spec_go 50 9 2stone9.in < are these correct ? > This must be a shrinked problem size, since 2stone9.in is in the training set, not the ref set. &l...
2006 Feb 24
3
Sorting alphanumerically
I'm trying to sort a DATAFRAME by a column "ID" that contains alphanumeric data. Specifically,"ID" contains integers all preceeded by the character "g" as in: g1, g6, g3, g19, g100, g2, g39 I am using the following code: DATAFRAME=DATAFRAME[order(DATAFRAME1$ID),] and was hoping it would sort the dataframe by ID in the following manner g1, g2, g3, g6, g19,
2010 Jul 15
1
Error using the mi package
...d8i* d9a* d9b* d9c* d9d* d9e* d10a* d10b* d10c* d10d* d10e* d10f* d11* d13* d14* e1* e2* e3* e5* e6* f2* f3a* f3b* f3c* f3d* f3e* f4* f6* f7* f8* f9* f12* f14* f15* f16* f20* f21* f22* f23* f25* g2* g3* g6* g8* g9* g12* g13* g15* g17* g18* g22* g25* g26* g27* g28* g31* g34* g43* g55* g58* g59* g60* g61* g63* g65* g68a* g68b* g69* g70* g71* g91* g92* g93* g94* g95* Error in AveVar[s, i, ] <- c(avevar.mean, avevar.sd) : number of items to replace is not a multiple of replacement length And here is what tr...
2005 Jul 22
0
[LLVMdev] Need help on SPEC 95 "standard" commandlines
On Thu, 21 Jul 2005, Long Fei wrote: > which suggests the compiling command: > gcc -DSPEC_CPU95 -O2 -o spec_go g2.c g22.c g23.c g25.c g26.c g27a.c g27b.c > g28.c g29.c g2eye.c g2jlib2.c g2jos.c g2list.c g2reas.c g2s2.c g2s3.c g2shp.c > and the running commandline: > ./spec_go 50 9 2stone9.in > < are these correct ? > I believe that we only include test/train inputs for some programs. > This m...
2005 Jul 22
0
[LLVMdev] Need help on SPEC 95 "standard" commandlines
On Thu, 21 Jul 2005, Long Fei wrote: > Does anyone know the "standard" commandline to compile and run spec95 > benchmarks ? > > I found some scripts in llvm test suite (External/SPEC/CINT95), but I am not > sure if they are the *default ref* configurations. <Some of them seem to use > smaller problem sizes.> SPEC95 was retired many years ago, so few people
2005 Jul 22
2
[LLVMdev] Need help on SPEC 95 "standard" commandlines
Does anyone know the "standard" commandline to compile and run spec95 benchmarks ? I found some scripts in llvm test suite (External/SPEC/CINT95), but I am not sure if they are the *default ref* configurations. <Some of them seem to use smaller problem sizes.> SPEC95 was retired many years ago, so few people around me know how to compile and run them. I am building from