Skip to content

Commit

Permalink
adding test for adding variances
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Thorson committed Feb 2, 2024
1 parent 90dbb70 commit 8d091e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-platform.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,14 @@ test_that("dsem example is working ", {
residuals(fit1, type="response")
})

test_that("dsem adds variances ", {
data(isle_royale)
data = ts( log(isle_royale[,2:3]), start=1959)

sem = "
"
# initial first without delta0 (to improve starting values)
fit = dsem( sem = sem,
tsdata = data )
})

0 comments on commit 8d091e0

Please sign in to comment.