Displaying 2 results from an estimated 2 matches for "evi_mean".
2010 Aug 17
2
Independent variables omitted in lm and glm
...y(MuMIn)
datam <-read.csv("c:/migration/Mig_ratio_20100817.csv",header=T,
row.names=1)
dim(datam)
datam[1,]
# original regression model (16 indep. variables)
Mig.lm
<-lm(datam$SummerM_ratio~datam$temp_ran+datam$temp_mean+datam$temp_max+datam$temp_min+datam$evi_ran+datam$evi_mean+datam$evi_max+datam$evi_min+datam$prec_ran+datam$prec_mean+datam$prec_max+datam$prec_min+datam$topo_var+datam$topo_mean+datam$coast+datam$Iso_index_0808,data=datam)
summary(mig.lm)
mig.glm
<-glm(datam$SummerM_ratio~datam$temp_ran+datam$temp_mean+datam$temp_max+datam$temp_min+datam$evi_...
2010 Aug 17
2
AIC in MuMIn
...mp_ran using the code below but
failed.
Please kindly suggest the potential failure cause.
code
rm(list=ls())
library(MuMIn)
datam <-read.csv("c:/migration/Mig_ratio_20100817.csv",header=T,
row.names=1)
mig.stds <-glm(datam.std$SummerM_ratio~
datam.std$temp_max++datam.std$evi_mean+datam.std$topo_var+datam.std$topo_mean+datam.std$coast+datam.std$Iso_index_0808,data=datam.std,family=gaussian)
target.model <- dredge(mig.stds, subset=datam.std$temp_ran)
error in eval(expr, envir, enclos), 'temp_ran' not found
Q3 showing sub-models for two assigned explanator...