search for: maxtemp

Displaying 6 results from an estimated 6 matches for "maxtemp".

Did you mean: max_temp
2011 Oct 13
3
Question about GAMs
hi! I hope all of you can help me this question for example GAMs: ozonea<-gam(newozone~ pressure+maxtemp+s(avetemp,bs="cr")+s(ratio,bs="cr"),family=gaussian (link=log),groupA,methods=REML) formula(ozonea) newozone ~ pressure + maxtemp + s(avetemp, bs = "cr") + s(ratio,bs = "cr") #formula of gams coef(ozonea) # extract the coefficient of GAMs (Intercept)...
2011 Oct 04
2
About stepwise regression problem
First of all, I have GAMs noxd<-gam(newNOX~pressure+maxtemp+s(avetemp,bs="cr")+s(mintemp,bs="cr")+s(RH,bs="cr")+s(solar,bs="cr")+s(windspeed,bs="cr")+s(transport,bs="cr"),family=gaussian (link=log),groupD,methods=REML) Then I type " summary(noxd)". and show Family: gaussian Link funct...
2008 Aug 21
4
Very confused with class
...re,"numeric") numeric seeming like a reasonable class to assign to this variable. However, doing some summary stats like mean(southwest$pressure) #> 341, max(southwest$pressure) #> 761, which is clearly nonsense, as my maximum value is around 1040. Something similar has happened to maxtemp (maximum temperature), which I also reassigned from a factor to class numeric, which now apparently has a maximum value of 147! Clearly it must be the reassignment of class that has caused these problems, as summary stats on the data before I reassigned the classes were fine. What is wrong with...
2011 Jan 10
2
How to save the output of "split" command as series of .csv files
...ear, in order to save them as individual .csv files which will be named according to Year. I would prefer not to use a series of "subset" commands given that there are a differing number of years for the various location. The data looks like this: Day Month Community Year MaxTemp MinTemp 1 1 '241552' 1990 44 29 2 1 '241552' 1990 39 20 3 1 '241552' 1990 35 24 . . . . . . . . . . . . 4 1 '241552'...
2005 Jan 10
1
I have some problem about GLM function.
Dear R-Help I 'm using GLM function to Modelling. But when I used Gamma Family in GLM, then I can't run. It was error > glm(DamageRatio~MinTEMP+MaxTEMP+DayRain+Group1+Group2+Group3+Year,family=Gamma()) Error in eval(expr, envir, enclos) : Non-positive values not allowed for the gamma family Can Gamma Distribution use data begin 0 ? and then when I used GLM in S-Plus Program then it done, but it didn't have AIC value. Last Question why are n...
2011 Jun 15
0
Find values from one dataframe between certain values in another dataframe
...he end of the dive datetime value f<-which(tdr[,2]>=st & tdr[,2]<=ed) # find row numbers where tdr datetimes is between start #end times of dive[i]. Column 2 is the datetime value z1<-tdr[f,5] # extract temperature values maxtemp<-max(z1) #out of those values find the max value dat<-rbind(dat,maxtemp) #add that row onto a dat } The problem is when I just want to check wat f is it keeps telling me interger(0). It says that there are no values in tdr that falls between the start and end of the dives. But there is, I ha...