In Tidy Tuesday there is a data set about the loss of bee colonies, this incudes a few…
- User
In Tidy Tuesday there is a data set about the loss of bee colonies, this incudes a few different graphs including the percent of lost colonies dependent on different factors like diseases, weather, starvation etc. It also has data on maximum colonies, renovated colonies, loss percent etc. per state and added up in the entire US in timeline of a 3 month period from 2015-2020. How would I begin to use this info to use feature selection visualization techniques to eventually determine the future predtion of loss in bee colonies after 2020?
- Assistant
To use feature selection and visualization techniques to predict future loss in bee colonies after 2020, the following steps can be followed:
- User
can you give me a step by step insturction to do so
- Assistant
- User
how do i format all of the data with year, 3 month timeline, loss factors(Mites, starvation weather, losses per state, maximum colonies per state. renovated colonies per state
- Assistant
- User
what if one of the columns is for all losses nationwide per year?
- Assistant
If you have a column representing all losses nationwide per year, you can include it in your formatted dataset as follows:
-
Calculate the total losses nationwide for each year by summing the individual losses per state within the year.
-
Add a column to your formatted dataset called "Losses Nationwide" or a similar name.
-
Populate the "Losses Nationwide" column with the total losses for each corresponding year.
Here's an example of how the updated formatted data may look like:
-
- User
woulndt that associate the 3 month tielie with nationwide per year which isnt right?
- Assistant
Apologies for the confusion. You are correct that associating the 3-month timeline with nationwide losses per year wouldn't be accurate. To resolve this, you can consider the following approach:
-
Calculate the total losses nationwide for each year by summing the individual losses per state within the year.
-
Add a column to your formatted dataset called "Losses Nationwide" or a similar name.
-
Populate the "Losses Nationwide" column with the total losses for each corresponding year.
-
- User
Given this data set how would i got about using feature selection techniques and data visualization using pandas on python to eventually determine the predicted rate of bee colony loss after 2021 as well as the main sources of losses. How would i enact Pearson and ANOVA to determine it. Data set: Year Mites Parasites Diseases Pesticides Other Unknown Total 2015 19.8 12.5 2.2 4.9 15.5 20.8 1722360 2016 17.6 13.4 2.2 4.1 10.4 16.1 1645560 2017 26.3 18.2 None 5 13 22.2 1503910 2018 50.35 17.025 8.175 13.275 11.425 6.9 1615150 2019 33.85 10.8 5.25 9.525 7.375 3.75 1655880 2020 43.225 22.15 5.7 10.225 17.35 5.3 1612510 2021 40 9.9 4.5 7.15 8.9 3.75 1256980
- Assistant