File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ params (spec:: SemSpecification ) = spec. params
2+
3+ # observed + latent
4+ vars (spec:: SemSpecification ) =
5+ error (" vars(spec::$(typeof (spec)) ) is not implemented" )
6+ observed_vars (spec:: SemSpecification ) =
7+ error (" observed_vars(spec::$(typeof (spec)) ) is not implemented" )
8+ latent_vars (spec:: SemSpecification ) =
9+ error (" latent_vars(spec::$(typeof (spec)) ) is not implemented" )
10+
111"""
212`ParameterTable`s contain the specification of a structural equation model.
313
Original file line number Diff line number Diff line change @@ -315,18 +315,4 @@ Base type for all SEM specifications.
315315"""
316316abstract type SemSpecification end
317317
318- params (spec:: SemSpecification ) = spec. params
319- nparams (spec:: SemSpecification ) = length (params (spec))
320-
321- # observed + latent
322- vars (spec:: SemSpecification ) = error (" vars(spec::$(typeof (spec)) ) is not implemented" )
323- observed_vars (spec:: SemSpecification ) =
324- error (" observed_vars(spec::$(typeof (spec)) ) is not implemented" )
325- latent_vars (spec:: SemSpecification ) =
326- error (" latent_vars(spec::$(typeof (spec)) ) is not implemented" )
327-
328- nvars (spec:: SemSpecification ) = length (vars (spec))
329- nobserved_vars (spec:: SemSpecification ) = length (observed_vars (spec))
330- nlatent_vars (spec:: SemSpecification ) = length (latent_vars (spec))
331-
332318abstract type AbstractParameterTable <: SemSpecification end
You can’t perform that action at this time.
0 commit comments