Skip to content

Error #274

@brandmaier

Description

@brandmaier

After upgrading to Julia 1.11.7, I get the following error:

partable = ParameterTable(
           graph,
           latent_vars   = lat,
           observed_vars = obs
        )
Error showing value of type ParameterTable{Dict{Symbol, Vector}}:

SYSTEM (REPL): showing an error caused an error
ERROR: 1-element ExceptionStack:
UndefVarError: `tf_compact` not defined in `PrettyTables`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
...
}

For a standard model spec:

obs = [:y1, :y2, :y3, :y4, :y5]
lat = [:i, :s]

graph = @StenoGraph begin
    # Intercept factor: all loadings fixed to 1
    i → fixed(1)*y1 + fixed(1)*y2 + fixed(1)*y3 + fixed(1)*y4 + fixed(1)*y5

    # Slope factor: linear time scores 0,1,2,3,4
    s → fixed(0)*y1 + fixed(1)*y2 + fixed(2)*y3 + fixed(3)*y4 + fixed(4)*y5

    # Residual variances (free) and latent (co)variances (free)
    _(obs) ↔ _(obs)     # variances for observed variables
    _(lat) ↔ _(lat)     # variances + covariance for latent factors

    # Latent means (estimate μ_i and μ_s); 
    # observed means fixed to 0 by omission
    Symbol(1) → i + s
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions