1 year ago

#311454

test-img

Avocado

Using Wilcox test in R

I am not an expert in statistics, and I would appreciate your help with the following.

I have a list of actual prices at different dates in the past:

Date1, Price1

Date2, Price2,

Date3, Price3,

...

Date100, Price100

Then I use two methods/models to estimate/predict prices for those different dates, and thus for each of those 100 dates, I have 100 prices that model 1 predicts and 100 prices that model 2 predicts. I would like to see whether model 1 is better than model 2. So, I calculate 100 absolute errors for model 1 and 100 absolute errors for model 2. I would like to test if absolute errors for model 1 are better (lower) than absolute errors for model 2. Since those absolute errors are not normally distributed, I cannot use the T test. I guess I can use the wilcox test: https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/wilcox.test

Would it be correct to write:

wilcox.test(AbsErrorsModel1, AbsErrorsModel2, alternative = "greater")

And if yes, how can I see if the answer is that model 1 is significantly better? Also, what is paired? Should it be set to True or False in my case?

Thank you! Have a great day.

r

statistics

statistical-test

0 Answers

Your Answer

Accepted video resources