search for: ddev2

Displaying 2 results from an estimated 2 matches for "ddev2".

Did you mean: ddev
2007 Oct 08
2
variance explained by each term in a GAM
...stand) there is no information on the proportion of variance explained. One alternative may be to fit alternative models without each term, and calculate the reduction in deviance. For example: m1=gam(y~s(x1) + s(x2)) # Full model m2=gam(y~s(x2)) m3=gam(y~s(x1)) ddev1=deviance(m1)-deviance(m2) ddev2=deviance(m1)-deviance(m3) Here, ddev1 would measure the relative proportion of the variability in y explained by x1, and ddev2 would do the same for x2. Does this sound like an appropriate approach? Julian Julian Burgos FAR lab University of Washington
2011 Mar 11
0
variance explained by each term in a GAM
...alternative may be to fit alternative models without each term, and >> calculate the reduction in deviance. For example: >> >> m1=gam(y~s(x1) + s(x2)) # Full model >> m2=gam(y~s(x2)) >> m3=gam(y~s(x1)) >> >> ddev1=deviance(m1)-deviance(m2) >> ddev2=deviance(m1)-deviance(m3) >> >> Here, ddev1 would measure the relative proportion of the variability in y >> explained by x1, and ddev2 would do the same for x2. Does this sound like >> an appropriate approach? >> >> Julian >> >> Julian Burgo...