Skip to content

Commit

Permalink
Returning step-size to halfstep
Browse files Browse the repository at this point in the history
  • Loading branch information
SeewooLi committed May 20, 2024
1 parent abb0c1a commit cbe076b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/non_exporting_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ WLE_theta <- function(item, data, type){
l1l2 <- L1L2_Poly(th, item, data, type, ncat,i )
diff <- (l1l2[1]+wle(th, item[!is.na(data[i,]),], type))/l1l2[2]
if(abs(diff)>thres){
th <- th - sign(diff)*thres/2
th <- th - diff/2
} else{
th <- th - diff
thres <- abs(diff)
Expand Down

0 comments on commit cbe076b

Please sign in to comment.