Displaying 4 results from an estimated 4 matches for "soiltem".
2006 Jul 02
2
how to recode in my dataset?
Dear Rusers,
My question is about "recode variables". First, i'd like to say
something about the idea of recoding:
My dataset have three variables:type,soiltem and airtem,which means
grass type, soil temperature and air temperature. As we all known, the
change of air temperature is greater than soil temperature,so the
values in those two different temperaturemay represent different
range.
My recoding is to recode soiltem with 0.2 intervals, and airtem wi...
2006 Jul 03
2
could i change the ouput style on summary?
Dear friends,
summary() doesn't give a good ouput style,e.g.:
grass soiltem airtem gheight
humidity altitude
diluo :38 Min. :15.90 Min. :17.70 Min. : 8.00 Min. :
0.2360 high: 43
huanghuacai:32 1st Qu.:19.32 1st Qu.:22.60 1st Qu.:40.00 1st Qu.:
0.3190 low :119
hucao :46 Median :20.20 Median :25.30 Median :60....
2006 Jul 08
0
which model (GLMs)is the best?
Dear friends,
I used R to analyze my data with the models of generalized linear models,
and found three models were relatively good, but i can't decide which is the
best,how should i do ?
*Model1:*
glm(formula = snail ~ grass + gheight + humidity + altitude + soiltem +
airtem + grass:altitude, *family = Gamma(link = inverse*),
data = model, na.action = na.exclude, control = list(epsilon = 1e-04,
maxit = 50, trace = T))
(Dispersion parameter for Gamma family taken to be 0.2644025)
Null deviance: 63.635 on 161 degrees of freedom
Residual devian...
2006 Oct 15
1
gamma distribution don't allow negative value in GLMs?
Dear friends,
when i use glm() to fit my data, i use
glm(formula = snail ~ vegtype + mhveg + humidity + elevation + soiltem, *family
= Gamma(link = inverse),* data =a,))
It shows: error in eval(expr, envir, enclos) : *gamma distribution don't
allow negative value*.
But i use
result<-glm(formula = snail ~ vegtype + mhveg + humidity + elevation +
soiltem, family = poisson, data =a) #this works
In fact , there is...