search for: kilometre

Displaying 3 results from an estimated 3 matches for "kilometre".

Did you mean: kilometer
2011 Nov 08
3
GAM
...the package "faraway" by using the generalized additive model. it shows the following error. Can some one suggest me the right way? library(faraway) data(motorins) motori <- motorins[motorins$Zone==1,] library(mgcv) >amgam <- gam(log(Payment) ~ offset(log(Insured))+ s(as.numeric(Kilometres)) + s(Bonus) + Make + s(Claims),family = gaussian, data = motori) Error in smooth.construct.tp.smooth. spec(object, dk$data, dk$knots) : A term has fewer unique covariate combinations than specified maximum degrees of freedom > summary(amgam) Error in summary(amgam) : object 'amgam' n...
2011 May 09
2
Time Series
I have what I hope is a simple question - is it possible to do time series analysis on a small data set specifically only four data points? I have collected human threat data (mean number of threats per kilometre walked/ survey) every 3 months in eight different sites (four with an experimental element and four control sites). I am trying to determine the best way to determine if there is a trend in the data though from what I''ve seen of TSA, our data set is too small. I did a simple paired t-test...
2006 Feb 27
1
4D stacked column chart, Excel -> R
...ion (there are some chart pictures as well).... http://www.mrexcel.com/board2/viewtopic.php?t=187336&highlight=stacked+column because I still couldn't solve that problem I came to R. The chart should be actually a 3D chart of the type 3D Column Chart with following achsis: X Achsis: driven kilometre in 10000 blocks Y Achsis: Production month Z Achsis: number I need to show another month in that chart, the repair month. Each column should be a stacked column with more colors, so that every color shows one repair month. I tried to do it with the scatterplot3d function after I saw this example (...