下列python语言、返回结果不是uc_MKAN1-UC 5103作业代写、代做Analytics作业、Java,Python,c/c++程序语言作业代做...

MKAN1-UC 5103作业代写、代做Analytics作业、Java,Python,c/c++程序语言作业代做

日期:2020-05-21 11:08

Marketing Analytics Spring 2020 Final Exam

MKAN1-UC 5103 Marketing Analytics Spring 2020 Final Exam

Instructions (total 3 points):

? Develop the SAS syntax for each question in both Part I and Part II below and

save all syntax in ONE SAS file called "YourLastName_MA_Final_Exam"

You will need to save your Final Exam as a PDF File and submit that file. To save

as PDF, you can use the menu for Print and instead of a printer you will select

“Save as PDF” (cmd and P, on a Mac then select from bottom left, or Ctrl and P

on Windows then Destination “Save as PDF”).

Please inspect your PDF file before you submit it to ensure that no detail is cut

off (this will reduce your points). If any detail does not display on the PDF, you

may need to resize and add extra lines accordingly.

? Submit that file under this “Final Exam” Assignment as your answer to Final Exam

? Start your SAS file with this header by using SAS comments syntax:

o Course Name - Semester Year

o Your name

o Final Exam - date you complete the assignment

? Start your answer to each question below with the Question # by using SAS

comments syntax

? Keep your syntax in a clear format

? Please copy and paste the syntax generated into your SAS file even if you use

point-and-click methods/tasks

Questions (total 107 points):

Part I – sales csv dataset

1. (3 points) (1) Import “sales.csv” file into a SAS data set named “sales” in one of

your libraries. (2) Use proper syntax statements to rename the name of the

“QUANTITYORDERED” column in the sales data set into “quantity” and the

“PRICEEACH” column into “price”. (3) Use proper syntax statements to create a

new column in the data set called “revenue” where revenue = quantity * price.

2. (6 points) Based on Question 1, (1) create a Bar Chart showing the total number

of revenue the store earned by year id. (2) Use SAS comments syntax to describe

the information that you see from RESULTS (explain the chart).

3. (6 points) Based on Question 1, (1) create a Line Chart showing the average

quantity the store sold by month of the year. (2) Use SAS comments syntax to

describe the information that you see from RESULTS (explain the chart).

4. (6 points) Based on Question 1, (1) create a Pie Chart showing the total quantity

by deal size. (2) Use SAS comments syntax to describe the information that you

see from RESULTS (explain the chart).

2

Marketing Analytics Spring 2020 Final Exam

5. (6 points) Based on Question 1, (1) create a Mosaic Plot where y-axis is year id

and x-axis is product line. (2) Use SAS comments syntax to describe the

information that you see from RESULTS (explain the chart).

6. (6 points) Based on Question 1, (1) Create a Box Plot showing the revenue the

store earned by product line. Also, in Settings APPEARANCE, add a proper title

for the chart. (2) Use SAS comments syntax to describe the information that you

see from RESULTS (explain the plot).

7. (9 points) Based on Question 1, (1) use point and click Distribution Analysis Task

under Statistics to analyze the distribution of the “revenue” variable (make sure

in OPTIONS, check Histogram and goodness-of-fit tests, and Normal quantilequantile

plot). (2) Use SAS comments syntax to answer the questions below:

a. From the histogram, what you can conclude?

b. From goodness-of-fit tests, what is the null hypothesis? Based on the pvalue,

do we reject the null hypothesis? Then, what can we conclude

from the test?

c. What does Q-Q plot tell us?

8. (9 points) Based on Question 1, (1) use point and click One-sample T Test Task

under Statistics to test if the mean of the revenue variable is equal to 3,000. (2)

Use SAS comments syntax to answer the questions below:

a. What is the assumption of one-sample t-test? Does the target variable

“revenue” meet the assumption? How do you know?

b. What is the null hypothesis for this t-test? Do we reject the null

hypothesis? Why or why not? What will you conclude?

9. (10 points) Based on Question 1, (1) use point and click One-Way ANOVA Task

under Linear Models to test if the means of the revenue in different product line

groups are the same or not. (2) Use SAS comments syntax to answer the

questions below:

a. What are the two assumptions of One-Way ANOVA? Choose one

assumption to answer: Does the target variable “revenue” meet the

assumption you choose? How do you know?

b. What is the null hypothesis for this One-Way ANOVA test? Do we reject

the null hypothesis? Why or why not? What will you conclude?

c. List three specific pairs of product line groups where the mean revenues

are significantly different (significance level = 0.05)? How do you know

they have significant different means in revenue?

3

Marketing Analytics Spring 2020 Final Exam

Part II – skincancer csv dataset

Dataset Description

State State Name in US

Lat Latitude

Mort Skincancer mortality cases

Ocean If it is near Ocean or not -- Yes 1; No 0

Long Longitude

1. (2 points) Import “skincancer.csv” file into a SAS data set named “skincancer” in

one of your libraries.

2. (6 points) Based on Question 1, (1) create a Scatter Plot showing the relationship

between latitude and skincancer mortality cases. (2) Use SAS comments syntax

to describe the information that you see from RESULTS (explain the plot).

3. (9 points) Based on Question 1, (1) use point and click Correlation Analysis Task

under Statistics to explore the linear relationship between mortality, latitude and

longitude (Make sure to display p-values under OPTIONS-Statistics). (2) Use SAS

comments syntax to answer the questions below:

a. What are the relationships between each pair of the three variables?

How do you know?

b. Which correlation amongst the three variables is/are significant? How do

you know?

4. (10 points) Based on Question 1, (1) use point and click Two-sample T Test Task

under Statistics to test if the means of the mortality cases near ocean and far

away from ocean are the same or not. (2) Use SAS comments syntax to answer

the questions below:

a. What are the two assumptions of Two-sample t-test? Does the target

variable meet both assumptions or not? How do you know?

b. What is the null hypothesis for this Two-sample t-test? Do we reject the

null hypothesis? Why or why not? What will you conclude?

c. Is there any limitation in this two-sample t-test? If yes, please explain. If

no, why not?

5. (10 points) Based on Question 1, (1) create a Linear Regression Model to predict

the mortality cases by using latitude and longitude variables. (2) Use SAS

comments syntax to answer the questions below:

a. Explain the meanings of different p-values in the results. What shall we

conclude about the different variables and the model?

b. What is the value of R Square? What does it mean?

4

Marketing Analytics Spring 2020 Final Exam

6. (9 points) Based on Question 1, (1) create a Linear Regression Model to predict

the mortality cases by using latitude and the interaction effect between ocean

and latitude. (2) Use SAS comments syntax to answer the questions below:

a. Explain the meanings of different p-values in the results. What shall we

conclude about the different variables and the model?

b. Is this model better than the model in Question 5 above? How do you

know?

Note:

? This is a 110-point Final Exam. You need to submit your answers by the due time,

answer satisfactorily all points in each question and follow these instructions

fully. Late submissions will receive automatic 0 points.

? This is an individual take-home Final Exam. Any teamwork found will receive

automatic 0 points.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/433379.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

以太网交换机

以太网交换机是基于以太网传输数据的交换机,以太网采用共享总线型传输媒体方式的局域网。以太网交换机的结构是每个端口都直接与主机相连,并且一般都工作在全双工方式。交换机能同时连通许多对端口,使每一对相互通信的主机都能像独占通信媒体…

java中Class对象详解

java中把生成Class对象和实例对象弄混了,更何况生成Class对象和生成instance都有多种方式。所以只有弄清其中的原理,才可以深入理解。首先要生成Class对象,然后再生成Instance。那Class对象的生成方式有哪些呢,以及其中是如何秘密…

python分组求和法_python – 如何将groupby值的总和除以另一个值的count

我想通过’label’和’month’分组来计算每个月和每个标签的销售数量.我正在尝试’groupby和apply’方法来实现这一目标,但不确定如何计算每个标签的月份.比方说,对于标签值AFFLELOU(DOS),我有7个月的两个值.所以,我应该将销售数量相加并除以2.在第9个月和第10个月,我只有一个值…

Microsoft Visual Studio 打开代码出现乱码解决方案

在用VS编写代码时,文本的字符集可能和编译器的字符集不同,在这种情况下代码会显示出乱码。 解决办法: 在VS的工具->选项里面找到"文本编辑器",勾选“自动检测不带签名的UTF-8编码(D)”选项。 重新打开VS编译器&#…

java正则表达式及api_Java API 之 正则表达式

一、基本概念在项目中我们经常性做的一件事是“匹配”字符串比如:1、我们要验证用户输入的手机号是否合法?2、验证设置的密码是否符合规则?3、或者替换指定字符串中的一些内容。这么一看,似乎正则表达式就是在查找、处理字符串。二…

PB错误处理

//itemerror事件里出错处理 string ls_colname,ls_datatype Boolean ab_msg true ls_colname dwo.name ls_datatype dwo.coltype if trim(data) "" or isnull(data) then ab_msg false //之前这里使用return 3,所以出现这个问题 end if string d…

idea 创建java文件_idea创建java文件 格式不对

import java.io.File;import java.io.FileWriter;import java.io.IOException;public class Test {public static void main(String[] args) {//文件路径File filenew File("d:\\alphabet.txt");//如果文件存在就进行下面的操作,否则打印“找不到文件&…

待办事项桌面插件_让浏览器重获整洁——标签页管理插件:OneTabOneTab PlusToby...

1 什么是标签页管理插件chrome浏览器虽然为用户提供了一个非常方便的打开新标签页的方法,但是随着用户浏览网页的时间增长,用户在一个chrome窗口中打开的标签页会越来越多,当这些标签页过多的时候,用户在标签页之间进行切换就会变…

ext2 源代码解析之 “从路径名到目标结点” (一)

两个主要函数,path_init和path_walk,他们结合在一起根据给定的文件路径名称在内存中找到或者建立代表着目标文件或目录的dentry和inode结构。注意,最终是信息是读取到内存中的。其中有个函数__user_walk()将path_init(…

为什么要自学python_为什么那么多自学Python的后来都放弃了,总结起来就这些原因...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼目前信息化产业发展势头很好,互联网就成为了很多普通人想要涉及的行业,因为相比于传统行业,互联网行业涨薪幅度大,机会也多,所以就会大批的人想要转行来学习Python开发。目…

java内部类外部类_Java内部类:如何在内部类中返回外部类对象

Nasted Class 的介绍,请详见参考今天讨论的不是不是内部类的概念,而是具体使用的一个场景-如何在内部类中返回外部对象(孤猪:我在程序里也碰到过一次这样的状况,非静态内部类可以直接调用外部类实例的成员变量,但如何引…

linux 中 timeval结构体

网上很多人写到,timeval结构解释错误 ******************************************************************* 问题如下: 在debian linux的man页中对gettimeofday函数的说明中,有这样一个说明: DESCRIPTION The functions get…

[置顶] C语言中各种数据类型的长度 sizeof char, short, int, long, long long

这些数据类型的sizeof具体长度依赖于编译器和操作系统(32-bit or 64-bit) 1: 首先,参见c99标准 标准中没有定义这些数据类型的长度,而是定义了这些数据类型能表达的大小范围的最小极限。 C99链接: http://www.open-std…

关机时无人照管更新正在运行_了解iOS13.1后,在决定更新

苹果提前发布了首个重要更新的iOS 13.1,补充了多个 iOS 13 首发时缺失的重要新功能,可以说 iOS 13.1 才是【真正】的 iOS 13 系统。苹果发布iOS13.1,都更新了哪些内容?iOS13.1修复问题和改进问题:?信息中拟我表情可能无法正确跟踪…

java enum in class_Java 8需要一个转换,而Java 7没有 – enum.getClass/getDeclaringClass

我意识到Java 8仍然在测试版,但是这一点让我很奇怪:public class Fields> {public Fields(Set columns) {// A sample column used to find the universe of the enum of Columns.C sampleCol columns.iterator().next();// Java 8 needs a cast her…

linux C 中的volatile使用

一个定义为volatile的变量是说这变量可能会被意想不到地改变,这样,编译器就不会去假设这个变量的值了。精确地说就是,优化器在用到这个变量时必须每次都小心地重新读取这个变量的值,而不是使用保存在寄存器里的备份。下面是volati…

山西计算机网络技术专升本分数线_2020山西成考专升本招生补录第一批公告!附补录院校专业缺额表!...

☞回复【成绩】查询2020年成人高考成绩☞回复【录取】查询20成考录取结果☞回复【补录】查询最新院校缺额信息☞加入学历备考交流群 550985358 专升本第一阶段补录通知与院校缺额信息 达线未被录取?还有机会2020山西成考专升本招生征集志愿第一阶段公告发布12月9日1…

yii mysql 主从_mysql主从同步实践YII

1、两台服务器互联master、slave 2、master配置: server-id 1 master端ID号 log-bin/data/logbin/mysql-bin 日志路径及文件名 #binlog-do-db cacti 同步cacti,此处关闭的话,就是除不允许的,其它的库均同步。 binlog-ignore-db …

网页编码就是那点事

编码一直是让新手头疼的问题,特别是 GBK、GB2312、UTF-8 这三个比较常见的网页编码的区别,更是让许多新手晕头转向,怎么解释也解释不清楚。但是编码又是那么重要,特别在网页这一块。如果你打出来的不是乱码,而网页中出…

python最大正方形的面积_LeetCode 221. 最大正方形 | Python

221. 最大正方形题目在一个由 0 和 1 组成的二维矩阵内,找到只包含 1 的最大正方形,并返回其面积。示例:输入:1 0 1 0 01 0 1 1 11 1 1 1 11 0 0 1 0输出: 4解题思路思路:动态规划本篇幅使用动态规划的原理来解决该问题。我们用 dp(i, j) 表示…