where is fitglm function in statistic Toolbox of 2013a
조회 수: 1 (최근 30일)
이전 댓글 표시
The Matlab doc online refers to 'fitglm'. However, I can't seem to find this function in the statistic Toolbox of 2013a. What am I missing?
I have the statistics toolbox installed. Other functions like lassoglm and glmfit work. but fitglm doesn't seem to exist when I type 'which fitglm'
댓글 수: 1
Shi Shu
2014년 1월 7일
I have the same problem and I found a way around. In 2013a, there is no fitlm, nor fitglm. The function to use are: LinearModel.fit and GeneralizedLinearModel.fit. Good luck!
채택된 답변
Shashank Prasanna
2013년 10월 16일
fitglm was introduced in R2013b release. Here is the release notes:
fitglm is a convenience function that enables you to fit generalized linear models. Alternatively you can call: GeneralizedLinearModel.fit
댓글 수: 0
추가 답변 (2개)
sixwwwwww
2013년 10월 16일
Dear Bassam, Use "ver" at command window to check whether you have statistics Toolbox installed or not. If it is not installed then try to install it and then you can use "fitglm"
댓글 수: 2
sixwwwwww
2013년 10월 16일
Dear Bassam, it's ok. I am not sure what could be the issue. Maybe there was some install time problem. I checked and I have fitglm.m. Maybe you can try to uninstall and install stats toolbox again can solve the issue
Shi Shu
2014년 1월 7일
I have the same problem and I found a way around. In 2013a, there is no fitlm, nor fitglm. The function to use are: LinearModel.fit and GeneralizedLinearModel.fit. Good luck!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!