Comments (12)
@arives, I know it has been a while since you opened this issue, but could you elaborate a bit? I get the same results for the following two sets of code (taken from the examples given in fitGLS_partition
:
(outA = fitGLS_partition(CLS_coef ~ 1, partmat = pm, data = df,
nugget = 0, ncores = 1))
and
(outB = fitGLS_partition(CLS_coef ~ 1, partmat = pm, data = df,
nugget = 0, ncores = 2))
the results of outA$overall
(and outB$overall
) is
$coefficients
[1] 0.0001780692
$rcoefficients
[,1]
[1,] 0.999392
$rSSR
[1] NaN
$rSSE
[1] 0.2702243
$Fstat
[1] NaN
$dfs
df1 df2
0 666
$partdims
npart partsize
3 666
$t.test
Est SE t.stat pval.t
[1,] 0.0001780692 0.00228522 0.07792214 0.9378978
$covar_coef
[,1]
[1,] 5.28559e-06
The F-test statistics (and chisqr) aren't computed for the intercept-only model, but this is expected (since the specified model is equivalent to the null model).
There is an annoying warning (unless do.chisqr.tests=FALSE
) and some slots are filled with NaN
- perhaps that should change. But I haven't been able to reproduce an outright error or failure.
from remoteparts.
Clay,
Sorry for being too brief before. Here is example code and output from macOS. Various changes don't help (e.g., nugget = 0, do.t.test = FALSE). I also did a FORCE install from github to make sure I'm working with the newest version.
It would be really strange if this were an issue only with MacOS, although I have a hard time imagining that this would be the case.
Cheers, Tony
fitGLS_partition(formula = CLS_coef ~ 1, partmat = pm,
-
|==========================================================| 100%
data = df, do.t.test = TRUE, ncores = 1)
Coefficients:
(Intercept)
0.0001795086
Cross coefficients:
(Intercept)
(Intercept) 0.8083451
Cross-partition statistics:
rSSR rSSE Fstat
NaN 0.08683609 NaN
Warning message:
In fitGLS_partition(formula = CLS_coef ~ 1, partmat = pm, data = df, :
chisqr test not valid when formula == formula0
fitGLS_partition(formula = CLS_coef ~ 1, partmat = pm,
-
data = df, do.t.test = TRUE, ncores = 3)
Error in array(NA, dim = c(npairs, p, p), dimnames = list(NULL, names(object[[1]]$partGLS$coefficients), :
length of 'dimnames' [2] not equal to array extent
from remoteparts.
As far as i know Mac's have different kernel, so some functions could run differently, or not run at all. (?)
from remoteparts.
from remoteparts.
to ensure stability you could prepare a docker image with a desired environment.
from remoteparts.
Clay,
I just finished reinstalling R and all packages. Still no joy.
Was Ruusa getting this same error message? It seems a strange error if caused by packages not talking nicely to each other.
I'll ask Jamie to try on his Mac.
Tony
from remoteparts.
Thanks for this, guys. Based on Jamie's response (and the fact that the error occurred with Ruusa's machine, I'll keep looking for a solution.
@Erfea, I'd be interested in learning how to prepare a docker image. It was my impression that docker was a linux-only tool. Can Mac and Windows use it as well, or does it require a virtual machine?
from remoteparts.
@arives, what is the output for this code on your machine?
packageVersion("remotePARTS")
from remoteparts.
I've found the problem and I know how to fix it - just going to take some time to work out and code up.
from remoteparts.
from remoteparts.
from remoteparts.
Happy to hear you have found the core of the issue Clay.
regarding docker, it can be installed on all systems, thus provide transferability across platforms. A remotePARTS-specific docker container is on my ToDo list, but it will happen not before spring 2023. Happy to share it once the image will be defined and tested.
Cheers, Kasia
from remoteparts.
Related Issues (16)
- Variance instead of SE HOT 5
- Package needs unit tests
- Fatal error that aborts R HOT 7
- rho in fitAR_map()
- Default output of fitCor is massive HOT 3
- fitAR_map needs parallel version HOT 4
- improve memory of parallel fitGLS_partition HOT 1
- Need geographic convex hull HOT 1
- speeding up `distm_km` HOT 4
- fitGLS_* max out CPU use on Linux HOT 3
- High core utilization during CRAN submission. HOT 12
- fitAR() results & estimates for the same value in the time series HOT 12
- distm_FUN for projections like UTM. HOT 3
- Default values of fitGLS_opt() allow for negative nugget. HOT 1
- Add GLS recommendation to GLS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remoteparts.