search for: desctool

Displaying 9 results from an estimated 9 matches for "desctool".

Did you mean: desttool
2023 Dec 11
1
Base R wilcox.test gives incorrect answers, has been fixed in DescTools, solution can likely be ported to Base R
While using the Hodges Lehmann Mean in DescTools (DescTools::HodgesLehmann), I found that it generated incorrect answers (see <https://github.com/AndriSignorell/DescTools/issues/97> https://github.com/AndriSignorell/DescTools/issues/97). The error is driven by the existence of tied values forcing wilcox.test in Base R to switch to an appro...
2024 Jan 26
1
DescTools::Quantile
Greetings, I am having a problem with DescTools::Quantile (a function computing quantiles from weighted samples): # these sum to one probWeights = c( 0.0043, 0.0062, 0.0087, 0.0119, 0.0157, 0.0204, 0.0257, 0.0315, 0.0378, 0.0441, 0.0501, 0.0556, 0.06, 0.0632, 0.0648, 0.0648, 0.0632, 0.06, 0.0556, 0.0501, 0.0441, 0.0378, 0.0315...
2024 Jan 29
0
DescTools::Quantile
...ans <- sapply(p, FUN=qtl.one, x=x,w=w) ans } ________________________________ From: "Izmirlian, Grant (NIH/NCI) [E]" <izmirlig at mail.nih.gov> Date: Mon, Jan 29, 2024, 3:55 AM To: "Izmirlian, Grant (NIH/NCI) [E]" <izmirlig at mail.nih.gov> Subject: Re: [R] DescTools::Quantile Greetings, I am having a problem with DescTools::Quantile (a function computing quantiles from weighted samples): # these sum to one probWeights = c( 0.0043, 0.0062, 0.0087, 0.0119, 0.0157, 0.0204, 0.0257, 0.0315, 0.0378, 0.0441, 0.0501, 0.0556, 0.06, 0.0632, 0.0648, 0.0648,...
2024 Feb 12
0
Errors in wilcox family functions
...- tied values in either one- or two-sample tests: these can force R to use a normal approximation even in low-sample cases. - degenerate two-sample tests (`max(x)==min(x)` and `max(y)==min(y)`): this produces an error due to an unhandled edge case. This particular issue has caused problems for the DescTools package, which recently reimplemented HodgesLehmann due to inaccurate results in base R. At the very least, warnings should probably be added so that users don?t misinterpret these results. Better still would be to just fix these cases, but I haven?t dug super deep into the codebase yet, so I?m no...
2023 Apr 09
1
simultaneous confidence intervals for multinomial proportions: sample size
...ot;partially" and I expect that far more than 5 samples fall into each category. I have read that Glaz & Sison's method is only appropriate for variables with 7 or more categories. Therefore, the Goodman method seems like a good idea. I have found the R function "MultinomCI" {DescTools} to calculate these CIs. However, I have not found a way to calculate in advance the required sample size for the Goodman method at a fixed confidence level and length of the intervall. I would be very grateful for any suggestion. Many thanks in advance! Claudia [[alternative HTML version de...
2014 Apr 08
2
Test de Moses
¿Alguien sabe si el test de reacciones extremas de Moses está escrito en algún paquete de R? Gracias de antemano.
2023 Mar 22
1
How to test the difference between paired correlations?
...unpaired) correlations". [https://www.personality-project.org/r/html/paired.r.html] However, there is the need to convert the correlations to "z scores using the Fisher r-z transform". I have seen that there is another package that does that [https://search.r-project.org/CRAN/refmans/DescTools/html/FisherZ.html]. Yet, I do not understand how to process the data. Shall I pass the raw data or the correlations directly? I have made the following working example: ``` # define data v1 <- c(62.480, 59.492, 74.060, 88.519, 91.417, 53.907, 64.202, 62.426, 54.406, 88.117) v2...
2023 Mar 23
1
How to test the difference between paired correlations?
...%3D&reserved=0] > However, there is the need to convert the correlations to "z scores using the Fisher r-z transform". I have seen that there is another package that does that [https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsearch.r-project.org%2FCRAN%2Frefmans%2FDescTools%2Fhtml%2FFisherZ.html&data=05%7C01%7Ctebert%40ufl.edu%7C35f2e7d6d9e844553c6408db2b1a337f%7C0d4da0f84a314d76ace60a62331e1b84%7C0%7C0%7C638151163767327230%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gI3vIHV5UnFbPSmeMyuCVvg9...
2016 Apr 08
3
Generating Hotelling's T squared statistic with hclust
I am doing a cluster analysis with hclust. I want to get hclust to output the Hotelling's T squared statistic for each cluster so I can evaluate is data points should be in a cluster or not. My research to answer this question has been unsuccessful. Does anyone know how to get hclust to output the Hotelling's T squared statistic for each cluster? Mike [[alternative HTML version