From rwickens at protonmail.com Wed Jun 7 23:38:32 2023 From: rwickens at protonmail.com (RW) Date: Thu, 08 Jun 2023 03:38:32 +0000 Subject: [MINC-users] NaN handling in RMINC In-Reply-To: <3f1Dbo8e35U2i0NMez8bIpD7QrW7usTgDoby1Vbwtqkpqp9mgsUzR2CTasGGrH3U9gh7TKoZEdQfaYcj_mqhidL9N3-ItVvzW8DBGi76fSE=@protonmail.com> References: <3f1Dbo8e35U2i0NMez8bIpD7QrW7usTgDoby1Vbwtqkpqp9mgsUzR2CTasGGrH3U9gh7TKoZEdQfaYcj_mqhidL9N3-ItVvzW8DBGi76fSE=@protonmail.com> Message-ID: The image is unrelated - my apologies. Rebekah ------- Original Message ------- On Wednesday, June 7th, 2023 at 11:31 PM, RW wrote: > Hello, > > I?m using minc toolkit 1.9.17 on the mincvm-packer ([Update for Virtualbox 6.1.12 and packer 1.6.0](https://github.com/CoBrALab/MINC-VM/commit/15ca2dd0ee9287136232da4fe8e3ac9104c3437a)) via Windows Oracle VirtualBox 6.1, with lubuntu 18.04, and R version 3.6.3 and RMINC version 1.5.2.3. > > When performing simple linear regressions using mincLm on RMINC, I notice that if one of the scans contains NaN values (via minccalc), the resulting Betas (regression coefficients) appear to have implausible ranges (e.g., ?Range: 3230528607327814463144632678524911616.000000 -0.061514). > > Is there a way I can ensure that NaNs of a given subject are ignored in the Beta calculations? > > Thank you for your assistance, > > Rebekah From rwickens at protonmail.com Tue Jun 20 08:49:35 2023 From: rwickens at protonmail.com (RW) Date: Tue, 20 Jun 2023 12:49:35 +0000 Subject: [MINC-users] NaN handling in RMINC Message-ID: <7LLSNGlaezXFmO9wwBVES2Y-DyG2nS2d3qNKvF_przcuR2p8v7Lzk9h4DDDBMZhpOshRLPULb9DlDiK7vfgx8IALI9lKSKp3hkL7V2P42lQ=@protonmail.com> Hello, I?m using minc toolkit 1.9.17 on the mincvm-packer ([Update for Virtualbox 6.1.12 and packer 1.6.0](https://github.com/CoBrALab/MINC-VM/commit/15ca2dd0ee9287136232da4fe8e3ac9104c3437a)) via Windows Oracle VirtualBox 6.1, with lubuntu 18.04, and R version 3.6.3 and RMINC version 1.5.2.3. When performing simple linear regressions using mincLm on RMINC, I notice that if one of the scans contains NaN values (via minccalc), the resulting Betas (regression coefficients) appear to have implausible ranges (e.g., ?Range: 3230528607327814463144632678524911616.000000 -0.061514). Is there a way I can ensure that NaNs of a given subject are ignored in the Beta calculations? Thank you for your assistance, RW