Trouble using Dref() in gnm()

#outcome: R_SDNN (continuous). origin: m107_f. destination:y19_f
#m107: quartiles of socioeconomic status (SES) at 107 months. 1-4: low to high.
#m107_f is the categorical version of m107. values: Low, MidLow, MidHigh, High
#y19 and y19_f are quartiles of SES at 19 years, with the same meaning of the values as m107 and m107_f


drm_SDNN = gnm(R_SDNN ~ Dref(m107_f, y19_f), family=gaussian, data = Sey518)
Running main iterations......
Refitting with parameters of first Dref weight constrained to zero
weight se
0.4338944 0.2086603

weight se
0.5661056 0.2086603


gnm(formula = R_SDNN ~ Dref(m107_f, y19_f), family = gaussian,
data = Sey518)

(Intercept) Dref(m107_f, y19_f)delta1
161.84178 -0.23969
Dref(m107_f, y19_f)delta2 Dref(., .).m107_f|y19_fLow
0.02629 -1.13972
Dref(., .).m107_f|y19_fMidLow Dref(., .).m107_f|y19_fMidHigh
3.60514 9.65879
Dref(., .).m107_f|y19_fHigh

Someone please tell me why I got warned "Refitting with parameters of first Dref weight constrained to zero"
and what are Dref(m107_f, y19_f)delta1 Dref(m107_f, y19_f)delta2

later I added upward and downward

Sey518$upward = ifelse (Sey518$m107 < Sey518$y19, 1, 0)
Sey518$downward = ifelse (Sey518$m107 > Sey518$y19, 1, 0)
drm_SDNN_mob = gnm(R_SDNN ~ Dref(m107_f, y19_f,
delta = downward + upward),
family=gaussian, data = Sey518)

#> DrefWeights(drm_SDNN_mob)#error
#Refitting with parameters of first Dref weight constrained to zero
#Error in eval(x) : object 'downward' not found

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.