Displaying 1 result from an estimated 1 matches for "low_glm".
Did you mean:
loglm
2002 Jun 07
2
Hope fo help - functions, fits and for cycles
....frame(ID,gender,age,G1,G2,G3,response)
GG<-c("G1","G2","G3")
# here I construct a function that makes a basic fit,
then updates with each variable from GG vector.
trial_function(mydata,formule,expl,distr="binomial")
{
n_length(expl)
fit.low_glm(formule, family = distr, data = mydata,
na.action = na.exclude)
for (j in 1:n)
{
fit_update(fit.low,~.+ mydata[,expl[j]])
print(mydata[,expl[j]])
}
}
result<-
trial(mydata=dataset,formule=response~gender+age,exp
l=GG,distr="gaussian")
# when upd...