We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9
Excel
Dr. Randa Abdel Hafeez Abdel Rahim
Bashir Understanding the Task We have a dataset showing the preferred beverages of 50 employees. Our goal is to visualize this data using two types of charts in Microsoft Excel: * Bar chart: This will show the frequency (count) of each beverage type. * Pie chart: This will show the proportion (percentage) of each beverage type relative to the total. Steps in Excel * Input the data: * Create a new Excel sheet. * In column A, list the beverage types: Coffee, Tea, Juice, Water. * In column B, enter the corresponding frequencies: 20, 15, 8, 7. * Create the bar chart: * Select both columns (A and B). * Go to the "Insert" tab. * In the "Charts" group, click on the "Recommended Charts" button. * Excel will suggest various chart types. Choose a 2D column chart. * Create the pie chart: * With the data still selected, go to the "Insert" tab again. * Click on the "Pie or Doughnut Chart" button. * Choose the basic 2D pie chart. Interpreting the Charts * Bar chart: The height of each bar represents the number of employees who prefer that particular beverage. This chart is useful for quickly comparing the frequencies of different categories. * Pie chart: Each slice of the pie represents the percentage of employees who prefer a specific beverage. This chart is helpful for visualizing the overall distribution of preferences. Step 1: Open the Data Analysis Tool
1. From the top ribbon in Excel, select the Data tab.
2. Click on Data Analysis on the far right of the toolbar. 3. In the Data Analysis dialog box, choose Descriptive Statistics from the list, then click OK.
Step 2: Enter Data for Descriptive Statistics
1. In the Descriptive Statistics dialog box:
• Input Range: Select the range of cells containing the data (as shown in the second image: A1:A15). • Choose Columns if the data is arranged vertically. • Select Labels in First Row if the range includes a header. 2. In the Output Options section: • Select New Worksheet Ply to output the results to a new worksheet. 3. Check Summary statistics to include key metrics like mean, median, standard deviation, and other statistical measures. 4. Click OK to generate the results.
Step 3: View the Results
After completing the steps:
• The results will appear in a new worksheet (as shown in the fourth picture ). We observe from the histogram that the distribution of the number of wheels is neither mound-shaped nor symmetric. Step 1 : 1. Open Excel and input the temperature data (x) and energy consumption data (y). 2. Select both columns of data (temperature and energy). 3. Go to the “Insert” tab in Excel, and select “Scatter” from the Charts group. 4. Choose the first option for a scatter plot (dots). 5. A scatter plot will appear showing the relationship between temperature and energy consumption. The scatter plot shows a positive linear relationship between temperature and energy consumption. As the temperature increases, energy consumption also increases. The points are closely aligned, indicating a strong linear correlation between the two variables. Step 2 : 1. Click on an empty cell in Excel. 2. Use the formula =CORREL(array1, array2), where array1 is the temperature data and array2 is the energy consumption data. 3. Press Enter, and Excel will calculate and display the correlation coefficient r. The correlation coefficient r = 0.98623 indicates a very strong positive correlation between temperature and energy consumption. A value close to 1 suggests that as the temperature increases, energy consumption increases in a predictable and strong manner. Step 3 : 1. Go to the “Data” tab in Excel and click “Data Analysis.” 2. Choose “Regression” from the list of analysis tools and click “OK.” 3. In the Regression dialog box: • Input Y Range: Select the energy consumption data. • Input X Range: Select the temperature data. • Output Range: Choose where you want the regression output to appear. 4. Click “OK” to generate the regression results. The regression equation obtained is: y = 3.8303x + 64.4182 Where: •Slope (3.8303) means that for each 1°C increase in temperature, energy consumption increases by 3.83 units. •Intercept (64.4182) means that when the temperature is 0°C, the energy consumption is 64.4182 units. This equation can be used to predict energy consumption based on the temperature. For example, if the temperature is 25°C: y = 3.8303(25) + 64.4182 = 159.18 \, \text{units} Thus, the predicted energy consumption at 25°C is 159.18 units. Students: Awatef Ali Zahran Rafaa Khallufah Alsulami Rimas Misfir Al-Qarni Manal Ali Al-Rashidi Layan Mutab Al-Mutairi