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
Looks the interpretation of not specifying an intercept changes depending on whether you is ModelFrame or apply_schema, see the following code snippet
using StatsModels, DataFrames
f = @formula(y ~ x)
df = DataFrame(y = [1, 2, 3], x = [4, 5, 6])
mf = ModelFrame(f, df)
mf.f #has an intercept
apply_schema(f, schema(f, df)) #no intercept
Also since ModelFrame is not encouraged, it's a bit strange to have the categorical variable contrasts locked behind that function, unless there's a simple way to use them with apply_schema?
The text was updated successfully, but these errors were encountered:
Looks the interpretation of not specifying an intercept changes depending on whether you is
ModelFrame
orapply_schema
, see the following code snippetAlso since
ModelFrame
is not encouraged, it's a bit strange to have the categorical variable contrasts locked behind that function, unless there's a simple way to use them withapply_schema
?The text was updated successfully, but these errors were encountered: