Model fitting nlparci - interpreting confidence intervals/getting p values.
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I have some code to fit data with lsqcurvefit. I then calculate confidence intervals for the parameters using nlparci. The data that I have refers to two different conditions, so I have fitted the data using the following format:
k1 = exp(log(k1)+log(ratio)*logical(is_condition_2?))
So that k1 = k1 or ratio*k1 if the data is from the second condition.
I have 95% confidence intervals for the ratios from nlparci, but I would like to find out if the ratios are significantly different from 1 (i.e., can I say that the parameter change is significant between the conditions). Is this just a case of seeing if the 95% CI includes 1, or is there a different test required?
Many thanks.
0 个评论
回答(1 个)
Neha
2023-10-12
Hi,
To determine if the ratios are significantly different from 1, you can indeed check if the 95% confidence intervals include 1. If the confidence interval includes 1, it suggests that the parameter change is not statistically significant between the conditions and then you can reject the null hypothesis that the ratio is equal to 1 at the 0.05 significance level. On the other hand, if the confidence interval does not include 1, it indicates that the parameter change is statistically significant. You can also refer to the following MATLAB Answer to understand how to interpret nlparci results:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gaussian Process Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!