Question: Need help with a R coding assignment using R/R studio. Want to run a algorithm/model on a data set on how to set it up,

Need help with a R coding assignment using R/R studio. Want to run a algorithm/model on a data set on how to set it up, any help appreciated!

Link to the Data set found on Kaggle:

https://www.kaggle.com/jefsoneg/covid-19-impact-on-digital-learning/data

From the district info file (Full data set found on Kaggle / Sample screenshot uploaded below)

1. Want to compare pptotalraw vs pct_free/reduced thru a model to look for an correlation .

pptotalraw is Per-pupil total expenditure (sum of local and federal expenditure) from Edunomics Lab's National Education Resource Database on Schools (NERD$) project.

pct_free/reduced is Percentage of students in the districts eligible for free or reduced-price lunch based on 2018-19 NCES data

OR comparing Sectors found in Products csv file vs total pptotal raw in Districts csv file.

Sector is Sector of education where the product is used

There is missing values in data set so would like to know how to handle that thru coding before running any models.

Need help with a R coding assignment using R/RNeed help with a R coding assignment using R/R

A 1 LP ID 2 3 - w 4 5 6 7 8 9 10 11 12 B URL 13117 https://www.splashmath.com 66933 https://abcmouse.com 50479 https://www.abcya.com 92993 http://www.aleks.com/ 73104 https://www.achieve3000.com/ 37600 http://www.activelylearn.com/ 18663 http://www.adaptedmind.com 65131 http://www.amplify.com/ 26491 http://www.answers.com/ 56441 http://www.audible.com 89802 http://bartleby.com/ 72703 http://betterlesson.com/ 76889 https://www.blackboard.com/ 49563 https://bookcreator.com/ 55589 http://www.brainpop.com/ 84652 http://www.ck12.org 16633 http://www.cnn.com/cnn10 47364 https://www.canvas.net/ 50104 http://www.chegg.com/ 47267 http://www.classdojo.com/ C Product Name Splash Learn ABCmouse.com ABCya! ALEKS Achieve 3000 Actively Learn Adapted Mind Amplify Answers Audible Bartleby Better Lesson Blackboard Book Creator Brain POP CK-12 CNN Student News Canvas Chegg ClassDojo D E Provider/Company Na Sector(s) StudyPad Inc. PreK-12 Age of Learning, Inc PreK-12 ABCya.com, LLC PreK-12 McGraw-Hill PreK-12 PreK-12; Higher Ed Achieve 3000 PreK-12 Actively Learn PreK-12 GloWorld PreK-12 Amplify Education, Inc PreK-12 Answers Prek-12; Higher Ed Amazon.com, Inc. PreK-12; Higher Ed; Corporate Bartleby PreK-12; Higher Ed BetterLesson PreK-12; Higher Ed Blackboard Inc PreK-12; Higher Ed Tools for Schools, Inc. PreK-12 Brain POP LLC PreK-12 CK-12 Foundation PreK-12 Cable News Network PreK-12; Higher Ed; Corporate Instructure, Inc. PreK-12; Higher Ed; Corporate Chegg Prek-12; Higher Ed ClassDojo, Inc. PreK-12 F G H 1 Primary Essential Function LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Sites, Resources & Reference - Games & Simulations LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Courseware & Textbooks LC - Study Tools - Q&A LC - Sites, Resources & Reference - Streaming Services LC - Study Tools CM - Teacher Resources - Professional Learning SDO - Learning Management Systems (LMS) LC - Content Creation & Curation LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Sites, Resources & Reference LC - Online Course Providers & Technical Skills Developme LC - Study Tools CM - Classroom Engagement & Instruction - Communicati 13 14 15 16 17 18 19 20 21 H 1 j K L A 1 district id 2 3 4 5 6 7 8 9 10 B state locale 8815 Illinois Suburb 2685 NaN NaN 4921 Utah Suburb 3188 NaN NaN 2238 NaN NaN 5987 Wisconsin Suburb 3710 Utah Suburb 7177 North Carolina Suburb 9812 Utah Suburb 6584 North Carolina Rural 1044 Missouri Suburb 7457 Washington City 1904 Connecticut Rural 5527 Massachusetts Suburb 2257 New York Rural 7614 Utah City 4808 Indiana City 8515 NaN NaN 1877 Illinois Rural 2339 NaN NaN D E F G pct_black/hispanic pct_free/reduced county_connections_ratio pp_total_raw [0, 0.2 [0, 0.2[ [0.18, 10 [14000, 16000 NaN NaN NaN NaN [0, 0.21 [0.2, 0.4 [0.18, 10 [6000, 8000 NaN NaN NaN NaN NaN NaN NaN NaN [0, 0.2[ [0, 0.2[ [0.18, 11 [10000, 12000 [0, 0.21 [0.4, 0.61 [0.18, 10 [6000, 8000 [0.2, 0.4 [0.2, 0.4 [0.18, 1[ [8000, 10000[ [0, 0.2[ [0.2, 0.41 [0.18, 1[ [6000, 80000 [0.4, 0.6 [0.6, 0.81 [0.18, 11 [8000, 10000 [0, 0.2[ [0, 0.21 [10000, 12000 [0.4, 0.61 [0.4, 0.61 [0.18, 11 [12000, 14000 [0, 0.2[ [0, 0.21 [0.18, 11 [0, 0.2[ [16000, 18000 [0, 0.2[ [0.2, 0.41 [20000, 22000[ [0.2, 0.4 [0.2, 0.4 [0.18, 11 [8000, 10000[ [0.8, 1[ [0.8, 11 [0.18, 1[ [8000, 10000[ NaN NaN NaN NaN [0, 0.2[ [0, 0.2[ [0.18, 10 [12000, 14000 NaN NaN NaN NaN 11 12 13 14 15 16 17 18 19 20 21 A 1 LP ID 2 3 - w 4 5 6 7 8 9 10 11 12 B URL 13117 https://www.splashmath.com 66933 https://abcmouse.com 50479 https://www.abcya.com 92993 http://www.aleks.com/ 73104 https://www.achieve3000.com/ 37600 http://www.activelylearn.com/ 18663 http://www.adaptedmind.com 65131 http://www.amplify.com/ 26491 http://www.answers.com/ 56441 http://www.audible.com 89802 http://bartleby.com/ 72703 http://betterlesson.com/ 76889 https://www.blackboard.com/ 49563 https://bookcreator.com/ 55589 http://www.brainpop.com/ 84652 http://www.ck12.org 16633 http://www.cnn.com/cnn10 47364 https://www.canvas.net/ 50104 http://www.chegg.com/ 47267 http://www.classdojo.com/ C Product Name Splash Learn ABCmouse.com ABCya! ALEKS Achieve 3000 Actively Learn Adapted Mind Amplify Answers Audible Bartleby Better Lesson Blackboard Book Creator Brain POP CK-12 CNN Student News Canvas Chegg ClassDojo D E Provider/Company Na Sector(s) StudyPad Inc. PreK-12 Age of Learning, Inc PreK-12 ABCya.com, LLC PreK-12 McGraw-Hill PreK-12 PreK-12; Higher Ed Achieve 3000 PreK-12 Actively Learn PreK-12 GloWorld PreK-12 Amplify Education, Inc PreK-12 Answers Prek-12; Higher Ed Amazon.com, Inc. PreK-12; Higher Ed; Corporate Bartleby PreK-12; Higher Ed BetterLesson PreK-12; Higher Ed Blackboard Inc PreK-12; Higher Ed Tools for Schools, Inc. PreK-12 Brain POP LLC PreK-12 CK-12 Foundation PreK-12 Cable News Network PreK-12; Higher Ed; Corporate Instructure, Inc. PreK-12; Higher Ed; Corporate Chegg Prek-12; Higher Ed ClassDojo, Inc. PreK-12 F G H 1 Primary Essential Function LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Sites, Resources & Reference - Games & Simulations LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Courseware & Textbooks LC - Study Tools - Q&A LC - Sites, Resources & Reference - Streaming Services LC - Study Tools CM - Teacher Resources - Professional Learning SDO - Learning Management Systems (LMS) LC - Content Creation & Curation LC - Digital Learning Platforms LC - Digital Learning Platforms LC - Sites, Resources & Reference LC - Online Course Providers & Technical Skills Developme LC - Study Tools CM - Classroom Engagement & Instruction - Communicati 13 14 15 16 17 18 19 20 21 H 1 j K L A 1 district id 2 3 4 5 6 7 8 9 10 B state locale 8815 Illinois Suburb 2685 NaN NaN 4921 Utah Suburb 3188 NaN NaN 2238 NaN NaN 5987 Wisconsin Suburb 3710 Utah Suburb 7177 North Carolina Suburb 9812 Utah Suburb 6584 North Carolina Rural 1044 Missouri Suburb 7457 Washington City 1904 Connecticut Rural 5527 Massachusetts Suburb 2257 New York Rural 7614 Utah City 4808 Indiana City 8515 NaN NaN 1877 Illinois Rural 2339 NaN NaN D E F G pct_black/hispanic pct_free/reduced county_connections_ratio pp_total_raw [0, 0.2 [0, 0.2[ [0.18, 10 [14000, 16000 NaN NaN NaN NaN [0, 0.21 [0.2, 0.4 [0.18, 10 [6000, 8000 NaN NaN NaN NaN NaN NaN NaN NaN [0, 0.2[ [0, 0.2[ [0.18, 11 [10000, 12000 [0, 0.21 [0.4, 0.61 [0.18, 10 [6000, 8000 [0.2, 0.4 [0.2, 0.4 [0.18, 1[ [8000, 10000[ [0, 0.2[ [0.2, 0.41 [0.18, 1[ [6000, 80000 [0.4, 0.6 [0.6, 0.81 [0.18, 11 [8000, 10000 [0, 0.2[ [0, 0.21 [10000, 12000 [0.4, 0.61 [0.4, 0.61 [0.18, 11 [12000, 14000 [0, 0.2[ [0, 0.21 [0.18, 11 [0, 0.2[ [16000, 18000 [0, 0.2[ [0.2, 0.41 [20000, 22000[ [0.2, 0.4 [0.2, 0.4 [0.18, 11 [8000, 10000[ [0.8, 1[ [0.8, 11 [0.18, 1[ [8000, 10000[ NaN NaN NaN NaN [0, 0.2[ [0, 0.2[ [0.18, 10 [12000, 14000 NaN NaN NaN NaN 11 12 13 14 15 16 17 18 19 20 21

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!