Hallo, I am using the Rfit function from the npsm package in R. I have moved from version 3.5.2 to version 3.6.3 . With version 3.6.3 , for some variables, I get a "non standard" output from univariate regression.
For instance, in the example below STPIT (an anxiety score) is the DV and ETA (age) is the IV.
model1 <-rfit (STPIT~ETA, data=dataset)
summary(model1)
Call:
rfit.default(formula = STPIT ~ ETA, data = dataset)
Coefficients:
Estimate Std. Error t.value p.value
[1,] 18.000000 5.375171 3.3487 0.0009165 ***
[2,] 0.000000 0.067963 0.0000 1.0000000
Signif. codes: 0 ‘’ 0.001 ‘’ 0.01 ‘’ 0.05 ‘.’ 0.1 ‘ ’ 1
Multiple R-squared (Robust): 0
Reduction in Dispersion Test: 0 p-value: 1
If I run the same analysis in R version 3.5.2 I get standardly-labeled output with the variable and the intercept.
Call:
rfit.default(formula = STPIT ~ ETA, data = dataset)
Coefficients:
Estimate Std. Error t.value p.value
(Intercept) 1.8000e+01 5.3752e+00 3.3487 0.0009165 ***
ETA -9.7124e-15 6.7963e-02 0.0000 1.0000000
Signif. codes: 0 ‘’ 0.001 ‘’ 0.01 ‘’ 0.05 ‘.’ 0.1 ‘ ’ 1
Overall Wald Test: 0 p-value: 1
Can someone help?
Paola