SlideShare a Scribd company logo
Computing and Data Analysis for Environmental
Applications/Uncertainty in Engineering
Statistics Assignment Help
For any Statistics related queries, Call us at - +1 678 648 4277
You can mail us at - info@statisticsassignmenthelp.com, or reach us at - https://www.statisticsassignmenthelp.com/
Problem 1
Go to the US census bureau web site at http://www.census.gov/statab/www/ranks.html todownload data giving personal income and other
information by state. To do this click on the “Personal Income Per Person” Excel link on the web site and save an Excel file containing the desired (1999)
income data as well as various other things in your own working directory. Open the file in Excel and copy all lines in column 2: income per capita for
each of the 50 states plus DC. Go into MATLAB and open a new file. Paste the income data in the file and save it as a .txt file. The file should consist of
one column of numbers, with no text. Use the find and replace … option under edit to remove all commas (the commas confuse MATLAB). You can use
another editor if you prefer.
After you have simplified the file in this way save it.
You should write a MATLAB script in a file called census.m to process the census data.To bring the data into MATLAB you can use the load command:
load filename.txt
Now repeat the entire download process for the “Energy Consumption Per Person” link in the census web site, creating a new array called energy in
your script. Pick two
other variables of interest to you from the list provided on this site. In your script create arrays for each of these indicators with appropriate names, just
as you did for income andenergy. Be sure to divide totals by population if you want to compare per capita values.
Now include in your MATLAB script the ability to plot histograms and CDFs for each ofthe four data sets you downloaded from the census site. Also
compute the mean, median,and variance for each data set. Plot a scatter diagram of energy consumption vs. income.Plot two other scatter diagrams of
interest to you, selecting from the variables offered on the web site. Briefly indicate what each of these three scatter diagrams suggest to you.
In your discussion pay particular consideration to outliers that may violate a generaltrend.
0
Be sure to include labels on the plots you produce. The preferred approach is to createthese labels from within the script, by using the xlabel, ylabel,
and title functions (seeMATLAB Help and the example from Recitation 1). Be sure also to turn in the MATLAB output giving the values you calculated for
mean, median, and variance in addition to the plots and your program.
Statistics Assignment Help
% Problem 1
close all
clear all
load income.txt % per capita income in 1996 dollars
load energy.txt % per capita energy use in mil Btu
load fed_aid.txt % per capita federal aid in 1996 dollars
load unemployment.txt % percent unemployment
mean(income)
median(income)
var(income)
mean(energy)
median(energy)
var(energy)
mean(fed_aid)
median(fed_aid) Problem 1
var(fed_aid)
mean(unemployment)
median(unemployment)
var(unemployment)
Statistics Assignment Help
plot histograms and cdf's for each
figure
hist(income,6)
xlabel('Average Per Capita Income in 1996 USD')
ylabel('Number of States in Range')
title('Histogram of Per Capita Income for the 50 States and DC')
figure
cdfplot(income)
xlabel('Average Per Capita Income in 1996 USD')
ylabel('F(income)')
title('Cumulative Distribution Function of Per Capita Income for the 50 States and DC')
figure
hist(energy,6)
xlabel('Per Capita Energy Use in mil Btu')
ylabel('Number of States in Range')
title('Histogram of Per Capita Energy Use for the 50 States and DC')
figure
cdfplot(energy)
xlabel('Per Capita Energy Use in mil Btu')
ylabel('F(energy)')
title('Cumulative Distribution Function of Per Capita Energy Use for the 50 States and DC')
Statistics Assignment Help
figure
hist(fed_aid,5)
xlabel('Per Capita Federal Aid in 1996 USD')
ylabel('Number of States in Range')
title('Histogram of Per Capita Federal Aid for the 50 States and DC')
figure
cdfplot(fed_aid)
xlabel('Per Capita Federal Aid in 1996 USD')
ylabel('F(Aid)')
title('Cumulative Distribution Function of Per Capita Federal Aid for the 50 States and DC')
figure
hist(unemployment,6)
xlabel('Unemployment Rate [%]')
title('Histogram of Unemployment Rate for the 50 States and DC')
figure
cdfplot(unemployment)
xlabel('Unemployment Rate [%]')
ylabel('F(Unemployment)')
title('Cumulative Distribution Function of Unemployment Rate for the 50 States and DC')
Statistics Assignment Help
figure
plot(income,energy,'*')
title('Per Capita Energy Use vs Income')
xlabel('Income [1996 USD]')
ylabel('Energy [mil BTU]')
figure
plot(income,fed_aid,'o')
title('Per Capita Federal Aid vs Income')
xlabel('Income [1996 USD]')
ylabel('Federal Aid [1996 USD]')
figure
plot(income,unemployment,'x')
title('Unemployment Rate vs Per Capita Income')
xlabel('Income [1996 USD]')
ylabel('Unemployment Rate [%]')
Statistics Assignment Help
Problem 2
Write a MATLAB script that computes tidal elevation h (in m) from the following threeterm series:
h(t) = 0.2Sin(0.5w t) + 3.0Sin(w t) + 1.0Sin(2w t)
where w = 2p/24 hr-1. Define a vector time with 1001 values [0. 0.1 0.2 ….. 100.0.] spaced every 0.1 hours from t = 0 to t = 100 hrs. Use the vector
capabilities of the MATLAB sin function to compute a vector of 1001 corresponding tidal elevations with asingle equation. Read the MATLAB help
discussion of the sin(X) function to make surethat you understand how it provides element-wise evaluations of vector arguments. Plot the tidal elevations
from vs. time. Label both axes and include a plot title.
Statistics Assignment Help
Problem 2
close all
clear all
compute tidal elevation
omega=2*pi/24; % [hr^-1]
time=0:.1:100;
h=0.2*sin(0.5*omega*time)+3*sin(omega*time)+sin(2*omega*time);
figure
plot(time,h)
title('Tidal Elevation vs Time')
xlabel('Time [hr]')
ylabel('Tidal Elevation [m]')
Statistics Assignment Help

More Related Content

What's hot

R studio
R studio R studio
R studio
Kinza Irshad
 
Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2
izahn
 
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
The Statistical and Applied Mathematical Sciences Institute
 
Data visualization with R
Data visualization with RData visualization with R
Data visualization with R
Biswajeet Dasmajumdar
 
Variables in matlab
Variables in matlabVariables in matlab
Variables in matlabTUOS-Sam
 
Matlab on basic mathematics
Matlab on basic mathematicsMatlab on basic mathematics
Matlab on basic mathematics
monauweralam1
 
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
The Statistical and Applied Mathematical Sciences Institute
 
Maple
MapleMaple
Unit 2.1
Unit 2.1Unit 2.1
Unit 2.1
Mark Ryder
 
Matlab plotting
Matlab plottingMatlab plotting
Matlab plotting
pink1710
 
Image Processing Homework 1
Image Processing Homework 1Image Processing Homework 1
Image Processing Homework 1Joshua Smith
 
Graph Plots in Matlab
Graph Plots in MatlabGraph Plots in Matlab
Graph Plots in Matlab
DataminingTools Inc
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
Mason Ziemer
 
2. data types, variables and operators
2. data types, variables and operators2. data types, variables and operators
2. data types, variables and operators
PhD Research Scholar
 
133467 p2a5
133467 p2a5133467 p2a5

What's hot (19)

R studio
R studio R studio
R studio
 
Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2Introduction to R Graphics with ggplot2
Introduction to R Graphics with ggplot2
 
R9
R9R9
R9
 
Functions
FunctionsFunctions
Functions
 
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
QMC: Undergraduate Workshop, Tutorial on 'R' Software - Yawen Guan, Feb 26, 2...
 
Data visualization with R
Data visualization with RData visualization with R
Data visualization with R
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
 
Variables in matlab
Variables in matlabVariables in matlab
Variables in matlab
 
Matlab on basic mathematics
Matlab on basic mathematicsMatlab on basic mathematics
Matlab on basic mathematics
 
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
NCCU: Statistics in the Criminal Justice System, R basics and Simulation - Pr...
 
Maple
MapleMaple
Maple
 
2 simple regression
2   simple regression2   simple regression
2 simple regression
 
Unit 2.1
Unit 2.1Unit 2.1
Unit 2.1
 
Matlab plotting
Matlab plottingMatlab plotting
Matlab plotting
 
Image Processing Homework 1
Image Processing Homework 1Image Processing Homework 1
Image Processing Homework 1
 
Graph Plots in Matlab
Graph Plots in MatlabGraph Plots in Matlab
Graph Plots in Matlab
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
2. data types, variables and operators
2. data types, variables and operators2. data types, variables and operators
2. data types, variables and operators
 
133467 p2a5
133467 p2a5133467 p2a5
133467 p2a5
 

Similar to Computing and Data Analysis for Environmental Applications

Devry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newDevry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-new
shyaminfo104
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
MaryWall14
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
cockekeshia
 
Devry bis 155 final exam guide (music on demand) new
Devry bis 155 final exam guide (music on demand) newDevry bis 155 final exam guide (music on demand) new
Devry bis 155 final exam guide (music on demand) new
uopassignment
 
Itm310 problem solving #7 complete solutions correct answers key
Itm310 problem solving #7 complete solutions correct answers keyItm310 problem solving #7 complete solutions correct answers key
Itm310 problem solving #7 complete solutions correct answers key
Song Love
 
Environmental Engineering Assignment Help
Environmental Engineering Assignment HelpEnvironmental Engineering Assignment Help
Environmental Engineering Assignment Help
Matlab Assignment Experts
 
Dervy bis 155 final exam guide music on demand new
Dervy  bis 155 final exam guide  music on demand  newDervy  bis 155 final exam guide  music on demand  new
Dervy bis 155 final exam guide music on demand new
kxipvscsk02
 
Dervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-newDervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-new
individual484
 
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docxSheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
lesleyryder69361
 
Cover PageComplete and copy the following to Word for your cover p.docx
Cover PageComplete and copy the following to Word for your cover p.docxCover PageComplete and copy the following to Word for your cover p.docx
Cover PageComplete and copy the following to Word for your cover p.docx
faithxdunce63732
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
braycarissa250
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF Complete
TsamaraLuthfia1
 
Bis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.comBis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.com
Baileya121
 
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docxLabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
DIPESH30
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)
Laura Hughes
 
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docxJohn MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
vrickens
 
Bis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.comBis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.com
Davis142
 
Bis 155 Effective Communication / snaptutorial.com
Bis 155  Effective Communication / snaptutorial.comBis 155  Effective Communication / snaptutorial.com
Bis 155 Effective Communication / snaptutorial.com
Baileyac
 

Similar to Computing and Data Analysis for Environmental Applications (20)

Devry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-newDevry bis-155-final-exam-guide-new
Devry bis-155-final-exam-guide-new
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
 
Devry bis 155 final exam guide (music on demand) new
Devry bis 155 final exam guide (music on demand) newDevry bis 155 final exam guide (music on demand) new
Devry bis 155 final exam guide (music on demand) new
 
Itm310 problem solving #7 complete solutions correct answers key
Itm310 problem solving #7 complete solutions correct answers keyItm310 problem solving #7 complete solutions correct answers key
Itm310 problem solving #7 complete solutions correct answers key
 
Environmental Engineering Assignment Help
Environmental Engineering Assignment HelpEnvironmental Engineering Assignment Help
Environmental Engineering Assignment Help
 
Dervy bis 155 final exam guide music on demand new
Dervy  bis 155 final exam guide  music on demand  newDervy  bis 155 final exam guide  music on demand  new
Dervy bis 155 final exam guide music on demand new
 
Dervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-newDervy bis-155-final-exam-guide-music-on-demand-new
Dervy bis-155-final-exam-guide-music-on-demand-new
 
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docxSheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
Sheet1 Intermediate Business StatisticsExcel Exercise - Enter your.docx
 
Cover PageComplete and copy the following to Word for your cover p.docx
Cover PageComplete and copy the following to Word for your cover p.docxCover PageComplete and copy the following to Word for your cover p.docx
Cover PageComplete and copy the following to Word for your cover p.docx
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
1. Question #2 - Page # 88, Use data P02_03.xlsx.The file P02_03.docx
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF Complete
 
Bis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.comBis 155 Education Organization / snaptutorial.com
Bis 155 Education Organization / snaptutorial.com
 
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docxLabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)
 
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docxJohn MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
John MacLean, Supply Chain Manager of the YearPurchasingBy Pau.docx
 
Bis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.comBis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.com
 
Bis 155 Effective Communication / snaptutorial.com
Bis 155  Effective Communication / snaptutorial.comBis 155  Effective Communication / snaptutorial.com
Bis 155 Effective Communication / snaptutorial.com
 

More from Statistics Assignment Help

Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Statistics Assignment Help
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
Statistics Assignment Help
 
Pay For Statistics Assignment
Pay For Statistics AssignmentPay For Statistics Assignment
Pay For Statistics Assignment
Statistics Assignment Help
 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
Statistics Assignment Help
 
Data Analysis Assignment Help
Data Analysis Assignment HelpData Analysis Assignment Help
Data Analysis Assignment Help
Statistics Assignment Help
 
R Programming Assignment Help
R Programming Assignment HelpR Programming Assignment Help
R Programming Assignment Help
Statistics Assignment Help
 
Hypothesis Assignment Help
Hypothesis Assignment HelpHypothesis Assignment Help
Hypothesis Assignment Help
Statistics Assignment Help
 
The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...
Statistics Assignment Help
 
T- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment HelpT- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment Help
Statistics Assignment Help
 
Linear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.pptLinear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.ppt
Statistics Assignment Help
 
Stata Assignment Help
Stata Assignment HelpStata Assignment Help
Stata Assignment Help
Statistics Assignment Help
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
Statistics Assignment Help
 
Probability and Statistics Assignment Help
Probability and Statistics Assignment HelpProbability and Statistics Assignment Help
Probability and Statistics Assignment Help
Statistics Assignment Help
 
Mathematical Statistics Assignment Help
Mathematical Statistics Assignment HelpMathematical Statistics Assignment Help
Mathematical Statistics Assignment Help
Statistics Assignment Help
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
Statistics Assignment Help
 
Statistics Coursework Assignment Help
Statistics Coursework Assignment HelpStatistics Coursework Assignment Help
Statistics Coursework Assignment Help
Statistics Assignment Help
 
Advanced Statistics Assignment help
Advanced Statistics Assignment helpAdvanced Statistics Assignment help
Advanced Statistics Assignment help
Statistics Assignment Help
 
Statistics Coursework Help
Statistics Coursework HelpStatistics Coursework Help
Statistics Coursework Help
Statistics Assignment Help
 
Probabilistic systems assignment help
Probabilistic systems assignment helpProbabilistic systems assignment help
Probabilistic systems assignment help
Statistics Assignment Help
 
Probabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment HelpProbabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment Help
Statistics Assignment Help
 

More from Statistics Assignment Help (20)

Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
Get Accurate and Reliable Statistics Assignment Help - Boost Your Grades!
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
 
Pay For Statistics Assignment
Pay For Statistics AssignmentPay For Statistics Assignment
Pay For Statistics Assignment
 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
 
Data Analysis Assignment Help
Data Analysis Assignment HelpData Analysis Assignment Help
Data Analysis Assignment Help
 
R Programming Assignment Help
R Programming Assignment HelpR Programming Assignment Help
R Programming Assignment Help
 
Hypothesis Assignment Help
Hypothesis Assignment HelpHypothesis Assignment Help
Hypothesis Assignment Help
 
The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...The Data of an Observational Study Designed to Compare the Effectiveness of a...
The Data of an Observational Study Designed to Compare the Effectiveness of a...
 
T- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment HelpT- Test and ANOVA using SPSS Assignment Help
T- Test and ANOVA using SPSS Assignment Help
 
Linear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.pptLinear Regression Analysis assignment help.ppt
Linear Regression Analysis assignment help.ppt
 
Stata Assignment Help
Stata Assignment HelpStata Assignment Help
Stata Assignment Help
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
 
Probability and Statistics Assignment Help
Probability and Statistics Assignment HelpProbability and Statistics Assignment Help
Probability and Statistics Assignment Help
 
Mathematical Statistics Assignment Help
Mathematical Statistics Assignment HelpMathematical Statistics Assignment Help
Mathematical Statistics Assignment Help
 
Statistics Assignment Help
Statistics Assignment HelpStatistics Assignment Help
Statistics Assignment Help
 
Statistics Coursework Assignment Help
Statistics Coursework Assignment HelpStatistics Coursework Assignment Help
Statistics Coursework Assignment Help
 
Advanced Statistics Assignment help
Advanced Statistics Assignment helpAdvanced Statistics Assignment help
Advanced Statistics Assignment help
 
Statistics Coursework Help
Statistics Coursework HelpStatistics Coursework Help
Statistics Coursework Help
 
Probabilistic systems assignment help
Probabilistic systems assignment helpProbabilistic systems assignment help
Probabilistic systems assignment help
 
Probabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment HelpProbabilistic Systems Analysis Assignment Help
Probabilistic Systems Analysis Assignment Help
 

Recently uploaded

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 

Computing and Data Analysis for Environmental Applications

  • 1. Computing and Data Analysis for Environmental Applications/Uncertainty in Engineering Statistics Assignment Help For any Statistics related queries, Call us at - +1 678 648 4277 You can mail us at - info@statisticsassignmenthelp.com, or reach us at - https://www.statisticsassignmenthelp.com/
  • 2. Problem 1 Go to the US census bureau web site at http://www.census.gov/statab/www/ranks.html todownload data giving personal income and other information by state. To do this click on the “Personal Income Per Person” Excel link on the web site and save an Excel file containing the desired (1999) income data as well as various other things in your own working directory. Open the file in Excel and copy all lines in column 2: income per capita for each of the 50 states plus DC. Go into MATLAB and open a new file. Paste the income data in the file and save it as a .txt file. The file should consist of one column of numbers, with no text. Use the find and replace … option under edit to remove all commas (the commas confuse MATLAB). You can use another editor if you prefer. After you have simplified the file in this way save it. You should write a MATLAB script in a file called census.m to process the census data.To bring the data into MATLAB you can use the load command: load filename.txt Now repeat the entire download process for the “Energy Consumption Per Person” link in the census web site, creating a new array called energy in your script. Pick two other variables of interest to you from the list provided on this site. In your script create arrays for each of these indicators with appropriate names, just as you did for income andenergy. Be sure to divide totals by population if you want to compare per capita values. Now include in your MATLAB script the ability to plot histograms and CDFs for each ofthe four data sets you downloaded from the census site. Also compute the mean, median,and variance for each data set. Plot a scatter diagram of energy consumption vs. income.Plot two other scatter diagrams of interest to you, selecting from the variables offered on the web site. Briefly indicate what each of these three scatter diagrams suggest to you. In your discussion pay particular consideration to outliers that may violate a generaltrend. 0 Be sure to include labels on the plots you produce. The preferred approach is to createthese labels from within the script, by using the xlabel, ylabel, and title functions (seeMATLAB Help and the example from Recitation 1). Be sure also to turn in the MATLAB output giving the values you calculated for mean, median, and variance in addition to the plots and your program. Statistics Assignment Help
  • 3. % Problem 1 close all clear all load income.txt % per capita income in 1996 dollars load energy.txt % per capita energy use in mil Btu load fed_aid.txt % per capita federal aid in 1996 dollars load unemployment.txt % percent unemployment mean(income) median(income) var(income) mean(energy) median(energy) var(energy) mean(fed_aid) median(fed_aid) Problem 1 var(fed_aid) mean(unemployment) median(unemployment) var(unemployment) Statistics Assignment Help
  • 4. plot histograms and cdf's for each figure hist(income,6) xlabel('Average Per Capita Income in 1996 USD') ylabel('Number of States in Range') title('Histogram of Per Capita Income for the 50 States and DC') figure cdfplot(income) xlabel('Average Per Capita Income in 1996 USD') ylabel('F(income)') title('Cumulative Distribution Function of Per Capita Income for the 50 States and DC') figure hist(energy,6) xlabel('Per Capita Energy Use in mil Btu') ylabel('Number of States in Range') title('Histogram of Per Capita Energy Use for the 50 States and DC') figure cdfplot(energy) xlabel('Per Capita Energy Use in mil Btu') ylabel('F(energy)') title('Cumulative Distribution Function of Per Capita Energy Use for the 50 States and DC') Statistics Assignment Help
  • 5. figure hist(fed_aid,5) xlabel('Per Capita Federal Aid in 1996 USD') ylabel('Number of States in Range') title('Histogram of Per Capita Federal Aid for the 50 States and DC') figure cdfplot(fed_aid) xlabel('Per Capita Federal Aid in 1996 USD') ylabel('F(Aid)') title('Cumulative Distribution Function of Per Capita Federal Aid for the 50 States and DC') figure hist(unemployment,6) xlabel('Unemployment Rate [%]') title('Histogram of Unemployment Rate for the 50 States and DC') figure cdfplot(unemployment) xlabel('Unemployment Rate [%]') ylabel('F(Unemployment)') title('Cumulative Distribution Function of Unemployment Rate for the 50 States and DC') Statistics Assignment Help
  • 6. figure plot(income,energy,'*') title('Per Capita Energy Use vs Income') xlabel('Income [1996 USD]') ylabel('Energy [mil BTU]') figure plot(income,fed_aid,'o') title('Per Capita Federal Aid vs Income') xlabel('Income [1996 USD]') ylabel('Federal Aid [1996 USD]') figure plot(income,unemployment,'x') title('Unemployment Rate vs Per Capita Income') xlabel('Income [1996 USD]') ylabel('Unemployment Rate [%]') Statistics Assignment Help
  • 7. Problem 2 Write a MATLAB script that computes tidal elevation h (in m) from the following threeterm series: h(t) = 0.2Sin(0.5w t) + 3.0Sin(w t) + 1.0Sin(2w t) where w = 2p/24 hr-1. Define a vector time with 1001 values [0. 0.1 0.2 ….. 100.0.] spaced every 0.1 hours from t = 0 to t = 100 hrs. Use the vector capabilities of the MATLAB sin function to compute a vector of 1001 corresponding tidal elevations with asingle equation. Read the MATLAB help discussion of the sin(X) function to make surethat you understand how it provides element-wise evaluations of vector arguments. Plot the tidal elevations from vs. time. Label both axes and include a plot title. Statistics Assignment Help
  • 8. Problem 2 close all clear all compute tidal elevation omega=2*pi/24; % [hr^-1] time=0:.1:100; h=0.2*sin(0.5*omega*time)+3*sin(omega*time)+sin(2*omega*time); figure plot(time,h) title('Tidal Elevation vs Time') xlabel('Time [hr]') ylabel('Tidal Elevation [m]') Statistics Assignment Help