Saraswathi Analytics provides Visual Analytics Week 10 solution (Visual Analytics - 202051 - CRN140).
The broom Package
- load the broom library
- use tidy() on the out dataframe to produce a new dataframe of component level information. Store the result in out_comp.
- round all the columns to two decimal places using round_df().
- Produce a flipped scatter plot of Term v. Estimate
- Produce a new tidy output of out including confidence intervals. Store it in a variable called out_conf after rounding the dataframe to two decimals.
- Remove the intercept column and the term continent from the label and make a plot of points with whiskers to show the coefficients with a confidence range and order the output from smallest to largest.
- use the head function to see the first six rows after applying the augment function to out. Store the result in out_aug.
- Add the data back into out_aug with the data = argument.
- plot the .fitted data v. the .resid data
- What does this graph show?
- using the pipe round the output of glance(out)
Submit a Word document by Sunday at midnight with screen shots of your work and text. Explain what each image is.
Note:
- Only for knowledge gain and helping to the students(who are facing difficulties when solving to the Assessments/ Home works) with their course support.