I had to find the equation of curve that represent my data. After trying different function, I got a models that seems fitting my data, at least by plotting them. But this is it. I have no idea how to understand if my model is good, based on the summmary of my model. I have no good statistical background(sorry!) and I am working since few months with R.
This are my data:
structure(list(height = 3:16, Suitable_Area = c(12153L, 9789L, 8712L, 7985L, 7574L, 7086L, 6543L, 6242L, 5943L, 5559L, 5188L, 4898L, 4680L, 4515L), Group = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = "Consecutive Suitable Area", class = "factor")), row.names = c("3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16"), class = "data.frame")
This is the function of the curve fitting my data
#Hyperbola for SPLIT 1
#y = (a + (b * x)) / (c + x)
fitHyperbola <- nlsLM( Suitable_Area ~ (a + (b * height))/(c+height), data = Split1 , start = list(a = -3.62, b=1.67,c=-2.50))
At this point, I would look for the RMSE or the R-squared. I am able to get them by doing a summary of a linear model, but not with nlsLM, which provide me info about the a,b, and c of the equation.