Determine if there is a significant difference between two variable

조회 수: 8 (최근 30일)
Abdullah Azzam
Abdullah Azzam 2019년 5월 21일
댓글: Adam Danz 2019년 5월 21일
Hi guys. I have two varibalbe for friction that one of them is measured based on the mean value of the whole data set (discrete model) and the other one takes the distribution of the data set into account (probabilistic model) and the result as shown in the graph below where the blue line represent the result of the discrete model and the boxplot represent the result from the probabilistic model.
My question is is there a certain type of statisticl tests such as t-test ANOVA...etc to determine if there is a significant difference between the two models in general and how can it be implemented in matlab. Moreover, can the test be done for each year of service (x-axis).
Plot2.PNG
Thanks in advance.
  댓글 수: 1
Adam Danz
Adam Danz 2019년 5월 21일
" I have two varibalbe for friction that one of them is measured based on the mean value of the whole data set (discrete model) and the other one takes the distribution of the data set into account (probabilistic model) and the result as shown in the graph below where the blue line represent the result of the discrete model and the boxplot represent the result from the probabilistic model. "
One word of caution. The horizontal red lines in your box plots are median values. If you're going to compare the results between the two models, make sure you're not comparing apples to oranges. If you decide to stick with means (assuming your data are approximately normally distributed), then you'll need to calculate (and plot) the means of the boxplot data. I'd estimate that those data are not normally distrubuted based on the upper wiskers of the plot. If you decide to compare median values, you'll need the medians for the data from the blue line.
"My question is is there a certain type of statisticl tests such as t-test ANOVA...etc to determine if there is a significant difference between the two models in general and how can it be implemented in matlab. "
If you use median values (which I'm guessing is the better choice), you'll want to use a nonparametric test. If you're comparing the quality of two models, perhaps an AIC test is more appropriate.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by