search for: yoyra

Displaying 4 results from an estimated 4 matches for "yoyra".

Did you mean: yoyras
2009 Feb 06
1
Log transformation and -Inf values for use in glm()
...n -Inf values in some places, though. I then receive an error when this matrix is used in the glm function, and would like to know this can be avoided. I have attempted several methods already including the use of na.exclue commands in the glm statement: > DistributionT<-glm(EarlyLn$yoyras~EarlyLn$temp,family=gaussian(link > = "identity"),na.exclude) I have also attempted to use the is.finite command: EarlyLn$yoyras<-EarlyLn[is.finite(EarlyLn$yoyras)==T,] I know another option would be to use a type of find and replace command to remove entire rows of the matr...
2009 Jun 17
2
GAM function with interaction
...hen data from all dates are combined to create a model from the entire dataset, I think I need to include some type of metric/variable/interaction term to account for this date relationship. I have written the following code using a "by" term: Distribution.s.temp.logwm2.deltaT<-gam(yoyras~s(temp,by=datecode)+s(logwm2,by=datecode)+s(DeltaT,by=datecode),data=AllData) However, I am not convinced this is the correct way to account for this relationship. What do you think? Is there another way to include this in my model? Maybe I should simply include date ("datecode") as...
2009 Nov 21
1
3-D Plotting of predictions from GAM/GAMM object
...vious assistance I received from this listserve! My current question is: How can I create an appropriate matrix of values from a GAM (actually a GAMM) to make a 3-D plot? This model is fit as a tensor product spline of two predictors and I have used it to make specific predictions by calling: YoyRasPred6<-predict(YoyRas.Distribution.T.L.DT.gamm$gam,newdata=YoyRasSubset6,se.fit=T) However, this type of command, I believe, produces only a vector of values. I have plotted these values and know how to do so in 2-D. However, I would like to create a 3-D plot, which I believe will require an...
2009 Jun 23
1
Model fitting with GAM and "by" term
...hen data from all dates are combined to create a model from the entire dataset, I think I need to include some type of metric/variable/interaction term to account for this date relationship. I have written the following code using a "by" term: Distribution.s.temp.logwm2.deltaT<-gam(yoyras~s(temp,by=datecode)+s(logwm2,by=datecode)+s(DeltaT,by=datecode),data=AllData) However, I am not convinced this is the correct way to account for this relationship. What do you think? Is there another way to include this in my model? Maybe I should simply include date ("datecode") a...