Skip to main content

Your data set is [(0,0),(1,2),(2,16),(3,52),(4,118),(5,223)]. Determine the values of a and b rounded to 2 places for the power model, model(x)=ax^b.

We are given the data set (0,0),(1,2),(2,16),(3,52),(4,118),(5,223) and we are asked to fit these in a power model `y=ax^b ` :


(1) The easiest way is to input the data in Excel or a graphing utility and perform a power regression yielding `y=2.04x^2.93 ` with a,b rounded to two decimal places.


(2) To determine if the data set will fit a power model well we can plot (lnx,lny) and determine if the plot is approximately a straight line.


Taking the natural logarithm of the coordinates yields the points (0,.6931),(.6931,2.773),(1.0986,3.9512),(1.3862,4.7707),(1.6094,5.4072). These points appear to lie on a line. Performing linear regression on these points yields the line y=.7146+2.929x


So we have `lny=lna+blnx ` Exponentiating both sides with base e gives us:


`y=e^(lna)*e^(blnx)=a*(e^(lnx))^b=ax^b ` where `a=e^(.7146) ` and b=2.929


So the power model is `y~~2.04x^(2.93) `

Comments

Popular posts from this blog

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

Is 'efficate' a word in English?

I routinely hear the word "efficate" being used. For example, "The most powerful way to efficate a change in the system is to participate." I do not find entries for this word in common English dictionaries, but I do not have an unabridged dictionary. I have checked the OED (I'm not sure if it is considered unabridged), and it has no entry for "efficate". It does have an entry for "efficiate", which is used in the same way. Wordnik has an entry for "efficate" with over 1800 hits, thus providing some evidence for the frequency of use. I personally like the word and find the meaning very clear and obvious when others use it. If it's not currently an "officially documented" word, perhaps its continued use will result in it being better documented.