91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

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號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    欧美精品系列| 日韩欧美一区二区视频| 亚洲高清视频一区| 色综合久久综合网欧美综合网| 国产激情一区二区三区桃花岛亚洲| 日本不卡视频一二三区| 日韩—二三区免费观看av| 日韩福利视频网| 国产一区二区三区四区五区美女| 久久精品国产第一区二区三区| 日韩和欧美一区二区| 免费看日韩a级影片| 蜜臀av性久久久久蜜臀av麻豆| 日本亚洲欧美天堂免费| 免费看欧美美女黄的网站| 久久电影网站中文字幕| 国产乱码精品一区二区三区忘忧草 | 欧美日韩高清在线| 在线播放中文字幕一区| 日韩欧美国产一区在线观看| xf在线a精品一区二区视频网站| ww久久中文字幕| 国产精品视频观看| 亚洲美女区一区| 日韩 欧美一区二区三区| 国产露脸91国语对白| 成人性视频免费网站| 欧美午夜不卡| 久久国产主播精品| 91精品久久久久久蜜臀| 国产午夜精品理论片a级大结局| 综合久久久久久久| 欧美aaaaaa午夜精品| 成人国产精品免费观看| 国内成人在线| 欧美视频一二三区| 久久久噜噜噜久噜久久综合| 亚洲美女屁股眼交3| 精品一区二区免费视频| 欧美久久一区| 久久久夜夜夜| www国产成人| 午夜久久久久久久久久一区二区| 国产乱码精品1区2区3区| 黄色亚洲在线| 欧美福利视频一区| 中文字幕中文在线不卡住| 日日摸夜夜添夜夜添国产精品| 成人综合婷婷国产精品久久蜜臀| 伊人色综合久久天天五月婷| 欧美日韩精品一区二区三区四区| 国产欧美综合色| 免费成人在线观看视频| 激情久久久久久| 欧美另类一区二区三区| 亚洲三级在线播放| 国产盗摄一区二区三区| 亚洲永久网站| 中文幕一区二区三区久久蜜桃| 日本欧美一区二区三区乱码| 色综合久久综合网97色综合| 在线亚洲一区二区| 国产精品国产三级国产a | 欧美在线观看视频一区二区| 日本一区二区动态图| 久久国产剧场电影| 亚洲毛片一区| 久久精品综合网| 国产又黄又大久久| 欧美专区在线| 综合婷婷亚洲小说| 成人免费精品视频| 欧美午夜宅男影院| 亚洲一区在线观看免费| 欧美日本一区二区视频在线观看| 欧美色男人天堂| 亚洲成人午夜电影| 亚洲先锋成人| 久久精品视频一区二区| 风间由美一区二区三区在线观看| 久久婷婷激情| 一区二区成人在线视频| 国内一区二区三区| 精品福利一区二区三区| 精品一区二区在线免费观看| 色诱亚洲精品久久久久久| 亚洲综合自拍偷拍| 亚洲经典自拍| 最新国产精品久久精品| 欧美女激情福利| 精品999久久久| 丁香六月久久综合狠狠色| 欧美日韩免费视频| 免费看黄色91| 欧美日韩一区二区三区在线| 免费观看一级特黄欧美大片| 久久九九精品| 首页亚洲欧美制服丝腿| 久久三级福利| 日韩二区三区在线观看| 色哟哟亚洲精品| 午夜精品久久久久久久久久| 亚洲一区二区免费看| 亚洲成国产人片在线观看| 午夜在线视频观看日韩17c| 亚洲国产wwwccc36天堂| 久久一区中文字幕| 喷水一区二区三区| 欧美精品国产精品| 国产精品88888| 精品av久久707| 欧美日韩影院| 综合网在线视频| 久久国产精品亚洲77777| 亚洲成年人影院| 欧美日韩中文另类| 国产99久久久久| 久久精品男人的天堂| 国内久久视频| 亚洲成人av福利| 欧美色精品在线视频| 国产精品主播直播| 国产日韩欧美精品一区| 99在线观看免费视频精品观看| 亚洲国产毛片aaaaa无费看 | 日韩不卡在线观看日韩不卡视频| 欧美亚洲国产一区在线观看网站| 国产精品一区免费在线观看| 久久亚洲综合色| 国产日韩亚洲| 国产在线播放一区| 久久久国产精品午夜一区ai换脸| 亚洲网站视频| 蜜臀av亚洲一区中文字幕| 欧美一区二区三区人| 欧美日韩亚洲免费| 日精品一区二区| 欧美mv日韩mv国产网站app| 亚洲午夜视频| 久久91精品国产91久久小草| 2020国产精品自拍| 国产亚洲亚洲| 国产成人精品午夜视频免费| 亚洲婷婷国产精品电影人久久| 91国在线观看| 亚洲欧美综合一区| 日本亚洲三级在线| 亚洲国产成人自拍| 欧美性xxxxxx少妇| 欧美日韩国产三区| 麻豆国产精品视频| 国产精品丝袜久久久久久app| 色哟哟欧美精品| 欧美日韩一区在线播放| 美腿丝袜在线亚洲一区 | 成人三级伦理片| 亚洲午夜私人影院| 精品福利在线导航| 色吊一区二区三区 | 国产精品福利在线播放| 91福利视频在线| 精品福利电影| 国产成人精品影视| 日韩精品一区第一页| 国产精品久久三区| 日韩一区二区影院| 久久在线视频| 亚洲成人在线| 成人一区二区在线观看| 视频一区二区中文字幕| 国产精品久久午夜夜伦鲁鲁| 日韩手机在线导航| 在线看国产一区| 一区二区高清视频| 99九九99九九九视频精品| 精品一区二区日韩| 午夜电影久久久| 最新不卡av在线| 国产三级精品三级在线专区| 911精品国产一区二区在线| 久久久久久久波多野高潮日日| 欧美三区不卡| 色综合网站在线| 不卡一区二区在线| 国产精品一区2区| 老司机一区二区| 日一区二区三区| 亚洲妇熟xx妇色黄| 亚洲精品va在线观看| 国产精品国产三级国产普通话99| 精品噜噜噜噜久久久久久久久试看| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 亚洲精品中文字幕在线| 欧美日本一区二区高清播放视频| 成人黄页在线观看| 国产成人av网站| 风间由美一区二区三区在线观看| 国产精品综合二区| 国产精品一级片在线观看| 国产一区二区三区国产|