anovan的使用方法。

12 visualizaciones (últimos 30 días)
真人百家家乐app【www.xbs3512.com】
三个因素的方差分析,但是结果出来的是p=nan,求助高手指导
clear all;
x=[143 112 129 175 188 79 89 98 297 95 215 100 85 270 135 140 220 160 180 160 180 240 250 290 280 250 265 206 ...
215 285 280 255 255 430 160 195 110 120 145 280 290 285 195 205 265 285 270 210 200 180;...
157.7 110.19 135.41 220.11 234.78 7.27 22.04 39.83 369.93 32.92 231.63 35.73 13.92 264.31 44.05 46.61 177.10 28.53 52.7 30.78 54.98 163.26 ...
180.09 243.30 279.47 236.92 255.52 158.44 ...
175.84 238.43 274.66 244.52 245.54 528.92 142.90 142.90 52.93 20.96 61.26 224.70 243.75 293.42 139.7 157.48 200.57 237.97 157.73 53.1 37.14 3.55;...
83 83 83 83 83 167 167 167 167 167 167 167 167 250 250 250 250 333 333 333 333 333 333 333 250 250 250 250 250 333 250 250 250 250 167 250 167 250 ...
250 333 333 250 250 250 333 333 417 417 417 417]';
y=[0.1936 0.016 0.103 0.0084 0.0556 0.00016 0.00498 0.000093 0.000239 0.0000293 0.000636 0.008071 0.00119 0.005051 0.000294 0.009375 0.05168 0.000794 ...
0.193726 0.000205 0.049412 0.000343 ...
0.000310 0.002475 0.012516 0.000143 0.006630 0.003126 0.000741 0.000309 0.223208 0.000222 0.000120 0.017371 0.000109 0.000587 0.005862 0.000093 ...
0.000212 0.007917 0.001891 0.000429 ...
0.004007 0.002047 0.004685 0.000409 0.000330 0.005287 0.003466 0.004044]';
x1=x(:,1);
x2=x(:,2);
x3=x(:,3);
factornames={'x1','x2','x3'};
[p,table,stats,termvec]=anovan(y,{x1 x2 x3},2,3,factornames);
p,termvec

Respuesta aceptada

真人庄闲游戏平台网站【359663.tv】
好好 看看
help anovan
第二个参数是分组,你的x这么多的数值,如何分组?

Más respuestas (0)

Categorías

Más información sobre Parallel Computing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!