Skip to content

Commit

Permalink
NNS 10.2 Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
OVVO-Financial authored Sep 27, 2023
1 parent f5e6b29 commit e4f4a9a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: NNS
Type: Package
Title: Nonlinear Nonparametric Statistics
Version: 10.2
Date: 2023-09-26
Date: 2023-09-27
Authors@R: c(
person("Fred", "Viole", role=c("aut","cre"), email="ovvo.financial.systems@gmail.com"),
person("Roberto", "Spadim", role=c("ctb"))
Expand Down
Binary file modified NNS_10.2.tar.gz
Binary file not shown.
Binary file modified NNS_10.2.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion R/NNS_VAR.R
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ NNS.VAR <- function(variables,
equal_tau <- sum(given_var==observed_var)
unequal_tau <- sum(given_var!=observed_var)

if(equal_tau > unequal_tau) uni[i] <- (.5 + equal_tau/(equal_tau + unequal_tau)) / 2 else uni[i] <- abs((.5 - unequal_tau/(equal_tau + unequal_tau)) / 2)
uni[i] <- mean(c(.5, equal_tau/(equal_tau + unequal_tau)))
multi[i] <- 1 - uni[i]

} else {
Expand Down

0 comments on commit e4f4a9a

Please sign in to comment.