search for: herdsize

Displaying 1 result from an estimated 1 matches for "herdsize".

2007 Aug 16
0
Linear models and a simple time series
...te of the herd (A simplification, but preserves the essentials.) My question is whether the R procedure lm() is an appropriate tool to estimate the growth rate. year <-1991:2007 killed <-c(7008,6663,8545,7868,9286,9365,10443,6389,6004,8631,13277,12029,10081,989 9,11023,9926,7000) herdsize <-c(50697,54804,46462,42410,43593,42138,43037,44495,45968,47376,45469,38815, 37186,37135,31760,31206,28563) year.0 <-which(year==1991) year.1 <-year.0+1 year.ult <-length(year) year.penult<-length(year)-1 y<-heardsize[year.1:year.ult] x<-herdsize[year.0:year.penul...