similar to: Specifying error terms in aov and lme

Displaying 20 results from an estimated 2000 matches similar to: "Specifying error terms in aov and lme"

2004 Nov 04
1
Labelling contour lines
I am using contour to draw contour lines onto a photo (jpeg) of a leaf on a white background. I have two problems: 1) The contour gets plotted at right angles to the jpeg image. I guess this is a problem of referencing the start and end points of the image matrix but I can't see how to over come this other than loading in a second image that has been rotated 90 degrees and plotting the
2003 Jul 06
1
Printing multiple graphics devices
Hi I'm using a function (arrayview from the maanova package) that produces 12 plots, all in separate windows. How can I get each one to print to a jpeg file as the plots are produced? Alternatively, is it possible to get dev.print (jpeg.....) to print all open graphics devices to separate windows? Thanks in advance, Nat Street -- Nathaniel Street University of Southampton
2007 Apr 25
0
Split column of concatenated data
Hi I have a column of concatenated information stored in an RG object in the limma package and I need to split this information and then paste the first two pieces of data in each case back into two columns of the RG object. This is how I am currently doing this gene.info.split<-strsplit(RG$genes$Name,",",fixed=TRUE) for (h in 1: length(gene.info.split)){
2008 Oct 08
1
Suspicious output from lme4-mcmcsamp
Hello, R community, I have been using the lmer and mcmcsamp functions in R with some difficulty. I do not believe this is my code or data, however, because my attempts to use the sample code and 'sleepstudy' data provided with the lme4 packaged (and used on several R-Wiki pages) do not return the same results as those indicated in the help pages. For instance: > sessionInfo() R
2008 May 05
1
proportional test on epicalc library vs. Jerrold H. Zar.
Hi everyone, I'm working with the Epical library, specicatly using the power test in proportions. I think this test is not working like in the book: Biostatistical Analysis (4th Edition): Jerrold H. Zar In the example 23.25. (I attach this Pic) It's not the same answer. Using the follow command don't give the same answer. library(epicalc) power.for.2p(0.75, 0.50, 50, 45, alpha =
2005 May 02
2
Nonparametric Tukey-type multiple comparisons "Nemenyi" test
I am trying to do a Nonparametric Tukey-type multiple comparison post-hoc test to determine which groups are significantly different. I have read the dialogue on this topic from the R-help, and am still not clear why no statistical packages include this test as an option? Is it not an appropriate test to conduct on non-normally distributed data? Is the only option to calculate it by hand
2004 Apr 25
2
nonparametric multiple sample comparison
Hello all, Here goes one of my first functions. I want to make a nonparametric multiple sample comparison with unequal sample sizes (see Zar?s Biostatistical Analysis, 3rd. Ed., pg. 201 Example 10.11, pg. 288 Example 11.10). In the real world, I want to compare samples of fish length captured with different fishing gears. After using the Kruskal-Wallis test I want to check the differences
2003 Apr 15
1
About kruskal.test
Hi, I'm newbie in R package, but i'm extremely gratefull for these list! is there possible to make kruskal.test summarize the sum of ranks?? e.g ##### z<-c(1.2,3.4,0,0,0,0,0) ranks(z) # like in octave package ans= 6 7 3 3 3 3 3 sum(ranks(z)) ans= 28 ### then apply multiple comparisions for many other data SE<-sqrt(n*(n*k)*(n*k+1)/12) # according Zar,JH. Bioestatistical
2000 Nov 01
3
triangular matrix
How I make the below matrix | a^0 0 0 ... 0 | | a^1 a^0 0 ... 0 | | a^2 a^1 a^0 ... 0 | | . | | . | | . | | a^n a^(n-1) a^(n-2) ... a^0 | with no loops, where "a" is a constant? ======================================================================== C?zar de Freitas Depto. de Estat?stica - UFPE Recife - Pernambuco - Brasil
2002 Apr 15
1
simple Q: required sample size & usage of power.t.test()
Hi community, Seems I am too stupid: I try to calculate with power.t.test() an example from the statistics textbook [Jerrold H. Zar, Biostatistical Analysis, 2nd edition, Prentice Hall, 1984, Chapter 8, Exercise 8.4, (page 120)]: ------- A sample of size 18 has a mean of 13.55cm and a variance of 6.4512cm^2. (a) Calculate the 95% confidence interval for the population mean. (b) How large a
2009 Mar 30
1
Comparing Points on Two Regression Lines
Dear R users: Suppose I have two different response variables y1, y2 that I regress separately on the different explanatory variables, x1 and x2 respectively. I need to compare points on two regression lines. These are the x and y values for each lines. x1<-c(0.5,1.0,2.5,5.0,10.0) y1<-c(204,407,1195,27404313) x2<-c(2.5,5.0,10.0,25.0) y2<-c(440,713,1520,2634) Suppose we need to
2010 Apr 15
0
nested (hierarchical) anova
Hi, I'm having difficulty to replicate in R a nested (hierarchical) anova example found in p. 308 of Zar, J.H. 1996. Bostatistical Analysis. Prentice Hall. 3rd ed. The example (15.1) is as follows: The variable is blood cholesterol concentration in women (in mg/100 ml of plasma). This variable was measured after the administration of one of three different drugs, each drug having been
2008 Jun 04
1
Comparing two regression lines
Dear R users, Suppose I have two different response variables y1, y2 that I regress separately on the same explanatory variable, x; sample sizes are n1=n2. Is it legitimate to compare the regression slopes (equal variances assumed) by using lm(y~x*FACTOR), where FACTOR gets "y1" if y1 is the response, and "y2" if y2 is the response? The problem I see here is that the
2009 Feb 12
0
Comparing slopes in two linear models
Hi everyone, I have a data frame (d), wich has the results of mosquitoes trapping in three different places. I suspect that one of these places (Local=='Palm') is biased by low numbers and will yield slower slopes in the variance-mean regression over the areas. I wonder if these slopes are diferents. I've looked trought the support list for methods for comparing slopes and found the
2001 Mar 22
0
[Fwd: FW: Biostats text/software]
[This was filtered (looking like spam) and manually approved by your list maintainer, MM ] EvolDir wrote: > Colleagues, > > A few days ago I posted a message inquiring what folks were using for > teaching biostats. I received a stunning 38 replies offering various > opinions, some quite surprising, along with links to web pages, pointers for > coverage, commentaries on
2004 Nov 18
0
Fwd: Re: 3d scatter plot with drop line
Hi try this: p3dpairs <- function(x,x1, xlim=NULL,ylim=NULL,zlim=NULL,col=par("col"), pch=par("pch"), cex=par("cex"), ...){ if(is.matrix(x)){ z <- x[,3] y <- x[,2] x <- x[,1] } if(is.matrix(x1)){ z1 <- x1[,3] y1 <- x1[,2] x1 <- x1[,1] } if(missing(zlim)) { z.grid <-
2006 Apr 06
1
R CMD check for packages in a bundle
Hi [MacOsX 10.4.6; R-2.2.1] I have a bundle that comprises three packages. I want to run R CMD check on each one individually, as it takes a long time to run on all three. I am having problems. The bundle as a whole passes R CMD check, but fails when I cd to the bundle directory and run R CMD check on a package directory. The whole bundle passes: octopus:~/scratch% R CMD check
2012 Feb 06
1
multiple comparisons in nested design
Dear professors and collegues I need to perform a analysis of dates from a nested experimental design. From "Bioestatical Analysis" of Zar "Bimetry of Sokal" & Rohlf "Design and Analysis of Experiments" of Montgomery I have: Sum (mean(x)_i - mean(x)_T)2 / (a-1) -> var(epsilon) + n sigma2_B + n b (sum alfa_i)2 / (a-1) Sum (mean(x)_ij - mean(x)_i)2 /
2012 Jul 19
1
Mutex lock contention against Active directory domain controllers causing authentication failures
Hello, We are using Samba 3.4.6 (packaged by opencsw.org) against Active Directory 2003 on our primary University filestore. The operating system is Solaris 10 Update 10. We have a number of domain controllers. For the past two days on our main filestore has been failing connections from a number of clients. When using smbclient (or indeed any client) connecting to the Samba server we see logs
2001 Sep 20
0
G-test : log-likelihood ratio test
I've written a g.test() aka log-likelihood ratio test function for my opwn use. It's something I've seen requested (and looked to find myself) on this list a few times. It has the same basic syntax as chisq.test(). It does both goodness of fit tests and tests of independence. Yates' and Williams' corrections are implemented. I've put some examples from Sokal & Rohlf