Displaying 20 results from an estimated 168 matches for "herd".
Did you mean:
head
2009 Nov 20
1
different results across versions for glmer/lmer with the quasi-poisson or quasi-binomial families: the lattest version might not be accurate...
...e best,
Frédéric Gosselin
Engineer & Researcher (PhD) in Forest Ecology
Cemagref
Domaine des Barres
F-45290 Nogent sur Vernisson
France
############### 1- EXAMPLE FROM LMER HELP
############# here are the commands for the quasipoisson:
library(lme4)
gm1 <- lmer(incidence ~ period + (1 | herd), family = quasipoisson, data = cbpp)
summary(gm1)
########## here is the result under R2.5.1 and Package lme4 version 0.99875-9:
Generalized linear mixed model fit using Laplace
Formula: incidence ~ period + (1 | herd)
Data: cbpp
Family: quasipoisson(log link)
AIC BIC logLik deviance
1...
2011 Jul 11
2
Can't get this Rspec test to pass
...9;'m finding it very difficult to
mock specific objects.
In this test, I have a before block setup as such:
[code]
before do
setup_controller_for_warden
controller.session[:operation_id] = 1
@operator = Factory :operator
sign_in :operator, @operator
@persist_herd = Herd.new
@persist_herd.operation_id = 1;
@persist_herd.herd_name = ''Persisted Herd
(herd_rations_controller_spec)''
@persist_herd.save!
end
describe "GET new" do
it "assigns a new herd_ration as @herd_ration" do
HerdRation.stub(:new)...
2011 Mar 31
2
That dreaded floating point trap
Hi,
I had a piece of code which looped over a decimal vector like this:
for( i in where ){
thisdata <- subset(herde, herde$mlr >= i)
# do stuff with thisdata..
}
'where' is a vector like seq(-1, 1, by=0.1)
My problem was: 'nrow(thisdata)' in loop repetition 0.4 was different if
'where' was seq(-1, 1, by=0.1) than when 'where' was seq(-0.8, 1, by=0.1)
It went away after I...
2012 May 23
1
Error message from optim
...returns the message 'Error in function (par) : could not find function "fn"'. I've re-read the code a few times and just can't figure out why it's happening. Any help/suggestion is appreciated.
Regards,
Rubem
## R script
library(tweedie)
period<-factor(1:4)
herd<-factor(1:10)
dat<-expand.grid(period=period,herd=herd)
beta<-c(-.3,1.7,2.5,3.4)
x<-model.matrix(~period,dat)
b<-rnorm(length(levels(dat$herd)),sd=.3)
z<-model.matrix(~-1+herd,dat)
mu<-as.vector(exp(x%*%beta+z%*%b))
phi<-.8; p<-1.6
dat$resp<...
2005 Mar 04
0
Multilevel modeling of animal behavior
...++++++
I am trying to analyze the impact of temperature, wind, and solar radiation on cattle behavior in winter
(e.g. exposure to the sun, use of windbreaks).
Individual cow's behavior in the field is partly influenced by group behavior and it's nearest neighbors, also known as
"herd effect" (Shiyomi and Tsuiki, 1999; Shiyomi, 2004). For example: decision to use a windbreak depends on:
a) wind speed,
b) how many cows are already using it.
Another example may be individual decisions on where to forage will depend on movement patterns of the herd and not just the
topogra...
2008 Sep 12
2
Fw: Complex sampling survey _ Use of survey package
...e is the table with the comlums of interest
>
> num esp fpc1 Totanim Id_An
> 2045 G 551 12 10
> 2046 C 551 68 11
> 2070 G 551 9 50
> 2070 S 551 9 51
> 2070 S 551 9 52
>
>
>
> yes Totanim is the total number of animals in the farm and num is the
> total number of herds
>
> I keep on obtaining this error message
>
> clustot<-svydesign(id=~num+ ~ Id_An, fpc=~fpc1+~Totanim, data=tab1)
>
> Erreur dans as.fpc(fpc, strata, ids) :
> FPC implies >100% sampling in some strata.
>
>
> --------------------------------------------------
&...
2008 Sep 11
1
Complex sampling survey _ Use of survey package
...0
3
6
1
551
50
50
51
2070
S
01-Q1
0
3
6
1
551
51
51
52
2070
S
01-Q1
0
3
6
1
551
52
52
- First strata = herds
herd's id column = num
sampled in 551 herds (column fpc1)
- Second strata = animals
animal id column= Id_An
sampled in Totanim
I tried :
clustot <- svydesign (id=~num+Id_An, fpc=~fpc1+~Totanim, data=tab1)
and I get this error message
> clustot <- svydesig...
2009 Jul 21
2
Adjusting x/y text labels for a bwplot using cex.lab
...an't figure it out.
I have trying to enlarge the x and y labels on my box plot. I understand
that you can do this using "cex.lab", but it does not seem to be working for
me. I must be adding it in the wrong spot. Any help would be greatly
appreciated. Here is my code:
bwplot(hr~Herd, data=telemetry, notch=T, ylab="Home Range Area (ha)",
xlab="Herd",
par.settings = list(plot.symbol = list(col = "black"),box.umbrella =
list(col ="black"), box.rectangle=list(col="black")),fill="light blue")
~McCrea
--
View this messag...
2012 Jun 19
1
Error when trying to update cpglm model
...s running update() to re-fit a cpglm model inside a function (as in the code below). The solution is probably simple, but I'm stuck. If anyone could help, I'd greatly appreciate it.
Regards,
Rubem
## R code
library(cplm)
## Data simulation
period<-factor(1:4)
herd<-factor(1:50)
dat<-expand.grid(period=period,herd=herd)
beta<-c(-.3,1.7,2.5,3.4)
X<-model.matrix(~period,dat)
mu<-as.vector(exp(X%*%beta))
phi<-1; p<-1.6
dat$resp<-rtweedie(nrow(dat),p,mu,phi)...
2015 Nov 24
2
libvirtd doesn't attach Sheepdog storage VDI disk correctly
...rt an image to sheepdog
=============================================
qemu-img convert /home/user/temp/debian-8.2.0-amd64-CD-1.iso
sheepdog:debian.iso
============================================
the dump of the image says
=============================================
virsh # vol-dumpxml --pool herd debian.iso
<volume type='network'>
<name>debian.iso</name>
<key>herd/debian.iso</key>
<source>
</source>
<capacity unit='bytes'>657457152</capacity>
<allocation unit='bytes'>658505728</allocation>...
2008 Aug 20
3
bug in lme4?
...ally, once you load the package 'aod' (Analysis of Overdispersed Data), the functions 'lmer' and 'glmer' don't work anymore:
library(lme4)
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
(gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
family = binomial, data = cbpp))
install.packages("aod")
library(aod)
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
(gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
family = binomial, data = cbpp))
Taking into acco...
2007 Mar 08
2
Composite Primary Keys
Have been looking into using rails but am finding the "Composite
Primary Keys are Bad" thing a tad disturbing (to put it mildly). I
have been working with RDBMS systems for over fifteen years and this
is the first time I have herd the idea questioned. I have cone across
using surrogate keys which mirror the composite key for performance
reasons in VERY big databases but I have never herd the idea
questioned from a logical database design point of view. Apart from
it being easier in rails to use non composite keys has anyon...
2015 Nov 30
1
Re: libvirtd doesn't attach Sheepdog storage VDI disk correctly
...===================================
qemu-img convert -t directsync lubuntu-14.04.3-desktop-i386.iso
sheepdog:lubuntu1404.iso
=================================================
results in
====================================================
root@orion2:/var/lib/libvirt/xml# virsh vol-dumpxml --pool herd
lubuntu1404.iso
<volume type='network'>
<name>lubuntu1404.iso</name>
<key>herd/lubuntu1404.iso</key>
<source>
</source>
<capacity unit='bytes'>750780416</capacity>
<allocation unit='bytes'>750780416</...
2016 May 19
7
Transferring SelectionDAG code ownership
...the project and to keep development running smoothly, I am resigning my code ownership. Justin Bogner has graciously volunteered to take it up. He has a strong history of LLVM contributions, a demonstrated commitment to good community development practices, and has experience shaving the infinite herd of SelectionDAG yaks.
I am happy to recommend Justin take over the SelectionDAG code ownership, pending the approval of the community.
—Owen
2016 Jan 14
0
[v3,11/41] mips: reuse asm-generic/barrier.h
...le.
>
> What else do you want from me - RTL or microArch design for that?
I suspect that it is more likely that we are talking past each other.
This stuff is subtle and although we have better ways of talking about
it than (say) ten years ago, it is subtle. Two ways of talking about
it are herd and ppcmem.
The overview of ppcmem (AKA armmem and cppmem) is here:
https://www.cl.cam.ac.uk/~pes20/ppcmem/help.html
The intro to herd is here: http://arxiv.org/pdf/1308.6810v5.pdf
It may be downloaded here: http://diy.inria.fr/herd/
As a very rough rule of thumb, herd is faster and easier to us...
2009 Jul 01
4
Wine on Windows 7... Anyone actually tried?
Oi.
So. Now we have a version of windows that actually has legit uses for wine.
Windows 7 can't run horrifyingly outdated 16bit programs(Such as Exile Escape from the Pit) period. Atleast so Ive herd--and tried and seen to seem to be true. Not to mention a multitude of programs that SHOULD run--but just dont like it(Worms Armageddon, for one... though dunno if it works on wine)
Also. I've herd NWN runs fine under it... and well. W7 and NWN are... Insert your favorite set of people that sho...
2016 Jan 15
2
[v3,11/41] mips: reuse asm-generic/barrier.h
...cycles. If you think
of it as a cycle, then it doesn't matter where the local link is, just
how many of them and how they are connected.
But I will admit that there are some rather strange litmus tests that
challenge this cycle-centric view, for example, the one shown below.
It turns out that herd and ppcmem disagree on the outcome. (The Power
architects side with ppcmem.)
> And I think I'm still confused on LWSYNC (in the smp_wmb case) when one
> of the stores looses a conflict, and if that scenario matters. If it
> does, we should inspect the same case for other barriers.
I...
2016 Jan 15
2
[v3,11/41] mips: reuse asm-generic/barrier.h
...cycles. If you think
of it as a cycle, then it doesn't matter where the local link is, just
how many of them and how they are connected.
But I will admit that there are some rather strange litmus tests that
challenge this cycle-centric view, for example, the one shown below.
It turns out that herd and ppcmem disagree on the outcome. (The Power
architects side with ppcmem.)
> And I think I'm still confused on LWSYNC (in the smp_wmb case) when one
> of the stores looses a conflict, and if that scenario matters. If it
> does, we should inspect the same case for other barriers.
I...
2006 Jan 09
8
Pri Gateway Hardware
Does anyone have any experience using a PRI gateway, I am looking for a way
to have multiple asterisk boxes use one PRI, and send that over the network.
I herd there are copper gateway devices (like a X100P card, only it
registers with asterisk using sip, and it doesn't have to be physically
connected to the box) Does anyone have any experience with a PRI gateway?
And could tell me the cost and the quality? Thanks
Johnathan Falk
Network Administ...
2012 Mar 07
1
SELECT CASE in RODBC
...ers in stead of the text string, but then
the UNION 'crashes' because it cannot convert the "event" variable from the
first SELECT to an integer variable...
Any suggestions?
Thanks - Bodil
I use the following code:
raw<-sqlQuery(.zz,
'SELECT TOP(100)PERCENT
Animal.Herdnumber AS herd, Animal.ChrNumber AS chrNr,
Animal.AnimalNumber AS animalid, Animal.DateOfBirth AS datebirth,
AnimalStatus.Code AS codestatus, AnimalStatus.Description AS
animalstatus,
AnimalTransfer.Date AS date,
AnimalTransferType.Code AS codeevent, AnimalTransferType.Description AS...