Hi All, The way to solve the problem has been found. Thank you all for your kind help.
Best, Jin On Thu, Mar 3, 2022 at 3:53 PM Jin Li <jinl...@gmail.com> wrote: > Many thanks, Michael. > > The `fastTpsMLE` was used to estimate `lambda` for `Tps` as below: > > library(fields); library(spm); data(petrel) > x=petrel[, c(1,2)]; y=petrel[, 5]; theta = 3 > > lambda <- fields::fastTpsMLE(x, y, theta = theta)$lambda.best > lambda > [1] 0.9875504 > > I have just updated the `fields` package. However, `lambda` is not > reported by `fastTps`. But I need an estimate of `lamda` for `Tps`. Is > there a solution for this? > > Best, > Jin > > On Thu, Mar 3, 2022 at 2:35 AM Michael Barr <m...@bikeactuary.com> wrote: > >> fastTpsMLE is not in the current version of fields - latest version I see >> with it is 11.x. 12.x onward you use fastTps() and can specify REML=TRUE >> for the estimator. You are probably using 12.x and looking at older >> documentation. A quick glance at the older source for fastTpsMLE and I >> think that they were actually using REML in practice (holding some >> parameters fixed, optimizing others). >> ------------------------------ >> *From:* R-package-devel <r-package-devel-boun...@r-project.org> on >> behalf of Ivan Krylov <krylov.r...@gmail.com> >> *Sent:* Wednesday, March 2, 2022 9:58 AM >> *To:* Jin Li <jinl...@gmail.com> >> *Cc:* r-package-devel@r-project.org <r-package-devel@r-project.org> >> *Subject:* Re: [R-pkg-devel] Warning from dependencies: >> 'fields::fastTpsMLE' >> >> On Wed, 2 Mar 2022 15:04:51 +1100 >> Jin Li <jinl...@gmail.com> wrote: >> >> > Missing or unexported object: 'fields::fastTpsMLE' >> >> The current CRAN version of fields doesn't seem to have "fastTpsMLE" in >> its documentation: >> https://cran.r-project.org/web/packages/fields/fields.pdf >> >> I also can't seem to find fastTpsMLE in the GitHub repo of the package: >> https://github.com/dnychka/fieldsRPackage/search?q=fastTpsMLE >> >> Which version of fields do you have installed? >> >> -- >> Best regards, >> Ivan >> >> ______________________________________________ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-package-devel >> > > > -- > Jin > ------------------------------------------ > Jin Li, PhD > Founder, Data2action, Australia > https://www.researchgate.net/profile/Jin_Li32 > https://scholar.google.com/citations?user=Jeot53EAAAAJ&hl=en > -- Jin ------------------------------------------ Jin Li, PhD Founder, Data2action, Australia https://www.researchgate.net/profile/Jin_Li32 https://scholar.google.com/citations?user=Jeot53EAAAAJ&hl=en [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel