search for: g21

Displaying 7 results from an estimated 7 matches for "g21".

Did you mean: 21
2012 Mar 19
2
fitted values with locfit
...ce I get the regression done I cannot get the fitted values of each of this smooth functions (m1) and (m2). What I write is the following library(locfit) data(ais) fit2<-locfit.raw(x=lp(ais$RCC,h=0.5,deg=1)+lp(ais$WCC,deg=1,h=0.75),y=ais$BMI,ev=dat(),kt="prod",kern="gauss") g21<-predict(fit2,type="terms") If I done this on the computer the results of (g21) is a vector when I should have a matrix with 2 columns (one for each fitted smooth function). Please, somebody knows how can I get the estimated fitted values of both smooth functions (m1) and (m2) usin...
2012 Mar 17
0
multivariate locfit regression
...e I get the regression done I cannot get the fitted values of each of this smooth functions (m1) and (m2). My program is the following: library(locfit) data(ais) fit2<-locfit.raw(x=lp(ais$RCC,h=0.5,deg=1)+lp(ais$WCC,deg=1,h=0.75),y=ais$BMI,ev=dat(),kt="prod",kern="gauss") g21<-predict(fit2,type="terms") If I done this on the computer the results of (g21) is a vector of results when I should have a matrix with 2 columns (one for each fitted smooth function). Please, somebody knows how I can get the fiitted values of both smooth functions (m1) and (m2)...
2008 Sep 09
1
creating table of averages
...] "f11" "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"...
2005 Jun 09
2
can nlme do the complex multilevel model?
...nt in calss.following 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 Sociolo...
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,
2008 Nov 26
1
Request for Assistance in R with NonMem
...RINT ONEHEADER FILE=TABLE.PAR $TABLE NOPRINT FILE=../3033.TAB ONEHEADER ID TIME AGE BW GNDR KA V CL TVKA TVCL TVV FLAG FLA2 EVID EFF CONC IPRED FLAG $TABLE NOPRINT ONEHEADER FILE=../3033par.TAB ID TIME AGE BW GNDR KA V CL TVKA TVCL TVV EMAX EC50 ETA1 ETA2 ETA3 EVID $TABLE ID TIME COM(1)=G11 COM(2)=G21 COM(3)=G31 COM(4)=G41 COM(5)=G51 COM(6)=G61 COM(7)=H11 COM(8)=H21 IPRED MDV NOPRINT ONEHEADER FILE=cwtab1.deriv
2008 Nov 21
3
HELP
[This email is either empty or too large to be displayed at this time]