SlideShare une entreprise Scribd logo
1  sur  2
# print the total payments at the end
Functions
Create functions that take five arguments and multiplies them according to the type of object
they are: Scalar, Vector, Matrix, Plot each of the functions that you have constructed.
Deliverables
Markdown Documents to include appropriate screenshots (with descriptions).
Then, in 250-500 words, explain each control statement and function in your own words. Make
sure to address when and why each would be used in data science practices as well as justify
your rationale using sound statistical arguments and associated formulas.
APA style is not required, but solid academic writing is expected
Assessment Description It is essential in data science and related disciplines to understand the
most basic decision-making processes in computing as well as to distinguish when, why and how
these specific practicesitools should be employed. For example, consider the following scenario
of a real-werid case study. Immigration is a controversial topic. Policies are made, enacted, and
entorced based upon what the voters want and civil rights. To figure out if a policy is effective
such as the Dreamers Act, a firm is hired to conduct a statistical analysis on how well
participants are faring in comparison to those not in the program. By using the R programming
fundamentals to create an R program, the firm can evaluate the effectiveness of potential
policy(s) Practice The exercises below include various aspects of R programing that allow one to
perform statistical operations in various applications. Arhough they are unrelated to any one
scenario, they are practice examples you can use in your toolbox to evaluate data in a statistical
analysis. Read Chapters 5 and 6 in "An Introduction to Statistical Programming Methods with
R," located in the topic Resources. Access R Studio. Then, demonstrate how to work with each
control statement and function as outlined below. Take appropriate screenshots (with
descriptions) as needed. All documentation should be completed with the necessary markdown
documents. Lotical Oneraters Choose five logical operators. In a table, write up the following
and then execute your example. The Command, The Description, Your Own Example, The
Result Selection Operaters Create your own if statement where there are five Code Blocks (e.g.,
Code block A, Code block B, etc.). Construct a diagram of the if statement that you created (use
correct flowchart symbols). Create your own itlelse statement where there are five Code Blocks
(e.g. Code block A, Code block B, etc.) Construct a diagram of the iflelse statement that you
created (use correct flowchart symbols). Create your own iflelseifielse statement where there are
five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the
iffelseitfelse statement that you created (use correct flowchart symbols). Create your own switch
condition where there are five statements (e.g. create a story of wearing clothes based upon the
weather]. Construct a diagram of the switch condition that you created (use correct flowchart
symbols)- Loops Create a for loop where the output increments by a single digit 20 times. Create
a for loop that utilizes the next command where the output increments to 35 with only the odd
numbers showing in the output. Ubizize the following scenario and pseudocode to construct an R
script, then run the script and display the results: There is a nice young couple who needs to
borrow $500 , 000 from their local bank to purchase a home. The annual interest rate is 4.75%
annually. The lifetime of the mortgage is a 30-year loan, so they need to pay it off within 360
months. The couple decides that paying $1 , 750 per month would be best tor them as their
monthly mortgage payment. Will they pay the loan off in time with those numbers? Pseudocode
example (the pseudocode below are some basic components you should consider...you can
construct as you see fili): # setup H convert annual interest to a monthly multiplier # keep
looping until the loan is paid off.. It print the results on screen I. end of loop
# print the total payments at the end Functions Create functions that.docx

Contenu connexe

Plus de JakeAB0Hodgest

#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
JakeAB0Hodgest
 

Plus de JakeAB0Hodgest (20)

(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
 
(a) Show that n is o(nlogn)-.docx
(a) Show that n is o(nlogn)-.docx(a) Show that n is o(nlogn)-.docx
(a) Show that n is o(nlogn)-.docx
 
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
 
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
 
(a) If the knowledge that an event A has occurred implies that a secon.docx
(a) If the knowledge that an event A has occurred implies that a secon.docx(a) If the knowledge that an event A has occurred implies that a secon.docx
(a) If the knowledge that an event A has occurred implies that a secon.docx
 
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
 
(a) Auditors (Internal -& External) are required to deal with fraud an.docx
(a) Auditors (Internal -& External) are required to deal with fraud an.docx(a) Auditors (Internal -& External) are required to deal with fraud an.docx
(a) Auditors (Internal -& External) are required to deal with fraud an.docx
 
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
 
(a) (2 Points) Given the following chart for the s(t) signal which con.docx
(a) (2 Points) Given the following chart for the s(t) signal which con.docx(a) (2 Points) Given the following chart for the s(t) signal which con.docx
(a) (2 Points) Given the following chart for the s(t) signal which con.docx
 
(5 points) Suppose the government raises both taxes and spending by $2.docx
(5 points) Suppose the government raises both taxes and spending by $2.docx(5 points) Suppose the government raises both taxes and spending by $2.docx
(5 points) Suppose the government raises both taxes and spending by $2.docx
 
(4 Points) Explain the differences between Capitalism and a Command ec.docx
(4 Points) Explain the differences between Capitalism and a Command ec.docx(4 Points) Explain the differences between Capitalism and a Command ec.docx
(4 Points) Explain the differences between Capitalism and a Command ec.docx
 
(3) Parse the string- n+n.docx
(3) Parse the string- n+n.docx(3) Parse the string- n+n.docx
(3) Parse the string- n+n.docx
 
$500 million- and investors want to spend $400 million at every level (8).docx
$500 million- and investors want to spend $400 million at every level (8).docx$500 million- and investors want to spend $400 million at every level (8).docx
$500 million- and investors want to spend $400 million at every level (8).docx
 
( 1 point) In a certain community- 30- of the families own a dog- and.docx
( 1 point) In a certain community- 30- of the families own a dog- and.docx( 1 point) In a certain community- 30- of the families own a dog- and.docx
( 1 point) In a certain community- 30- of the families own a dog- and.docx
 
$500 million- and investors want to spend $400 million at every level (3).docx
$500 million- and investors want to spend $400 million at every level (3).docx$500 million- and investors want to spend $400 million at every level (3).docx
$500 million- and investors want to spend $400 million at every level (3).docx
 
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
 
#8 PLEASE HELP +11-1302-11-130c11015001+150.docx
#8 PLEASE HELP  +11-1302-11-130c11015001+150.docx#8 PLEASE HELP  +11-1302-11-130c11015001+150.docx
#8 PLEASE HELP +11-1302-11-130c11015001+150.docx
 
#5 PLEASE HELP 1281201311418614119315119042174174 2- Thantes pequatse.docx
#5 PLEASE HELP  1281201311418614119315119042174174 2- Thantes pequatse.docx#5 PLEASE HELP  1281201311418614119315119042174174 2- Thantes pequatse.docx
#5 PLEASE HELP 1281201311418614119315119042174174 2- Thantes pequatse.docx
 
#10 Using your version of the SAMS tables- write one insert statement.docx
#10 Using your version of the SAMS tables- write one insert statement.docx#10 Using your version of the SAMS tables- write one insert statement.docx
#10 Using your version of the SAMS tables- write one insert statement.docx
 
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
 

Dernier

Dernier (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

# print the total payments at the end Functions Create functions that.docx

  • 1. # print the total payments at the end Functions Create functions that take five arguments and multiplies them according to the type of object they are: Scalar, Vector, Matrix, Plot each of the functions that you have constructed. Deliverables Markdown Documents to include appropriate screenshots (with descriptions). Then, in 250-500 words, explain each control statement and function in your own words. Make sure to address when and why each would be used in data science practices as well as justify your rationale using sound statistical arguments and associated formulas. APA style is not required, but solid academic writing is expected Assessment Description It is essential in data science and related disciplines to understand the most basic decision-making processes in computing as well as to distinguish when, why and how these specific practicesitools should be employed. For example, consider the following scenario of a real-werid case study. Immigration is a controversial topic. Policies are made, enacted, and entorced based upon what the voters want and civil rights. To figure out if a policy is effective such as the Dreamers Act, a firm is hired to conduct a statistical analysis on how well participants are faring in comparison to those not in the program. By using the R programming fundamentals to create an R program, the firm can evaluate the effectiveness of potential policy(s) Practice The exercises below include various aspects of R programing that allow one to perform statistical operations in various applications. Arhough they are unrelated to any one scenario, they are practice examples you can use in your toolbox to evaluate data in a statistical analysis. Read Chapters 5 and 6 in "An Introduction to Statistical Programming Methods with R," located in the topic Resources. Access R Studio. Then, demonstrate how to work with each control statement and function as outlined below. Take appropriate screenshots (with descriptions) as needed. All documentation should be completed with the necessary markdown documents. Lotical Oneraters Choose five logical operators. In a table, write up the following and then execute your example. The Command, The Description, Your Own Example, The Result Selection Operaters Create your own if statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the if statement that you created (use correct flowchart symbols). Create your own itlelse statement where there are five Code Blocks (e.g. Code block A, Code block B, etc.) Construct a diagram of the iflelse statement that you created (use correct flowchart symbols). Create your own iflelseifielse statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the iffelseitfelse statement that you created (use correct flowchart symbols). Create your own switch condition where there are five statements (e.g. create a story of wearing clothes based upon the weather]. Construct a diagram of the switch condition that you created (use correct flowchart symbols)- Loops Create a for loop where the output increments by a single digit 20 times. Create a for loop that utilizes the next command where the output increments to 35 with only the odd numbers showing in the output. Ubizize the following scenario and pseudocode to construct an R script, then run the script and display the results: There is a nice young couple who needs to borrow $500 , 000 from their local bank to purchase a home. The annual interest rate is 4.75% annually. The lifetime of the mortgage is a 30-year loan, so they need to pay it off within 360 months. The couple decides that paying $1 , 750 per month would be best tor them as their monthly mortgage payment. Will they pay the loan off in time with those numbers? Pseudocode example (the pseudocode below are some basic components you should consider...you can construct as you see fili): # setup H convert annual interest to a monthly multiplier # keep looping until the loan is paid off.. It print the results on screen I. end of loop