search for: beaver1

Displaying 8 results from an estimated 8 matches for "beaver1".

Did you mean: beaver
2017 Dec 28
2
Why aov() with Error() gives three strata?
...g only the two first strata. Is it possible to have two or three strata depending on the data? If there is always three strata, how this would fit the interpretation of between vs within effects? Below a reproducible example that gives three strata: data(beavers) data=data.frame(id = rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))),rbind(beaver1,beaver2)) data$activ=factor(data$activ) #balance dataset to have 6 samples for every combination of beaver and activity. balanced = split(data,interaction(data$id,data$activ)) sizes = sapply(balanced,nrow) selected = lapply(si...
2017 Dec 28
0
Why aov() with Error() gives three strata?
...ssible to have two or three strata depending on the data? > If there is always three strata, how this would fit the interpretation of > between vs within effects? > > Below a reproducible example that gives three strata: > > data(beavers) > data=data.frame(id = > rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))),rbind(beaver1,beaver2)) > data$activ=factor(data$activ) > #balance dataset to have 6 samples for every combination of beaver and > activity. > balanced = split(data,interaction(data$id,data$activ)) > sizes = sapply(balanced,n...
2017 Dec 28
2
Why aov() with Error() gives three strata?
...ding on the data? > > If there is always three strata, how this would fit the interpretation of > > between vs within effects? > > > > Below a reproducible example that gives three strata: > > > > data(beavers) > > data=data.frame(id = > > rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))), > rbind(beaver1,beaver2)) > > data$activ=factor(data$activ) > > #balance dataset to have 6 samples for every combination of beaver and > > activity. > > balanced = split(data,interaction(data$id,data$activ)) >...
2017 Dec 29
0
Why aov() with Error() gives three strata?
...> If there is always three strata, how this would fit the interpretation of >>> between vs within effects? >>> >>> Below a reproducible example that gives three strata: >>> >>> data(beavers) >>> data=data.frame(id = >>> rep(c("beaver1","beaver2"),c(nrow(beaver1),nrow(beaver2))), >> rbind(beaver1,beaver2)) >>> data$activ=factor(data$activ) >>> #balance dataset to have 6 samples for every combination of beaver and >>> activity. >>> balanced = split(data,interaction(data$id,d...
2011 Nov 01
2
Discrepancy with p.value from t.test
...ep) > t.test(extra~group,data=sleep,var.equal=T) # the p.value returned is 0.07939 > 2*pt(-1.8608,18) # using the t.statistic and the df returned above [1] 0.0791887 These p.values are the same. However, they are different when I use a different dataset: > data(beavers) > b1 <- beaver1$temp > b2 <- beaver2$temp > t.test(b1,b2,var.equal=T) # the p.value returned is 2.2e-16 > 2*pt(-15.9366,212) # using the t.statistic and the df returned above [1] 4.10686e-38 Jonathan B. Thayn, Ph.D. Illinois State University Department of Geography and Geology 200A Felmley Hall N...
2005 Feb 02
4
(no subject)
...of "Identical" Simple Linear Regressions attenu The Joyner-Boore Attenuation Data attitude The Chatterjee-Price Attitude Data austres Quarterly Time Series of the Number of Australian Residents beaver1 (beavers) Body Temperature Series of Two Beavers beaver2 (beavers) Body Temperature Series of Two Beavers cars Speed and Stopping Distances of Cars chickwts Chicken Weights by Feed Type co2 Mauna Loa Atmospheric CO2 Concentration dis...
2011 Apr 10
3
Adding margin text to lattice graphics
Colleagues I am learning lattice graphics (R 2.12.2; OS X). Several days ago, I inquired about adding margin text to lattice graphics. Jim Price offered a useful reply, suggesting that I add: page = function(page) grid.text('words', x = 0.5, y = 0.01) to my call to the function. The entire function that he suggested was; xyplot(1 ~ 1, par.settings = list(layout.heights =
1999 Jul 27
3
Preliminary version of ts package
...Yearly Average Temperatures in New Haven CT presidents Quarterly Approval Ratings for US Presidents sunspots Monthly Mean Relative Sunspot Numbers uspop Populations Recorded by the US Census Datasets in package ts: ---------------------- accdeaths US accidental deaths 1973-8 beaver1 time series of body temperatures of two beavers beaver2 deaths time-series on UK lung deaths 1974-9 from Diggle (1990) mdeaths, fdeaths as above, for males and females drivers time series on UK road deaths of drivers from Harvey (1989) finance daily closing prices...