I am using R to do below test:
hsb2 <- within(read.csv("https://stats.idre.ucla.edu/stat/data/hsb2.csv"), {
race <- as.factor(race)
schtyp <- as.factor(schtyp)
prog <- as.factor(prog)})
Then,
>wilcox.test(hsb2$write,mu=52)
Wilcoxon signed rank test with continuity correction
data: hsb2$write
V = 9503.5, p-value = 0.2164
alternative hypothesis: true location is not equal to 52
Will you accept this 52
result?
>median(hsb2$write)
[1] 54
> wilcox.test(hsb2$write,mu=54)
Wilcoxon signed rank test with continuity correction
data: hsb2$write
V = 7472, p-value = 0.1869
alternative hypothesis: true location is not equal to 54
p-value of 54
<52
??
> wilcox.test(hsb2$write,mu=53)
Wilcoxon signed rank test with continuity correction
data: hsb2$write
V = 10060, p-value = 0.8927
alternative hypothesis: true location is not equal to 53
52 or 53 or 54? How to trust wilcox.test()?
wilcox.test(hsb2$write, conf.int=TRUE)
gives a point estimate & confidence interval for the pseudomedian. $\endgroup$