[R] negative variances

2007-04-11 Thread Tu Yu-Kang
Dear R experts, I had a question which may not be directly relevant to R but I will be grateful if you can give me some advices. I ran a two-level multilevel model for data with repeated measurements over time, i.e. level-1 the repeated measures and level-2 subjects. I could not get converge

[R] selections of data by one variable

2005-05-04 Thread Tu Yu-Kang
Dear R experts, My problem is as follows: Suppose I have a data frame d comprising two variable a<-c(1:10) & b<-c(11:20). I now want to select a subgroup according the values of b. I know if I just want to select, say, b=17, I can use f<-d[d$b==17] and R will give me f a b 7 7 17 However, if

[R] how to install yags in R

2004-06-11 Thread Tu Yu-Kang
Dear R users, I search the R archives and noted that the same problem has been posted but without solution. I know there IS instructions by the author of yags, but I just couldn't figured out. I know gee and geepack can also perform generalized estimating equation, but the reason why I need ya

[R] how to cite a library

2004-04-15 Thread Tu Yu-Kang
Dear R users, I used the multivariate random numbers generation function in MASS for my study. I wonder what is an approriate way to cite the library and its authors in my publication to express my gratefulness? best regards, Yu-Kang __ [EMAIL PROT

[R] extracting standard error from lme output

2004-02-17 Thread Tu Yu-Kang
Dear R experts, I want to extract standard error from the output of lme, but I found fix.effects() does not include SE of the coefficients. Many thanks in advance. Best regards, Yu-Kang _ 現在就上 MSN 會員目錄:在線上結交新朋友,找到興趣相投的夥伴 __

Re: [R] extracting p value from GEE

2003-12-08 Thread Tu Yu-Kang
Hi, Many thanks for your kind help. best regards, Yu-Kang From: Emmanuel Paradis <[EMAIL PROTECTED]> To: "Tu Yu-Kang" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [R] extracting p value from GEE Date: Fri, 05 Dec 2003 15:48:41 +0100 At 11:53 04/12/2003 +,

[R] extracting p value from GEE

2003-12-04 Thread Tu Yu-Kang
Dear R users, If anyone can tell me how to extract the p values from the output of gee? Many thanks in advance. Yu-Kang _ 免費試聽 MSN 英語學習:和真人老師線上學英文 http://www.msn.com.tw/english/ __ [EMAIL

[R] p value in MANOVA

2003-11-20 Thread Tu Yu-Kang
Dear R users, Can anyone tell me how to get the p value out of the output from summary.manova? I tried all the methods I can think of, but failed. Many thanks Yu-Kang _ 立即申請 MSN Mobile 服務:在您的手機上收發 MSN Hotmail http://msn.com.tw/m

[R] error message in simulation

2003-10-28 Thread Tu Yu-Kang
Dear R-users, I am a dentist (so forgive me if my question looks stupid) and came across a problem when I did simulations to compare a few single level and two level regressions. The simulations were interrupted and an error message came out like 'Error in MEestimate(lmeSt, grps) : Singularity