-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d3bde5
commit 9dd6b9f
Showing
28 changed files
with
118 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 3.13-96 | ||
Date: 2023-03-17 10:17:36 | ||
Version: 3.13-105 | ||
Date: 2023-03-19 12:31:21 | ||
Author: Alexander Robitzsch [aut,cre] (<https://orcid.org/0000-0002-8226-3132>) | ||
Maintainer: Alexander Robitzsch <[email protected]> | ||
Description: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
## File Name: linking_haberman_summary_estimation_information.R | ||
## File Version: 0.04 | ||
## File Version: 0.051 | ||
|
||
linking_haberman_summary_estimation_information <- function(res_opt) | ||
{ | ||
cat("Estimation type", "=", res_opt$estimation,"\n") | ||
cat("Number of iterations", "=", res_opt$iter,"\n") | ||
cat("Used trimming factor ('BSQ','HUB')", "=", res_opt$cutoff,"\n") | ||
cat("Trimming factor estimated ('BSQ','HUB')", "=", res_opt$k_estimate,"\n") | ||
cat("Proportion retained observation ('LTS')", "=", res_opt$lts_prop,"\n") | ||
cat('Estimation type', '=', res_opt$estimation,'\n') | ||
cat('Number of iterations', '=', res_opt$iter,'\n') | ||
cat('Used trimming factor (\'BSQ\',\'HUB\')', '=', res_opt$cutoff,'\n') | ||
cat('Trimming factor estimated (\'BSQ\',\'HUB\')', '=', res_opt$k_estimate,'\n') | ||
cat('Proportion retained observation (\'LTS\')', '=', res_opt$lts_prop,'\n') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
## File Name: linking_haebara_summary_optimization.R | ||
## File Version: 0.08 | ||
## File Version: 0.091 | ||
|
||
linking_haebara_summary_optimization <- function(object, digits) | ||
{ | ||
cat("Distance function type", "=", object$dist, "\n" ) | ||
if (object$dist=="L1"){ | ||
cat("Epsilon Value", "=", object$eps, "\n" ) | ||
cat('Distance function type', '=', object$dist, '\n') | ||
if (object$dist=='L1'){ | ||
cat('Epsilon Value', '=', object$eps, '\n') | ||
} | ||
cat("Optimization Function Value", "=", round(object$res_optim$value, digits), "\n" ) | ||
cat("Optimizer", "=", object$res_optim$optimizer, "\n" ) | ||
cat("use_rcpp", "=", object$use_rcpp, "\n" ) | ||
cat("Number of iterations", "=", object$res_optim$iter, "\n" ) | ||
cat("Converged", "=", object$res_optim$converged, "\n" ) | ||
cat('Optimization Function Value', '=', round(object$res_optim$value, digits), '\n') | ||
cat('Optimizer', '=', object$res_optim$optimizer, '\n') | ||
cat('use_rcpp', '=', object$use_rcpp, '\n') | ||
cat('Number of iterations', '=', object$res_optim$iter, '\n') | ||
cat('Converged', '=', object$res_optim$converged, '\n') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,42 @@ | ||
## File Name: logLik_sirt.R | ||
## File Version: 0.14 | ||
## File Version: 0.152 | ||
|
||
|
||
############################################################### | ||
# log-likelihood function rasch.copula2 | ||
#--- log-likelihood function rasch.copula2 | ||
logLik.rasch.copula2 <- function (object, ...) | ||
{ | ||
# extract log-likelihood | ||
out <- - object$ic$deviance / 2 | ||
# number of parameters | ||
attr(out, "df") <- object$ic$np | ||
attr(out, 'df') <- object$ic$np | ||
# extract number of observations | ||
attr(out, "nobs") <- object$ic$n | ||
class(out) <- "logLik" | ||
attr(out, 'nobs') <- object$ic$n | ||
class(out) <- 'logLik' | ||
return(out) | ||
} | ||
logLik.rasch.copula3 <- logLik.rasch.copula2 | ||
################################################################ | ||
|
||
##################################################### | ||
# logLik.rasch.mml | ||
#-- logLik.rasch.mml | ||
logLik.rasch.mml <- logLik.rasch.copula2 | ||
##################################################### | ||
# smirt | ||
|
||
#-- smirt | ||
logLik.smirt <- logLik.rasch.copula2 | ||
##################################################### | ||
# rasch.mirtlc | ||
|
||
#-- rasch.mirtlc | ||
logLik.rasch.mirtlc <- logLik.rasch.copula2 | ||
##################################################### | ||
# gom | ||
|
||
#-- gom | ||
logLik.gom <- logLik.rasch.copula2 | ||
##################################################### | ||
# rm.facets | ||
|
||
#-- rm.facets | ||
logLik.rm.facets <- logLik.rasch.copula2 | ||
##################################################### | ||
# rm.sdt | ||
|
||
#-- rm.sdt | ||
logLik.rm.sdt <- logLik.rasch.copula2 | ||
##################################################### | ||
# prob.guttman | ||
|
||
#-- prob.guttman | ||
logLik.prob.guttman <- logLik.rasch.copula2 | ||
##################################################### | ||
# xxirt | ||
|
||
#-- xxirt | ||
logLik.xxirt <- logLik.rasch.copula2 | ||
##################################################### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.