Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor SEM Specification #203

Merged
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
22542ea
SemSpecification base type
alyst Apr 28, 2024
8d41874
SemSpecification: use in methods
alyst Apr 28, 2024
239a942
rename identifier -> param
alyst Apr 28, 2024
61282bc
ParTable: columns[:identifier] => columns[:param]
alyst Apr 28, 2024
a0e76cc
getindex(EnsParTable, i) instead of get_group()
Mar 17, 2024
e177e29
replace no-op ctors with convert(T, obj)
Mar 17, 2024
161dc58
ParamTable: convert vars from Dict to fields
alyst May 27, 2024
afaff2c
ParamTable: update StenGraph-based ctor
alyst May 27, 2024
6308cdd
rename Base.sort() to sort_vars()
alyst May 27, 2024
92730f8
don't import ==
Mar 11, 2024
83e7828
don't import push!()
Mar 11, 2024
a2eed98
don't import DataFrame
alyst May 2, 2024
458f1cf
remove no-op push!()
Mar 23, 2024
ff2140a
ParTable ctor: simplify rows code
alyst May 27, 2024
edc8443
ParTable: full support for Iterator iface
alyst May 27, 2024
018b077
RAMConstant: simplify
Mar 9, 2024
70e6199
RAMMatrices: optimize F_indices init
Mar 9, 2024
9bf094e
RAMMatrices: declare types for all fields
Mar 9, 2024
9a5842e
RAMMatrices: option to keep zero constants
Mar 10, 2024
296d827
nonunique() helper function
Apr 4, 2024
dec1f4d
add check_vars() and check_params()
alyst May 3, 2024
a7a17df
RAMMatrices ctor: dims and vars checks
alyst May 3, 2024
25cd574
RAMMatrices: cleanup params index
alyst May 3, 2024
98b74d9
include RAMMatrices before EnsParTable
alyst Mar 18, 2024
5cdbe7c
fix EnsParTable to Dict{RAMMatrices} convert
Mar 17, 2024
e71573b
DataFrame(EnsParTable)
Mar 20, 2024
d5ac0d1
params() API method
alyst May 1, 2024
957aa8c
EnsParTable ctor: enforce same params in tables
alyst May 9, 2024
7def9bf
formatting fixes
alyst May 1, 2024
becc6b5
ParTable ctor: allow providing columns data
alyst May 1, 2024
c29b0c7
update_partable!() cleanup + docstring
alyst May 1, 2024
b9d8bc5
update_partable!(): SemFit methods use basic one
alyst May 1, 2024
6a484f1
ParTable: add explicit params field
alyst May 1, 2024
3804cc3
n_par() -> nparams()
Mar 17, 2024
ca9f860
param_values(ParTable)
alyst May 27, 2024
b117b34
lavaan_param_values(lav_fit, partable)
alyst May 1, 2024
398870b
compare_estimates() -> test_estimates()
alyst May 1, 2024
a2518b7
update_partable!(): dict-based generic version
alyst May 27, 2024
84945fa
ParTable: getindex() returns NamedTuple
alyst May 2, 2024
60e864b
ParTable: graph-based ctor supports params= kw
alyst May 2, 2024
88ea6b6
rename parameter_type to relation
alyst May 2, 2024
d57c08b
sem_summary(): cleanup filters
alyst May 2, 2024
14970a2
fix sem_summary method for partable
Maximilian-Stefan-Ernst May 19, 2024
4ba5fa8
show(ParTable): suppress NaNs
alyst May 27, 2024
10ada01
sort_vars!(ParTable): cleanup
alyst May 19, 2024
42da8a8
Project.toml: disable SymbolicUtils 1.6
alyst May 11, 2024
7892b6d
Project.toml: support StenoGraphs 0.3
alyst May 11, 2024
63ae853
RAM ctor: better error for missing meanstruct
Maximilian-Stefan-Ernst May 19, 2024
7a39a0d
add function param_indices
Maximilian-Stefan-Ernst May 19, 2024
79af810
start fixing docs
Maximilian-Stefan-Ernst May 19, 2024
7ba872a
fix regularization docs
Maximilian-Stefan-Ernst May 19, 2024
c3ee769
introduce formatting error
Maximilian-Stefan-Ernst May 19, 2024
5bb89a0
update_start(): fix docstring typo
alyst May 27, 2024
43dceff
push!(::ParTable, Tuple): check keys compat
alyst May 27, 2024
165474c
SemObsCov ctor: restrict n_obs to integer
alyst May 27, 2024
b2012b0
fixup param_indices()
alyst May 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
introduce formatting error
Maximilian-Stefan-Ernst authored and alyst committed May 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c3ee769fa9f12808f27806d90f3030b4e7760aab
2 changes: 1 addition & 1 deletion src/additional_functions/helper.jl
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ function get_observed(rowind, data, semobserved; args = (), kwargs = NamedTuple(
return observed_vec
end

skipmissing_mean(mat::AbstractMatrix) =
skipmissing_mean(mat::AbstractMatrix) =
[mean(skipmissing(coldata)) for coldata in eachcol(mat)]

function F_one_person(imp_mean, meandiff, inverse, data, logdet)