Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13693 > unrolled thread

'Power Law with singularity' regression - error

Started bydpi <deepankur.thureja@hotmail.com>
First post2013-03-04 03:57 +0000
Last post2013-03-04 03:57 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  'Power Law with singularity' regression - error dpi <deepankur.thureja@hotmail.com> - 2013-03-04 03:57 +0000

#13693 — 'Power Law with singularity' regression - error

Fromdpi <deepankur.thureja@hotmail.com>
Date2013-03-04 03:57 +0000
Subject'Power Law with singularity' regression - error
Message-ID<kh1644$sac$1@smc.vnet.net>
Hi,

I am testing the "Power Law with finite-time singularity" hypothesis for the World population growth for a project.

For that I was trying the following model:

    model = A + B*(c - x)^z;

And then the following curve fit method:

    FindFit[data, {model}, {A, B, c, z}, x]

But I always get the result:

    Power::indet: "Indeterminate expression 0.^0. encountered."
    FindFit::nrjnum: "The Jacobian is not a matrix of real numbers at {A,B,c,z} = {1.,1.,1.,1.}. "
    {A -> 1., B -> 1., c -> 1., z -> 1.}

If I do a normal Power law regression, FindFit works perfectly, but the title of the project being "Power Law with finite-time singularity" I need to have a singularity in the model and the main aim is to find when this singularity occurs.

Is there a way to use 'FindFit[]' to get the correct answer? Or Should I be using some other function?

I have seen other articles on this site concerning issues with FindFit, but none of them has helped me resolve this problem.

Thanks for the help!

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web