Hi everyone, I’m new to Julia and I’m trying to create a loop for a regression model.
list = [:A, :B, :C] for i in list result = lm(@formula(i ~ X1 + X2), data) println(result) end
Something like this. But I get an error.
type NamedTuple has no field i
Can someone teach me how to fix it?