I am a beginner in Wolfram Mathematica. I am trying to fit the data from a CSV file using FindFit. In doing so, I am getting the following error message
FindFit::nrjnum: The Jacobian is not a matrix of real numbers at {a} = {1.}.
The output of my CSV file is
data = {{-300, 2.1977}, {-600, 2.61518}, {-900, 5.48259}, {-1200,
4.34585}, {-1500, 3.24366}, {-1800, 2.57632}, {-2100,
2.14541}, {-2400, 1.85425}, {-2700, 1.6508}, {-3000,
1.50487}, {-3300, 1.39795}, {-3600, 1.31817}, {-3900,
1.25768}, {-4200, 1.21115}, {-4500, 1.17488}, {-4800,
1.14627}, {-5100, 1.12344}, {-5400, 1.10504}, {-5700,
1.09006}, {-6000, 1.07776}}
I wonder what is the right way of performing this task. My attempt so far has been
data=Import["/home/data_variance2_r \_final.csv"]
modeltwolevelsat = 1/x^a;
eq = FindFit[data, modeltwolevelsat, {a}, x]
I would appreciate if someone can help me out or give any tip on how to solve this problem.
Thanks in advance.