You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're going to stop using TableRegressionModel in GLM.jl (JuliaStats/GLM.jl#339) as it's really not convenient for users to have that wrapper instead of just working with LinearModel and GeneralizedLinearModel. TableRegressionModel will probably be deprecated soon in StatsModels.
I see that RegressionTables.jl is one of the few packages that use TableRegressionModel. In particular standardized coefficients are only supported for these models:
if standardize_coef &&isa(rr[resultIndex],StatsModels.TableRegressionModel)
thiscoef = [ thiscoef[i]*std(rr[resultIndex].model.pp.X[:,i])/std(rr[resultIndex].model.rr.y) for i in1:length(thiscoef) ]
IIUC, you use this to detect that some models are GLM.jl objects and access their private fields. I suspect you could achieve the same result for any model (not just GLM) by calling modelmatrix and response instead. Can you confirm this? It would be too bad to lose support for GLM.jl in RegressionTables.jl.
The text was updated successfully, but these errors were encountered:
We're going to stop using
TableRegressionModel
in GLM.jl (JuliaStats/GLM.jl#339) as it's really not convenient for users to have that wrapper instead of just working withLinearModel
andGeneralizedLinearModel
.TableRegressionModel
will probably be deprecated soon in StatsModels.I see that RegressionTables.jl is one of the few packages that use
TableRegressionModel
. In particular standardized coefficients are only supported for these models:RegressionTables.jl/src/regtable.jl
Lines 197 to 198 in e13df11
IIUC, you use this to detect that some models are GLM.jl objects and access their private fields. I suspect you could achieve the same result for any model (not just GLM) by calling
modelmatrix
andresponse
instead. Can you confirm this? It would be too bad to lose support for GLM.jl in RegressionTables.jl.The text was updated successfully, but these errors were encountered: