Displaying 7 results from an estimated 7 matches for "beaver2".
Did you mean:
beaver
2017 Dec 28
2
Why aov() with Error() gives three strata?
...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(sizes,sample.int,6)
ba...
2017 Dec 28
0
Why aov() with Error() gives three strata?
...r 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 =...
2017 Dec 28
2
Why aov() with Error() gives three strata?
...t; > 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...
2017 Dec 29
0
Why aov() with Error() gives three strata?
...ays 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))
>>...
2011 Nov 01
2
Discrepancy with p.value from t.test
...,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
Normal, Illinois 61790
(309...
2005 Feb 02
4
(no subject)
...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
discoveries Yearly Numbers of Important Discoveries
es...
1999 Jul 27
3
Preliminary version of ts package
...arterly 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 of major European stock indices, 1991-1998
lh datas...