This work is a preliminary data analysis task done on a survey data set done on ice cream brands. Its purpose is to clean and prepare the data set using different packages in R so that it can be used most easily by the analysts. This data set accompanies the “Seven Summits of Marketing Research” text by Greg Allenby and Jeff Brazell. This was my first assignment for the Marketing Analysis course I had in fall 2020.
The report is produced using Rstudio as an HTML file named main.html, however, the R Markdown file and all appendix files are attached if you want to knit the original R file yourself.
- Reading the Seven Summits ice cream data
- Reducing to essential variables needed for analyses
- Treating missing values
- Using the
mice
package for imputing missing values - Using the
sjmisc
package to merge the 5 datasets into one. - Comparing the statistics of the original variables against the imputed variables
- Saving the imputed datasets
- Recombining the data
- Renaming the screening, brand assessment, attitude and demographic variables
- Recoding the variables
- Saving the data
- Conclusion