Question

In MATLAB: I have a project where I am mapping driving routes on the East Coast from some destination Point A to Point B. I have to perform a statistical analysis on this data, which is an output from my code. How would I go about this? This is my data (below). Trip 1 - 253.25 miles, travel time = 281.10 mins, average speed = 53.50 Trip 2 - 104.06 miles, travel time = 124.87 mins, average speed = 50.00 Trip 3 - 361.18 miles, travel time = 379.31 mins, average speed = 57.86 Trip 4 - 420.32 miles, travel time = 459.82 mins, average speed = 55.57 Trip 5 - 553.88 miles, travel time = 551.51 mins, average speed = 60.68 Can I get an example of MATLAB code to perform a statistical analysis on this data, i.e. standard deviation in regards to time, variance in trip data, which distributions to fit to this/test confidence intervals...

          In MATLAB: I have a project where I am mapping driving routes on the East Coast from some destination Point A to Point B. I have to perform a statistical analysis on this data, which is an output from my code. How would I go about this? This is my data (below). 

Trip 1 - 253.25 miles, travel time = 281.10 mins, average speed = 53.50 
Trip 2 - 104.06 miles, travel time = 124.87 mins, average speed = 50.00 
Trip 3 - 361.18 miles, travel time = 379.31 mins, average speed = 57.86 
Trip 4 - 420.32 miles, travel time = 459.82 mins, average speed = 55.57 
Trip 5 - 553.88 miles, travel time = 551.51 mins, average speed = 60.68 

Can I get an example of MATLAB code to perform a statistical analysis on this data, i.e. standard deviation in regards to time, variance in trip data, which distributions to fit to this/test confidence intervals...
        
Show more…

Added by Stephanie C.

Computer Science and Information Technology
Computer Science and Information Technology
Trishna Knowledge Systems 2018 Edition
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
In MATLAB: I have a project where I am mapping driving routes on the East Coast from some destination Point A to Point B. I have to perform a statistical analysis on this data, which is an output from my code. How would I go about this? This is my data (below). Trip 1 - 253.25 miles, travel time = 281.10 mins, average speed = 53.50 Trip 2 - 104.06 miles, travel time = 124.87 mins, average speed = 50.00 Trip 3 - 361.18 miles, travel time = 379.31 mins, average speed = 57.86 Trip 4 - 420.32 miles, travel time = 459.82 mins, average speed = 55.57 Trip 5 - 553.88 miles, travel time = 551.51 mins, average speed = 60.68 Can I get an example of MATLAB code to perform a statistical analysis on this data, i.e. standard deviation in regards to time, variance in trip data, which distributions to fit to this/test confidence intervals...
Close icon
Play audio
Feedback
Powered by NumerAI
Danielle Fairburn David Collins
Kathleen Carty verified

Sri K and 99 other subject AP CS educators are ready to help you.

Ask a new question

*

Labs

-

Want to see this concept in action?

NEW

Explore this concept interactively to see how it behaves as you change inputs.

View Labs

*

Key Concepts

-
Key Concept
Premium Feature
Explore the core concept behind this problem.
Play button
Key Concept
Premium Feature
Explore the core concept behind this problem.
Your browser does not support the video tag.

*

Recommended Videos

-
task-to-develop-matlab-code-that-will-i-read-the-information-in-the-file-into-arrays-vectors-matrices-ii-use-this-information-to-estimate-the-density-of-water-when-the-temperature-and-pressu-24547

Task: to develop MATLAB code that will i) read the information in the file into arrays/vectors/matrices, ii) use this information to estimate the density (of water) when the temperature and pressure are specified, and iii) demonstrate the use of your MATLAB property lookup procedure by programmatically preparing a graph of estimated liquid water density values for a suitable range of temperatures (your choice) and a pressure of 101.325 kPa. Data: A data file, 'water density.csv', is supplied for your use. In the file containing precomputed water density values, the first row in the file is the pressure in kPa and the first column is the temperature in K. The water density values in the remaining rows/columns are in kg/m^3. As you might expect, these are all around 1000 kg/m^3. Contextual background: Property lookup functions from pre-calculated tables like this are common tools in engineering programs that speed up the calculation process without resorting to a) simplifying assumptions that may more dramatically impact the accuracy of the calculation, or b) repeated evaluations of complex equations of state.

Sri K.

problen-statementi-the-following-data-was-obtained-when-the-stopping-distance-d-of-a-car-on-_-wet-road-was-measured-as-function-of-the-speed-when-the-brakes-were-applied-mph-d-ft-125-375-118-51977

Problem Statement: The following data was obtained when the stopping distance d of a car on a wet road was measured as a function of the speed when the brakes were applied: (mph) d (ft) 12.5 37.5 118 62.5 299 197 240 Using Matlab, make a plot of the data versus V. Use an asterisk marker for the data points on the plot. Write a Matlab user-defined function that determines the coefficients of a quadratic polynomial f(x) = ax^2 + bx + c that best fits the given set of data points. Name the function QuadFit(x, y), where the input arguments are vectors with the coordinates of the data points and the output argument is a three-element vector with the values of the coefficients (a, b, c). Using Matlab, plot the polynomial obtained in b). Use a solid line for the polynomial plot. Use Matlab's built-in function polyfit to calculate the quadratic polynomial. This will recreate the same data plot as in c.

Adi S.

4please-use-r-studio-j-this-question-consider-usairpollution-data-set-in-mva-package-then-please-answer-the-following-question-a-obtain-mean-vector-and-var-cov-and-correlation-matrix-of-the-75537

Please use R Studio in this question. Consider USairpollution data set in MVA package. Then, please answer the following question. a) Obtain mean vector and Var-Cov and Correlation matrix of the dataset. Please make a comment. b) Calculate 5 number summaries of the variables in the dataset with a one line code. Interpret them. c) Construct a scatterplot matrix of the data and comment on the result. d) Please generate a research question and answer it with one appropriate visual tool. e) Use the bivariate boxplot on the scatterplot of each pair of variables in the air pollution data to identify any outliers. Calculate the correlation between each pair of variables using all the data and the data with any identified outliers removed. Comment on the results. f) Please check multivariate normality of the data by using both visual and formal ways. Don't forget to state your hypothesis. g) Compare the chi-plots with the corresponding scatterplots for each pair of variables in the air pollution data. Do you think that there is any advantage in the former? h) Identify the outliers via adjusted mahalanobis distance and compare the result with part e.

Sri K.


*

Recommended Textbooks

-
Computer Science and Information Technology

Computer Science and Information Technology

Trishna Knowledge Systems 2018 Edition
achievement 1,259 solutions
Introduction to Programming Using Python

Introduction to Programming Using Python

Y. Daniel Liang 1st Edition
achievement 1,525 solutions
Computer Science - An Overview

Computer Science - An Overview

Glenn Brookshear, Dennis Brylow 12th Edition
achievement 1,862 solutions

*

Transcript

-
00:02 So here, this is the given matrix.
00:04 It is a 3 cross 3 transcent matrix.
00:07 We are going to obtain the stationary matrix.
00:10 The format will be sp is equal to s.
00:13 So here we have considered s in terms of s1, s2 and s3.
00:17 So s1, s2, s3 multiplied by the p matrix will equal to be s1, s2 and s3 again.
00:25 Now multiplying the corresponding concept we will be obtaining a single row term since we are having a single row multiplied by the corresponding column...
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Join the community

18,000,000+

Students on Numerade


Trusted by students at 8,000+ universities

Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever