How to set the coefficient b for a power function

%3CLINGO-SUB%20id%3D%22lingo-sub-376559%22%20slang%3D%22en-US%22%3EHow%20to%20set%20the%20coefficient%20b%20for%20a%20power%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376559%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20wondering%3A%20does%20anyone%20know%20a%20way%20to%20manually%20set%20the%20coefficient%20b%20for%20a%20power%20function%20best%20fit%20line%20instead%20of%20it%20automatically%20setting%20itself%20for%20a%20set%20of%20data%3F%20I%20am%20specifically%20talking%20about%20a%20function%20in%20the%20form%20of%26nbsp%3B%3CSPAN%3Ey%20%3D%20a*x%5Eb.%20I%20have%20a%20set%20of%20data%20where%20I%20already%20know%20the%20relationship%20between%20the%20two%20quantities%2C%20so%20I%20already%20know%20what%20the%20power%20b%20is.%20I%20need%20to%20fit%20the%20function%20such%20that%20it%20is%20a%20best%20fit%20in%20terms%20of%20the%20power%20b%20that%20I%20know%2C%20not%20what%20Excel%20automatically%20tries%20to%20set%20b%20as%20when%20it%20calculates%20best%20fit.%20Any%20help%20would%20be%20greatly%20appreciated.%20Thanks.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-376559%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECharting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-380940%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20set%20the%20coefficient%20b%20for%20a%20power%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-380940%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F303016%22%20target%3D%22_blank%22%3E%40eengel1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3E(Not%20sure%20this%20posted%2C%20second%20attempt%2C%20sorry%20if%20it%20is%20redundant%3C%2FSTRONG%3E%3C%2FEM%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%3A%3C%2FP%3E%3CP%3EThere%20is%20no%20methodology%20that%20I%20know%20of%20that%20makes%20statistical%20sense.%20Of%20course%20you%20can%20do%20anything%20you%20want%20but%20that%20is%20quite%20different%20from%20following%20statistical%20protocol.%20Thus%20there%20is%20no%20Excel%20function%20that%20does%20that%2C%20nor%20should%20there%20be.%20What%20I%20suggested%20made%20no%20statistical%20sense%20but%20would%20solve%20the%20problem%20you%20ask%20about.%20There%20are%20probably%20a%20million%20ways%20to%20make%20an%20intercept%20once%20you%20stop%20being%20concerned%20about%20statistical%20protocol.%20Once%20you%20modify%20the%20output%20from%20a%20statistical%20procedure%20none%20of%20the%20statistical%20mean%20a%20thing.%20They%20are%20based%20on%20the%20function%20being%20estimated%20by%20following%20a%20set%20procedures.%3C%2FP%3E%3CP%3EAlso%20I%20don't%20why%20you%20would%20use%20chi-square%20for%20anything%20associated%20with%20regression%20and%20correlation%20perhaps%20you%20meant%20R-squared%20which%20would%20have%20no%20meaning%20once%20you%20changed%20the%20%22b%22%20to%20some%20arbitrary%20amount.%20Since%20you%20%22know%20the%20correct%20b%22%20why%20not%20just%20solve%20for%20%22a%22%20by%3A%20a%3DY%2F(X%5Eb).%20Just%20choose%20any%20pair%20of%20Y%20%26amp%3B%26nbsp%3B%20X.%20Since%20you%20know%20%22b%22%20it%20should%20produce%20the%20correct%20%22a.%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376589%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20set%20the%20coefficient%20b%20for%20a%20power%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376589%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F303033%22%20target%3D%22_blank%22%3E%40Pvberg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHmm...that's%20significantly%20more%20complicated%20than%20what%20I%20was%20thinking%20of...%20I%20was%20talking%20more%20about%20if%20there%20was%20a%20feature%20for%20the%20power%20trendline%20that%20lets%20you%20change%20the%20value%20of%20b%20to%20what%20you%20want%20it%20to%20be%2C%20then%20adjusts%20the%20value%20of%20a%20and%20chi-square%20accordingly.%20Is%20there%20something%20like%20that%20or%20can%20it%20only%20be%20done%20using%20data%20manipulation%3F%20I%20figure%20it's%20Excel%2C%20so%20there%20has%20to%20be%20an%20easier%20way%20than%20that...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20yes%2C%20you%20are%20correct%20in%20your%20assumptions%20that%20it%20would%20need%20to%20be%20a%20least-squares%20fit.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-376574%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20set%20the%20coefficient%20b%20for%20a%20power%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-376574%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F303016%22%20target%3D%22_blank%22%3E%40eengel1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20attached%20a%20spreadsheet%20that%20solves%20the%20problem%20by%20using%20Excel%20Solver%20function%20and%20minimizing%20the%20error%20sum%20of%20squares.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello,

 

I am wondering: does anyone know a way to manually set the coefficient b for a power function best fit line instead of it automatically setting itself for a set of data? I am specifically talking about a function in the form of y = a*x^b. I have a set of data where I already know the relationship between the two quantities, so I already know what the power b is. I need to fit the function such that it is a best fit in terms of the power b that I know, not what Excel automatically tries to set b as when it calculates best fit. Any help would be greatly appreciated. Thanks.

3 Replies
Highlighted

@eengel1 

I have attached a spreadsheet that solves the problem by using Excel Solver function and minimizing the error sum of squares.

 

Highlighted

@Pvberg 

 

Hmm...that's significantly more complicated than what I was thinking of... I was talking more about if there was a feature for the power trendline that lets you change the value of b to what you want it to be, then adjusts the value of a and chi-square accordingly. Is there something like that or can it only be done using data manipulation? I figure it's Excel, so there has to be an easier way than that...

 

Also yes, you are correct in your assumptions that it would need to be a least-squares fit.

Highlighted

@eengel1 

(Not sure this posted, second attempt, sorry if it is redundant)

 

Hello:

There is no methodology that I know of that makes statistical sense. Of course you can do anything you want but that is quite different from following statistical protocol. Thus there is no Excel function that does that, nor should there be. What I suggested made no statistical sense but would solve the problem you ask about. There are probably a million ways to make an intercept once you stop being concerned about statistical protocol. Once you modify the output from a statistical procedure none of the statistical mean a thing. They are based on the function being estimated by following a set procedures.

Also I don't why you would use chi-square for anything associated with regression and correlation perhaps you meant R-squared which would have no meaning once you changed the "b" to some arbitrary amount. Since you "know the correct b" why not just solve for "a" by: a=Y/(X^b). Just choose any pair of Y &  X. Since you know "b" it should produce the correct "a."