Displaying 2 results from an estimated 2 matches for "pct_utilize".
2011 Jan 10
1
debug biglm response error on bigglm model
...m.
Thanks in advance!
Code:
=======
iter <- nrow(nov.2010)
predict.nov.2011 <- vector(mode='numeric', length=iter)
for (i in 1:iter) {
iter.df <- nov.2010
##---------- Update values of dynamic variables ------------------
iter.df$age <- iter.df$age + 12
iter.df$pct_utilize <-
iter.df$pct_utilize + mc.util.delta[i]
iter.df$updated_varname1 <-
ceiling(iter.df$updated_varname1 + mc.varname1.delta[i])
if(iter.df$state=="WI")
iter.df$varname3 <- iter.df$varname3 + mc.wi.varname3.delta[i]
if(iter.df$state=="MN&q...
2011 Jan 07
0
Error in x %*% coef(object) : non-conformable arguments
...ntioned error message.
Code:
=======
iter <- nrow(nov.2010)
predict.nov.2011 <- vector(mode='numeric', length=iter)
for (i in 1:iter) {
iter.df <- nov.2010
##---------- Update values of dynamic variables ------------------
iter.df$age <- iter.df$age + 12
iter.df$pct_utilize <-
iter.df$pct_utilize + mc.util.delta[i]
iter.df$updated_varname1 <-
ceiling(iter.df$updated_varname1 + mc.varname1.delta[i])
if(iter.df$state=="WI")
iter.df$varname3 <- iter.df$varname3 + mc.wi.varname3.delta[i]
if(iter.df$state=="MN&q...