建立两个var:
body length |
sex |
281 |
1 |
365 |
1 |
256 |
1 |
278 |
1 |
318 |
1 |
374 |
1 |
269 |
1 |
343 |
1 |
278 |
1 |
284 |
1 |
302 |
1 |
293 |
1 |
286 |
1 |
391 |
1 |
290 |
1 |
243 |
1 |
272 |
1 |
283 |
1 |
307 |
1 |
265 |
1 |
291 |
1 |
296 |
1 |
282 |
1 |
319 |
1 |
276 |
1 |
245 |
2 |
404 |
2 |
440 |
2 |
435 |
2 |
562 |
2 |
204 |
2 |
225 |
2 |
451 |
2 |
243 |
2 |
258 |
2 |
271 |
2 |
333 |
2 |
263 |
2 |
263 |
2 |
193 |
2 |
297 |
2 |
515 |
2 |
481 |
2 |
468 |
2 |
452 |
2 |
487 |
2 |
292 |
2 |
280 |
2 |
358 |
2 |
287 |
2 |
271 |
2 |
258 |
2 |
402 |
2 |
442 |
2 |
408 |
2 |
411 |
2 |
415 |
2 |
Anaylze--〉compare means--> independent samples t test
p value<0.05 ==> two sample means are significantly different from each other.
所以雌雄鱼的平均体长是不同的。 |