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...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
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... View the full answer
Posted Date:
Students also viewed these databases questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
KYC's stock price can go up by 15 percent every year, or down by 10 percent. Both outcomes are equally likely. The risk free rate is 5 percent, and the current stock price of KYC is 100. (a) Price a...
-
The _________ is a checklist that is best suited for property and tangible asset tracking. Perils analysis Industry list List of assets The activity list
-
The distances (in yards) for nine holes of a golf course are listed. 336 393 408 522 147 504 177 375 360 (a) Find the mean and the median of the data. (b) Convert the distances to feet. Then rework...
-
Classify each of the following pigments or gemstones as idiochromatic or allochromatic: (a) Cobalt blue, CoAl 2 O 4 , (b) Emerald, Be 3 Al 2 (SiO 3 )6:Cr 3+ , (c) Yellow ochre, FeOOH.
-
Define demand-side and supply-side policies. Are there any ways in which such policies are incompatible?
-
Soft Sopt is a manufacturer of futon mattresses. Soft Spots mattresses are priced at $60, but competition forces the company to offer significant discounts and rebates. As a result, the average price...
-
What can happen if a city government fails to allocate resources effectively in its budget? Explain.
-
Paper Company acquired 100 percent of Scissor Company's outstanding common stock for $370,000 on January 1, 2008, when the book value of Scissor's net assets was equal to $370,000, including...
-
It is known that matrices A and B are as follows A=[[3,5],[7,3]] and B=[[5,6],[0,1]] Then A x B?
-
Consider the wheat market. In this market both the demand and the supply curves are linear. When the price is Rs.15, the quantity sold is 15kg and there is a surplus of an additional 15kg wheat....
-
1 Euro is currently trading at 38 Thai Baht. 1 Thai Baht is currently trading at .04 Canadian Dollar. If triangular arbitrage holds, the value of the Euro in terms of the Canadian Dollar is ____?...
-
Suppose someone wants to accumulate $40,000 for a college fund over the next 15 years. Determine whether the following investment plans will allow the person to reach the goal. Assume the compounding...
-
A preferred stock will pay a dividend of $3.50 in the upcoming year and every year thereafter; i.e., dividends are not expected to grow. You require a return of 11% on this stock. Use the constant...
-
Your bank offers you a 36-month, 3% APR car loan for a $56000 new Mercedes SLK300 Roadster. What will your monthly payment be? Your Answer: Answer
-
The daily electricity consumption of a factory is estimated to be 9,588 kWh, of which 9,508 kWh is consumed during the peak period of 7am to 11pm and 80 kWh is consumed during the off-peak period of...
-
For the vector whose polar components are (Vr = 1, Vθ = 0), compute in polars all components of the second covariant derivative Vα;μ;ν. To find...
-
Consider the feedback system shown in Figure 10.26. a. Using Routh's stability criterion, determine the range of the control gain \(K\) for which the closed-loop system is stable. b. Use MATLAB...
-
The transfer function of a dynamic system is given by \[G(s)=\frac{s+1}{4 s^{4}+5 s^{3}+2 s^{2}+s+6} \] a. Using Routh's stability criterion, determine the stability of the system. b. Using MATLAB,...
-
Figure 10.40 shows a negative feedback control system. a. Design a P controller such that the damping ratio of the closed-loop system is 0.5 . b. Estimate the rise time, overshoot, and \(2 \%\)...
Study smarter with the SolutionInn App