Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I find t-statistics for parameters a, b of a function f = 1 / (a.log(x)+b) using matlab?
1 次查看(过去 30 天)
显示 更早的评论
I have a function of this type: f = 1 / (a.log(x)+b), and I need to find t-statistics for parameters a and b... How can I do this? Is it helpful to do this using curve fitting tool? Can you give me an example?
0 个评论
回答(1 个)
Tom Lane
2013-2-7
Do you have a recent version of the Statistics Toolbox available?
>> load census
>> d = dataset(cdate,pop);
>> nlm = NonLinearModel.fit(d,'pop ~ 1/(a*log(cdate)+b)',[1 1])
The output includes t statistics
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!