|
58 | 58 | "id": "d04c9648", |
59 | 59 | "metadata": {}, |
60 | 60 | "source": [ |
61 | | - "## Exercise 1: Temperature Differences Among Weather Conditions\n", |
| 61 | + "## Exercise 1: Humidity Differences Among Weather Conditions\n", |
62 | 62 | "\n", |
63 | | - "**Objective**: Determine if temperature is significantly different among different weather conditions.\n", |
| 63 | + "**Objective**: Determine if humidity is significantly different among different weather conditions.\n", |
64 | 64 | "\n", |
65 | 65 | "**Background**: \n", |
66 | | - "The weather dataset contains temperature measurements for different weather conditions (Sunny, Rainy, Cloudy, etc.). We want to know if these weather conditions are associated with significantly different temperatures.\n", |
| 66 | + "The weather dataset contains humidity measurements for different weather conditions (Sunny, Rainy, Cloudy, etc.). We want to know if these weather conditions are associated with significantly different humidity levels.\n", |
67 | 67 | "\n", |
68 | 68 | "**Tasks**:\n", |
69 | 69 | "\n", |
70 | 70 | "1. **Explore the data**:\n", |
71 | 71 | " - Check how many unique weather conditions are in the dataset\n", |
72 | | - " - Calculate the mean and standard deviation of temperature for each weather condition\n", |
73 | | - " - Create a boxplot showing the temperature distribution for each weather condition\n", |
74 | | - " - Based on the visualization, do you think the temperatures differ significantly?\n", |
| 72 | + " - Calculate the mean and standard deviation of humidity for each weather condition\n", |
| 73 | + " - Create a boxplot showing the humidity distribution for each weather condition\n", |
| 74 | + " - Based on the visualization, do you think the humidity levels differ significantly?\n", |
75 | 75 | "\n", |
76 | 76 | "2. **Choose an appropriate statistical test**:\n", |
77 | | - " - Since we're comparing temperatures across multiple groups (weather conditions), what test should we use?\n", |
| 77 | + " - Since we're comparing humidity across multiple groups (weather conditions), what test should we use?\n", |
78 | 78 | " - Hint: Consider ANOVA (Analysis of Variance) or Kruskal-Wallis test\n", |
79 | 79 | " - State your null and alternative hypotheses\n", |
80 | 80 | "\n", |
|
89 | 89 | " - Using α = 0.05, determine whether to reject or accept the null hypothesis\n", |
90 | 90 | "\n", |
91 | 91 | "5. **Interpret the results**:\n", |
92 | | - " - What does your test result tell you about temperatures and weather conditions?\n", |
93 | | - " - If you rejected the null hypothesis, which weather conditions appear to have different temperatures? (Use the boxplot and descriptive statistics to support your conclusion)\n", |
| 92 | + " - What does your test result tell you about humidity and weather conditions?\n", |
| 93 | + " - If you rejected the null hypothesis, which weather conditions appear to have different humidity levels? (Use the boxplot and descriptive statistics to support your conclusion)\n", |
94 | 94 | " - What are the practical implications of this finding?\n", |
95 | 95 | "\n", |
96 | 96 | "**Bonus**: \n", |
|
0 commit comments