联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2018-12-28 10:16

Homework

(due December 27)



1.Dataset “students” shows how students from four countries (CA, NZ, UK USA) travel to school. Can you conclude from the data that there is a difference in the way students travel to school among the four countries? Explain your findings.


2.  Dataset “diet” shows results of a 6 week diet program (3 types) of the participants. Do the following:

Read the data into r (diet)

Add a new variable to the dataset as follows

> diet$loss = diet$pre.weight – diet$pos.weight  

(pre.weight and pos.weight indicate weights of participants before and after the diet)

Analyze whether diet types made a difference in the weight loss.


2.Dataset “ads” shows the number of inquiries received for an advertisement placed in a local newspaper. The “day” variable refers to the day of the week and the “type” variable refers to the section of the paper the ad was placed. Do these conditions influence the number of inquiries? Explain.


Note) Copy the necessary results and figures on the word file and discuss your findings.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp