Suppose I have a DataFrame with hundreds of columns. How would I tell GLM.jl or MixedModels.jl to fit a model in which the right hand side includes many (but not all) of those columns? Would it help if many of those columns have names that are "wildcard"-able? For example, in STATA, if I wanted to run a regression with RHS variables V1-V100, I could type that exactly, and if there were many variables starting with V, I could just type V*. Is there something equivalent for the modeling language used in GLM/MixedModels?

I have tried making a string containing the right hand side of the formula I'd like to run (say, s = "1 + V1 + V2 + V3"), but fit(lmm(y ~ s, df) does't work, and neither does an application of symbol() to s or Expr(symbol(s)).

Any ideas?

Thanks.

-thom

--

You received this message because you are subscribed to the Google Groups "julia-stats" group.

To unsubscribe from this group and stop receiving emails from it, send an email to

[hidden email].

For more options, visit

https://groups.google.com/d/optout.