"feval" and"pridict" functions. results different estimate values for the same predictors!

1 view (last 30 days)
When I use "feval" function I get different estimates from when I use the "pridict" function. I have the data to share if some one kindly look into it. Thank you Bahaa
  1 Comment
Rakesh Chavan
Rakesh Chavan on 18 Mar 2016
Edited: Rakesh Chavan on 18 Mar 2016
Hi,
Are you referring to the predict function in R or MATLAB?
If its not the R function can you give some information on the function you are using to compare the results of feval with.
It might be tolerance or precision issue but it cannot be stated without more information. As pre the doc. link given below feval and predict give same predictions but the format is different. http://www.mathworks.com/help/stats/generalizedlinearmodel.feval.html
If its possible do provide a data set and someone from the community may be able to get back.
Hope this helps
regards
Rakesh

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!