provide a cropped image of the PIVOT results for that group (provide some analysis of them)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
provide a cropped image of the PIVOT results for that group (provide some analysis of them) provide the SQL statement used to generate that result (place in the appendix) provide the Activity schedule you plan for the weight group (provide your rationale for that schedule) provide a short list of actions that fit the Activity schedule. Note (the PIVOT results are averages so you may choose to ovide a more specific action schedule based on the suggested activities). You are generating a list of suggested tivities for rec center members, so give 3-5 options per suggested activity group (i.e. Choose gardening, walking, or aying with a child for the easy activities on MWF). Tie the images and activities together into an Activity Recommendation Plan and description such as "To hit the goal 5000 calories burned per week, we suggest the following activities as follows..." Analyzing Data Using Two Dimensions This assignment provides a chance to practice with PIVOT () commands within SQL and Matrix tables within PowerBI. You are asked to analyze a dataset of the calories burned by different types of physical activities, ranging from cleaning to competitive sports. You are asked to prepare different suggested activity plans for people that want to track and increase their caloric burn. The amount of calories burned per hour for different activities was recorded for four different sample pools; a) subjects averaging 130 pounds, b) subjects averaging 155 pounds, c) subjects averaging 180 pounds, d) subjects averaging 205 pounds. Each measure represents a different group of people based on their average weight. Take a look at the data. Dimensions The data is on cb-ot-devst05.ad.wsu.edu. (Check DEVST06 as needed to find this table) User userID mfstudent and password Blanalyst. featherman.Exercise B Columns Activity-1hr (nvarchar(50), not null) CaloricBurn-130lber (numeric (6,0), null) CaloricBurn-155lber (numeric (6,0), null) CaloricBurn-180lber (numeric (6,0), null) CaloricBurn-205lber (numeric (6,0), null) Category (nvarchar(50), null) Pace (nvarchar(20), null) Exercise? (bit, null) 1. Cardio Pace: The cardio pace of the activities range widely and include easier activities such as playing darts, or horseshoes to quite difficult cardio activities such as participating in a competitive sport such as basketball game. The activities have been categorized into a pace dimension with the values; a) Easy, b) Steady, c) Vigorous, d) High Intensity. You can verify these pace values using the following SQL statement. Recall that the SELECT DISTINCT command can retrieve a list of values from a database column and remove the duplicate values. USE [Featherman_Analytics]; SELECT DISTINCT [Pace] FROM [featherman]. [Exercise] You can verify these categories with the following SQL statement USE [Featherman_Analytics]; SELECT DISTINCT [Category] FROM [featherman]. [Exercise] 2. Category of activity: The activities have also been classified into a category dimension with the values a) Activity (this category includes many different activities ranging from gardening, to playing with a child). b) Rec Center (these are exercise classes or activities that are often performed at a recreation center such as UREC). c) Sport (these are activities that are typically considered sports, such as skiing or soccer). 3. Sport: This is a true/false field used to filter activities by whether they are typically categorized as a sport (i.e., soccer) or non- sport (i.e., gardening). In the column the value true (is a sport) is recorded as a 1, false (the activity is not a sport) is recorded as a zero. Task: You are developing a reputation as a person that can organize and analyze data and provide solutions and recommendations. Here have been asked by the manager of the Pullman Fitness Center (PFC) to provide four different training plans-one for each weight category-that recommend a set of activities. The hope is that by careful analysis, more optimal activity recommendations can be made. Members of the PFC are looking to record and increase their caloric burn for the day, and week. You have been given a list of activities and the amount of calories (at four different weight categories) that are burned after completing one hour of that activity. You are asked to produce a list of recommendations for each weight category based on a two hours per day/six days per week schedule. You are asked to provide a suggested mix of activity categories and paces, and then provide the short list of 5 activities to pick from for those categories. Also provide the number of calories the person would likely burn per week. In summary, you are providing suggestions for a training plan for each of the four types of people that you have data for; a) for subjects averaging 130 pounds, b) subjects averaging 155 pounds, c) subjects averaging 180 pounds, d) subjects averaging 205 pounds. You can think of the assignment as repetitive doing the same task four times, once for each subject group. Vary the activities by category, duration, and pace. The example below partially presents a set of MWF activities, T/TH Fitness center classes and activities, and weekend participation in sports activities. Be sure to vary the activities by Cardio Pace to mix up the effort level, for example some activities require only a steady pace but do burn a high amount of calories in an hour). You may choose to filter out the non-sports activities. Procedure: Use SQL PIVOT statements to analyze the average caloric burn for each combination of category and pace. Analyze the caloric burn per category. Choose a strategy that selects exercises and actions from the mix of category and pace (for example you may decide to recommend easy and steady sports, vigorous rec center actions, and high intensity activities). Show cropped screenshot Next provide a brief suggested list of activities for the week in the categories you have planned for the weight group. In general, provide the rationale for the activity plan explaining the proposed schedule, what activities are suggested and 1 images of your PIVOT tables, describing your findings and selections, and place the SQL syntax in the appendix. (You will have to do this for each weight group). /1 23 23 3 Category Easy Steady Vigorous High Intensity Activity 231.604166 424.900000 407.442307 645.312500 Rec Center 301.000000 260.833333 413.090909 413.000000 Sport 349.857142 420.375000 478.272727 692.470588 Activity Schedule Steady Sport Stety Activity vigorous Rec Center Easy Sports Vigor Sports Category Pace Activity Vigorous Activity Vigorous Activity Vigorous Vigorous Activity lours Days 420 475 413 349 478 4 Activity For example if the results found were as shown in the image to the right (for a specific weight group), you might recommend an activity plan of MWF do 1 hour of a steady sport (420 calories burned) and 1 hour of a steady activity (425 calories burned). On T/TH do an hour of vigorous rec center activity (i.e., classes-413 calories burned) and one hour of easy sports(349 calories burned). On Saturdays do 2 hours of vigorous sports (478 * 2). Provide output in the following (or similar) format. Note this text was typed into Excel and is not the result of a pivot table or query, rather Excel was used to organize and total the data.) 1 3 1 Y Huur Pur Calories Aurned week ver day I 1 2 2 2 1 2 2 2 420 425 413 349 956 12 Total Calories burned for week Activity-1hr Cycling, mountain bike, bmx Cycling, 14-15.9 mph, vigorous Stationary cycling, vigorous Stationary cycling, very vigorous Calories Rurned per week 1260 1275 826 698 956 3015 Caloric Burm-130%ber 502 590 620 738 You are creating four different activity plans, one for each weight group. Final note: At the end of the document provide your thoughts as to two threats to the validity of the recommendations. List two problems that might be evident with the data in the dataset, which would call into question the validity of your analysis and recommendations for activity plans. Upload your report to the content management system. You have complete design authority to produce the output requested. Better grades for completeness, thoughtfulness, and formatting. Keep reports in the 4-7 page range including images and the appendix of SQL. provide a cropped image of the PIVOT results for that group (provide some analysis of them) provide the SQL statement used to generate that result (place in the appendix) provide the Activity schedule you plan for the weight group (provide your rationale for that schedule) provide a short list of actions that fit the Activity schedule. Note (the PIVOT results are averages so you may choose to ovide a more specific action schedule based on the suggested activities). You are generating a list of suggested tivities for rec center members, so give 3-5 options per suggested activity group (i.e. Choose gardening, walking, or aying with a child for the easy activities on MWF). Tie the images and activities together into an Activity Recommendation Plan and description such as "To hit the goal 5000 calories burned per week, we suggest the following activities as follows..." Analyzing Data Using Two Dimensions This assignment provides a chance to practice with PIVOT () commands within SQL and Matrix tables within PowerBI. You are asked to analyze a dataset of the calories burned by different types of physical activities, ranging from cleaning to competitive sports. You are asked to prepare different suggested activity plans for people that want to track and increase their caloric burn. The amount of calories burned per hour for different activities was recorded for four different sample pools; a) subjects averaging 130 pounds, b) subjects averaging 155 pounds, c) subjects averaging 180 pounds, d) subjects averaging 205 pounds. Each measure represents a different group of people based on their average weight. Take a look at the data. Dimensions The data is on cb-ot-devst05.ad.wsu.edu. (Check DEVST06 as needed to find this table) User userID mfstudent and password Blanalyst. featherman.Exercise B Columns Activity-1hr (nvarchar(50), not null) CaloricBurn-130lber (numeric (6,0), null) CaloricBurn-155lber (numeric (6,0), null) CaloricBurn-180lber (numeric (6,0), null) CaloricBurn-205lber (numeric (6,0), null) Category (nvarchar(50), null) Pace (nvarchar(20), null) Exercise? (bit, null) 1. Cardio Pace: The cardio pace of the activities range widely and include easier activities such as playing darts, or horseshoes to quite difficult cardio activities such as participating in a competitive sport such as basketball game. The activities have been categorized into a pace dimension with the values; a) Easy, b) Steady, c) Vigorous, d) High Intensity. You can verify these pace values using the following SQL statement. Recall that the SELECT DISTINCT command can retrieve a list of values from a database column and remove the duplicate values. USE [Featherman_Analytics]; SELECT DISTINCT [Pace] FROM [featherman]. [Exercise] You can verify these categories with the following SQL statement USE [Featherman_Analytics]; SELECT DISTINCT [Category] FROM [featherman]. [Exercise] 2. Category of activity: The activities have also been classified into a category dimension with the values a) Activity (this category includes many different activities ranging from gardening, to playing with a child). b) Rec Center (these are exercise classes or activities that are often performed at a recreation center such as UREC). c) Sport (these are activities that are typically considered sports, such as skiing or soccer). 3. Sport: This is a true/false field used to filter activities by whether they are typically categorized as a sport (i.e., soccer) or non- sport (i.e., gardening). In the column the value true (is a sport) is recorded as a 1, false (the activity is not a sport) is recorded as a zero. Task: You are developing a reputation as a person that can organize and analyze data and provide solutions and recommendations. Here have been asked by the manager of the Pullman Fitness Center (PFC) to provide four different training plans-one for each weight category-that recommend a set of activities. The hope is that by careful analysis, more optimal activity recommendations can be made. Members of the PFC are looking to record and increase their caloric burn for the day, and week. You have been given a list of activities and the amount of calories (at four different weight categories) that are burned after completing one hour of that activity. You are asked to produce a list of recommendations for each weight category based on a two hours per day/six days per week schedule. You are asked to provide a suggested mix of activity categories and paces, and then provide the short list of 5 activities to pick from for those categories. Also provide the number of calories the person would likely burn per week. In summary, you are providing suggestions for a training plan for each of the four types of people that you have data for; a) for subjects averaging 130 pounds, b) subjects averaging 155 pounds, c) subjects averaging 180 pounds, d) subjects averaging 205 pounds. You can think of the assignment as repetitive doing the same task four times, once for each subject group. Vary the activities by category, duration, and pace. The example below partially presents a set of MWF activities, T/TH Fitness center classes and activities, and weekend participation in sports activities. Be sure to vary the activities by Cardio Pace to mix up the effort level, for example some activities require only a steady pace but do burn a high amount of calories in an hour). You may choose to filter out the non-sports activities. Procedure: Use SQL PIVOT statements to analyze the average caloric burn for each combination of category and pace. Analyze the caloric burn per category. Choose a strategy that selects exercises and actions from the mix of category and pace (for example you may decide to recommend easy and steady sports, vigorous rec center actions, and high intensity activities). Show cropped screenshot Next provide a brief suggested list of activities for the week in the categories you have planned for the weight group. In general, provide the rationale for the activity plan explaining the proposed schedule, what activities are suggested and 1 images of your PIVOT tables, describing your findings and selections, and place the SQL syntax in the appendix. (You will have to do this for each weight group). /1 23 23 3 Category Easy Steady Vigorous High Intensity Activity 231.604166 424.900000 407.442307 645.312500 Rec Center 301.000000 260.833333 413.090909 413.000000 Sport 349.857142 420.375000 478.272727 692.470588 Activity Schedule Steady Sport Stety Activity vigorous Rec Center Easy Sports Vigor Sports Category Pace Activity Vigorous Activity Vigorous Activity Vigorous Vigorous Activity lours Days 420 475 413 349 478 4 Activity For example if the results found were as shown in the image to the right (for a specific weight group), you might recommend an activity plan of MWF do 1 hour of a steady sport (420 calories burned) and 1 hour of a steady activity (425 calories burned). On T/TH do an hour of vigorous rec center activity (i.e., classes-413 calories burned) and one hour of easy sports(349 calories burned). On Saturdays do 2 hours of vigorous sports (478 * 2). Provide output in the following (or similar) format. Note this text was typed into Excel and is not the result of a pivot table or query, rather Excel was used to organize and total the data.) 1 3 1 Y Huur Pur Calories Aurned week ver day I 1 2 2 2 1 2 2 2 420 425 413 349 956 12 Total Calories burned for week Activity-1hr Cycling, mountain bike, bmx Cycling, 14-15.9 mph, vigorous Stationary cycling, vigorous Stationary cycling, very vigorous Calories Rurned per week 1260 1275 826 698 956 3015 Caloric Burm-130%ber 502 590 620 738 You are creating four different activity plans, one for each weight group. Final note: At the end of the document provide your thoughts as to two threats to the validity of the recommendations. List two problems that might be evident with the data in the dataset, which would call into question the validity of your analysis and recommendations for activity plans. Upload your report to the content management system. You have complete design authority to produce the output requested. Better grades for completeness, thoughtfulness, and formatting. Keep reports in the 4-7 page range including images and the appendix of SQL.
Expert Answer:
Related Book For
Financial Reporting Financial Statement Analysis and Valuation a strategic perspective
ISBN: 978-1337614689
9th edition
Authors: James M. Wahlen, Stephen P. Baginski, Mark Bradshaw
Posted Date:
Students also viewed these databases questions
-
Discuss whether you personally agree with the majority opinion or with the dissenting justices in the Texas and explain why.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
A chemical factory discharges waste products into a river. The waste products affect a fishery downstream. Suppose MD = 6E and MAC = 600 - 4E. Consider a liability law requiring the polluter to...
-
Water flows steadily through the round pipe in the figure. The entrance velocity is Vo. The exit velocity approximates turbulent flow, u = umax(1 − r/R) 1/7. Determine the ratio Uo/umax for...
-
Suja Juice Co. has expanded its product offerings to include many varieties of cold-pressed organic juices. Company founders know that financial success depends on cost control as well as revenue...
-
Water flows through a two-dimensional diffuser having a \(20^{\circ}\) expansion angle as shown in Fig. P6.40. Assume that the flow in the diffuser can be treated as a radial flow emanating from a...
-
On January 1, 2007 the Amity Company leases a crane to Baltimore Company. The lease contains the following terms and provisions: The lease is non-cancelable and has a term of 10 years. The lease does...
-
Compute the predetermined overhead allocation rates using machine hours as the allocation base for the Assembly Department and direct labor hours for the Packaging Department. Begin by selecting the...
-
Part C: Communication [20 marks] -99 1. Investment A offers a fixed annual interest rate of 6%, compounded annually for 15 years. Investment B offers the same fixed annual interest rate of 6%,...
-
Consider a two-period small open endowment economy with free capital mobility. Households live for one period. The endowment is 10 in both periods. The utility function of households living in period...
-
During the procurement process, how does the ERP system determine which vendor account to use? Explain.
-
Lucas Trottier sold machinery to a corporation in which he is the controlling shareholder. He elected to use ITA 85(1). The FMV of the equipment is $ 20 comma 400, and its UCC is $ 15 comma 300. The...
-
Bob spent money by using his credit cards and did not pay his bill for three months. He is now dealing with negative impacts on his credit rating. What is the step of financial accountability is this?
-
For the month a company had total cost of goods available for sale of $900,000, and cost of goods sold of $700,00. If inventories increased by $100,000 over the period, what was their beginning...
-
10. Find the multiplicative inverse of a) 34 mod 51 b) 8765 mod 9451 c) 44 in Z98 d) 7 in Z180
-
answer the following questions. (a) Calculate lim f(x). X2 (b) Draw the figure for f(x). (c) Define a similar function F(x) to f(x) where we no longer have any discontinuity. (d) (bonus) Re-do part...
-
Sue Deliveau opened a software consulting firm that immediately paid $2,000 for a computer. Was this event a transaction for the business?
-
Lynn Construction enters into a firm purchase commitment for equipment to be delivered on June 30, 2017, for a price of 10,000 GBP. It simultaneously signs a forward foreign exchange contract for...
-
In this chapter, we evaluated shares of common equity in Starbucks using the value-to-book approach, market multiples, and reverse engineering. The Coca-Cola Company competes directly with Starbucks....
-
A sales-based ranking of software companies provided by Yahoo! Finance on November 5, 2008, places Oracle Corporation third behind sales leaders Microsoft Corporation and IBM Software. Typical of...
-
You must filter $1000 \mathrm{lb}_{\mathrm{m}} / \mathrm{min}$ of an aqueous slurry containing $40 %$ solids by weight using a rotary drum filter with a diameter of $4 \mathrm{~m}$ and a length of $4...
-
Calculate the flow rate of water (in gpm) required to fluidize a bed of 1/16 in. diameter lead shot $(S G=11.3)$. The bed is $1 \mathrm{ft}$ in diameter, $1 \mathrm{ft}$ deep, and has a porosity of...
-
A coal gasification reactor operates with particles of $500 \mu \mathrm{m}$ diameter and a density of $1.4 \mathrm{~g} / \mathrm{cm}^{3}$. The gas may be assumed to have properties of air at...
Study smarter with the SolutionInn App