[R] the estimated random effects for each level of grouping

2011-12-06 Thread stat999
Hi, I am a quite beginner of random effect modelling. Sorry for my ignorant question. My question is about the values of lme function. It returns coefficients which is a list with two components. The R-help file says that it returns the estimated random effects for each level of grouping. What is

[R] HWEBayes, swapping the homozygotes genotype frequencies

2011-10-08 Thread stat999
I evaluated the Bayes factor in the k=2 allele case with a "triangular" prior under the null as in the example in the help file: HWETriangBF2(nvec=c(88,10,2)) [1] 0.4580336 When I swap the n11 entry and n22 entry of nvec, I received totally different Bayes factor: > > HWETriangBF2(nvec=c(2,

[R] Regarding the optimize function

2011-09-30 Thread stat999
have a piecewise function which takes a constant value for x greater than some point. It looks like this: y<-function(x,a){ if (xhttp://r.789695.n4.nabble.com/Regarding-the-optimize-function-tp3861257p3861257.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] life table and Kaplan-Meier

2011-07-13 Thread stat999
Thank you very much. -- View this message in context: http://r.789695.n4.nabble.com/life-table-and-Kaplan-Meier-tp3664246p3665671.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

[R] life table and Kaplan-Meier

2011-07-13 Thread stat999
Hello, I have a question about the function lifetab in package KMsurv. The description of the output value surv says "the estimated survival function at the start of the intervals". Are these estimates the ones calculated via Kaplan-Meier probability of survival ? Thanks in advance! -- View th