I am facing some problems with some issues in chapter 16.6 Estimate a ρ-Transformed Model (https://bookdown.org/carillitony/bailey/chp15.html) I put the following commands in software R, but failed to generate the outcome.
Coomand to Estimate a ρ -Transformed Model on R Outcome as shows Error on R Therefore R says "Error in fwithin.default(x, g = effect, w = NULL, na.rm = na.rm) : length(g) must match nrow(X)" what's the wrong with the code!!! Besides, in some cases, the resulting values are different from the values showed in t websites.