全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2111 3
2012-03-17

Write in a program that reads in the coffee preference rating data below.  The data came from a marketing experiment in which male and female subjects were asked to taste one of the three different brands of coffee (A, B, and C) with each brand tasted twice, once at breakfast and once at dinner.  The preference ratings were scored on a scale of 1 to 10, 1 being the lowest rating.  Print out the data so that all the variables (subject, gender, brand, and ratings for each meal) are recorded.

Gender

Brand of Coffee

A

B

C

Subj

Breakfast

Dinner

Subj

Breakfast

Dinner

Subj

Breakfast

Dinner

Male

1

7

8

7

4

6

13

8

9

2

6

7

8

3

5

14

6

9

3

6

8

9

3

5

15

5

8

Female

4

5

7

10

3

4

16

6

9

5

4

7

11

4

4

17

6

9

6

4

6

12

2

3

18

7

8


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-3-19 14:57:12
复制代码
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-3-19 16:42:34
楼主难道是在do homework....
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-3-20 00:42:05
baoaibaobao 发表于 2012-3-19 16:42
楼主难道是在do homework....
真的很像homework,哈哈
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群