* flour.early.sas, flour early experiment, Table 15.55, p556; ; * Data as arranged in Table 15.55; data flour1; input TC \$ @@; A=substr(TC,1,1); B=substr(TC,2,1); C=substr(TC,3,1); D=substr(TC,4,1); E=substr(TC,5,1); F=substr(TC,6,1); do day=1 to 4; input y @@; output; end; lines; 000000 519 446 337 415 000011 503 468 343 418 001101 567 471 355 424 001110 552 489 361 425 010101 534 466 356 431 010110 549 461 354 427 011000 560 480 345 437 011011 535 477 363 418 100100 558 483 376 418 100111 551 472 349 426 101001 576 487 358 434 101010 569 494 357 444 110001 562 474 358 404 110010 569 494 348 400 111100 568 478 367 463 111111 551 500 373 462 ; * Data by observation; data flour1; input TC \$ A B C D E F day y; lines; 000000 0 0 0 0 0 0 1 519 000000 0 0 0 0 0 0 2 446 000000 0 0 0 0 0 0 3 337 000000 0 0 0 0 0 0 4 415 000011 0 0 0 0 1 1 1 503 000011 0 0 0 0 1 1 2 468 000011 0 0 0 0 1 1 3 343 000011 0 0 0 0 1 1 4 418 001101 0 0 1 1 0 1 1 567 001101 0 0 1 1 0 1 2 471 001101 0 0 1 1 0 1 3 355 001101 0 0 1 1 0 1 4 424 001110 0 0 1 1 1 0 1 552 001110 0 0 1 1 1 0 2 489 001110 0 0 1 1 1 0 3 361 001110 0 0 1 1 1 0 4 425 010101 0 1 0 1 0 1 1 534 010101 0 1 0 1 0 1 2 466 010101 0 1 0 1 0 1 3 356 010101 0 1 0 1 0 1 4 431 010110 0 1 0 1 1 0 1 549 010110 0 1 0 1 1 0 2 461 010110 0 1 0 1 1 0 3 354 010110 0 1 0 1 1 0 4 427 011000 0 1 1 0 0 0 1 560 011000 0 1 1 0 0 0 2 480 011000 0 1 1 0 0 0 3 345 011000 0 1 1 0 0 0 4 437 011011 0 1 1 0 1 1 1 535 011011 0 1 1 0 1 1 2 477 011011 0 1 1 0 1 1 3 363 011011 0 1 1 0 1 1 4 418 100100 1 0 0 1 0 0 1 558 100100 1 0 0 1 0 0 2 483 100100 1 0 0 1 0 0 3 376 100100 1 0 0 1 0 0 4 418 100111 1 0 0 1 1 1 1 551 100111 1 0 0 1 1 1 2 472 100111 1 0 0 1 1 1 3 349 100111 1 0 0 1 1 1 4 426 101001 1 0 1 0 0 1 1 576 101001 1 0 1 0 0 1 2 487 101001 1 0 1 0 0 1 3 358 101001 1 0 1 0 0 1 4 434 101010 1 0 1 0 1 0 1 569 101010 1 0 1 0 1 0 2 494 101010 1 0 1 0 1 0 3 357 101010 1 0 1 0 1 0 4 444 110001 1 1 0 0 0 1 1 562 110001 1 1 0 0 0 1 2 474 110001 1 1 0 0 0 1 3 358 110001 1 1 0 0 0 1 4 404 110010 1 1 0 0 1 0 1 569 110010 1 1 0 0 1 0 2 494 110010 1 1 0 0 1 0 3 348 110010 1 1 0 0 1 0 4 400 111100 1 1 1 1 0 0 1 568 111100 1 1 1 1 0 0 2 478 111100 1 1 1 1 0 0 3 367 111100 1 1 1 1 0 0 4 463 111111 1 1 1 1 1 1 1 551 111111 1 1 1 1 1 1 2 500 111111 1 1 1 1 1 1 3 373 111111 1 1 1 1 1 1 4 462 ; run;