Hello,
I have data that concerns the linear (x variable) and contour (y variable) length of coral colonies. These is a well established linear and positive relationship between these variables.
I am aiming to establish the linear equations that will allow the prediction of the coral contour from a best fit line applied to the x variable. So far I have used a twoway plot with lfit and lfitci to gain the equation and also look at the confidence intervals of the data.
However, as is common with the data I have I need to force the prediction line through 0,0 and take the equation from this line.
I have so far been unable to set the intercept as 0 or suppress it. If anyone has any method for solving this I would be most appreciative.
Many thanks,
Amelia
I have data that concerns the linear (x variable) and contour (y variable) length of coral colonies. These is a well established linear and positive relationship between these variables.
I am aiming to establish the linear equations that will allow the prediction of the coral contour from a best fit line applied to the x variable. So far I have used a twoway plot with lfit and lfitci to gain the equation and also look at the confidence intervals of the data.
However, as is common with the data I have I need to force the prediction line through 0,0 and take the equation from this line.
I have so far been unable to set the intercept as 0 or suppress it. If anyone has any method for solving this I would be most appreciative.
Many thanks,
Amelia
Comment