Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

GO S-Shaped (GO-S): a(1-(1+b)et) where a>0, b>0 Goel-Okumoto (GO): a(1-et) where a>0, b>0 Determine the curve fit for two models of three data files

GO S-Shaped (GO-S): a(1-(1+b)et) where a>0, b>0 Goel-Okumoto (GO): a(1-et) where a>0, b>0 Determine the curve  srgm1 1 28 2 29 3 29 4 29 5 29 6 37 7 63 8.92 9 116 10 125 11 139 12 152 13 164 14 164 15 165 16 168 17 170srgm2 - 1 90 2 107 3 126 4 145 5 171 6 188 7 189 8 190 9 190 10 190 11 192 12 192 13 192 14 192 15 203 16 203srgm3 19 2 14 3 21 4 28 5 53 6 56 7 58 8 63 9 70 10 75 11 76 12 77 13 77 L   

GO S-Shaped (GO-S): a(1-(1+b)et) where a>0, b>0 Goel-Okumoto (GO): a(1-et) where a>0, b>0 Determine the curve fit for two models of three data files Plot the two fits for each file and print out a statement that says which one is better based on the fit score. 1. Copy the program CurveFitExample.py from @CSREPLIT 2. Upload the SRGM input.txt file named (srgm1.txt) 3. Code the two models above 4. Apply the two SRGM models to the data. a. Read in the x, y data b. Set initial guess for parameter a to last value in Y column. c. Set initial guess for parameter b to a value between 0 and 1. d. Set initial guesses for other parameters by playing around with them and looking at resulting curve (show plot). e. Output the a parameter value and curves' score f. Output the SRGM model with the best score. g. Plot. 5. Print the outputs and the plots for the input file. For each of the files 6. There should be 3 ouputs and 3 graphs srgm1 1 28 2 29 3 29 4 29 5 29 6 37 7 63 8.92 9 116 10 125 11 139 12 152 13 164 14 164 15 165 16 168 17 170 18 176 L srgm2 - 1 90 2 107 3 126 4 145 5 171 6 188 7 189 8 190 9 190 10 190 11 192 12 192 13 192 14 192 15 203 16 203 17 204 srgm3 19 2 14 3 21 4 28 5 53 6 56 7 58 8 63 9 70 10 75 11 76 12 77 13 77 L GO S-Shaped (GO-S): a(1-(1+b)et) where a>0, b>0 Goel-Okumoto (GO): a(1-ebt) where a>0, b>0 Determine the curve fit for two models of three data files Plot the two fits for each file and print out a statement that says which one is better based on the fit score. 1. Copy the program CurveFitExample.py from @CSREPLIT 2. Upload the SRGM input.txt file named (srgm1.txt) 3. Code the two models above 4. Apply the two SRGM models to the data. a. Read in the x, y data b. Set initial guess for parameter a to last value in Y column. c. Set initial guess for parameter b to a value between 0 and 1. d. Set initial guesses for other parameters by playing around with them and looking at resulting curve (show plot). e. Output the a parameter value and curves' score f. Output the SRGM model with the best score. g. Plot. 5. Print the outputs and the plots for the input file. For each of the files 6. There should be 3 ouputs and 3 graphs srgm1 1 28 2 29 3 29 4 29 5 29 6 37 7 63 8.92 9 116 10 125 11 139 12 152 13 164 14 164 15 165 16 168 17 170 18 176 L srgm2 - 1 90 2 107 3 126 4 145 5 171 6 188 7 189 8 190 9 190 10 190 11 192 12 192 13 192 14 192 15 203 16 203 17 204 srgm3 19 2 14 3 21 4 28 5 53 6 56 7 58 8 63 9 70 10 75 11 76 12 77 13 77 L

Step by Step Solution

3.47 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

It seems that you would like to fit two models to three different datasets and then analyze which model fits best for each dataset using a scoring sys... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions