inter and intra event standard deviation and resiaduals using nlmefit function

4 Ansichten (letzte 30 Tage)
Hi,
i am using nlmefit function to find regression coefficients for my mixed effect model.
for validating results i must check both inter and intra event standard deviation and resiaduals. how i can see these 4 final results?
is there any connection between stats.ires & stats.pres and inter & intra event resiaduals?
  5 Kommentare
Mohammad Ebrahimi
Mohammad Ebrahimi am 24 Nov. 2020
Thank you for your generous response.
The papers I have read used nlme package of R and some of them used Matlab but they haven't mentioned which function they have used in Matlab. Our function form is nonlinear so I think it must be nlmefit function.
According to the residual plots, inter-event residuals length must equal the number of groups and intra-event residuals length must equal the number of records. Also, it is mentioned that both residuals are normally distributed with zero means.
stats.pres is not normally distributed with zero means so it's not one of my residuals. stats.ires is normally distributed with zero means and its length is equal to the number of records not the number of groups. Also stats.ires is the difference between observed data and predicted data considering random effects. So I think stats.ires must equal to:
stats.ires = eta(i) + epsilon(i,j)
Actually, this random effect method is proposed by ABRAHAMSON and I have attached his paper in this comment. If you have any idea how to separate these two residuals from each other I will be glad if you let me know.
Chao Feng
Chao Feng am 1 Jan. 2023
Hi
Recently, I am having the same problem, may I ask you that did you solve the problem? thank you?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by