Question
all the answers must be done please help and codes should be done in matlab
Part C (Based off week 12 workshop content Sinee the implementation of the CityCyele scheme in October 2010, the Bris bane co
Home Insert Page layout Formulas Data Review View Add Ins Nit Calibri Ea Copy Paste ,Format Painter 1 Blu-1E.0,iArn좋를剥误 国Merg
CityCycleData Home Insert Page LayoutFormulas Data ReviewViewAdd-Ins Nitro Pro9 % Cut copy Paste Format Painter B I U Clipboa
Home Einsert Page Layout Formulas -Data Renew-View Add Ins Nitro Pro % cut Calibri da Copy Paste Ger Format Painter BI U E Fo
Page Layout Formulas Data Review View Add-Ins Nitro Pro 9 Calibri Copy Paste Format Painter Font Alignment Month No. 69 68 37
Cut Calibri Wrap Text llGo Copy Paste JFormat Painter IB-u.ltho A- llt Merge & Center. Clipboard Font Alignment Month No. A1
Part C (Based off week 12 workshop content Sinee the implementation of the CityCyele scheme in October 2010, the Bris bane council has recorded the mamber of City Cycle trips every month The results are available in the CityCycleData.cov' fie on Blackboard 1. Import the data into MATLAB using the cavread fuaction, and the visualise the data with the scatter function Coenment on whether a linear model woald be appropriate to use. 2. Use the fitin function to conduct a linear regression on the data What is the equation for the linear model? 3. Construct a 95% confidence interval for the shpe and yintercept of the linear model 4. Is there significant evidence (using a significance level of α 006) to show that the masber of trips is affected by mouth. Explain why. . What proportion of total variance of trip nambers is being accounted for by month?
Home Insert Page layout Formulas Data Review View Add Ins Nit Calibri Ea Copy Paste ,Format Painter 1 Blu-1E.0,iArn좋를剥误 国Merge & Center Font Alignment A1 f Month No. 1 Month Nd Total CityCycle Trips 1 6075 2 7923 3 5057 4 3020 4178 6283 6 7 5945 8 7616 9 9497 10 7577 12 11 8194 13 12 11326 13 10908 14 14 11315 15 16 15 11102 16 14323 17 18 17 15003 18 16464 19 19 17794 20 18874 21 21 15755 22 19774 23 22297 24 21326 citycycleData
CityCycleData Home Insert Page LayoutFormulas Data ReviewViewAdd-Ins Nitro Pro9 % Cut copy Paste Format Painter B I U Clipboard Font Alignment Numb AIMonthNo Al 20 19 17794 20 18874 21 21 15755 22 19774 23 22297 24 21326 26 25 20553 26 19213 27 15966 28 16219 29 14573 30 18180 31 19678 32 19491 33 17495 34 19209 35 21593 36 21522 37 21843 38 20575 39 19600 40 22703 41 21912 42 24662 43 23783 HcityCycleData 0
Home Einsert Page Layout Formulas -Data Renew-View Add Ins Nitro Pro % cut Calibri da Copy Paste Ger Format Painter BI U E Font Alignment Month No. 43 23783 4424369 45 22640 46 25235 47 22473 48 24049 49 28844 51 50 26020 52 51 22956 52 23526 53 23140 54 30572 56 55 27720 56 28550 57 23973 59 58 28770 59 32159 61 60 30734 61 33994 62 30488 63 30625 64 30752 65 31016 66 34804 67 36596 Read
Page Layout Formulas Data Review View Add-Ins Nitro Pro 9 Calibri Copy Paste Format Painter Font Alignment Month No. 69 68 37861 69 27677 70 35625 72 71 39151 7237304 73 40865 74 40518 76 75 39848 76 44128 78 7743110 78 47900 79 54225 80 52884 81 46830 82 57256 83 63803 84 67769 85 59458 86 62263 87 57141 88 64261 89 52937 90 63795 91 68497 92 69525 Ready F니 Esc
Cut Calibri Wrap Text llGo Copy Paste JFormat Painter IB-u.ltho A- llt Merge & Center. Clipboard Font Alignment Month No. A1 76 75 39848 76 44128 77 43110 7978 47900 80 79 54225 80 52884 81 81 46830 82 82 57256 83 83 63803 84 8467769 85 59458 86 87 86 62263 87 57141 89 88 64261 89 52937 91 90 63795 92 91 68497 92 69525 93 60628 95 94 68472 95 67046 96 62827 97 59943 98 71663 99 63112 CityCycleData ESC
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answers:

1. Matlab code to scatter plot

M = csvread('csvlist.dat',1,0)
X = M(:,1)
Y = M(:,2)
scatter(X,Y)

If you observe the graph properly  dependent variable Y has a linear relationship to the independent variable X. XY scatterplot is linear and that the residual plot shows a random pattern. so linear model is appropriate for this

octave:5 Scatter(X,Y) Gnuplot 20000 10000 40 100 20 60 80

2. For the given data, linear regression is

ŷ = 617.93001X + 0.38858   

   load census;
   fitpoly2=fit(X,Y,'poly1')
   % Plot the fit with the plot method.
   plot(fitpoly2,X,Y)

3. To compute 95% interval for slope and y intercept

print the value of fitpoly2 from previous, it will give 95% confidence interval

4. Based on the hypothesis and significance level yes there is dependency of no of trips on no of months.

5. fitlm(X,Y) will give the expected result.

Add a comment
Know the answer?
Add Answer to:
all the answers must be done please help and codes should be done in matlab Part C (Based off week 12 workshop...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • all the codes should be done in matlab Part C (Based off week 12 workshop content) Since the implementation of the C...

    all the codes should be done in matlab Part C (Based off week 12 workshop content) Since the implementation of the CityCycle scheme in October 2010, the Bris- bane council has recorded the umber of City Cyele trips every month. The results are available in the CityCycleData.es file on Blackboard 1. Import the data into MATLAB using the csvread funetion, and then visualise the data with the scatter fnction Comment on whether a linear model would be appropriate to use....

  • Consider the below matrixA, which you can copy and paste directly into Matlab.

    Problem #1: Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns. The first column consists of Test #1 marks, the second column is Test # 2 marks, and the third column is final exam marks for a large linear algebra course. Each row represents a particular student.A = [36 45 75 81 59 73 77 73 73 65 72 78 65 55 83 73 57 78 84 31 60 83...

  • For the take-home portion of the exam, you will be analyzing the dataset titled "Testscores", fou...

    For the take-home portion of the exam, you will be analyzing the dataset titled "Testscores", found on the Content page. This dataset lists the scores for two different classes who were both given a similar test. Using this data, answer the following 5 questions, each worth 10 points 1. Calculate a 95% confidence interval for the mean score in each class, What conclusions can we draw from this? 2. Calculate a 95% confidence interval for the difference between the two...

  • solve in excel? Copy 5 File View Home Tell me what you wa Insert Insert Page...

    solve in excel? Copy 5 File View Home Tell me what you wa Insert Insert Page Layout Formulas Page Layout Data Formulas Review of Cut Anisl 10 - A À Et Wrap Text Gener. Paste + BIU. BA Merge & Center - $ Format Painter Clipboard Font Alignment F41 - AB 1 Homework Problem #15-56 How will School scores affect Teacher salary C regression Line 3 4 School SOL Scores 51 81 6278 7376 84 77 9 5 84 10...

  • Due Sunday. Apr 14 All answers will be saved automatically pm PDT All Question1 A high school tea...

    Due Sunday. Apr 14 All answers will be saved automatically pm PDT All Question1 A high school teacher is interested to compare the average time for students to complete a standardized test for three different classes of students The teacher coll classes and the dataset is provided below. lects random data for time to complete the standardized test (in minutes) for students in three different The teacher is interested to know if the average time to complete the standardized test...

  • AutoSave O D 2 File Home Insert Page Layout Calibri 12 A BIU- B A Clipboard...

    AutoSave O D 2 File Home Insert Page Layout Calibri 12 A BIU- B A Clipboard Font A94 korcz chapter 3 (1) - Excel e Search Formulas Data Review View Help A = = = = 2 Wrap Text - EEEE Merge & Center Paste - - General $ -% 99 2x Conditional Format as Cell Formatting Table Styles Styles Dele Form Celle Alignment Number a . ion: please jounalize employers payroll tax liability as well as disability insurance at...

  • need the journal for D. Insert Page Layout Formulas Data Review View Help Search File Home...

    need the journal for D. Insert Page Layout Formulas Data Review View Help Search File Home nrXcut Calibri BLUE Copy - 11 . AA === A. Paste . Merge & Center Format Painter Clipboard Font A3438 - for 2/28 It is now February 28, the last day of the month. Note the following facts: a. You used $1,210 of supplies in February b. You performed the remainder of the work for Oakwood Company as of February 28 (transaction on 1/4)...

  • NOTE PLEASE ALL ANSWERS MUST BE IN EXCEL FORMULA. X 5 ? X . HOME Calculating...

    NOTE PLEASE ALL ANSWERS MUST BE IN EXCEL FORMULA. X 5 ? X . HOME Calculating yield to maturity - Excel FORMULAS DATA REVIEW - Sign In FILE INSERT PAGE LAYOUT VIEW Paste B I U- - - A Alignment Number 8.12 oints Conditional Format as Cell Formatting Table Styles Styles Cells - Clipboard Font Skipped D17 А в E F G H I к eBook Print A Japanese company has a bond outstanding that sells for 91.53 percent of...

  • please clearly state part a/b/c in order just like question shows. if you attempt the addition...

    please clearly state part a/b/c in order just like question shows. if you attempt the addition question please label it an dpost it last. I X CU Styles Ece temptassignment CH3 (1) - Excel Search File Home Insert Page Layout Formulas Data Review View HelpDYMO Label QuickBooks Uberation Sans 12 A A Wrap Text General Paste Copy Format Painter BIV A E Merge & Center Formatting Clipboard Number F60 A B C D E F G H K L 1...

  • Prepare an income statement from a list of accounts. Darie Excel Problem 1.xlsx - Excel Tell...

    Prepare an income statement from a list of accounts. Darie Excel Problem 1.xlsx - Excel Tell me what you want to do File Home Insert Page Layout Data Review View Acrobat X Cut Copy Formulas 12 - A A . .A == Add-ins Help Wrap Test Morge & Center - General Normal Calibri B IU. Bad U AutoSum Fill Clear Paste = $ . % * Conditional Neutral Insert Delete Format * Format Painter Formatting Table Clipboard Alignment Styles Cells...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT