Skip to content

Commit

Permalink
4.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderrobitzsch committed Jan 18, 2024
1 parent 51be49c commit cfec9d6
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 33 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.0-27
Date: 2024-01-08 16:12:44
Version: 4.1-1
Date: 2024-01-18 10:36:46
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.000027
## File Version: 4.001001
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

Expand Down
9 changes: 5 additions & 4 deletions R/invariance.alignment.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## File Name: invariance.alignment.R
## File Version: 3.807
## File Version: 3.820


invariance.alignment <- function( lambda, nu, wgt=NULL,
align.scale=c(1,1), align.pow=c(.5,.5), eps=1e-3,
psi0.init=NULL, alpha0.init=NULL, center=FALSE, optimizer="optim",
fixed=NULL, meth=1, vcov=NULL, eps_grid=seq(0,-10, by=-.5), ... )
fixed=NULL, meth=1, vcov=NULL, eps_grid=seq(0,-10, by=-.5),
num_deriv=FALSE, ... )
{
CALL <- match.call()
s1 <- Sys.time()
Expand All @@ -26,7 +27,7 @@ invariance.alignment <- function( lambda, nu, wgt=NULL,
}

#- choose fixed value
fixed <- invariance_alignment_choose_fixed(fixed=fixed, G=G, Gmax=8)
fixed <- invariance_alignment_choose_fixed(fixed=fixed, G=G, Gmax=999)
reparam <- ! fixed

W1 <- dim(wgt)
Expand Down Expand Up @@ -99,7 +100,7 @@ invariance.alignment <- function( lambda, nu, wgt=NULL,
if ( align.pow[1]==0){
ia_grad_optim <- NULL
}
if (meth>=2){
if ((meth>=2) | num_deriv ){
ia_grad_optim <- NULL
}

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

invariance_alignment_define_parameters <- function(x, ind_alpha, ind_psi,
fix_first_psi=TRUE, reparam=FALSE, constraint="prod", overparam=FALSE)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ a minimal runnable code necessary to reproduce the issue, which can be run on th
all necessary information on the used librarys, the R version, and the OS it is run on, perhaps a sessionInfo().


#### CRAN version `sirt` 3.13-228 (2023-08-11)
#### CRAN version `sirt` 4.0-32 (2024-01-17)


[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version-last-release/sirt)](https://cran.r-project.org/package=sirt)
Expand All @@ -22,9 +22,9 @@ The CRAN version can be installed from within R using:
utils::install.packages("sirt")
```

#### GitHub version `sirt` 4.0-27 (2024-01-08)
#### GitHub version `sirt` 4.1-1 (2024-01-18)

[![](https://img.shields.io/badge/github%20version-4.0--27-orange.svg)](https://github.com/alexanderrobitzsch/sirt)&#160;&#160;
[![](https://img.shields.io/badge/github%20version-4.1--1-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
20 changes: 16 additions & 4 deletions inst/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,19 @@ CHANGELOG sirt


------------------------------------------------------------------------
VERSIONS sirt 4.0 | 2024-01-08 | Last: sirt 4.0-27
VERSIONS sirt 4.1 | 2024-01-18 | Last: sirt 4.1-1
------------------------------------------------------------------------

xxx * ...


DATA * included/modified datasets: ---
EXAMP * included/modified examples: ---



------------------------------------------------------------------------
VERSIONS sirt 4.0 | 2024-01-17 | Last: sirt 4.0-32
------------------------------------------------------------------------

FIXED * fixed incorrect handling of lower and upper bounds of item
Expand All @@ -48,13 +60,13 @@ ADDED * included function dmlavaan() that allows comparing model
parameters from two lavaan models fitted to the same dataset
NOTE * corrected manual of 'data.g308' (thanks to Andres Burga)
NOTE * included argument 'eps_grid' in invariance.alignment()

NOTE * included argument 'num_deriv' in invariance.alignment()
NOTE * changed estimation defaults in invariance.alignment()
for many groups (>= 9 groups)

DATA * included/modified datasets: ---
EXAMP * included/modified examples: dmlavaan (1), data.g308 (1)



------------------------------------------------------------------------
VERSIONS sirt 3.13 | 2023-08-11 | Last: sirt 3.13-228
------------------------------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions man/invariance.alignment.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% File Name: invariance.alignment.Rd
%% File Version: 1.688
%% File Version: 1.692

\name{invariance.alignment}
\alias{invariance.alignment}
Expand Down Expand Up @@ -46,7 +46,8 @@ if it is supplied as the argument \code{vcov}.
\usage{
invariance.alignment(lambda, nu, wgt=NULL, align.scale=c(1, 1),
align.pow=c(.5, .5), eps=1e-3, psi0.init=NULL, alpha0.init=NULL, center=FALSE,
optimizer="optim", fixed=NULL, meth=1, vcov=NULL, eps_grid=seq(0,-10, by=-.5), ...)
optimizer="optim", fixed=NULL, meth=1, vcov=NULL, eps_grid=seq(0,-10, by=-.5),
num_deriv=FALSE, ...)

\method{summary}{invariance.alignment}(object, digits=3, file=NULL, ...)

Expand Down Expand Up @@ -106,6 +107,7 @@ item loadings in alignment.}
for standard error computation. If a matrix is provided, standard errors
are computed.}
\item{eps_grid}{Grid of logarithmized epsilon values in optimization}
\item{num_deriv}{Logical indicating whether numerical derivatives should be used}
\item{object}{
Object of class \code{invariance.alignment}
}
Expand Down
6 changes: 3 additions & 3 deletions man/noharm.sirt.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% File Name: noharm.sirt.Rd
%% File Version: 0.542
%% File Version: 0.543

\name{noharm.sirt}
\alias{noharm.sirt}
Expand Down Expand Up @@ -203,7 +203,7 @@ Fraser, C., & McDonald, R. P. (1988). NOHARM: Least squares item factor analysis
\doi{10.1207/s15327906mbr2302_9}

Fraser, C., & McDonald, R. P. (2012). \emph{NOHARM 4 Manual}. \cr
{http://noharm.niagararesearch.ca/nh4man/nhman.html}.
http://noharm.niagararesearch.ca/nh4man/nhman.html.

Knol, D. L., & Berger, M. P. (1991). Empirical comparison between factor analysis
and multidimensional item response models. \emph{Multivariate Behavioral Research, 26}(3),
Expand Down Expand Up @@ -260,7 +260,7 @@ Model fit can be assessed by \code{\link{modelfit.sirt}}.
See \code{\link{R2noharm}} for running the NOHARM software from within \R.

See Fraser and McDonald (1988, 2012) for an implementation of the NOHARM model which
is available as freeware ({http://noharm.niagararesearch.ca/};
is available as freeware (http://noharm.niagararesearch.ca/;
the link seems to be broken in the meanwhile).
}

Expand Down
5 changes: 2 additions & 3 deletions man/person.parameter.rasch.copula.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% File Name: person.parameter.rasch.copula.Rd
%% File Version: 1.19
%% File Version: 1.202

\name{person.parameter.rasch.copula}
\alias{person.parameter.rasch.copula}
Expand All @@ -19,7 +19,7 @@ person.parameter.rasch.copula(raschcopula.object, numdiff.parm=0.001,
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{raschcopula.object}{
Object which is generated by the code{rasch.copula2} function.
Object which is generated by the \code{rasch.copula2} function.
}
\item{numdiff.parm}{
Parameter \eqn{h} for numerical differentiation
Expand Down Expand Up @@ -71,7 +71,6 @@ to local dependence}

\seealso{
See \code{\link{rasch.copula2}} for estimating Rasch copula models.
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
#############################################################################
Expand Down
18 changes: 9 additions & 9 deletions man/rasch.jml.jackknife1.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% File Name: rasch.jml.jackknife1.Rd
%% File Version: 2.18
%% File Version: 2.191

\name{rasch.jml.jackknife1}
\alias{rasch.jml.jackknife1}
Expand Down Expand Up @@ -29,16 +29,16 @@ A list with following entries
\item{item}{
A data frame with item parameters
\itemize{
\item \code{b.JML}: {Item difficulty from JML estimation}
\item \code{b.JMLcorr}: {Item difficulty from JML estimation by
applying the correction factor \eqn{(I-1)/I}}
\item \code{b.jack}: {Item difficulty from Jackknife estimation}
\item \code{b.jackse}: {Standard error of Jackknife estimation
\item \code{b.JML}: Item difficulty from JML estimation
\item \code{b.JMLcorr}: Item difficulty from JML estimation by
applying the correction factor \eqn{(I-1)/I}
\item \code{b.jack}: Item difficulty from Jackknife estimation
\item \code{b.jackse}: Standard error of Jackknife estimation
for item difficulties.
Note that this parameter refer to the standard error
with respect to item sampling}
\item \code{b.JMLse}: {Standard error for item difficulties
obtained from JML estimation}
with respect to item sampling
\item \code{b.JMLse}: Standard error for item difficulties
obtained from JML estimation
}
}
\item{jack.itemdiff}{A matrix containing all item difficulties obtained by Jackknife}
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.000027
//// File Version: 4.001001
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

Expand Down

0 comments on commit cfec9d6

Please sign in to comment.