Skip to content

Commit

Permalink
4.2-2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderrobitzsch committed Feb 15, 2024
1 parent a4bff44 commit e36a297
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 18 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: sirt
Type: Package
Title: Supplementary Item Response Theory Models
Version: 4.2-1
Date: 2024-02-06 09:12:35
Version: 4.2-2
Date: 2024-02-15 17:09:03
Author: Alexander Robitzsch [aut,cre] (<https://orcid.org/0000-0002-8226-3132>)
Maintainer: Alexander Robitzsch <[email protected]>
Description:
Expand Down
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: RcppExports.R
## File Version: 4.002001
## File Version: 4.002002
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

Expand Down
3 changes: 2 additions & 1 deletion R/lsem.permutationTest.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: lsem.permutationTest.R
## File Version: 0.591
## File Version: 0.592


#*** permutation test for LSEM model
Expand Down Expand Up @@ -33,6 +33,7 @@ lsem.permutationTest <- function( lsem.object, B=1000, residualize=TRUE,
arglist$standardized <- lsem.object$standardized
arglist$standardized_type <- lsem.object$standardized_type
arglist$lavaan_fct <- lsem.object$lavaan_fct
arglist$sufficient_statistics <- lsem.object$sufficient_statistics
use_lavaan_survey <- FALSE
arglist$pseudo_weights <- lsem.object$pseudo_weights

Expand Down
8 changes: 4 additions & 4 deletions R/xxirt.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: xxirt.R
## File Version: 1.107
## File Version: 1.111


#--- user specified item response model
Expand Down Expand Up @@ -51,7 +51,7 @@ xxirt <- function( dat, Theta=NULL, itemtype=NULL, customItems=NULL,
partable <- xxirt_createParTable( dat=dat, itemtype=itemtype,
customItems=customItems )
}

# process partable and itemtype
res <- xxirt_proc_ParTable( itemtype=itemtype, partable=partable, items=items )
itemtype <- res$itemtype
Expand All @@ -74,7 +74,7 @@ xxirt <- function( dat, Theta=NULL, itemtype=NULL, customItems=NULL,
#*** starting values item parameters
par0 <- xxirt_partable_extract_freeParameters( partable=partable )
par1 <- xxirt_ThetaDistribution_extract_freeParameters( customTheta=customTheta )

#***
if (is.null(customTheta$some_bound)){
customTheta$some_bound <- FALSE
Expand Down Expand Up @@ -118,7 +118,7 @@ xxirt <- function( dat, Theta=NULL, itemtype=NULL, customItems=NULL,
em_args$verbose2 <- FALSE
em_args$verbose3 <- FALSE
}

#--- run EM algorithm
em_out <- res <- do.call(what=xxirt_em_algorithm, args=em_args)

Expand Down
2 changes: 1 addition & 1 deletion R/xxirt_em_algorithm.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: xxirt_em_algorithm.R
## File Version: 0.079
## File Version: 0.087

xxirt_em_algorithm <- function(maxit, verbose1, verbose2, verbose3, disp, item_list,
items, Theta, ncat, partable, partable_index, dat, resp_index,
Expand Down
4 changes: 2 additions & 2 deletions R/xxirt_proc_ParTable.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## File Name: xxirt_proc_ParTable.R
## File Version: 0.457
## File Version: 0.463

#-- process parameter table
xxirt_proc_ParTable <- function( itemtype, partable, items )
Expand All @@ -22,7 +22,7 @@ xxirt_proc_ParTable <- function( itemtype, partable, items )
partable[ ! partable$est, 'prior' ] <- NA
#*** list with parameter table indices
partable$parfree <- 1*partable$est
partable_index <- as.list( 1:I )
partable_index <- as.list( 1:I )
for (ii in 1:I){
partable_index[[ii]] <- which( partable$itemnr==ii )
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The CRAN version can be installed from within R using:
utils::install.packages("sirt")
```

#### GitHub version `sirt` 4.2-1 (2024-02-06)
#### GitHub version `sirt` 4.2-2 (2024-02-15)

[![](https://img.shields.io/badge/github%20version-4.2--1-orange.svg)](https://github.com/alexanderrobitzsch/sirt)&#160;&#160;
[![](https://img.shields.io/badge/github%20version-4.2--2-orange.svg)](https://github.com/alexanderrobitzsch/sirt)&#160;&#160;

The version hosted [here](https://github.com/alexanderrobitzsch/sirt) is the development version of `sirt`.
The GitHub version can be installed using `devtools` as:
Expand Down
6 changes: 4 additions & 2 deletions inst/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ CHANGELOG sirt


------------------------------------------------------------------------
VERSIONS sirt 4.2 | 2024-02-06 | Last: sirt 4.2-1
VERSIONS sirt 4.2 | 2024-02-15 | Last: sirt 4.2-2
------------------------------------------------------------------------

xxx * ...
FIXED * fixed a bug in handling sufficient statistics in
lsem.permutationTest() (thanks to @martinabader, #22)



DATA * included/modified datasets: ---
Expand Down
4 changes: 2 additions & 2 deletions man/data.pisaMath.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% File Name: data.pisaMath.Rd
%% File Version: 0.14
%% File Version: 0.15

\name{data.pisaMath}
\alias{data.pisaMath}
Expand All @@ -10,7 +10,7 @@ Dataset PISA Mathematics
\description{
This is an example PISA dataset of reading items from the PISA
2009 study of students from Austria. The
dataset contains 565 students who worked on the 11 reading items
dataset contains 565 students who worked on the 11 mathematics items
from item cluster M3.
}
\usage{
Expand Down
2 changes: 1 addition & 1 deletion src/RcppExports.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//// File Name: RcppExports.cpp
//// File Version: 4.002001
//// File Version: 4.002002
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

Expand Down

0 comments on commit e36a297

Please sign in to comment.