日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

MS3251代寫、代做Python/Java程序
MS3251代寫、代做Python/Java程序

時間:2024-11-29  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



MS**51 Analytics Using SAS 
Assignment 2 
 
• You must complete the assignment by yourself. Exchanging ideas with classmates is 
encouraged, but you must not cross the line between discussion and collaboration. 
Showing your work to your classmates is a non-acceptable collaboration. All identified 
collaboration work will have a 0 mark. 
• Complete all questions. Put all of your SAS code into one PDF file. You must mark each 
question’s answer as SAS comment statements in the code, such as /*Task 1*/. Name 
your code file as nnnnnnnn.pdf, where nnnnnnnn is your full name. 
• You should set all irrelevant statements in your code as SAS comment statements. Be 
aware that your SAS code created under a non-English operating system may contain 
extraneous characters when viewed in an English operating system. You are responsible 
for ensuring your submitted code is free of these characters. All extraneous characters in 
your submitted code will be considered errors. 
• Utilising codes not included in the course notes will not be accepted as correct answers, 
even though they are not wrong. 
• When running in SAS OnDemand Studio, your submitted SAS code should be error-free. 
• You must submit your code file via the link Assignment 2 under the Assignments section 
of the course on Canvas. If you submit your file more than once, only the latest submitted 
file will be marked. The assignment is due at 06:00 AM on 4 December 2024. Two marks 
shall be deducted for every 1 minute or less late. The submission link will be closed at 
06:30 AM on 4 December 2024. Submission by other methods will not be accepted. 
 
Tasks 
Download Assignment2.zip from the Assignments folder under the Files section. Expand the 
zipped file for the following: 
• Profile_2016.sas7bdat 
• Flying_2016.sas7bdat 
• Redemption_2016.sas7bdat 
• Variables_Disctionary.xlsx 
 
The variable descriptions can be found in Variables_Dictionary.xlsx. Do not change the 
contents of these data sets unless you are told to do so explicitly. 
 
You are asked to write an SAS program for the tasks below. Unless stated explicitly, you can 
deploy multiple DATA steps and SAS procedures for each task. 
 
Task 1: 
Define a SAS library named xxxxxxxx for the folder containing the three SAS data sets in your 
SAS Studio account, where xxxxxxxx is your given name (or first name). Use only the first eight 
letters if your given name is longer than eight characters. For example, if your name is CHEN 
Da Wen, the library name should be ‘dawen’. 
 
Task 2: 
Write a SAS program for the following activities: • Create a new data set named Profile that includes all columns and rows from 
Profile_2016. Store Profile in the SAS Work library. 
• Add a new column named Tenure to Profile. Calculate a member’s tenure as full years 
from their join date to 1 January 2017. For example, if a member’s join date is 1 August 
1996, their tenure on 1 January 2017 would be 20. 
• Print a report showing the range (maximum minus minimum) of Tenure values in the 
Profile. There is no need to include the report in your submitted code. 
 
Task 3: 
Write a SAS program for the following activities: 
• Sort the observations in Profile by Member_ID. 
• Sort the observations in Redemption_2016 by Member_ID and store the sorted data set 
in a temporary SAS data set. 
• Sort the observations in Flying_2016 by Member_ID and store the sorted data set in a 
temporary SAS data set. 
 
Task 4: 
Write one SAS DATA step to reshape the sorted Flying_2016 data set by collapsing 
observations with the same Member_Id into a single observation. Name this new SAS data 
set Flying and store it in the SAS Work library. For each observation in Flying, create if needed 
and keep only the following variables (the order of the variables is not specified) in the data 
set: 
 
 Variable Name Description 
Member_Id Member’s identity. 
Air_CityU Number of times the member had flown with CityU Airlines (i.e. 
Airline value = ‘CityU’) in 2016. Equal 0 if none. 
Air_NonCityU Number of times the member had flown with non-CityU Airlines 
(i.e. Airline value ^= ‘CityU’) in 2016. Equal 0 if none. 
FlyBonus_Earned Total bonus points earned by the member from flying in 2016. 
 
Task 5: 
Write one SAS DATA step for all of the following activities: 
• Merge the sorted Profile and Flying data sets by Member_ID. Name the merged data 
set Profile1 and store it in the SAS Work library. 
• Keep all columns from both data sets in Profile1. 
• For members who did not fly in 2016, set Air_CityU and Air_NonCityU to 0. 
• For members who did not earn bonus points from flying in 2016, set FlyBonus_Earned to 
0. 
 
Task 6: 
Write one SAS DATA step for all of the following activities: 
• Merge the sorted Redemption_2016 and Profile1 by Member_ID. Name the merged data 
set Profile2. 
• Sum the redemption points for each member in 2016. If a member had no redemption in 
2016, set the sum to 0. Store these sums in a new column named Redeemed in Profile2. • Replace each member’s bonus point balance in Profile2 with a new balance value, 
calculated as bonus point balance at the end of 2015 + bonus points earned from flying in 
2016 – bonus points redeemed in 2016. {P.S. Some bonus point balances in the data set 
may be negative. Keep them in the data set. No adjustment is required.} 
• Each Member_ID appears only once in Profile2. 
• Drop the variables Date and Redeemed_point from the sorted Redemption_2016 in 
Profile2. 
 
Task 7: 
Write a SAS program to report the following statistics and information without requiring 
further manual calculations: 
a) The number of male members who flew only with CityU Airlines in 2016. 
b) The number of members who had no bonus point redemptions in 2016. 
c) The top 1000 bonus points earners in 2016. 
There is no need to include the reports in your submitted code. 
 
Task 8: 
Write a SAS program to generate a report on the number of members in Profile2 for each of 
the following bonus point balance groups: 
a) 100,000 or lower 
b) 100,001 – 300,000 
c) 300,001 – 500,000 
d) 500,001 or higher 
 
You are not allowed to use the DATA step for this task. The report should look exactly like 
this: 
 
There is no need to include the reports in your submitted code. 
 
{Hint: First, create a user-defined format for the bonus point balance groups. Next, use an 
appropriate report procedure to write the results, including the formatted bonus point 
balance values, to a SAS dataset. Finally, print that SAS dataset with the required title, labels, 
and formats.} 
-END- 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:代做CSC3050、代寫C/C++程序語言
  • 下一篇:代做6CCS3AIN、Python語言編程代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        欧美激情在线有限公司| 亚洲欧美激情视频| 国模 一区 二区 三区| 亚洲人永久免费| 极品av少妇一区二区| 亚洲欧美视频一区二区三区| 在线视频欧美一区| 欧美日韩大片一区二区三区| 欧美激情一区二区三区| 久久午夜精品一区二区| 国产精品自在线| 亚洲精品日韩在线观看| 亚洲福利免费| 国产色婷婷国产综合在线理论片a| 亚洲综合日韩在线| 韩日欧美一区二区三区| 国产精品成人一区二区三区吃奶| 在线观看视频日韩| 欧美视频在线观看| 久久岛国电影| 亚洲国内精品在线| 国产综合自拍| 国产精品成人免费精品自在线观看| 久久这里只精品最新地址| 国产美女一区二区| 国产一区二区精品在线观看| 久久精品成人一区二区三区蜜臀| 狠狠爱www人成狠狠爱综合网| 欧美另类高清视频在线| 在线亚洲观看| 免费视频一区二区三区在线观看| 国产欧美另类| 欧美国产综合视频| 久久久久一区二区三区四区| 久久久久青草大香线综合精品| 久久久久久有精品国产| 欧美了一区在线观看| 日韩一区二区高清| 久久成人免费网| 亚洲国产aⅴ天堂久久| 亚洲欧美日韩另类| 国产精品高潮在线| 国产日产亚洲精品| 欧美视频国产精品| 影音先锋日韩资源| 欧美私人网站| 国产精品theporn88| 欧美精品在线免费| 久久国产主播精品| 欧美日本高清视频| 久久综合激情| 亚洲国产欧美在线| 中文在线资源观看视频网站免费不卡| 亚洲电影有码| 一本色道久久综合| 欧美高清视频在线观看| 欧美a级一区| 激情视频亚洲| 宅男噜噜噜66一区二区| 欧美日本一区| 亚洲一区二区三区免费视频| 一区二区视频免费完整版观看| 最近中文字幕mv在线一区二区三区四区| 欧美福利视频网站| 欧美国产日韩一区二区| 国产精品福利在线| 国产乱码精品一区二区三区av| 国产综合久久久久久| 久久中文精品| 性伦欧美刺激片在线观看| 亚洲欧洲99久久| 欧美精品成人一区二区在线观看| 国产精品国产精品国产专区不蜜| 国产乱子伦一区二区三区国色天香| 欧美大片一区| 亚洲日本欧美日韩高观看| 亚洲黄一区二区三区| 亚洲高清一区二| 在线成人www免费观看视频| 你懂的网址国产 欧美| 亚洲免费婷婷| 久久久久国产一区二区| 一区二区三区四区五区视频| 亚洲在线一区| 久久久777| 欧美成人精品在线播放| 曰本成人黄色| 久久免费高清视频| 欧美激情成人在线视频| 亚洲精品一区久久久久久| 久久久久国产精品厨房| 亚洲永久在线观看| 国产日本欧美一区二区| 国产综合久久久久影院| 亚洲激情欧美激情| 久久久久九九九九| 亚洲伦理自拍| 免费成人小视频| 欧美jizzhd精品欧美喷水| 久久久久.com| 欧美在线一级va免费观看| 欧美激情精品久久久久久免费印度| 欧美精品久久99久久在免费线| 久久久综合免费视频| 亚洲欧洲三级| 国内精品久久久久影院色| 欧美日本一区二区高清播放视频| 国产区欧美区日韩区| 欧美亚洲日本一区| 99热这里只有成人精品国产| 亚洲第一搞黄网站| 亚洲精品123区| 国产精品亚洲美女av网站| 欧美日韩亚洲精品内裤| 欧美美女视频| 欧美精品自拍偷拍动漫精品| 欧美一区观看| 亚洲毛片视频| 欧美精品国产| 久久国产精品一区二区三区四区| 国产精品爱啪在线线免费观看| 亚洲一区影院| 亚洲国产美国国产综合一区二区| 久久亚洲综合色一区二区三区| 亚洲精品乱码久久久久久久久| 欧美日韩免费观看一区=区三区| 国内一区二区在线视频观看| 亚洲一区视频在线观看视频| 91久久精品国产91性色tv| 欧美日韩视频免费播放| 亚洲国产精品v| 欧美伦理影院| 欧美一区二区精品久久911| 一本色道婷婷久久欧美| 亚洲一区二三| 亚洲欧美日韩另类| 国产日韩欧美精品一区| 在线观看日产精品| 欧美日韩精品不卡| 欧美一区在线直播| 欧美一区二区三区免费视| 欧美 日韩 国产一区二区在线视频| 欧美一区2区三区4区公司二百| 欧美在线一区二区| 亚洲福利一区| 欧美一区二区三区免费看| 国产午夜精品美女毛片视频| 亚洲嫩草精品久久| 欧美jizz19hd性欧美| 美女主播一区| 午夜精品久久久久久久| 午夜在线观看免费一区| 老鸭窝毛片一区二区三区| 国产精品高清一区二区三区| 新片速递亚洲合集欧美合集| 久久精品日产第一区二区三区| 性色av一区二区三区红粉影视| 亚洲欧美综合精品久久成人| 国产欧美精品在线播放| 午夜一区二区三视频在线观看| 欧美 日韩 国产精品免费观看| 欧美性色视频在线| 国产目拍亚洲精品99久久精品| 一区二区三区|亚洲午夜|