0s autopkgtest [20:39:00]: starting date and time: 2024-03-27 20:39:00+0000 0s autopkgtest [20:39:00]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [20:39:00]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4b0u0snx/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed --apt-upgrade octave-statistics --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=octave/8.4.0-1build4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-14.secgroup --name adt-noble-s390x-octave-statistics-20240327-203900-juju-7f2275-prod-proposed-migration-environment-2-27b136dd-ac0f-4aa9-a5a8-d35bbea4d24a --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 146s autopkgtest [20:41:26]: testbed dpkg architecture: s390x 146s autopkgtest [20:41:26]: testbed apt version: 2.7.12 146s autopkgtest [20:41:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 147s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 147s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3942 kB] 150s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [477 kB] 150s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [55.9 kB] 150s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [8504 B] 150s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [655 kB] 150s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 150s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 150s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 150s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4055 kB] 151s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 151s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [46.2 kB] 151s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 154s Fetched 9368 kB in 6s (1674 kB/s) 154s Reading package lists... 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 158s Calculating upgrade... 158s The following packages will be upgraded: 158s binutils binutils-common binutils-s390x-linux-gnu gcc-13-base gcc-14-base 158s initramfs-tools initramfs-tools-bin initramfs-tools-core jq libbinutils 158s libctf-nobfd0 libctf0 libexpat1 libftdi1-2 libgcc-s1 libjq1 libseccomp2 158s libsframe1 libstdc++6 libusb-1.0-0 158s 20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 158s Need to get 4765 kB of archives. 158s After this operation, 1024 B of additional disk space will be used. 158s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x gcc-14-base s390x 14-20240315-1ubuntu1 [47.0 kB] 159s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++6 s390x 14-20240315-1ubuntu1 [908 kB] 159s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-s1 s390x 14-20240315-1ubuntu1 [35.9 kB] 159s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libseccomp2 s390x 2.5.5-1ubuntu2 [53.4 kB] 159s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libexpat1 s390x 2.6.1-2 [94.8 kB] 159s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libusb-1.0-0 s390x 2:1.0.27-1 [54.8 kB] 159s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libctf0 s390x 2.42-4ubuntu1 [98.4 kB] 159s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libctf-nobfd0 s390x 2.42-4ubuntu1 [100 kB] 159s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x binutils-s390x-linux-gnu s390x 2.42-4ubuntu1 [2270 kB] 160s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libbinutils s390x 2.42-4ubuntu1 [477 kB] 160s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x binutils s390x 2.42-4ubuntu1 [3056 B] 160s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x binutils-common s390x 2.42-4ubuntu1 [217 kB] 160s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libsframe1 s390x 2.42-4ubuntu1 [14.2 kB] 160s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-base s390x 13.2.0-21ubuntu1 [48.3 kB] 160s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools all 0.142ubuntu23 [9058 B] 160s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-core all 0.142ubuntu23 [50.1 kB] 160s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-bin s390x 0.142ubuntu23 [20.5 kB] 160s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x jq s390x 1.7.1-3 [66.5 kB] 160s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libjq1 s390x 1.7.1-3 [168 kB] 160s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libftdi1-2 s390x 1.5-6build4 [29.3 kB] 161s Fetched 4765 kB in 2s (2236 kB/s) 161s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 161s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_s390x.deb ... 161s Unpacking gcc-14-base:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 161s Setting up gcc-14-base:s390x (14-20240315-1ubuntu1) ... 161s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 161s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_s390x.deb ... 161s Unpacking libstdc++6:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 162s Setting up libstdc++6:s390x (14-20240315-1ubuntu1) ... 162s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 162s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_s390x.deb ... 162s Unpacking libgcc-s1:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 162s Setting up libgcc-s1:s390x (14-20240315-1ubuntu1) ... 162s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 162s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_s390x.deb ... 162s Unpacking libseccomp2:s390x (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 162s Setting up libseccomp2:s390x (2.5.5-1ubuntu2) ... 162s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 162s Preparing to unpack .../00-libexpat1_2.6.1-2_s390x.deb ... 162s Unpacking libexpat1:s390x (2.6.1-2) over (2.6.0-1) ... 162s Preparing to unpack .../01-libusb-1.0-0_2%3a1.0.27-1_s390x.deb ... 162s Unpacking libusb-1.0-0:s390x (2:1.0.27-1) over (2:1.0.26-1) ... 162s Preparing to unpack .../02-libctf0_2.42-4ubuntu1_s390x.deb ... 162s Unpacking libctf0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../03-libctf-nobfd0_2.42-4ubuntu1_s390x.deb ... 162s Unpacking libctf-nobfd0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../04-binutils-s390x-linux-gnu_2.42-4ubuntu1_s390x.deb ... 162s Unpacking binutils-s390x-linux-gnu (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../05-libbinutils_2.42-4ubuntu1_s390x.deb ... 162s Unpacking libbinutils:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../06-binutils_2.42-4ubuntu1_s390x.deb ... 162s Unpacking binutils (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../07-binutils-common_2.42-4ubuntu1_s390x.deb ... 162s Unpacking binutils-common:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../08-libsframe1_2.42-4ubuntu1_s390x.deb ... 162s Unpacking libsframe1:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 162s Preparing to unpack .../09-gcc-13-base_13.2.0-21ubuntu1_s390x.deb ... 162s Unpacking gcc-13-base:s390x (13.2.0-21ubuntu1) over (13.2.0-17ubuntu2) ... 162s Preparing to unpack .../10-initramfs-tools_0.142ubuntu23_all.deb ... 162s Unpacking initramfs-tools (0.142ubuntu23) over (0.142ubuntu20) ... 162s Preparing to unpack .../11-initramfs-tools-core_0.142ubuntu23_all.deb ... 162s Unpacking initramfs-tools-core (0.142ubuntu23) over (0.142ubuntu20) ... 162s Preparing to unpack .../12-initramfs-tools-bin_0.142ubuntu23_s390x.deb ... 162s Unpacking initramfs-tools-bin (0.142ubuntu23) over (0.142ubuntu20) ... 162s Preparing to unpack .../13-jq_1.7.1-3_s390x.deb ... 162s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 162s Preparing to unpack .../14-libjq1_1.7.1-3_s390x.deb ... 162s Unpacking libjq1:s390x (1.7.1-3) over (1.7.1-2) ... 162s Preparing to unpack .../15-libftdi1-2_1.5-6build4_s390x.deb ... 162s Unpacking libftdi1-2:s390x (1.5-6build4) over (1.5-6build3) ... 162s Setting up libexpat1:s390x (2.6.1-2) ... 162s Setting up libjq1:s390x (1.7.1-3) ... 162s Setting up binutils-common:s390x (2.42-4ubuntu1) ... 162s Setting up libctf-nobfd0:s390x (2.42-4ubuntu1) ... 162s Setting up libsframe1:s390x (2.42-4ubuntu1) ... 162s Setting up gcc-13-base:s390x (13.2.0-21ubuntu1) ... 162s Setting up jq (1.7.1-3) ... 162s Setting up libusb-1.0-0:s390x (2:1.0.27-1) ... 162s Setting up libbinutils:s390x (2.42-4ubuntu1) ... 162s Setting up initramfs-tools-bin (0.142ubuntu23) ... 162s Setting up libctf0:s390x (2.42-4ubuntu1) ... 162s Setting up binutils-s390x-linux-gnu (2.42-4ubuntu1) ... 162s Setting up binutils (2.42-4ubuntu1) ... 162s Setting up libftdi1-2:s390x (1.5-6build4) ... 162s Setting up initramfs-tools-core (0.142ubuntu23) ... 162s Setting up initramfs-tools (0.142ubuntu23) ... 162s update-initramfs: deferring update (trigger activated) 162s Processing triggers for man-db (2.12.0-3) ... 164s Processing triggers for libc-bin (2.39-0ubuntu6) ... 164s Processing triggers for initramfs-tools (0.142ubuntu23) ... 164s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 164s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 170s Using config file '/etc/zipl.conf' 170s Building bootmap in '/boot' 170s Adding IPL section 'ubuntu' (default) 170s Preparing boot device for LD-IPL: vda (0000). 170s Done. 170s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s 0 upgraded, 0 newly installed, 0 to remove and 224 not upgraded. 172s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 172s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 172s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 172s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 175s Reading package lists... 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 176s Calculating upgrade... 176s The following packages were automatically installed and are no longer required: 176s libaio1 libnetplan0 python3-distutils python3-lib2to3 176s Use 'sudo apt autoremove' to remove them. 176s The following packages will be REMOVED: 176s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 176s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 176s libhogweed6 libmagic1 libnettle8 libnpth0 libnvme1 libparted2 libperl5.38 176s libpng16-16 libpsl5 libreadline8 libreiserfscore0 libssl3 libtirpc3 liburcu8 176s libuv1 176s The following NEW packages will be installed: 176s bpfcc-tools bpftrace fontconfig-config fonts-dejavu-core fonts-dejavu-mono 176s hwdata ieee-data libaio1t64 libapt-pkg6.0t64 libarchive13t64 libatm1t64 176s libbpfcc libc-dev-bin libc-devtools libc6-dev libclang-cpp18 libclang1-18 176s libcrypt-dev libcurl3t64-gnutls libcurl4t64 libdb5.3t64 libdeflate0 176s libdw1t64 libelf1t64 libext2fs2t64 libfontconfig1 libfreetype6 libgd3 176s libgdbm-compat4t64 libgdbm6t64 libglib2.0-0t64 libgnutls30t64 libgpgme11t64 176s libhogweed6t64 libjbig0 libjpeg-turbo8 libjpeg8 libllvm18 libmagic1t64 176s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 176s libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 libreiserfscore0t64 176s libsharpyuv0 libssl3t64 libtiff6 libtirpc3t64 liburcu8t64 libuv1t64 libwebp7 176s libxpm4 linux-headers-6.8.0-20 linux-headers-6.8.0-20-generic 176s linux-image-6.8.0-20-generic linux-libc-dev linux-modules-6.8.0-20-generic 176s linux-modules-extra-6.8.0-20-generic linux-tools-6.8.0-20 176s linux-tools-6.8.0-20-generic linux-tools-common manpages manpages-dev 176s python3-bpfcc python3-netaddr rpcsvc-proto ubuntu-kernel-accessories 176s xdg-user-dirs 176s The following packages have been kept back: 176s s390-tools 176s The following packages will be upgraded: 176s apparmor apt apt-utils base-files bash bind9-dnsutils bind9-host bind9-libs 176s bolt bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 176s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 176s dbus-user-session dhcpcd-base dirmngr dmsetup dpkg dpkg-dev e2fsprogs 176s e2fsprogs-l10n eject fdisk file ftp fwupd gawk gir1.2-girepository-2.0 176s gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client 176s gpgconf gpgsm gpgv groff-base ibverbs-providers inetutils-telnet info 176s install-info iproute2 keyboxd kmod kpartx krb5-locales libapparmor1 176s libaudit-common libaudit1 libblkid1 libblockdev-crypto3 libblockdev-fs3 176s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 176s libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 libbrotli1 176s libcap-ng0 libcom-err2 libcryptsetup12 libdbus-1-3 libdebconfclient0 176s libdevmapper1.02.1 libdpkg-perl libevent-core-2.1-7 libfdisk1 libfido2-1 176s libfwupd2 libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 176s libgudev-1.0-0 libgusb2 libibverbs1 libjcat1 libjson-glib-1.0-0 176s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 176s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 176s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 176s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 176s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 176s libpolkit-gobject-1-0 libproc2-0 libprotobuf-c1 libpython3-stdlib 176s libpython3.11-minimal libpython3.11-stdlib libpython3.12-minimal 176s libpython3.12-stdlib libqmi-glib5 libqmi-proxy libqrtr-glib0 librtmp1 176s libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 176s libsemanage-common libsemanage2 libslang2 libsmartcols1 libsqlite3-0 libss2 176s libssh-4 libsystemd-shared libsystemd0 libtext-charwidth-perl 176s libtext-iconv-perl libtirpc-common libudev1 libudisks2-0 libuuid1 176s libvolume-key1 libxml2 libxmlb2 libxmuu1 linux-generic linux-headers-generic 176s linux-headers-virtual linux-image-generic linux-image-virtual linux-virtual 176s logsave lshw lsof man-db motd-news-config mount mtr-tiny multipath-tools 176s netplan-generator netplan.io openssh-client openssh-server 176s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 176s pinentry-curses plymouth plymouth-theme-ubuntu-text procps python-apt-common 176s python3 python3-apt python3-cryptography python3-dbus python3-distutils 176s python3-gdbm python3-gi python3-lib2to3 python3-minimal python3-netplan 176s python3-pkg-resources python3-pyrsistent python3-setuptools 176s python3-typing-extensions python3-yaml python3.11 python3.11-minimal 176s python3.12 python3.12-minimal readline-common rsync rsyslog s390-tools-data 176s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 176s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 176s ubuntu-pro-client-l10n udev udisks2 usb.ids util-linux uuid-runtime 176s vim-common vim-tiny wget xxd xz-utils zlib1g 177s 223 upgraded, 73 newly installed, 28 to remove and 1 not upgraded. 177s Need to get 224 MB of archives. 177s After this operation, 524 MB of additional disk space will be used. 177s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x motd-news-config all 13ubuntu8 [5098 B] 177s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x base-files s390x 13ubuntu8 [74.2 kB] 177s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bash s390x 5.2.21-2ubuntu3 [845 kB] 177s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdutils s390x 1:2.39.3-9ubuntu2 [96.1 kB] 177s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbrotli1 s390x 1.1.0-2build1 [375 kB] 177s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgssapi-krb5-2 s390x 1.20.1-6ubuntu1 [149 kB] 177s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5-3 s390x 1.20.1-6ubuntu1 [360 kB] 177s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5support0 s390x 1.20.1-6ubuntu1 [34.6 kB] 177s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libk5crypto3 s390x 1.20.1-6ubuntu1 [90.3 kB] 178s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcom-err2 s390x 1.47.0-2.4~exp1ubuntu2 [22.9 kB] 178s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g s390x 1:1.3.dfsg-3.1ubuntu1 [75.7 kB] 178s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x librtmp1 s390x 2.4+20151223.gitfa8646d.1-2build6 [58.4 kB] 178s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udisks2 s390x 2.10.1-6 [298 kB] 178s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudisks2-0 s390x 2.10.1-6 [179 kB] 178s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid1 s390x 2.39.3-9ubuntu2 [128 kB] 178s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblzma5 s390x 5.6.0-0.2 [137 kB] 178s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kmod s390x 31+20240202-2ubuntu4 [107 kB] 178s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkmod2 s390x 31+20240202-2ubuntu4 [56.3 kB] 178s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-dev all 255.4-1ubuntu5 [103 kB] 178s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-timesyncd s390x 255.4-1ubuntu5 [35.3 kB] 178s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 178s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit-common all 1:3.1.2-2.1 [5674 B] 178s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcap-ng0 s390x 0.8.4-2build1 [15.7 kB] 178s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit1 s390x 1:3.1.2-2.1 [48.9 kB] 178s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam0g s390x 1.5.3-5ubuntu3 [69.8 kB] 178s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1 s390x 3.5-2ubuntu1 [84.7 kB] 178s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl4t64 s390x 8.5.0-2ubuntu8 [363 kB] 178s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x curl s390x 8.5.0-2ubuntu8 [227 kB] 178s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpsl5t64 s390x 0.21.2-1.1 [57.6 kB] 178s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x wget s390x 1.21.4-1ubuntu2 [351 kB] 178s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tnftp s390x 20230507-2build1 [107 kB] 178s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tcpdump s390x 4.99.4-3ubuntu2 [490 kB] 178s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd-shared s390x 255.4-1ubuntu5 [2131 kB] 179s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-resolved s390x 255.4-1ubuntu5 [304 kB] 179s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main s390x sudo s390x 1.9.15p5-3ubuntu3 [968 kB] 179s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsync s390x 3.2.7-1build1 [446 kB] 179s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-cryptography s390x 41.0.7-4build2 [918 kB] 179s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssl s390x 3.0.13-0ubuntu2 [1010 kB] 179s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-sftp-server s390x 1:9.6p1-3ubuntu11 [39.0 kB] 179s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-client s390x 1:9.6p1-3ubuntu11 [935 kB] 179s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-server s390x 1:9.6p1-3ubuntu11 [529 kB] 179s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssh-4 s390x 0.10.6-2build1 [189 kB] 179s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules s390x 2.1.28+dfsg1-5ubuntu1 [76.6 kB] 179s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12 s390x 3.12.2-4build3 [645 kB] 180s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12-minimal s390x 3.12.2-4build3 [2419 kB] 180s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-minimal s390x 3.12.2-4build3 [829 kB] 180s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparted2t64 s390x 3.6-3.1build2 [172 kB] 180s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main s390x parted s390x 3.6-3.1build2 [44.6 kB] 180s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11 s390x 3.11.8-1build4 [589 kB] 180s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11-minimal s390x 3.11.8-1build4 [2280 kB] 181s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-minimal s390x 3.11.8-1build4 [838 kB] 181s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-stdlib s390x 3.11.8-1build4 [1944 kB] 181s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main s390x shared-mime-info s390x 2.4-1build1 [474 kB] 181s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-girepository-2.0 s390x 1.79.1-1ubuntu6 [24.5 kB] 181s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 181s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-1.0-1 s390x 1.79.1-1ubuntu6 [84.0 kB] 181s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gi s390x 3.47.0-3build1 [236 kB] 181s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-dbus s390x 1.3.2-5build2 [100 kB] 181s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnetplan1 s390x 1.0-1 [123 kB] 181s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-netplan s390x 1.0-1 [23.0 kB] 181s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan-generator s390x 1.0-1 [59.1 kB] 181s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan.io s390x 1.0-1 [65.4 kB] 181s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmlb2 s390x 0.3.15-1build1 [70.6 kB] 181s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgpgme11t64 s390x 1.18.0-4.1ubuntu3 [150 kB] 181s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libvolume-key1 s390x 0.3.12-7build1 [40.8 kB] 181s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqrtr-glib0 s390x 1.2.2-1ubuntu3 [17.5 kB] 181s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-glib5 s390x 1.35.2-0ubuntu1 [918 kB] 182s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-proxy s390x 1.35.2-0ubuntu1 [6122 B] 182s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-agent-1-0 s390x 124-1ubuntu1 [17.8 kB] 182s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-gobject-1-0 s390x 124-1ubuntu1 [48.3 kB] 182s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmm-glib0 s390x 1.23.4-0ubuntu1 [251 kB] 182s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-glib4 s390x 1.31.2-0ubuntu2 [238 kB] 182s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-proxy s390x 1.31.2-0ubuntu2 [6154 B] 182s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 182s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-0 s390x 1.8.0-2build1 [68.4 kB] 182s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgusb2 s390x 0.4.8-1build1 [39.0 kB] 182s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgudev-1.0-0 s390x 1:238-3ubuntu2 [15.7 kB] 182s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libarchive13t64 s390x 3.7.2-1.1ubuntu2 [419 kB] 182s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fwupd s390x 1.9.15-2 [4435 kB] 182s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl3t64-gnutls s390x 8.5.0-2ubuntu8 [356 kB] 183s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfwupd2 s390x 1.9.15-2 [136 kB] 183s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev3 s390x 3.1.0-1build1 [52.3 kB] 183s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-utils3 s390x 3.1.0-1build1 [19.2 kB] 183s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-swap3 s390x 3.1.0-1build1 [7778 B] 183s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-part3 s390x 3.1.0-1build1 [15.4 kB] 183s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnvme1t64 s390x 1.8-3 [78.7 kB] 183s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-nvme3 s390x 3.1.0-1build1 [18.3 kB] 183s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-mdraid3 s390x 3.1.0-1build1 [13.2 kB] 183s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-loop3 s390x 3.1.0-1build1 [7138 B] 183s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main s390x logsave s390x 1.47.0-2.4~exp1ubuntu2 [22.5 kB] 183s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 183s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libext2fs2t64 s390x 1.47.0-2.4~exp1ubuntu2 [235 kB] 183s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs s390x 1.47.0-2.4~exp1ubuntu2 [615 kB] 183s Get:94 http://ftpmaster.internal/ubuntu noble/main s390x libreiserfscore0t64 s390x 1:3.6.27-7.1 [85.5 kB] 183s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main s390x btrfs-progs s390x 6.6.3-1.1build1 [959 kB] 183s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-fs3 s390x 3.1.0-1build1 [36.5 kB] 183s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-crypto3 s390x 3.1.0-1build1 [21.6 kB] 183s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bolt s390x 0.9.6-2build1 [142 kB] 183s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 183s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjcat1 s390x 0.2.0-2build2 [34.4 kB] 183s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap2 s390x 2.6.7+dfsg-1~exp1ubuntu6 [202 kB] 183s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client-l10n s390x 31.2.2 [19.4 kB] 184s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client s390x 31.2.2 [214 kB] 184s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-utils s390x 2.4.4-2ubuntu15 [116 kB] 184s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main s390x keyboxd s390x 2.4.4-2ubuntu15 [83.1 kB] 184s Get:106 http://ftpmaster.internal/ubuntu noble/main s390x libnpth0t64 s390x 1.6-3.1 [8148 B] 184s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgv s390x 2.4.4-2ubuntu15 [165 kB] 184s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-wks-client s390x 2.4.4-2ubuntu15 [76.8 kB] 184s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-agent s390x 2.4.4-2ubuntu15 [240 kB] 184s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg s390x 2.4.4-2ubuntu15 [589 kB] 185s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dirmngr s390x 2.4.4-2ubuntu15 [340 kB] 185s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg all 2.4.4-2ubuntu15 [359 kB] 185s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-apt s390x 2.7.7 [171 kB] 185s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt-utils s390x 2.7.14 [214 kB] 185s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg6.0t64 s390x 2.7.14 [1014 kB] 186s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnettle8t64 s390x 3.9.1-2.2 [210 kB] 186s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhogweed6t64 s390x 3.9.1-2.2 [204 kB] 186s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgnutls30t64 s390x 3.8.3-1.1ubuntu2 [1044 kB] 186s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt s390x 2.7.14 [1390 kB] 187s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgconf s390x 2.4.4-2ubuntu15 [111 kB] 187s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgsm s390x 2.4.4-2ubuntu15 [244 kB] 187s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline8t64 s390x 8.2-4 [170 kB] 187s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gawk s390x 1:5.2.1-2build2 [496 kB] 187s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fdisk s390x 2.39.3-9ubuntu2 [124 kB] 187s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-stdlib s390x 3.12.2-4build3 [2046 kB] 189s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-base s390x 5.38.2-3.2 [1961 kB] 190s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 192s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gdbm s390x 3.12.2-3ubuntu1.1 [19.0 kB] 192s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main s390x man-db s390x 2.12.0-3build4 [1246 kB] 194s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm6t64 s390x 1.23-5.1 [36.4 kB] 194s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm-compat4t64 s390x 1.23-5.1 [6880 B] 194s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperl5.38t64 s390x 5.38.2-3.2 [5007 kB] 197s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl s390x 5.38.2-3.2 [231 kB] 197s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdb5.3t64 s390x 5.3.28+dfsg2-6 [763 kB] 198s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules-db s390x 2.1.28+dfsg1-5ubuntu1 [21.1 kB] 198s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-2 s390x 2.1.28+dfsg1-5ubuntu1 [57.8 kB] 198s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfido2-1 s390x 1.14.0-1build1 [81.0 kB] 198s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcryptsetup12 s390x 2:2.7.0-1ubuntu2 [264 kB] 198s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dhcpcd-base s390x 1:10.0.6-1ubuntu2 [217 kB] 198s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuv1t64 s390x 1.48.0-1.1 [101 kB] 198s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-host s390x 1:9.18.24-0ubuntu3 [50.5 kB] 198s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-dnsutils s390x 1:9.18.24-0ubuntu3 [162 kB] 198s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-libs s390x 1:9.18.24-0ubuntu3 [1243 kB] 199s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl3t64 s390x 3.0.13-0ubuntu2 [1675 kB] 200s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnss-systemd s390x 255.4-1ubuntu5 [166 kB] 200s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudev1 s390x 255.4-1ubuntu5 [178 kB] 200s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd s390x 255.4-1ubuntu5 [3533 kB] 201s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udev s390x 255.4-1ubuntu5 [1887 kB] 202s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-sysv s390x 255.4-1ubuntu5 [11.9 kB] 202s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-systemd s390x 255.4-1ubuntu5 [242 kB] 202s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd0 s390x 255.4-1ubuntu5 [443 kB] 202s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules-bin s390x 1.5.3-5ubuntu3 [57.4 kB] 202s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules s390x 1.5.3-5ubuntu3 [289 kB] 202s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 202s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-user-session s390x 1.14.10-4ubuntu2 [9960 B] 202s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapparmor1 s390x 4.0.0-beta3-0ubuntu2 [50.8 kB] 202s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 202s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-bin s390x 1.14.10-4ubuntu2 [41.4 kB] 202s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus s390x 1.14.10-4ubuntu2 [24.3 kB] 202s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-daemon s390x 1.14.10-4ubuntu2 [118 kB] 202s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdbus-1-3 s390x 1.14.10-4ubuntu2 [213 kB] 202s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount1 s390x 2.39.3-9ubuntu2 [138 kB] 202s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevmapper1.02.1 s390x 2:1.02.185-3ubuntu2 [142 kB] 202s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuuid1 s390x 2.39.3-9ubuntu2 [35.6 kB] 202s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfdisk1 s390x 2.39.3-9ubuntu2 [151 kB] 202s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mount s390x 2.39.3-9ubuntu2 [119 kB] 202s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsqlite3-0 s390x 3.45.1-1ubuntu1 [747 kB] 203s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg s390x 1.22.6ubuntu5 [1278 kB] 203s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-minimal s390x 3.12.2-0ubuntu1 [27.1 kB] 203s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3 s390x 3.12.2-0ubuntu1 [24.1 kB] 203s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3-stdlib s390x 3.12.2-0ubuntu1 [9804 B] 203s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsmartcols1 s390x 2.39.3-9ubuntu2 [67.9 kB] 203s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdextrautils s390x 2.39.3-9ubuntu2 [76.3 kB] 203s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main s390x groff-base s390x 1.23.0-3build1 [1049 kB] 203s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x pinentry-curses s390x 1.2.1-3ubuntu4 [37.6 kB] 203s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main s390x readline-common all 8.2-4 [56.4 kB] 203s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml2 s390x 2.9.14+dfsg-1.3ubuntu2 [818 kB] 203s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbpf1 s390x 1:1.3.0-2build1 [176 kB] 203s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 203s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc-common all 1.3.4+ds-1.1 [8018 B] 203s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lsof s390x 4.95.0-1build2 [248 kB] 203s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnsl2 s390x 1.3.0-3build2 [44.1 kB] 203s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc3t64 s390x 1.3.4+ds-1.1 [85.8 kB] 203s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main s390x iproute2 s390x 6.1.0-1ubuntu5 [1156 kB] 204s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-yaml s390x 6.0.1-2build1 [121 kB] 204s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libprotobuf-c1 s390x 1.4.1-1ubuntu3 [23.4 kB] 204s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnghttp2-14 s390x 1.59.0-1build1 [77.8 kB] 204s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc2-0 s390x 2:4.0.4-4ubuntu2 [60.1 kB] 204s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main s390x procps s390x 2:4.0.4-4ubuntu2 [724 kB] 204s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main s390x coreutils s390x 9.4-3ubuntu3 [1482 kB] 204s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main s390x util-linux s390x 2.39.3-9ubuntu2 [1143 kB] 204s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main s390x file s390x 1:5.45-3 [22.2 kB] 204s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic-mgc s390x 1:5.45-3 [305 kB] 204s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic1t64 s390x 1:5.45-3 [93.1 kB] 204s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libplymouth5 s390x 24.004.60-1ubuntu6 [151 kB] 204s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng16-16t64 s390x 1.6.43-3 [200 kB] 204s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main s390x multipath-tools s390x 0.9.4-5ubuntu6 [318 kB] 204s Get:198 http://ftpmaster.internal/ubuntu noble/main s390x liburcu8t64 s390x 0.14.0-3.1 [67.3 kB] 205s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblocale-gettext-perl s390x 1.07-6ubuntu4 [15.8 kB] 205s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-runtime s390x 2.39.3-9ubuntu2 [33.4 kB] 205s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdebconfclient0 s390x 0.271ubuntu2 [11.4 kB] 205s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage-common all 3.5-1build4 [10.1 kB] 205s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage2 s390x 3.5-1build4 [96.7 kB] 205s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main s390x install-info s390x 7.1-3build1 [64.5 kB] 205s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libss2 s390x 1.47.0-2.4~exp1ubuntu2 [17.2 kB] 205s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dmsetup s390x 2:1.02.185-3ubuntu2 [80.4 kB] 205s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main s390x eject s390x 2.39.3-9ubuntu2 [26.2 kB] 205s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main s390x krb5-locales all 1.20.1-6ubuntu1 [13.8 kB] 205s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 205s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libslang2 s390x 2.3.3-3build1 [501 kB] 205s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-charwidth-perl s390x 0.04-11build2 [9484 B] 205s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-iconv-perl s390x 1.7-8build2 [13.8 kB] 205s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python-apt-common all 2.7.7 [19.8 kB] 205s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 206s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 206s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsyslog s390x 8.2312.0-3ubuntu7 [536 kB] 206s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-tiny s390x 2:9.1.0016-1ubuntu6 [879 kB] 206s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-common all 2:9.1.0016-1ubuntu6 [385 kB] 206s Get:219 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 206s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xxd s390x 2:9.1.0016-1ubuntu6 [63.5 kB] 206s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apparmor s390x 4.0.0-beta3-0ubuntu2 [710 kB] 206s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ftp all 20230507-2build1 [4724 B] 206s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main s390x inetutils-telnet s390x 2:2.5-3ubuntu3 [105 kB] 206s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main s390x info s390x 7.1-3build1 [152 kB] 206s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmuu1 s390x 2:1.1.3-3build1 [8860 B] 206s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lshw s390x 02.19.git.2021.06.19.996aaad9c7-2build2 [346 kB] 206s Get:227 http://ftpmaster.internal/ubuntu noble/main s390x manpages all 6.05.01-1 [1340 kB] 207s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mtr-tiny s390x 0.95-1.1build1 [57.0 kB] 207s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth-theme-ubuntu-text s390x 24.004.60-1ubuntu6 [10.2 kB] 207s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth s390x 24.004.60-1ubuntu6 [147 kB] 207s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main s390x telnet all 0.17+2.5-3ubuntu3 [3682 B] 207s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main s390x usb.ids all 2024.03.18-1 [223 kB] 207s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xz-utils s390x 5.6.0-0.2 [274 kB] 207s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm18 s390x 1:18.1.2-1ubuntu2 [33.4 MB] 209s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang-cpp18 s390x 1:18.1.2-1ubuntu2 [16.1 MB] 210s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libbpfcc s390x 0.29.1+ds-1ubuntu4 [697 kB] 210s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x python3-bpfcc all 0.29.1+ds-1ubuntu4 [40.2 kB] 210s Get:238 http://ftpmaster.internal/ubuntu noble/main s390x ieee-data all 20220827.1 [2113 kB] 210s Get:239 http://ftpmaster.internal/ubuntu noble/main s390x python3-netaddr all 0.8.0-2ubuntu1 [319 kB] 210s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpfcc-tools all 0.29.1+ds-1ubuntu4 [687 kB] 210s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang1-18 s390x 1:18.1.2-1ubuntu2 [9349 kB] 211s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdw1t64 s390x 0.190-1.1build2 [286 kB] 211s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpftrace s390x 0.20.2-1ubuntu1 [1139 kB] 211s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cryptsetup-bin s390x 2:2.7.0-1ubuntu2 [211 kB] 211s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg-dev all 1.22.6ubuntu5 [1074 kB] 211s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdpkg-perl all 1.22.6ubuntu5 [269 kB] 211s Get:247 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 211s Get:248 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 211s Get:249 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig-config s390x 2.15.0-1.1ubuntu1 [37.4 kB] 211s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 211s Get:251 http://ftpmaster.internal/ubuntu noble/main s390x hwdata all 0.379-1 [29.1 kB] 211s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libibverbs1 s390x 50.0-2build1 [70.0 kB] 211s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ibverbs-providers s390x 50.0-2build1 [408 kB] 211s Get:254 http://ftpmaster.internal/ubuntu noble/main s390x libaio1t64 s390x 0.3.113-6 [7290 B] 211s Get:255 http://ftpmaster.internal/ubuntu noble/main s390x libatm1t64 s390x 1:2.5.1-5.1 [24.5 kB] 211s Get:256 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu6 [20.2 kB] 211s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfreetype6 s390x 2.13.2+dfsg-1build2 [437 kB] 211s Get:258 http://ftpmaster.internal/ubuntu noble/main s390x libfontconfig1 s390x 2.15.0-1.1ubuntu1 [150 kB] 211s Get:259 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] 211s Get:260 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 211s Get:261 http://ftpmaster.internal/ubuntu noble/main s390x libdeflate0 s390x 1.19-1 [46.0 kB] 211s Get:262 http://ftpmaster.internal/ubuntu noble/main s390x libjbig0 s390x 2.1-6.1ubuntu1 [29.8 kB] 211s Get:263 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsharpyuv0 s390x 1.3.2-0.4build2 [14.9 kB] 211s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwebp7 s390x 1.3.2-0.4build2 [207 kB] 211s Get:265 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu1 [218 kB] 211s Get:266 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxpm4 s390x 1:3.5.17-1build1 [41.4 kB] 212s Get:267 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgd3 s390x 2.3.3-9ubuntu3 [141 kB] 212s Get:268 http://ftpmaster.internal/ubuntu noble/main s390x libc-devtools s390x 2.39-0ubuntu6 [30.6 kB] 212s Get:269 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-libc-dev s390x 6.8.0-20.20 [1592 kB] 212s Get:270 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 212s Get:271 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 212s Get:272 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu6 [1629 kB] 212s Get:273 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libevent-core-2.1-7 s390x 2.1.12-stable-9build1 [94.3 kB] 212s Get:274 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 212s Get:275 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-6.8.0-20-generic s390x 6.8.0-20.20 [21.0 MB] 213s Get:276 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-6.8.0-20-generic s390x 6.8.0-20.20 [9872 kB] 213s Get:277 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-extra-6.8.0-20-generic s390x 6.8.0-20.20 [11.7 MB] 214s Get:278 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-generic s390x 6.8.0-20.20+1 [1734 B] 214s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-generic s390x 6.8.0-20.20+1 [9688 B] 214s Get:280 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-virtual s390x 6.8.0-20.20+1 [1682 B] 214s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-virtual s390x 6.8.0-20.20+1 [9700 B] 214s Get:282 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-virtual s390x 6.8.0-20.20+1 [1642 B] 214s Get:283 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20 all 6.8.0-20.20 [13.6 MB] 215s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20-generic s390x 6.8.0-20.20 [2579 kB] 215s Get:285 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-generic s390x 6.8.0-20.20+1 [9608 B] 215s Get:286 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-common all 6.8.0-20.20 [437 kB] 215s Get:287 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20 s390x 6.8.0-20.20 [2674 kB] 215s Get:288 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20-generic s390x 6.8.0-20.20 [1724 B] 215s Get:289 http://ftpmaster.internal/ubuntu noble/main s390x manpages-dev all 6.05.01-1 [2018 kB] 215s Get:290 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-distutils all 3.12.2-3ubuntu1.1 [133 kB] 215s Get:291 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-lib2to3 all 3.12.2-3ubuntu1.1 [79.1 kB] 215s Get:292 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pyrsistent s390x 0.20.0-1build1 [55.8 kB] 215s Get:293 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-typing-extensions all 4.10.0-1 [60.7 kB] 215s Get:294 http://ftpmaster.internal/ubuntu noble-proposed/main s390x s390-tools-data all 2.31.0-0ubuntu3 [17.8 kB] 215s Get:295 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-kernel-accessories s390x 1.536build1 [10.5 kB] 215s Get:296 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kpartx s390x 0.9.4-5ubuntu6 [32.8 kB] 216s Preconfiguring packages ... 216s Fetched 224 MB in 38s (5812 kB/s) 217s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 217s Preparing to unpack .../motd-news-config_13ubuntu8_all.deb ... 217s Unpacking motd-news-config (13ubuntu8) over (13ubuntu7) ... 217s Preparing to unpack .../base-files_13ubuntu8_s390x.deb ... 217s Unpacking base-files (13ubuntu8) over (13ubuntu7) ... 217s Setting up base-files (13ubuntu8) ... 218s motd-news.service is a disabled or a static unit not running, not starting it. 218s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 218s Preparing to unpack .../bash_5.2.21-2ubuntu3_s390x.deb ... 218s Unpacking bash (5.2.21-2ubuntu3) over (5.2.21-2ubuntu2) ... 218s Setting up bash (5.2.21-2ubuntu3) ... 218s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 218s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 218s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_s390x.deb ... 218s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 218s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 218s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 218s Preparing to unpack .../0-libbrotli1_1.1.0-2build1_s390x.deb ... 218s Unpacking libbrotli1:s390x (1.1.0-2build1) over (1.1.0-2) ... 218s Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-6ubuntu1_s390x.deb ... 218s Unpacking libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 218s Preparing to unpack .../2-libkrb5-3_1.20.1-6ubuntu1_s390x.deb ... 218s Unpacking libkrb5-3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 218s Preparing to unpack .../3-libkrb5support0_1.20.1-6ubuntu1_s390x.deb ... 218s Unpacking libkrb5support0:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 218s Preparing to unpack .../4-libk5crypto3_1.20.1-6ubuntu1_s390x.deb ... 218s Unpacking libk5crypto3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 218s Preparing to unpack .../5-libcom-err2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 218s Unpacking libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 218s Preparing to unpack .../6-zlib1g_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 218s Unpacking zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 218s Setting up zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2build6_s390x.deb ... 219s Unpacking librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 219s Preparing to unpack .../udisks2_2.10.1-6_s390x.deb ... 219s Unpacking udisks2 (2.10.1-6) over (2.10.1-1ubuntu2) ... 219s Preparing to unpack .../libudisks2-0_2.10.1-6_s390x.deb ... 219s Unpacking libudisks2-0:s390x (2.10.1-6) over (2.10.1-1ubuntu2) ... 219s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_s390x.deb ... 219s Unpacking libblkid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 219s Setting up libblkid1:s390x (2.39.3-9ubuntu2) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../liblzma5_5.6.0-0.2_s390x.deb ... 219s Unpacking liblzma5:s390x (5.6.0-0.2) over (5.4.5-0.3) ... 219s Setting up liblzma5:s390x (5.6.0-0.2) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../0-kmod_31+20240202-2ubuntu4_s390x.deb ... 219s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 219s Preparing to unpack .../1-libkmod2_31+20240202-2ubuntu4_s390x.deb ... 219s Unpacking libkmod2:s390x (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 219s Preparing to unpack .../2-systemd-dev_255.4-1ubuntu5_all.deb ... 219s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 219s Preparing to unpack .../3-systemd-timesyncd_255.4-1ubuntu5_s390x.deb ... 219s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 219s Preparing to unpack .../4-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 219s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 219s Preparing to unpack .../5-libaudit-common_1%3a3.1.2-2.1_all.deb ... 219s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 219s Setting up libaudit-common (1:3.1.2-2.1) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../libcap-ng0_0.8.4-2build1_s390x.deb ... 219s Unpacking libcap-ng0:s390x (0.8.4-2build1) over (0.8.4-2) ... 219s Setting up libcap-ng0:s390x (0.8.4-2build1) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_s390x.deb ... 219s Unpacking libaudit1:s390x (1:3.1.2-2.1) over (1:3.1.2-2) ... 219s Setting up libaudit1:s390x (1:3.1.2-2.1) ... 219s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 219s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_s390x.deb ... 219s Unpacking libpam0g:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 219s Setting up libpam0g:s390x (1.5.3-5ubuntu3) ... 220s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 220s Preparing to unpack .../libselinux1_3.5-2ubuntu1_s390x.deb ... 220s Unpacking libselinux1:s390x (3.5-2ubuntu1) over (3.5-2build1) ... 220s Setting up libselinux1:s390x (3.5-2ubuntu1) ... 220s dpkg: libcurl4:s390x: dependency problems, but removing anyway as you requested: 220s s390-tools depends on libcurl4 (>= 7.16.2). 220s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 220s 220s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 220s Removing libcurl4:s390x (8.5.0-2ubuntu2) ... 220s Selecting previously unselected package libcurl4t64:s390x. 220s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52163 files and directories currently installed.) 220s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu8_s390x.deb ... 220s Unpacking libcurl4t64:s390x (8.5.0-2ubuntu8) ... 220s Preparing to unpack .../curl_8.5.0-2ubuntu8_s390x.deb ... 220s Unpacking curl (8.5.0-2ubuntu8) over (8.5.0-2ubuntu2) ... 220s dpkg: libpsl5:s390x: dependency problems, but removing anyway as you requested: 220s wget depends on libpsl5 (>= 0.16.0). 220s libcurl3-gnutls:s390x depends on libpsl5 (>= 0.16.0). 220s 220s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52169 files and directories currently installed.) 220s Removing libpsl5:s390x (0.21.2-1build1) ... 220s Selecting previously unselected package libpsl5t64:s390x. 220s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52164 files and directories currently installed.) 220s Preparing to unpack .../00-libpsl5t64_0.21.2-1.1_s390x.deb ... 220s Unpacking libpsl5t64:s390x (0.21.2-1.1) ... 221s Preparing to unpack .../01-wget_1.21.4-1ubuntu2_s390x.deb ... 221s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 221s Preparing to unpack .../02-tnftp_20230507-2build1_s390x.deb ... 221s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 221s Preparing to unpack .../03-tcpdump_4.99.4-3ubuntu2_s390x.deb ... 221s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 221s Preparing to unpack .../04-libsystemd-shared_255.4-1ubuntu5_s390x.deb ... 221s Unpacking libsystemd-shared:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 221s Preparing to unpack .../05-systemd-resolved_255.4-1ubuntu5_s390x.deb ... 221s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 221s Preparing to unpack .../06-sudo_1.9.15p5-3ubuntu3_s390x.deb ... 221s Unpacking sudo (1.9.15p5-3ubuntu3) over (1.9.15p5-3ubuntu1) ... 221s Preparing to unpack .../07-rsync_3.2.7-1build1_s390x.deb ... 221s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 221s Preparing to unpack .../08-python3-cryptography_41.0.7-4build2_s390x.deb ... 221s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 221s Preparing to unpack .../09-openssl_3.0.13-0ubuntu2_s390x.deb ... 221s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 221s Preparing to unpack .../10-openssh-sftp-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 221s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 221s Preparing to unpack .../11-openssh-client_1%3a9.6p1-3ubuntu11_s390x.deb ... 221s Unpacking openssh-client (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 222s Preparing to unpack .../12-openssh-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 222s Unpacking openssh-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 222s Preparing to unpack .../13-libssh-4_0.10.6-2build1_s390x.deb ... 222s Unpacking libssh-4:s390x (0.10.6-2build1) over (0.10.6-2) ... 222s Preparing to unpack .../14-libsasl2-modules_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 222s Unpacking libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 222s Preparing to unpack .../15-python3.12_3.12.2-4build3_s390x.deb ... 222s Unpacking python3.12 (3.12.2-4build3) over (3.12.2-1) ... 222s Preparing to unpack .../16-python3.12-minimal_3.12.2-4build3_s390x.deb ... 222s Unpacking python3.12-minimal (3.12.2-4build3) over (3.12.2-1) ... 222s Preparing to unpack .../17-libpython3.12-minimal_3.12.2-4build3_s390x.deb ... 222s Unpacking libpython3.12-minimal:s390x (3.12.2-4build3) over (3.12.2-1) ... 222s dpkg: libparted2:s390x: dependency problems, but removing anyway as you requested: 222s parted depends on libparted2 (= 3.6-3). 222s 222s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52170 files and directories currently installed.) 222s Removing libparted2:s390x (3.6-3) ... 222s Selecting previously unselected package libparted2t64:s390x. 222s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52164 files and directories currently installed.) 222s Preparing to unpack .../00-libparted2t64_3.6-3.1build2_s390x.deb ... 222s Unpacking libparted2t64:s390x (3.6-3.1build2) ... 222s Preparing to unpack .../01-parted_3.6-3.1build2_s390x.deb ... 222s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 223s Preparing to unpack .../02-python3.11_3.11.8-1build4_s390x.deb ... 223s Unpacking python3.11 (3.11.8-1build4) over (3.11.8-1) ... 223s Preparing to unpack .../03-python3.11-minimal_3.11.8-1build4_s390x.deb ... 223s Unpacking python3.11-minimal (3.11.8-1build4) over (3.11.8-1) ... 223s Preparing to unpack .../04-libpython3.11-minimal_3.11.8-1build4_s390x.deb ... 223s Unpacking libpython3.11-minimal:s390x (3.11.8-1build4) over (3.11.8-1) ... 223s Preparing to unpack .../05-libpython3.11-stdlib_3.11.8-1build4_s390x.deb ... 223s Unpacking libpython3.11-stdlib:s390x (3.11.8-1build4) over (3.11.8-1) ... 223s Preparing to unpack .../06-shared-mime-info_2.4-1build1_s390x.deb ... 223s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 223s Preparing to unpack .../07-gir1.2-girepository-2.0_1.79.1-1ubuntu6_s390x.deb ... 223s Unpacking gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 223s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 223s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 223s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_s390x.deb ... 223s Unpacking libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 223s Preparing to unpack .../10-python3-gi_3.47.0-3build1_s390x.deb ... 224s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 224s Preparing to unpack .../11-python3-dbus_1.3.2-5build2_s390x.deb ... 224s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 224s Selecting previously unselected package libnetplan1:s390x. 224s Preparing to unpack .../12-libnetplan1_1.0-1_s390x.deb ... 224s Unpacking libnetplan1:s390x (1.0-1) ... 224s Preparing to unpack .../13-python3-netplan_1.0-1_s390x.deb ... 224s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 224s Preparing to unpack .../14-netplan-generator_1.0-1_s390x.deb ... 224s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 224s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 224s Preparing to unpack .../15-netplan.io_1.0-1_s390x.deb ... 224s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 224s Preparing to unpack .../16-libxmlb2_0.3.15-1build1_s390x.deb ... 224s Unpacking libxmlb2:s390x (0.3.15-1build1) over (0.3.15-1) ... 224s dpkg: libgpgme11:s390x: dependency problems, but removing anyway as you requested: 224s libvolume-key1:s390x depends on libgpgme11 (>= 1.4.1). 224s libjcat1:s390x depends on libgpgme11 (>= 1.2.0). 224s 224s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52172 files and directories currently installed.) 224s Removing libgpgme11:s390x (1.18.0-4ubuntu1) ... 225s Selecting previously unselected package libgpgme11t64:s390x. 225s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52166 files and directories currently installed.) 225s Preparing to unpack .../00-libgpgme11t64_1.18.0-4.1ubuntu3_s390x.deb ... 225s Unpacking libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 225s Preparing to unpack .../01-libvolume-key1_0.3.12-7build1_s390x.deb ... 225s Unpacking libvolume-key1:s390x (0.3.12-7build1) over (0.3.12-5build2) ... 225s Preparing to unpack .../02-libqrtr-glib0_1.2.2-1ubuntu3_s390x.deb ... 225s Unpacking libqrtr-glib0:s390x (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 225s Preparing to unpack .../03-libqmi-glib5_1.35.2-0ubuntu1_s390x.deb ... 225s Unpacking libqmi-glib5:s390x (1.35.2-0ubuntu1) over (1.34.0-2) ... 225s Preparing to unpack .../04-libqmi-proxy_1.35.2-0ubuntu1_s390x.deb ... 225s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 225s Preparing to unpack .../05-libpolkit-agent-1-0_124-1ubuntu1_s390x.deb ... 225s Unpacking libpolkit-agent-1-0:s390x (124-1ubuntu1) over (124-1) ... 225s Preparing to unpack .../06-libpolkit-gobject-1-0_124-1ubuntu1_s390x.deb ... 225s Unpacking libpolkit-gobject-1-0:s390x (124-1ubuntu1) over (124-1) ... 225s Preparing to unpack .../07-libmm-glib0_1.23.4-0ubuntu1_s390x.deb ... 225s Unpacking libmm-glib0:s390x (1.23.4-0ubuntu1) over (1.22.0-3) ... 225s Preparing to unpack .../08-libmbim-glib4_1.31.2-0ubuntu2_s390x.deb ... 225s Unpacking libmbim-glib4:s390x (1.31.2-0ubuntu2) over (1.30.0-1) ... 225s Preparing to unpack .../09-libmbim-proxy_1.31.2-0ubuntu2_s390x.deb ... 225s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 225s Preparing to unpack .../10-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 225s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 225s Preparing to unpack .../11-libjson-glib-1.0-0_1.8.0-2build1_s390x.deb ... 225s Unpacking libjson-glib-1.0-0:s390x (1.8.0-2build1) over (1.8.0-2) ... 225s Preparing to unpack .../12-libgusb2_0.4.8-1build1_s390x.deb ... 225s Unpacking libgusb2:s390x (0.4.8-1build1) over (0.4.8-1) ... 225s Preparing to unpack .../13-libgudev-1.0-0_1%3a238-3ubuntu2_s390x.deb ... 225s Unpacking libgudev-1.0-0:s390x (1:238-3ubuntu2) over (1:238-3) ... 225s dpkg: libarchive13:s390x: dependency problems, but removing anyway as you requested: 225s fwupd depends on libarchive13 (>= 3.2.1). 225s 225s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52173 files and directories currently installed.) 225s Removing libarchive13:s390x (3.7.2-1ubuntu2) ... 225s Selecting previously unselected package libarchive13t64:s390x. 225s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 225s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu2_s390x.deb ... 225s Unpacking libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 225s Preparing to unpack .../fwupd_1.9.15-2_s390x.deb ... 225s Unpacking fwupd (1.9.15-2) over (1.9.14-1) ... 226s dpkg: libcurl3-gnutls:s390x: dependency problems, but removing anyway as you requested: 226s libfwupd2:s390x depends on libcurl3-gnutls (>= 7.63.0). 226s 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52174 files and directories currently installed.) 226s Removing libcurl3-gnutls:s390x (8.5.0-2ubuntu2) ... 226s Selecting previously unselected package libcurl3t64-gnutls:s390x. 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 226s Preparing to unpack .../0-libcurl3t64-gnutls_8.5.0-2ubuntu8_s390x.deb ... 226s Unpacking libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 226s Preparing to unpack .../1-libfwupd2_1.9.15-2_s390x.deb ... 226s Unpacking libfwupd2:s390x (1.9.15-2) over (1.9.14-1) ... 226s Preparing to unpack .../2-libblockdev3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../3-libblockdev-utils3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-utils3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../4-libblockdev-swap3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-swap3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../5-libblockdev-part3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-part3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s dpkg: libnvme1: dependency problems, but removing anyway as you requested: 226s libblockdev-nvme3:s390x depends on libnvme1 (>= 1.7.1). 226s 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52174 files and directories currently installed.) 226s Removing libnvme1 (1.8-2) ... 226s Selecting previously unselected package libnvme1t64. 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 226s Preparing to unpack .../0-libnvme1t64_1.8-3_s390x.deb ... 226s Unpacking libnvme1t64 (1.8-3) ... 226s Preparing to unpack .../1-libblockdev-nvme3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-nvme3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../2-libblockdev-mdraid3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-mdraid3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../3-libblockdev-loop3_3.1.0-1build1_s390x.deb ... 226s Unpacking libblockdev-loop3:s390x (3.1.0-1build1) over (3.1.0-1) ... 226s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 226s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 226s Preparing to unpack .../5-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 226s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 226s dpkg: libext2fs2:s390x: dependency problems, but removing anyway as you requested: 226s libblockdev-fs3:s390x depends on libext2fs2 (>= 1.42.11). 226s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 226s btrfs-progs depends on libext2fs2 (>= 1.42). 226s 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52175 files and directories currently installed.) 226s Removing libext2fs2:s390x (1.47.0-2ubuntu1) ... 226s Selecting previously unselected package libext2fs2t64:s390x. 226s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52168 files and directories currently installed.) 226s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 226s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2 to /lib/s390x-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2.3 to /lib/s390x-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2 to /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2.4 to /lib/s390x-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 226s Unpacking libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 226s Setting up libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) ... 226s Setting up libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52184 files and directories currently installed.) 227s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 227s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 227s dpkg: libreiserfscore0: dependency problems, but removing anyway as you requested: 227s btrfs-progs depends on libreiserfscore0 (>= 1:3.6.27). 227s 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52184 files and directories currently installed.) 227s Removing libreiserfscore0 (1:3.6.27-7) ... 227s Selecting previously unselected package libreiserfscore0t64. 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52179 files and directories currently installed.) 227s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_s390x.deb ... 227s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 227s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_s390x.deb ... 227s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 227s Preparing to unpack .../libblockdev-fs3_3.1.0-1build1_s390x.deb ... 227s Unpacking libblockdev-fs3:s390x (3.1.0-1build1) over (3.1.0-1) ... 227s Preparing to unpack .../libblockdev-crypto3_3.1.0-1build1_s390x.deb ... 227s Unpacking libblockdev-crypto3:s390x (3.1.0-1build1) over (3.1.0-1) ... 227s Preparing to unpack .../bolt_0.9.6-2build1_s390x.deb ... 227s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 227s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 227s s390-tools depends on libglib2.0-0 (>= 2.77.0). 227s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 227s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 227s 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52185 files and directories currently installed.) 227s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 227s Selecting previously unselected package libglib2.0-0t64:s390x. 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52160 files and directories currently installed.) 227s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 227s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 227s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 227s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 227s Preparing to unpack .../1-libjcat1_0.2.0-2build2_s390x.deb ... 227s Unpacking libjcat1:s390x (0.2.0-2build2) over (0.2.0-2) ... 227s Preparing to unpack .../2-libldap2_2.6.7+dfsg-1~exp1ubuntu6_s390x.deb ... 227s Unpacking libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 227s Preparing to unpack .../3-ubuntu-pro-client-l10n_31.2.2_s390x.deb ... 227s Unpacking ubuntu-pro-client-l10n (31.2.2) over (31.1) ... 227s Preparing to unpack .../4-ubuntu-pro-client_31.2.2_s390x.deb ... 228s Unpacking ubuntu-pro-client (31.2.2) over (31.1) ... 228s Preparing to unpack .../5-gnupg-utils_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../6-keyboxd_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s dpkg: libnpth0:s390x: dependency problems, but removing anyway as you requested: 228s gpgv depends on libnpth0 (>= 0.90). 228s gpgsm depends on libnpth0 (>= 0.90). 228s gpg-agent depends on libnpth0 (>= 0.90). 228s gpg depends on libnpth0 (>= 0.90). 228s dirmngr depends on libnpth0 (>= 0.90). 228s 228s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52185 files and directories currently installed.) 228s Removing libnpth0:s390x (1.6-3build2) ... 228s Selecting previously unselected package libnpth0t64:s390x. 228s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52180 files and directories currently installed.) 228s Preparing to unpack .../libnpth0t64_1.6-3.1_s390x.deb ... 228s Unpacking libnpth0t64:s390x (1.6-3.1) ... 228s Setting up libnpth0t64:s390x (1.6-3.1) ... 228s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52186 files and directories currently installed.) 228s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Setting up gpgv (2.4.4-2ubuntu15) ... 228s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52186 files and directories currently installed.) 228s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../1-gpg-agent_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../2-gpg_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_s390x.deb ... 228s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 228s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 228s Preparing to unpack .../5-python3-apt_2.7.7_s390x.deb ... 229s Unpacking python3-apt (2.7.7) over (2.7.6) ... 229s Preparing to unpack .../6-apt-utils_2.7.14_s390x.deb ... 229s Unpacking apt-utils (2.7.14) over (2.7.12) ... 229s dpkg: libapt-pkg6.0:s390x: dependency problems, but removing anyway as you requested: 229s apt depends on libapt-pkg6.0 (>= 2.7.12). 229s 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52184 files and directories currently installed.) 229s Removing libapt-pkg6.0:s390x (2.7.12) ... 229s dpkg: libnettle8:s390x: dependency problems, but removing anyway as you requested: 229s libhogweed6:s390x depends on libnettle8. 229s libgnutls30:s390x depends on libnettle8 (>= 3.9~). 229s 229s Removing libnettle8:s390x (3.9.1-2) ... 229s Selecting previously unselected package libapt-pkg6.0t64:s390x. 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52128 files and directories currently installed.) 229s Preparing to unpack .../libapt-pkg6.0t64_2.7.14_s390x.deb ... 229s Unpacking libapt-pkg6.0t64:s390x (2.7.14) ... 229s Setting up libapt-pkg6.0t64:s390x (2.7.14) ... 229s Selecting previously unselected package libnettle8t64:s390x. 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52178 files and directories currently installed.) 229s Preparing to unpack .../libnettle8t64_3.9.1-2.2_s390x.deb ... 229s Unpacking libnettle8t64:s390x (3.9.1-2.2) ... 229s Setting up libnettle8t64:s390x (3.9.1-2.2) ... 229s dpkg: libhogweed6:s390x: dependency problems, but removing anyway as you requested: 229s libgnutls30:s390x depends on libhogweed6 (>= 3.6). 229s 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52186 files and directories currently installed.) 229s Removing libhogweed6:s390x (3.9.1-2) ... 229s Selecting previously unselected package libhogweed6t64:s390x. 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52181 files and directories currently installed.) 229s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_s390x.deb ... 229s Unpacking libhogweed6t64:s390x (3.9.1-2.2) ... 229s Setting up libhogweed6t64:s390x (3.9.1-2.2) ... 229s dpkg: libgnutls30:s390x: dependency problems, but removing anyway as you requested: 229s apt depends on libgnutls30 (>= 3.8.1). 229s 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52187 files and directories currently installed.) 229s Removing libgnutls30:s390x (3.8.3-1ubuntu1) ... 229s Selecting previously unselected package libgnutls30t64:s390x. 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52178 files and directories currently installed.) 229s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_s390x.deb ... 229s Unpacking libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 229s Setting up libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 229s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52206 files and directories currently installed.) 229s Preparing to unpack .../archives/apt_2.7.14_s390x.deb ... 229s Unpacking apt (2.7.14) over (2.7.12) ... 229s Setting up apt (2.7.14) ... 230s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52206 files and directories currently installed.) 230s Preparing to unpack .../gpgconf_2.4.4-2ubuntu15_s390x.deb ... 230s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 230s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_s390x.deb ... 230s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 230s dpkg: libreadline8:s390x: dependency problems, but removing anyway as you requested: 230s libpython3.12-stdlib:s390x depends on libreadline8 (>= 7.0~beta). 230s gawk depends on libreadline8 (>= 6.0). 230s fdisk depends on libreadline8 (>= 6.0). 230s 231s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52206 files and directories currently installed.) 231s Removing libreadline8:s390x (8.2-3) ... 231s Selecting previously unselected package libreadline8t64:s390x. 231s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52194 files and directories currently installed.) 231s Preparing to unpack .../libreadline8t64_8.2-4_s390x.deb ... 231s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8 to /lib/s390x-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 231s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8.2 to /lib/s390x-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 231s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8 to /lib/s390x-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 231s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8.2 to /lib/s390x-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 231s Unpacking libreadline8t64:s390x (8.2-4) ... 231s Setting up libreadline8t64:s390x (8.2-4) ... 231s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52214 files and directories currently installed.) 231s Preparing to unpack .../gawk_1%3a5.2.1-2build2_s390x.deb ... 231s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 231s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_s390x.deb ... 231s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 231s Preparing to unpack .../libpython3.12-stdlib_3.12.2-4build3_s390x.deb ... 231s Unpacking libpython3.12-stdlib:s390x (3.12.2-4build3) over (3.12.2-1) ... 231s Preparing to unpack .../perl-base_5.38.2-3.2_s390x.deb ... 231s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 232s Setting up perl-base (5.38.2-3.2) ... 232s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52212 files and directories currently installed.) 232s Preparing to unpack .../perl-modules-5.38_5.38.2-3.2_all.deb ... 232s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 232s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu1.1_s390x.deb ... 232s Unpacking python3-gdbm:s390x (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 232s Preparing to unpack .../man-db_2.12.0-3build4_s390x.deb ... 232s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 232s dpkg: libgdbm-compat4:s390x: dependency problems, but removing anyway as you requested: 232s libperl5.38:s390x depends on libgdbm-compat4 (>= 1.18-3). 232s 232s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52212 files and directories currently installed.) 232s Removing libgdbm-compat4:s390x (1.23-5) ... 232s dpkg: libgdbm6:s390x: dependency problems, but removing anyway as you requested: 232s libperl5.38:s390x depends on libgdbm6 (>= 1.21). 232s 232s Removing libgdbm6:s390x (1.23-5) ... 232s Selecting previously unselected package libgdbm6t64:s390x. 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52202 files and directories currently installed.) 233s Preparing to unpack .../libgdbm6t64_1.23-5.1_s390x.deb ... 233s Unpacking libgdbm6t64:s390x (1.23-5.1) ... 233s Selecting previously unselected package libgdbm-compat4t64:s390x. 233s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_s390x.deb ... 233s Unpacking libgdbm-compat4t64:s390x (1.23-5.1) ... 233s dpkg: libperl5.38:s390x: dependency problems, but removing anyway as you requested: 233s perl depends on libperl5.38 (= 5.38.2-3). 233s 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52214 files and directories currently installed.) 233s Removing libperl5.38:s390x (5.38.2-3) ... 233s Selecting previously unselected package libperl5.38t64:s390x. 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51692 files and directories currently installed.) 233s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_s390x.deb ... 233s Unpacking libperl5.38t64:s390x (5.38.2-3.2) ... 233s Preparing to unpack .../perl_5.38.2-3.2_s390x.deb ... 233s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 233s dpkg: libdb5.3:s390x: dependency problems, but removing anyway as you requested: 233s libsasl2-modules-db:s390x depends on libdb5.3. 233s libpam-modules:s390x depends on libdb5.3. 233s iproute2 depends on libdb5.3. 233s 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52214 files and directories currently installed.) 233s Removing libdb5.3:s390x (5.3.28+dfsg2-4) ... 233s Selecting previously unselected package libdb5.3t64:s390x. 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52208 files and directories currently installed.) 233s Preparing to unpack .../0-libdb5.3t64_5.3.28+dfsg2-6_s390x.deb ... 233s Unpacking libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 233s Preparing to unpack .../1-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 233s Unpacking libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 233s Preparing to unpack .../2-libsasl2-2_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 233s Unpacking libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 233s Preparing to unpack .../3-libfido2-1_1.14.0-1build1_s390x.deb ... 233s Unpacking libfido2-1:s390x (1.14.0-1build1) over (1.14.0-1) ... 233s Preparing to unpack .../4-libcryptsetup12_2%3a2.7.0-1ubuntu2_s390x.deb ... 233s Unpacking libcryptsetup12:s390x (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 233s Preparing to unpack .../5-dhcpcd-base_1%3a10.0.6-1ubuntu2_s390x.deb ... 233s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 233s dpkg: libuv1:s390x: dependency problems, but removing anyway as you requested: 233s bind9-libs:s390x depends on libuv1 (>= 1.40.0). 233s 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52214 files and directories currently installed.) 233s Removing libuv1:s390x (1.48.0-1) ... 234s Selecting previously unselected package libuv1t64:s390x. 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52209 files and directories currently installed.) 234s Preparing to unpack .../libuv1t64_1.48.0-1.1_s390x.deb ... 234s Unpacking libuv1t64:s390x (1.48.0-1.1) ... 234s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_s390x.deb ... 234s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 234s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_s390x.deb ... 234s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 234s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_s390x.deb ... 234s Unpacking bind9-libs:s390x (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 234s dpkg: libssl3:s390x: dependency problems, but removing anyway as you requested: 234s systemd depends on libssl3 (>= 3.0.0). 234s s390-tools depends on libssl3 (>= 3.0.0). 234s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 234s 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 234s Removing libssl3:s390x (3.0.10-1ubuntu4) ... 234s Selecting previously unselected package libssl3t64:s390x. 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52204 files and directories currently installed.) 234s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_s390x.deb ... 234s Unpacking libssl3t64:s390x (3.0.13-0ubuntu2) ... 234s Setting up libssl3t64:s390x (3.0.13-0ubuntu2) ... 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 234s Preparing to unpack .../libnss-systemd_255.4-1ubuntu5_s390x.deb ... 234s Unpacking libnss-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 234s Preparing to unpack .../libudev1_255.4-1ubuntu5_s390x.deb ... 234s Unpacking libudev1:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 234s Setting up libudev1:s390x (255.4-1ubuntu5) ... 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 234s Preparing to unpack .../systemd_255.4-1ubuntu5_s390x.deb ... 234s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 235s Preparing to unpack .../udev_255.4-1ubuntu5_s390x.deb ... 235s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 235s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_s390x.deb ... 235s Unpacking libsystemd0:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 235s Setting up libsystemd0:s390x (255.4-1ubuntu5) ... 235s Setting up libcryptsetup12:s390x (2:2.7.0-1ubuntu2) ... 235s Setting up libkmod2:s390x (31+20240202-2ubuntu4) ... 235s Setting up libsystemd-shared:s390x (255.4-1ubuntu5) ... 235s Setting up systemd-dev (255.4-1ubuntu5) ... 235s Setting up systemd (255.4-1ubuntu5) ... 236s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 236s Preparing to unpack .../systemd-sysv_255.4-1ubuntu5_s390x.deb ... 236s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 236s Preparing to unpack .../libpam-systemd_255.4-1ubuntu5_s390x.deb ... 236s Unpacking libpam-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 236s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_s390x.deb ... 236s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 236s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 237s pam_namespace.service is a disabled or a static unit not running, not starting it. 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 237s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_s390x.deb ... 237s Unpacking libpam-modules:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 237s Setting up libpam-modules:s390x (1.5.3-5ubuntu3) ... 237s Installing new version of config file /etc/security/namespace.init ... 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 237s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 237s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 237s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 237s Preparing to unpack .../0-dbus-user-session_1.14.10-4ubuntu2_s390x.deb ... 237s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 237s Preparing to unpack .../1-libapparmor1_4.0.0-beta3-0ubuntu2_s390x.deb ... 237s Unpacking libapparmor1:s390x (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 237s Preparing to unpack .../2-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 237s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 237s Preparing to unpack .../3-dbus-bin_1.14.10-4ubuntu2_s390x.deb ... 237s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 237s Preparing to unpack .../4-dbus_1.14.10-4ubuntu2_s390x.deb ... 237s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 237s Preparing to unpack .../5-dbus-daemon_1.14.10-4ubuntu2_s390x.deb ... 237s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 238s Preparing to unpack .../6-libdbus-1-3_1.14.10-4ubuntu2_s390x.deb ... 238s Unpacking libdbus-1-3:s390x (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 238s Preparing to unpack .../7-libmount1_2.39.3-9ubuntu2_s390x.deb ... 238s Unpacking libmount1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 238s Setting up libmount1:s390x (2.39.3-9ubuntu2) ... 238s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 238s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_s390x.deb ... 238s Unpacking libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 238s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_s390x.deb ... 238s Unpacking libuuid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 238s Setting up libuuid1:s390x (2.39.3-9ubuntu2) ... 238s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 238s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_s390x.deb ... 238s Unpacking libfdisk1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 238s Preparing to unpack .../mount_2.39.3-9ubuntu2_s390x.deb ... 238s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 238s Preparing to unpack .../libsqlite3-0_3.45.1-1ubuntu1_s390x.deb ... 238s Unpacking libsqlite3-0:s390x (3.45.1-1ubuntu1) over (3.45.1-1) ... 238s Preparing to unpack .../dpkg_1.22.6ubuntu5_s390x.deb ... 238s Unpacking dpkg (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 238s Setting up dpkg (1.22.6ubuntu5) ... 239s Setting up libpython3.12-minimal:s390x (3.12.2-4build3) ... 239s Setting up python3.12-minimal (3.12.2-4build3) ... 241s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 241s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_s390x.deb ... 241s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 241s Setting up python3-minimal (3.12.2-0ubuntu1) ... 241s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 241s Preparing to unpack .../python3_3.12.2-0ubuntu1_s390x.deb ... 241s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 241s Preparing to unpack .../libpython3-stdlib_3.12.2-0ubuntu1_s390x.deb ... 241s Unpacking libpython3-stdlib:s390x (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 241s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_s390x.deb ... 241s Unpacking libsmartcols1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 241s Setting up libsmartcols1:s390x (2.39.3-9ubuntu2) ... 241s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 241s Preparing to unpack .../0-bsdextrautils_2.39.3-9ubuntu2_s390x.deb ... 241s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 241s Preparing to unpack .../1-groff-base_1.23.0-3build1_s390x.deb ... 241s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 242s Preparing to unpack .../2-pinentry-curses_1.2.1-3ubuntu4_s390x.deb ... 242s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 242s Preparing to unpack .../3-readline-common_8.2-4_all.deb ... 242s Unpacking readline-common (8.2-4) over (8.2-3) ... 242s Preparing to unpack .../4-libxml2_2.9.14+dfsg-1.3ubuntu2_s390x.deb ... 242s Unpacking libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 242s Preparing to unpack .../5-libbpf1_1%3a1.3.0-2build1_s390x.deb ... 242s Unpacking libbpf1:s390x (1:1.3.0-2build1) over (1:1.3.0-2) ... 242s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 242s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 242s iproute2 depends on libelf1 (>= 0.131). 242s 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 242s Removing libelf1:s390x (0.190-1) ... 242s Selecting previously unselected package libelf1t64:s390x. 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52210 files and directories currently installed.) 242s Preparing to unpack .../libelf1t64_0.190-1.1build2_s390x.deb ... 242s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 242s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 242s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 242s Preparing to unpack .../lsof_4.95.0-1build2_s390x.deb ... 242s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 242s Preparing to unpack .../libnsl2_1.3.0-3build2_s390x.deb ... 242s Unpacking libnsl2:s390x (1.3.0-3build2) over (1.3.0-3) ... 242s dpkg: libtirpc3:s390x: dependency problems, but removing anyway as you requested: 242s iproute2 depends on libtirpc3 (>= 1.0.2). 242s 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 242s Removing libtirpc3:s390x (1.3.4+ds-1build1) ... 242s Selecting previously unselected package libtirpc3t64:s390x. 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52209 files and directories currently installed.) 242s Preparing to unpack .../0-libtirpc3t64_1.3.4+ds-1.1_s390x.deb ... 242s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3 to /lib/s390x-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' 242s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3.0.0 to /lib/s390x-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 242s Unpacking libtirpc3t64:s390x (1.3.4+ds-1.1) ... 242s Preparing to unpack .../1-iproute2_6.1.0-1ubuntu5_s390x.deb ... 242s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 242s Preparing to unpack .../2-python3-yaml_6.0.1-2build1_s390x.deb ... 242s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 242s Preparing to unpack .../3-libprotobuf-c1_1.4.1-1ubuntu3_s390x.deb ... 242s Unpacking libprotobuf-c1:s390x (1.4.1-1ubuntu3) over (1.4.1-1ubuntu2) ... 242s Preparing to unpack .../4-libnghttp2-14_1.59.0-1build1_s390x.deb ... 242s Unpacking libnghttp2-14:s390x (1.59.0-1build1) over (1.59.0-1) ... 242s Preparing to unpack .../5-libproc2-0_2%3a4.0.4-4ubuntu2_s390x.deb ... 242s Unpacking libproc2-0:s390x (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 242s Preparing to unpack .../6-procps_2%3a4.0.4-4ubuntu2_s390x.deb ... 242s Unpacking procps (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 242s Preparing to unpack .../7-coreutils_9.4-3ubuntu3_s390x.deb ... 242s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 243s Setting up coreutils (9.4-3ubuntu3) ... 243s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52220 files and directories currently installed.) 243s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_s390x.deb ... 243s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 243s Setting up util-linux (2.39.3-9ubuntu2) ... 244s fstrim.service is a disabled or a static unit not running, not starting it. 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52220 files and directories currently installed.) 244s Removing libatm1:s390x (1:2.5.1-5) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 244s Preparing to unpack .../file_1%3a5.45-3_s390x.deb ... 244s Unpacking file (1:5.45-3) over (1:5.45-2) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52215 files and directories currently installed.) 244s Removing libmagic1:s390x (1:5.45-2) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52205 files and directories currently installed.) 244s Preparing to unpack .../libmagic-mgc_1%3a5.45-3_s390x.deb ... 244s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 244s Selecting previously unselected package libmagic1t64:s390x. 244s Preparing to unpack .../libmagic1t64_1%3a5.45-3_s390x.deb ... 244s Unpacking libmagic1t64:s390x (1:5.45-3) ... 244s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu6_s390x.deb ... 244s Unpacking libplymouth5:s390x (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52216 files and directories currently installed.) 244s Removing libpng16-16:s390x (1.6.43-1) ... 244s Selecting previously unselected package libpng16-16t64:s390x. 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52206 files and directories currently installed.) 244s Preparing to unpack .../libpng16-16t64_1.6.43-3_s390x.deb ... 244s Unpacking libpng16-16t64:s390x (1.6.43-3) ... 244s Preparing to unpack .../multipath-tools_0.9.4-5ubuntu6_s390x.deb ... 244s Unpacking multipath-tools (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 244s dpkg: liburcu8:s390x: dependency problems, but removing anyway as you requested: 244s xfsprogs depends on liburcu8 (>= 0.13.0). 244s 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52216 files and directories currently installed.) 244s Removing liburcu8:s390x (0.14.0-3) ... 244s Selecting previously unselected package liburcu8t64:s390x. 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52197 files and directories currently installed.) 244s Preparing to unpack .../liburcu8t64_0.14.0-3.1_s390x.deb ... 244s Unpacking liburcu8t64:s390x (0.14.0-3.1) ... 244s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu4_s390x.deb ... 244s Unpacking liblocale-gettext-perl (1.07-6ubuntu4) over (1.07-6build1) ... 244s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_s390x.deb ... 245s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 245s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_s390x.deb ... 245s Unpacking libdebconfclient0:s390x (0.271ubuntu2) over (0.271ubuntu1) ... 245s Setting up libdebconfclient0:s390x (0.271ubuntu2) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 245s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 245s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 245s Setting up libsemanage-common (3.5-1build4) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 245s Preparing to unpack .../libsemanage2_3.5-1build4_s390x.deb ... 245s Unpacking libsemanage2:s390x (3.5-1build4) over (3.5-1build2) ... 245s Setting up libsemanage2:s390x (3.5-1build4) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 245s Preparing to unpack .../install-info_7.1-3build1_s390x.deb ... 245s Unpacking install-info (7.1-3build1) over (7.1-3) ... 245s Setting up install-info (7.1-3build1) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52217 files and directories currently installed.) 245s Preparing to unpack .../00-libss2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 245s Unpacking libss2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 245s Preparing to unpack .../01-dmsetup_2%3a1.02.185-3ubuntu2_s390x.deb ... 245s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 245s Preparing to unpack .../02-eject_2.39.3-9ubuntu2_s390x.deb ... 245s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 245s Preparing to unpack .../03-krb5-locales_1.20.1-6ubuntu1_all.deb ... 245s Unpacking krb5-locales (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 245s Preparing to unpack .../04-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 245s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 245s Preparing to unpack .../05-libslang2_2.3.3-3build1_s390x.deb ... 245s Unpacking libslang2:s390x (2.3.3-3build1) over (2.3.3-3) ... 245s Preparing to unpack .../06-libtext-charwidth-perl_0.04-11build2_s390x.deb ... 245s Unpacking libtext-charwidth-perl:s390x (0.04-11build2) over (0.04-11build1) ... 245s Preparing to unpack .../07-libtext-iconv-perl_1.7-8build2_s390x.deb ... 245s Unpacking libtext-iconv-perl:s390x (1.7-8build2) over (1.7-8build1) ... 245s Preparing to unpack .../08-python-apt-common_2.7.7_all.deb ... 245s Unpacking python-apt-common (2.7.7) over (2.7.6) ... 245s Preparing to unpack .../09-python3-setuptools_68.1.2-2ubuntu1_all.deb ... 245s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 245s Preparing to unpack .../10-python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 246s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 246s Preparing to unpack .../11-rsyslog_8.2312.0-3ubuntu7_s390x.deb ... 246s Unpacking rsyslog (8.2312.0-3ubuntu7) over (8.2312.0-3ubuntu3) ... 246s Preparing to unpack .../12-vim-tiny_2%3a9.1.0016-1ubuntu6_s390x.deb ... 246s Unpacking vim-tiny (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 246s Preparing to unpack .../13-vim-common_2%3a9.1.0016-1ubuntu6_all.deb ... 246s Unpacking vim-common (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 246s Selecting previously unselected package xdg-user-dirs. 246s Preparing to unpack .../14-xdg-user-dirs_0.18-1_s390x.deb ... 246s Unpacking xdg-user-dirs (0.18-1) ... 246s Preparing to unpack .../15-xxd_2%3a9.1.0016-1ubuntu6_s390x.deb ... 246s Unpacking xxd (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 246s Preparing to unpack .../16-apparmor_4.0.0-beta3-0ubuntu2_s390x.deb ... 246s Unpacking apparmor (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 247s Preparing to unpack .../17-ftp_20230507-2build1_all.deb ... 247s Unpacking ftp (20230507-2build1) over (20230507-2) ... 247s Preparing to unpack .../18-inetutils-telnet_2%3a2.5-3ubuntu3_s390x.deb ... 247s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 247s Preparing to unpack .../19-info_7.1-3build1_s390x.deb ... 247s Unpacking info (7.1-3build1) over (7.1-3) ... 247s Preparing to unpack .../20-libxmuu1_2%3a1.1.3-3build1_s390x.deb ... 247s Unpacking libxmuu1:s390x (2:1.1.3-3build1) over (2:1.1.3-3) ... 247s Preparing to unpack .../21-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_s390x.deb ... 247s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 247s Selecting previously unselected package manpages. 247s Preparing to unpack .../22-manpages_6.05.01-1_all.deb ... 247s Unpacking manpages (6.05.01-1) ... 247s Preparing to unpack .../23-mtr-tiny_0.95-1.1build1_s390x.deb ... 247s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 247s Preparing to unpack .../24-plymouth-theme-ubuntu-text_24.004.60-1ubuntu6_s390x.deb ... 247s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 247s Preparing to unpack .../25-plymouth_24.004.60-1ubuntu6_s390x.deb ... 247s Unpacking plymouth (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 247s Preparing to unpack .../26-telnet_0.17+2.5-3ubuntu3_all.deb ... 247s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 247s Preparing to unpack .../27-usb.ids_2024.03.18-1_all.deb ... 247s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 247s Preparing to unpack .../28-xz-utils_5.6.0-0.2_s390x.deb ... 247s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 247s Selecting previously unselected package libllvm18:s390x. 247s Preparing to unpack .../29-libllvm18_1%3a18.1.2-1ubuntu2_s390x.deb ... 247s Unpacking libllvm18:s390x (1:18.1.2-1ubuntu2) ... 249s Selecting previously unselected package libclang-cpp18. 249s Preparing to unpack .../30-libclang-cpp18_1%3a18.1.2-1ubuntu2_s390x.deb ... 249s Unpacking libclang-cpp18 (1:18.1.2-1ubuntu2) ... 250s Selecting previously unselected package libbpfcc:s390x. 250s Preparing to unpack .../31-libbpfcc_0.29.1+ds-1ubuntu4_s390x.deb ... 250s Unpacking libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 250s Selecting previously unselected package python3-bpfcc. 250s Preparing to unpack .../32-python3-bpfcc_0.29.1+ds-1ubuntu4_all.deb ... 250s Unpacking python3-bpfcc (0.29.1+ds-1ubuntu4) ... 250s Selecting previously unselected package ieee-data. 250s Preparing to unpack .../33-ieee-data_20220827.1_all.deb ... 250s Unpacking ieee-data (20220827.1) ... 250s Selecting previously unselected package python3-netaddr. 250s Preparing to unpack .../34-python3-netaddr_0.8.0-2ubuntu1_all.deb ... 250s Unpacking python3-netaddr (0.8.0-2ubuntu1) ... 250s Selecting previously unselected package bpfcc-tools. 250s Preparing to unpack .../35-bpfcc-tools_0.29.1+ds-1ubuntu4_all.deb ... 250s Unpacking bpfcc-tools (0.29.1+ds-1ubuntu4) ... 250s Selecting previously unselected package libclang1-18. 250s Preparing to unpack .../36-libclang1-18_1%3a18.1.2-1ubuntu2_s390x.deb ... 250s Unpacking libclang1-18 (1:18.1.2-1ubuntu2) ... 250s Selecting previously unselected package libdw1t64:s390x. 250s Preparing to unpack .../37-libdw1t64_0.190-1.1build2_s390x.deb ... 250s Unpacking libdw1t64:s390x (0.190-1.1build2) ... 251s Selecting previously unselected package bpftrace. 251s Preparing to unpack .../38-bpftrace_0.20.2-1ubuntu1_s390x.deb ... 251s Unpacking bpftrace (0.20.2-1ubuntu1) ... 251s Preparing to unpack .../39-cryptsetup-bin_2%3a2.7.0-1ubuntu2_s390x.deb ... 251s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 251s Preparing to unpack .../40-dpkg-dev_1.22.6ubuntu5_all.deb ... 251s Unpacking dpkg-dev (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 251s Preparing to unpack .../41-libdpkg-perl_1.22.6ubuntu5_all.deb ... 251s Unpacking libdpkg-perl (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 251s Selecting previously unselected package fonts-dejavu-mono. 251s Preparing to unpack .../42-fonts-dejavu-mono_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-mono (2.37-8) ... 251s Selecting previously unselected package fonts-dejavu-core. 251s Preparing to unpack .../43-fonts-dejavu-core_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-core (2.37-8) ... 251s Selecting previously unselected package fontconfig-config. 251s Preparing to unpack .../44-fontconfig-config_2.15.0-1.1ubuntu1_s390x.deb ... 251s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 251s Preparing to unpack .../45-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 251s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 251s Selecting previously unselected package hwdata. 251s Preparing to unpack .../46-hwdata_0.379-1_all.deb ... 251s Unpacking hwdata (0.379-1) ... 251s Preparing to unpack .../47-libibverbs1_50.0-2build1_s390x.deb ... 251s Unpacking libibverbs1:s390x (50.0-2build1) over (50.0-2) ... 251s Preparing to unpack .../48-ibverbs-providers_50.0-2build1_s390x.deb ... 251s Unpacking ibverbs-providers:s390x (50.0-2build1) over (50.0-2) ... 251s Selecting previously unselected package libaio1t64:s390x. 251s Preparing to unpack .../49-libaio1t64_0.3.113-6_s390x.deb ... 251s Unpacking libaio1t64:s390x (0.3.113-6) ... 251s Selecting previously unselected package libatm1t64:s390x. 251s Preparing to unpack .../50-libatm1t64_1%3a2.5.1-5.1_s390x.deb ... 251s Unpacking libatm1t64:s390x (1:2.5.1-5.1) ... 251s Selecting previously unselected package libc-dev-bin. 251s Preparing to unpack .../51-libc-dev-bin_2.39-0ubuntu6_s390x.deb ... 251s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 251s Selecting previously unselected package libfreetype6:s390x. 251s Preparing to unpack .../52-libfreetype6_2.13.2+dfsg-1build2_s390x.deb ... 251s Unpacking libfreetype6:s390x (2.13.2+dfsg-1build2) ... 251s Selecting previously unselected package libfontconfig1:s390x. 251s Preparing to unpack .../53-libfontconfig1_2.15.0-1.1ubuntu1_s390x.deb ... 251s Unpacking libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 251s Selecting previously unselected package libjpeg-turbo8:s390x. 251s Preparing to unpack .../54-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... 251s Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 251s Selecting previously unselected package libjpeg8:s390x. 251s Preparing to unpack .../55-libjpeg8_8c-2ubuntu11_s390x.deb ... 251s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 251s Selecting previously unselected package libdeflate0:s390x. 251s Preparing to unpack .../56-libdeflate0_1.19-1_s390x.deb ... 251s Unpacking libdeflate0:s390x (1.19-1) ... 251s Selecting previously unselected package libjbig0:s390x. 251s Preparing to unpack .../57-libjbig0_2.1-6.1ubuntu1_s390x.deb ... 251s Unpacking libjbig0:s390x (2.1-6.1ubuntu1) ... 251s Selecting previously unselected package libsharpyuv0:s390x. 251s Preparing to unpack .../58-libsharpyuv0_1.3.2-0.4build2_s390x.deb ... 251s Unpacking libsharpyuv0:s390x (1.3.2-0.4build2) ... 251s Selecting previously unselected package libwebp7:s390x. 251s Preparing to unpack .../59-libwebp7_1.3.2-0.4build2_s390x.deb ... 251s Unpacking libwebp7:s390x (1.3.2-0.4build2) ... 251s Selecting previously unselected package libtiff6:s390x. 251s Preparing to unpack .../60-libtiff6_4.5.1+git230720-4ubuntu1_s390x.deb ... 251s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 251s Selecting previously unselected package libxpm4:s390x. 252s Preparing to unpack .../61-libxpm4_1%3a3.5.17-1build1_s390x.deb ... 252s Unpacking libxpm4:s390x (1:3.5.17-1build1) ... 252s Selecting previously unselected package libgd3:s390x. 252s Preparing to unpack .../62-libgd3_2.3.3-9ubuntu3_s390x.deb ... 252s Unpacking libgd3:s390x (2.3.3-9ubuntu3) ... 252s Selecting previously unselected package libc-devtools. 252s Preparing to unpack .../63-libc-devtools_2.39-0ubuntu6_s390x.deb ... 252s Unpacking libc-devtools (2.39-0ubuntu6) ... 252s Selecting previously unselected package linux-libc-dev:s390x. 252s Preparing to unpack .../64-linux-libc-dev_6.8.0-20.20_s390x.deb ... 252s Unpacking linux-libc-dev:s390x (6.8.0-20.20) ... 252s Selecting previously unselected package libcrypt-dev:s390x. 252s Preparing to unpack .../65-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 252s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 252s Selecting previously unselected package rpcsvc-proto. 252s Preparing to unpack .../66-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 252s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 252s Selecting previously unselected package libc6-dev:s390x. 252s Preparing to unpack .../67-libc6-dev_2.39-0ubuntu6_s390x.deb ... 252s Unpacking libc6-dev:s390x (2.39-0ubuntu6) ... 252s Preparing to unpack .../68-libevent-core-2.1-7_2.1.12-stable-9build1_s390x.deb ... 252s Unpacking libevent-core-2.1-7:s390x (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 252s Preparing to unpack .../69-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 252s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 252s Selecting previously unselected package linux-modules-6.8.0-20-generic. 252s Preparing to unpack .../70-linux-modules-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 252s Unpacking linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 252s Selecting previously unselected package linux-image-6.8.0-20-generic. 252s Preparing to unpack .../71-linux-image-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 252s Unpacking linux-image-6.8.0-20-generic (6.8.0-20.20) ... 253s Selecting previously unselected package linux-modules-extra-6.8.0-20-generic. 253s Preparing to unpack .../72-linux-modules-extra-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 253s Unpacking linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 253s Preparing to unpack .../73-linux-generic_6.8.0-20.20+1_s390x.deb ... 253s Unpacking linux-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 253s Preparing to unpack .../74-linux-image-generic_6.8.0-20.20+1_s390x.deb ... 253s Unpacking linux-image-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 253s Preparing to unpack .../75-linux-virtual_6.8.0-20.20+1_s390x.deb ... 253s Unpacking linux-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 253s Preparing to unpack .../76-linux-image-virtual_6.8.0-20.20+1_s390x.deb ... 253s Unpacking linux-image-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 253s Preparing to unpack .../77-linux-headers-virtual_6.8.0-20.20+1_s390x.deb ... 253s Unpacking linux-headers-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 253s Selecting previously unselected package linux-headers-6.8.0-20. 253s Preparing to unpack .../78-linux-headers-6.8.0-20_6.8.0-20.20_all.deb ... 253s Unpacking linux-headers-6.8.0-20 (6.8.0-20.20) ... 257s Selecting previously unselected package linux-headers-6.8.0-20-generic. 257s Preparing to unpack .../79-linux-headers-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 257s Unpacking linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 257s Preparing to unpack .../80-linux-headers-generic_6.8.0-20.20+1_s390x.deb ... 257s Unpacking linux-headers-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 257s Selecting previously unselected package linux-tools-common. 257s Preparing to unpack .../81-linux-tools-common_6.8.0-20.20_all.deb ... 257s Unpacking linux-tools-common (6.8.0-20.20) ... 257s Selecting previously unselected package linux-tools-6.8.0-20. 257s Preparing to unpack .../82-linux-tools-6.8.0-20_6.8.0-20.20_s390x.deb ... 257s Unpacking linux-tools-6.8.0-20 (6.8.0-20.20) ... 258s Selecting previously unselected package linux-tools-6.8.0-20-generic. 258s Preparing to unpack .../83-linux-tools-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 258s Unpacking linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 258s Selecting previously unselected package manpages-dev. 258s Preparing to unpack .../84-manpages-dev_6.05.01-1_all.deb ... 258s Unpacking manpages-dev (6.05.01-1) ... 258s Preparing to unpack .../85-python3-distutils_3.12.2-3ubuntu1.1_all.deb ... 258s Unpacking python3-distutils (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 258s Preparing to unpack .../86-python3-lib2to3_3.12.2-3ubuntu1.1_all.deb ... 258s Unpacking python3-lib2to3 (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 258s Preparing to unpack .../87-python3-pyrsistent_0.20.0-1build1_s390x.deb ... 258s Unpacking python3-pyrsistent:s390x (0.20.0-1build1) over (0.20.0-1) ... 258s Preparing to unpack .../88-python3-typing-extensions_4.10.0-1_all.deb ... 258s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 258s Preparing to unpack .../89-s390-tools-data_2.31.0-0ubuntu3_all.deb ... 258s Unpacking s390-tools-data (2.31.0-0ubuntu3) over (2.31.0-0ubuntu1) ... 258s Selecting previously unselected package ubuntu-kernel-accessories. 258s Preparing to unpack .../90-ubuntu-kernel-accessories_1.536build1_s390x.deb ... 258s Unpacking ubuntu-kernel-accessories (1.536build1) ... 258s Preparing to unpack .../91-kpartx_0.9.4-5ubuntu6_s390x.deb ... 258s Unpacking kpartx (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 259s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 259s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 259s Setting up motd-news-config (13ubuntu8) ... 259s Setting up libtext-iconv-perl:s390x (1.7-8build2) ... 259s Setting up libtext-charwidth-perl:s390x (0.04-11build2) ... 259s Setting up libsharpyuv0:s390x (1.3.2-0.4build2) ... 259s Setting up liburcu8t64:s390x (0.14.0-3.1) ... 259s Setting up tcpdump (4.99.4-3ubuntu2) ... 259s Setting up libibverbs1:s390x (50.0-2build1) ... 259s Setting up systemd-sysv (255.4-1ubuntu5) ... 259s Setting up ubuntu-kernel-accessories (1.536build1) ... 259s Setting up libapparmor1:s390x (4.0.0-beta3-0ubuntu2) ... 259s Setting up libatm1t64:s390x (1:2.5.1-5.1) ... 259s Setting up libgdbm6t64:s390x (1.23-5.1) ... 259s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 259s Setting up libxpm4:s390x (1:3.5.17-1build1) ... 259s Setting up libgdbm-compat4t64:s390x (1.23-5.1) ... 259s Setting up xdg-user-dirs (0.18-1) ... 259s Setting up ibverbs-providers:s390x (50.0-2build1) ... 259s Setting up linux-headers-6.8.0-20 (6.8.0-20.20) ... 259s Setting up libmagic-mgc (1:5.45-3) ... 259s Setting up gawk (1:5.2.1-2build2) ... 259s Setting up manpages (6.05.01-1) ... 259s Setting up libtirpc-common (1.3.4+ds-1.1) ... 259s Setting up libbrotli1:s390x (1.1.0-2build1) ... 259s Setting up libsqlite3-0:s390x (3.45.1-1ubuntu1) ... 259s Setting up libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) ... 259s Setting up libuv1t64:s390x (1.48.0-1.1) ... 259s Setting up libmagic1t64:s390x (1:5.45-3) ... 259s Setting up rsyslog (8.2312.0-3ubuntu7) ... 259s info: The user `syslog' is already a member of `adm'. 260s Setting up libpsl5t64:s390x (0.21.2-1.1) ... 260s Setting up libnghttp2-14:s390x (1.59.0-1build1) ... 260s Setting up libdeflate0:s390x (1.19-1) ... 260s Setting up linux-libc-dev:s390x (6.8.0-20.20) ... 260s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 260s Setting up libnss-systemd:s390x (255.4-1ubuntu5) ... 260s Setting up krb5-locales (1.20.1-6ubuntu1) ... 260s Setting up file (1:5.45-3) ... 260s Setting up kmod (31+20240202-2ubuntu4) ... 261s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 261s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 261s Setting up libprotobuf-c1:s390x (1.4.1-1ubuntu3) ... 261s Setting up libjbig0:s390x (2.1-6.1ubuntu1) ... 261s Setting up xxd (2:9.1.0016-1ubuntu6) ... 261s Setting up libelf1t64:s390x (0.190-1.1build2) ... 261s Setting up libkrb5support0:s390x (1.20.1-6ubuntu1) ... 261s Setting up libdw1t64:s390x (0.190-1.1build2) ... 261s Setting up linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 261s Setting up eject (2.39.3-9ubuntu2) ... 261s Setting up apparmor (4.0.0-beta3-0ubuntu2) ... 261s Installing new version of config file /etc/apparmor.d/abstractions/authentication ... 261s Installing new version of config file /etc/apparmor.d/abstractions/crypto ... 261s Installing new version of config file /etc/apparmor.d/abstractions/kde-open5 ... 261s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 261s Installing new version of config file /etc/apparmor.d/code ... 261s Installing new version of config file /etc/apparmor.d/firefox ... 262s Reloading AppArmor profiles 263s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 263s No schema files found: doing nothing. 263s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 263s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 263s Setting up vim-common (2:9.1.0016-1ubuntu6) ... 263s Setting up libqrtr-glib0:s390x (1.2.2-1ubuntu3) ... 263s Setting up libslang2:s390x (2.3.3-3build1) ... 263s Setting up libnvme1t64 (1.8-3) ... 263s Setting up mtr-tiny (0.95-1.1build1) ... 263s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 263s Setting up librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) ... 263s Setting up libdbus-1-3:s390x (1.14.10-4ubuntu2) ... 263s Setting up xz-utils (5.6.0-0.2) ... 263s Setting up perl-modules-5.38 (5.38.2-3.2) ... 263s Setting up libproc2-0:s390x (2:4.0.4-4ubuntu2) ... 263s Setting up libblockdev-utils3:s390x (3.1.0-1build1) ... 263s Setting up fonts-dejavu-mono (2.37-8) ... 263s Setting up libpng16-16t64:s390x (1.6.43-3) ... 263s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 264s Setting up libevent-core-2.1-7:s390x (2.1.12-stable-9build1) ... 264s Setting up udev (255.4-1ubuntu5) ... 264s Setting up libss2:s390x (1.47.0-2.4~exp1ubuntu2) ... 264s Setting up usb.ids (2024.03.18-1) ... 264s Setting up sudo (1.9.15p5-3ubuntu3) ... 264s Setting up fonts-dejavu-core (2.37-8) ... 264s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 265s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 265s Setting up libk5crypto3:s390x (1.20.1-6ubuntu1) ... 265s Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 265s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 265s Setting up libwebp7:s390x (1.3.2-0.4build2) ... 265s Setting up libfdisk1:s390x (2.39.3-9ubuntu2) ... 265s Setting up libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 265s Setting up libblockdev-nvme3:s390x (3.1.0-1build1) ... 265s Setting up libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) ... 265s Setting up libblockdev-fs3:s390x (3.1.0-1build1) ... 265s Setting up libaio1t64:s390x (0.3.113-6) ... 265s Setting up python-apt-common (2.7.7) ... 265s Setting up mount (2.39.3-9ubuntu2) ... 265s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 265s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 266s uuidd.service is a disabled or a static unit not running, not starting it. 266s Setting up libmm-glib0:s390x (1.23.4-0ubuntu1) ... 266s Setting up groff-base (1.23.0-3build1) ... 266s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 266s Setting up libplymouth5:s390x (24.004.60-1ubuntu6) ... 266s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 266s Setting up kpartx (0.9.4-5ubuntu6) ... 266s Setting up procps (2:4.0.4-4ubuntu2) ... 267s Setting up gpgconf (2.4.4-2ubuntu15) ... 267s Setting up libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) ... 267s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 267s Setting up libkrb5-3:s390x (1.20.1-6ubuntu1) ... 267s Setting up libpython3.11-minimal:s390x (3.11.8-1build4) ... 267s Setting up libperl5.38t64:s390x (5.38.2-3.2) ... 267s Setting up tnftp (20230507-2build1) ... 267s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 267s Setting up libfido2-1:s390x (1.14.0-1build1) ... 267s Setting up libc-dev-bin (2.39-0ubuntu6) ... 267s Setting up openssl (3.0.13-0ubuntu2) ... 267s Setting up linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 267s Setting up readline-common (8.2-4) ... 267s Setting up libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) ... 267s Setting up libxmuu1:s390x (2:1.1.3-3build1) ... 267s Setting up dbus-bin (1.14.10-4ubuntu2) ... 267s Setting up info (7.1-3build1) ... 267s Setting up liblocale-gettext-perl (1.07-6ubuntu4) ... 267s Setting up gpg (2.4.4-2ubuntu15) ... 267s Setting up libgudev-1.0-0:s390x (1:238-3ubuntu2) ... 267s Setting up libpolkit-gobject-1-0:s390x (124-1ubuntu1) ... 267s Setting up libbpf1:s390x (1:1.3.0-2build1) ... 267s Setting up libmbim-glib4:s390x (1.31.2-0ubuntu2) ... 267s Setting up rsync (3.2.7-1build1) ... 268s rsync.service is a disabled or a static unit not running, not starting it. 268s Setting up libudisks2-0:s390x (2.10.1-6) ... 268s Setting up bolt (0.9.6-2build1) ... 268s bolt.service is a disabled or a static unit not running, not starting it. 269s Setting up s390-tools-data (2.31.0-0ubuntu3) ... 269s Setting up libllvm18:s390x (1:18.1.2-1ubuntu2) ... 269s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 269s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 269s Setting up python3.11-minimal (3.11.8-1build4) ... 270s Setting up libclang1-18 (1:18.1.2-1ubuntu2) ... 270s Setting up manpages-dev (6.05.01-1) ... 270s Setting up linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 270s Setting up apt-utils (2.7.14) ... 270s Setting up gpg-agent (2.4.4-2ubuntu15) ... 271s Setting up libpython3.12-stdlib:s390x (3.12.2-4build3) ... 271s Setting up libblockdev-mdraid3:s390x (3.1.0-1build1) ... 271s Setting up wget (1.21.4-1ubuntu2) ... 271s Setting up linux-image-6.8.0-20-generic (6.8.0-20.20) ... 272s I: /boot/vmlinuz is now a symlink to vmlinuz-6.8.0-20-generic 272s I: /boot/initrd.img is now a symlink to initrd.img-6.8.0-20-generic 272s Setting up libblockdev-swap3:s390x (3.1.0-1build1) ... 272s Setting up plymouth (24.004.60-1ubuntu6) ... 272s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 272s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 277s Not invoking zipl: initrd doesn't exist yet 277s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 278s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 278s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 278s Setting up libxmlb2:s390x (0.3.15-1build1) ... 278s Setting up btrfs-progs (6.6.3-1.1build1) ... 278s Setting up libpython3.11-stdlib:s390x (3.11.8-1build4) ... 278s Setting up python3.12 (3.12.2-4build3) ... 280s Setting up libblockdev-loop3:s390x (3.1.0-1build1) ... 280s Setting up gpgsm (2.4.4-2ubuntu15) ... 280s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 280s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 280s update-initramfs: deferring update (trigger activated) 281s e2scrub_all.service is a disabled or a static unit not running, not starting it. 281s Setting up libparted2t64:s390x (3.6-3.1build2) ... 281s Setting up linux-headers-generic (6.8.0-20.20+1) ... 281s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 281s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 281s Setting up vim-tiny (2:9.1.0016-1ubuntu6) ... 281s Setting up libnetplan1:s390x (1.0-1) ... 281s Setting up man-db (2.12.0-3build4) ... 281s Updating database of manual pages ... 284s man-db.service is a disabled or a static unit not running, not starting it. 284s Setting up libblockdev3:s390x (3.1.0-1build1) ... 284s Setting up fdisk (2.39.3-9ubuntu2) ... 284s Setting up multipath-tools (0.9.4-5ubuntu6) ... 285s Setting up libjson-glib-1.0-0:s390x (1.8.0-2build1) ... 285s Setting up libblockdev-part3:s390x (3.1.0-1build1) ... 285s Setting up libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) ... 285s Setting up hwdata (0.379-1) ... 285s Setting up perl (5.38.2-3.2) ... 285s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) ... 285s update-initramfs: deferring update (trigger activated) 285s Setting up libfreetype6:s390x (2.13.2+dfsg-1build2) ... 285s Setting up gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) ... 285s Setting up dbus (1.14.10-4ubuntu2) ... 285s A reboot is required to replace the running dbus-daemon. 285s Please reboot the system when convenient. 285s Setting up shared-mime-info (2.4-1build1) ... 286s Setting up libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) ... 286s Setting up ftp (20230507-2build1) ... 286s Setting up keyboxd (2.4.4-2ubuntu15) ... 286s Setting up libdpkg-perl (1.22.6ubuntu5) ... 286s Setting up libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) ... 286s Setting up libssh-4:s390x (0.10.6-2build1) ... 286s Setting up ieee-data (20220827.1) ... 286s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 286s Setting up libpam-systemd:s390x (255.4-1ubuntu5) ... 286s Setting up libpolkit-agent-1-0:s390x (124-1ubuntu1) ... 286s Setting up libc6-dev:s390x (2.39-0ubuntu6) ... 286s Setting up libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 286s Setting up libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 286s Setting up linux-image-virtual (6.8.0-20.20+1) ... 286s Setting up netplan-generator (1.0-1) ... 286s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 286s Setting up libclang-cpp18 (1:18.1.2-1ubuntu2) ... 286s Setting up libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 286s Setting up linux-tools-common (6.8.0-20.20) ... 286s Setting up libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 286s Setting up libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) ... 286s Setting up libpython3-stdlib:s390x (3.12.2-0ubuntu1) ... 286s Setting up systemd-resolved (255.4-1ubuntu5) ... 287s Setting up python3.11 (3.11.8-1build4) ... 288s Setting up linux-image-generic (6.8.0-20.20+1) ... 288s Setting up telnet (0.17+2.5-3ubuntu3) ... 288s Setting up linux-headers-virtual (6.8.0-20.20+1) ... 288s Setting up linux-generic (6.8.0-20.20+1) ... 288s Setting up libcurl4t64:s390x (8.5.0-2ubuntu8) ... 288s Setting up bpftrace (0.20.2-1ubuntu1) ... 288s Setting up bind9-libs:s390x (1:9.18.24-0ubuntu3) ... 288s Setting up libtirpc3t64:s390x (1.3.4+ds-1.1) ... 288s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 288s Setting up iproute2 (6.1.0-1ubuntu5) ... 288s Setting up openssh-client (1:9.6p1-3ubuntu11) ... 289s Setting up libgusb2:s390x (0.4.8-1build1) ... 289s Setting up libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 289s Setting up parted (3.6-3.1build2) ... 289s Setting up libqmi-glib5:s390x (1.35.2-0ubuntu1) ... 289s Setting up linux-tools-6.8.0-20 (6.8.0-20.20) ... 289s Setting up python3 (3.12.2-0ubuntu1) ... 289s Setting up libjcat1:s390x (0.2.0-2build2) ... 289s Setting up dpkg-dev (1.22.6ubuntu5) ... 289s Setting up linux-virtual (6.8.0-20.20+1) ... 289s Setting up dirmngr (2.4.4-2ubuntu15) ... 289s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 289s Setting up linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 289s Setting up python3-cryptography (41.0.7-4build2) ... 290s Setting up python3-gi (3.47.0-3build1) ... 290s Setting up libgd3:s390x (2.3.3-9ubuntu3) ... 290s Setting up python3-typing-extensions (4.10.0-1) ... 290s Setting up lsof (4.95.0-1build2) ... 290s Setting up python3-pyrsistent:s390x (0.20.0-1build1) ... 291s Setting up python3-netaddr (0.8.0-2ubuntu1) ... 291s Setting up libnsl2:s390x (1.3.0-3build2) ... 291s Setting up gnupg (2.4.4-2ubuntu15) ... 291s Setting up python3-netplan (1.0-1) ... 291s Setting up curl (8.5.0-2ubuntu8) ... 291s Setting up libvolume-key1:s390x (0.3.12-7build1) ... 291s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 291s Setting up python3-lib2to3 (3.12.2-3ubuntu1.1) ... 291s Setting up python3-bpfcc (0.29.1+ds-1ubuntu4) ... 291s Setting up libc-devtools (2.39-0ubuntu6) ... 291s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 292s Setting up python3-distutils (3.12.2-3ubuntu1.1) ... 292s python3.12: can't get files for byte-compilation 292s Setting up openssh-sftp-server (1:9.6p1-3ubuntu11) ... 292s Setting up python3-dbus (1.3.2-5build2) ... 292s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 293s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 293s Setting up openssh-server (1:9.6p1-3ubuntu11) ... 293s Replacing config file /etc/ssh/sshd_config with new version 295s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 296s Setting up libblockdev-crypto3:s390x (3.1.0-1build1) ... 296s Setting up python3-gdbm:s390x (3.12.2-3ubuntu1.1) ... 296s Setting up python3-apt (2.7.7) ... 297s Setting up libfwupd2:s390x (1.9.15-2) ... 297s Setting up python3-yaml (6.0.1-2build1) ... 297s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 297s Setting up netplan.io (1.0-1) ... 297s Setting up bpfcc-tools (0.29.1+ds-1ubuntu4) ... 297s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 297s Setting up ubuntu-pro-client (31.2.2) ... 299s Setting up fwupd (1.9.15-2) ... 300s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 300s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 300s Setting up ubuntu-pro-client-l10n (31.2.2) ... 300s Setting up udisks2 (2.10.1-6) ... 301s Processing triggers for libc-bin (2.39-0ubuntu6) ... 301s Processing triggers for ufw (0.36.2-5) ... 301s Processing triggers for debianutils (5.17) ... 301s Processing triggers for install-info (7.1-3build1) ... 301s Processing triggers for initramfs-tools (0.142ubuntu23) ... 301s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 301s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 306s Not invoking zipl: initrd doesn't exist yet 306s Processing triggers for linux-image-6.8.0-20-generic (6.8.0-20.20) ... 306s /etc/kernel/postinst.d/initramfs-tools: 306s update-initramfs: Generating /boot/initrd.img-6.8.0-20-generic 306s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 312s Using config file '/etc/zipl.conf' 312s Building bootmap in '/boot' 312s Adding IPL section 'ubuntu' (default) 312s Preparing boot device for LD-IPL: vda (0000). 312s Done. 312s /etc/kernel/postinst.d/zz-zipl: 312s Using config file '/etc/zipl.conf' 312s Building bootmap in '/boot' 312s Adding IPL section 'ubuntu' (default) 312s Preparing boot device for LD-IPL: vda (0000). 312s Done. 314s Reading package lists... 314s Building dependency tree... 314s Reading state information... 314s The following packages will be REMOVED: 314s libaio1* libnetplan0* python3-distutils* python3-lib2to3* 315s 0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded. 315s After this operation, 1445 kB disk space will be freed. 315s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 81786 files and directories currently installed.) 315s Removing libaio1:s390x (0.3.113-5) ... 315s Removing libnetplan0:s390x (0.107.1-3) ... 315s Removing python3-distutils (3.12.2-3ubuntu1.1) ... 315s Removing python3-lib2to3 (3.12.2-3ubuntu1.1) ... 315s Processing triggers for libc-bin (2.39-0ubuntu6) ... 315s autopkgtest [20:44:15]: rebooting testbed after setup commands that affected boot 345s autopkgtest [20:44:45]: testbed running kernel: Linux 6.8.0-20-generic #20-Ubuntu SMP Mon Mar 18 10:49:25 UTC 2024 348s autopkgtest [20:44:48]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-statistics 351s Get:1 http://ftpmaster.internal/ubuntu noble/universe octave-statistics 1.6.0-2ubuntu1 (dsc) [2309 B] 351s Get:2 http://ftpmaster.internal/ubuntu noble/universe octave-statistics 1.6.0-2ubuntu1 (tar) [7347 kB] 351s Get:3 http://ftpmaster.internal/ubuntu noble/universe octave-statistics 1.6.0-2ubuntu1 (diff) [9180 B] 351s gpgv: Signature made Mon Sep 4 15:11:11 2023 UTC 351s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 351s gpgv: Can't check signature: No public key 351s dpkg-source: warning: cannot verify inline signature for ./octave-statistics_1.6.0-2ubuntu1.dsc: no acceptable signature found 352s autopkgtest [20:44:52]: testing package octave-statistics version 1.6.0-2ubuntu1 352s autopkgtest [20:44:52]: build not needed 366s autopkgtest [20:45:06]: test command1: preparing testbed 370s Reading package lists... 371s Building dependency tree... 371s Reading state information... 371s Starting pkgProblemResolver with broken count: 0 371s Starting 2 pkgProblemResolver with broken count: 0 371s Done 372s The following additional packages will be installed: 372s aglfn autoconf automake autopoint autotools-dev cme cpp cpp-13 372s cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 372s dh-octave dh-octave-autopkgtest dh-strip-nondeterminism diffstat dwz 372s fontconfig fonts-freefont-otf g++ g++-13 g++-13-s390x-linux-gnu 372s g++-s390x-linux-gnu gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu 372s gettext gfortran gfortran-13 gfortran-13-s390x-linux-gnu 372s gfortran-s390x-linux-gnu gnuplot-data gnuplot-nox hdf5-helpers 372s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 372s libamd3 libapp-cmd-perl libapt-pkg-perl libarchive-zip-perl libarpack2t64 372s libarray-intspan-perl libasan8 libasound2-data libasound2t64 libatomic1 372s libavahi-client3 libavahi-common-data libavahi-common3 372s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 372s libblas-dev libblas3 libboolean-perl libbtf2 libcairo2 libcamd3 372s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 372s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 372s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 372s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 372s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 372s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 372s libconvert-binhex-perl libcpanel-json-xs-perl libcups2t64 372s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 372s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 372s libdata-validate-domain-perl libdata-validate-ip-perl 372s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 372s libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl 372s libdouble-conversion3 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 372s libdynaloader-functions-perl libegl-mesa0 libegl1 libemail-address-xs-perl 372s libencode-locale-perl liberror-perl libevent-pthreads-2.1-7 372s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 372s libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 372s libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 372s libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl 372s libfile-which-perl libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 372s libfont-ttf-perl libfontenc1 libgbm1 libgcc-13-dev 372s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 372s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglpk40 libglu1-mesa 372s libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 372s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 372s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 372s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 372s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 372s libheif-plugin-libde265 libheif1 libhtml-form-perl 372s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 372s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 372s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 372s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 372s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 372s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 372s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 372s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 372s libitm1 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 372s libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 liblapack-dev liblapack3 372s liblcms2-2 liblist-compare-perl liblist-moreutils-perl 372s liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl 372s libllvm17t64 liblog-any-adapter-screen-perl liblog-any-perl 372s liblog-log4perl-perl libltdl7 liblua5.4-0 liblwp-mediatypes-perl 372s liblwp-protocol-https-perl libmailtools-perl libmarkdown2 libmd4c0 libmetis5 372s libmime-tools-perl libmldbm-perl libmodule-implementation-perl 372s libmodule-pluggable-perl libmodule-runtime-perl libmoo-perl 372s libmoox-aliases-perl libmouse-perl libmousex-nativetraits-perl 372s libmousex-strictconstructor-perl libmp3lame0 libmpc3 libmpg123-0 372s libmro-compat-perl libmtdev1t64 libmumps-5.6t64 libmunge2 372s libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 372s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 372s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 372s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 372s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 372s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 372s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 372s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 372s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 372s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 372s libpod-pom-perl libportaudio2 libproc-processtable-perl 372s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 372s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 372s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 372s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 372s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 372s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 372s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 372s libsereal-encoder-perl libset-intspan-perl libsm6 libsndfile1 372s libsoftware-copyright-perl libsoftware-license-perl 372s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 372s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 372s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 372s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 372s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 372s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 372s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 372s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 372s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 372s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 372s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 372s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 372s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 372s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 372s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 372s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 372s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 372s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 372s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libubsan1 372s libumfpack6 libunicode-utf8-perl liburi-perl libvariable-magic-perl 372s libvorbis0a libvorbisenc2 libvulkan1 libwacom-common libwacom9 372s libwayland-client0 libwayland-server0 libwebpmux3 libwmflite-0.2-7 372s libwww-mechanize-perl libwww-perl libwww-robotrules-perl libx11-dev 372s libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 372s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 372s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 372s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 372s libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 372s libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 372s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 372s libxnvctrl0 libxrandr2 libxrender1 libxs-parse-keyword-perl 372s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 372s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 372s lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave octave-common 372s octave-dev octave-io octave-statistics openmpi-bin openmpi-common patchutils 372s perl-openssl-defaults po-debconf t1utils tex-common texinfo texinfo-lib 372s unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 372s xserver-common xtrans-dev xvfb zlib1g-dev 372s Suggested packages: 372s autoconf-archive gnu-standards autoconf-doc libconfig-model-cursesui-perl 372s libconfig-model-itself-perl cpp-doc gcc-13-locales cpp-13-doc dh-make 372s g++-multilib g++-13-multilib gcc-13-doc gcc-multilib flex bison gdb gcc-doc 372s gcc-13-multilib gdb-s390x-linux-gnu gettext-doc libasprintf-dev 372s libgettextpo-dev gfortran-multilib gfortran-doc gfortran-13-multilib 372s gfortran-13-doc libcoarrays-dev gnuplot-doc alsa-utils libasound2-plugins 372s liblapack-doc libconfig-model-openssh-perl libterm-readline-perl-perl 372s | libterm-readline-gnu-perl cups-common libcurl4-doc libidn-dev libkrb5-dev 372s libldap2-dev librtmp-dev libssh2-1-dev pkg-config libfftw3-doc 372s libfftw3-mpi-dev libxml-parser-perl libiodbc2-dev default-libmysqlclient-dev 372s graphicsmagick-dbg libhdf5-doc libheif-plugin-ffmpegdec 372s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 372s libheif-plugin-j2kenc libheif-plugin-rav1e libheif-plugin-svtenc 372s libdata-dump-perl libio-compress-brotli-perl jackd2 liblcms2-utils 372s libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl 372s libcrypt-ssleay-perl ncurses-doc opus-tools libscalar-number-perl 372s libqscintilla2-doc qgnomeplatform-qt5 qt5-image-formats-plugins readline-doc 372s scalapack-doc libssl-doc libstdc++-13-doc libbareword-filehandles-perl 372s libmultidimensional-perl libxstring-perl libdatetime-format-rfc3339-perl 372s libtool-doc gcj-jdk libbusiness-isbn-perl libregexp-ipv6-perl libwacom-bin 372s libauthen-ntlm-perl libx11-doc libxcb-doc binutils-multiarch m4-doc 372s opencl-icd libmail-box-perl texlive-base texlive-latex-base 372s texlive-plain-generic texlive-fonts-recommended zip 372s Recommended packages: 372s libconfig-model-approx-perl libconfig-model-lcdproc-perl 372s libconfig-model-openssh-perl libconfig-model-systemd-perl 372s libconfig-model-tkui-perl fonts-liberation groff alsa-ucm-conf 372s alsa-topology-conf libcgi-fast-perl libclass-c3-xs-perl libfuse-perl 372s libarchive-cpio-perl libgl1-amber-dri ghostscript fonts-urw-base35 372s libheif-plugin-aomenc libheif-plugin-x265 libhtml-format-perl 372s libjson-xs-perl liblist-someutils-xs-perl libipc-shareable-perl 372s liblog-dispatch-perl libfreezethaw-perl libmath-base85-perl 372s libauthen-sasl-perl libsocket6-perl libpackage-stash-xs-perl 372s libtie-ixhash-perl qttranslations5-l10n libqt5svg5 qt5-gtk-platformtheme 372s qtwayland5 libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc 372s | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libre-engine-re2-perl 372s libtypes-serialiser-perl libltdl-dev mesa-vulkan-drivers | vulkan-icd 372s libdata-dump-perl libhttp-daemon-perl libxml-sax-expat-perl libopenblas0 372s | libblis4 pstoedit epstool default-jre-headless octave-doc 372s libreoffice-java-common libreoffice-core libjexcelapi-java 372s libapache-poi-java libjopendocument-java libxerces2-java 372s libmail-sendmail-perl xfonts-base 372s The following NEW packages will be installed: 372s aglfn autoconf automake autopkgtest-satdep autopoint autotools-dev cme cpp 372s cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 372s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 372s diffstat dwz fontconfig fonts-freefont-otf g++ g++-13 g++-13-s390x-linux-gnu 372s g++-s390x-linux-gnu gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu 372s gettext gfortran gfortran-13 gfortran-13-s390x-linux-gnu 372s gfortran-s390x-linux-gnu gnuplot-data gnuplot-nox hdf5-helpers 372s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 372s libamd3 libapp-cmd-perl libapt-pkg-perl libarchive-zip-perl libarpack2t64 372s libarray-intspan-perl libasan8 libasound2-data libasound2t64 libatomic1 372s libavahi-client3 libavahi-common-data libavahi-common3 372s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 372s libblas-dev libblas3 libboolean-perl libbtf2 libcairo2 libcamd3 372s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 372s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 372s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 372s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 372s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 372s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 372s libconvert-binhex-perl libcpanel-json-xs-perl libcups2t64 372s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 372s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 372s libdata-validate-domain-perl libdata-validate-ip-perl 372s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 372s libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl 372s libdouble-conversion3 libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 372s libdynaloader-functions-perl libegl-mesa0 libegl1 libemail-address-xs-perl 372s libencode-locale-perl liberror-perl libevent-pthreads-2.1-7 372s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 372s libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 372s libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 372s libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl 372s libfile-which-perl libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 372s libfont-ttf-perl libfontenc1 libgbm1 libgcc-13-dev 372s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 372s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglpk40 libglu1-mesa 372s libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 372s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 372s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 372s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 372s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 372s libheif-plugin-libde265 libheif1 libhtml-form-perl 372s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 372s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 372s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 372s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 372s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 372s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 372s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 372s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 372s libitm1 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 372s libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 liblapack-dev liblapack3 372s liblcms2-2 liblist-compare-perl liblist-moreutils-perl 372s liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl 372s libllvm17t64 liblog-any-adapter-screen-perl liblog-any-perl 372s liblog-log4perl-perl libltdl7 liblua5.4-0 liblwp-mediatypes-perl 372s liblwp-protocol-https-perl libmailtools-perl libmarkdown2 libmd4c0 libmetis5 372s libmime-tools-perl libmldbm-perl libmodule-implementation-perl 372s libmodule-pluggable-perl libmodule-runtime-perl libmoo-perl 372s libmoox-aliases-perl libmouse-perl libmousex-nativetraits-perl 372s libmousex-strictconstructor-perl libmp3lame0 libmpc3 libmpg123-0 372s libmro-compat-perl libmtdev1t64 libmumps-5.6t64 libmunge2 372s libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 372s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 372s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 372s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 372s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 372s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 372s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 372s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 372s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 372s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 372s libpod-pom-perl libportaudio2 libproc-processtable-perl 372s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 372s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 372s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 372s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 372s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 372s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 372s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 372s libsereal-encoder-perl libset-intspan-perl libsm6 libsndfile1 372s libsoftware-copyright-perl libsoftware-license-perl 372s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 372s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 372s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 372s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 372s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 372s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 372s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 372s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 372s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 372s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 372s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 372s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 372s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 372s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 372s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 372s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 372s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 372s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 372s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libubsan1 372s libumfpack6 libunicode-utf8-perl liburi-perl libvariable-magic-perl 372s libvorbis0a libvorbisenc2 libvulkan1 libwacom-common libwacom9 372s libwayland-client0 libwayland-server0 libwebpmux3 libwmflite-0.2-7 372s libwww-mechanize-perl libwww-perl libwww-robotrules-perl libx11-dev 372s libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 372s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 372s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 372s libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 372s libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 372s libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 372s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 372s libxnvctrl0 libxrandr2 libxrender1 libxs-parse-keyword-perl 372s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 372s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 372s lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave octave-common 372s octave-dev octave-io octave-statistics openmpi-bin openmpi-common patchutils 372s perl-openssl-defaults po-debconf t1utils tex-common texinfo texinfo-lib 372s unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 372s xserver-common xtrans-dev xvfb zlib1g-dev 372s 0 upgraded, 466 newly installed, 0 to remove and 1 not upgraded. 372s Need to get 219 MB/219 MB of archives. 372s After this operation, 803 MB of additional disk space will be used. 372s Get:1 /tmp/autopkgtest.BbfEU4/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [760 B] 372s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x m4 s390x 1.4.19-4 [255 kB] 373s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x autoconf all 2.71-3 [339 kB] 373s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x autotools-dev all 20220109.1 [44.9 kB] 373s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 373s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x autopoint all 0.21-14ubuntu1 [422 kB] 373s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libcapture-tiny-perl all 0.48-2 [20.2 kB] 373s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparams-util-perl s390x 1.102-2build2 [21.1 kB] 373s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libsub-install-perl all 0.929-1 [9764 B] 373s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libdata-optlist-perl all 0.114-1 [9708 B] 373s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libb-hooks-op-check-perl s390x 0.22-3 [9560 B] 373s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libdynaloader-functions-perl all 0.003-3 [12.1 kB] 373s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevel-callchecker-perl s390x 0.008-2build2 [13.5 kB] 373s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparams-classify-perl s390x 0.015-2build4 [20.6 kB] 373s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libmodule-runtime-perl all 0.016-2 [16.4 kB] 373s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libtry-tiny-perl all 0.31-2 [20.8 kB] 373s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libmodule-implementation-perl all 0.09-2 [12.0 kB] 373s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libpackage-stash-perl all 0.40-1 [19.5 kB] 373s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x libclass-load-perl all 0.25-2 [12.7 kB] 373s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libio-stringy-perl all 2.111-3 [55.8 kB] 373s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libparams-validate-perl s390x 1.31-2build2 [55.0 kB] 373s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libsub-exporter-perl all 0.990-1 [49.0 kB] 373s Get:23 http://ftpmaster.internal/ubuntu noble/universe s390x libgetopt-long-descriptive-perl all 0.111-1 [25.5 kB] 373s Get:24 http://ftpmaster.internal/ubuntu noble/universe s390x libio-tiecombine-perl all 1.005-3 [9464 B] 373s Get:25 http://ftpmaster.internal/ubuntu noble/universe s390x libmodule-pluggable-perl all 5.2-4 [20.0 kB] 373s Get:26 http://ftpmaster.internal/ubuntu noble/universe s390x libstring-rewriteprefix-perl all 0.009-1 [6310 B] 373s Get:27 http://ftpmaster.internal/ubuntu noble/universe s390x libapp-cmd-perl all 0.336-1 [62.1 kB] 373s Get:28 http://ftpmaster.internal/ubuntu noble/universe s390x libboolean-perl all 0.46-3 [8430 B] 373s Get:29 http://ftpmaster.internal/ubuntu noble/universe s390x libsub-uplevel-perl all 0.2800-3 [11.6 kB] 373s Get:30 http://ftpmaster.internal/ubuntu noble/universe s390x libtest-exception-perl all 0.43-3 [13.4 kB] 373s Get:31 http://ftpmaster.internal/ubuntu noble/universe s390x libcarp-assert-more-perl all 2.3.0-1 [17.6 kB] 373s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libfile-which-perl all 1.27-2 [12.5 kB] 373s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libfile-homedir-perl all 1.006-2 [37.0 kB] 373s Get:34 http://ftpmaster.internal/ubuntu noble/universe s390x libclone-choose-perl all 0.010-2 [7738 B] 373s Get:35 http://ftpmaster.internal/ubuntu noble/universe s390x libhash-merge-perl all 0.302-1 [13.0 kB] 373s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libjson-perl all 4.10000-1 [81.9 kB] 373s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libexporter-tiny-perl all 1.006002-1 [36.8 kB] 373s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x liblist-moreutils-xs-perl s390x 0.430-3build4 [47.4 kB] 373s Get:39 http://ftpmaster.internal/ubuntu noble/universe s390x liblist-moreutils-perl all 0.430-2 [38.2 kB] 373s Get:40 http://ftpmaster.internal/ubuntu noble/universe s390x liblog-log4perl-perl all 1.57-1 [345 kB] 374s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmouse-perl s390x 2.5.10-1build7 [134 kB] 374s Get:42 http://ftpmaster.internal/ubuntu noble/universe s390x libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 374s Get:43 http://ftpmaster.internal/ubuntu noble/universe s390x libmousex-strictconstructor-perl all 0.02-3 [4582 B] 374s Get:44 http://ftpmaster.internal/ubuntu noble/universe s390x libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 374s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libpath-tiny-perl all 0.144-1 [47.7 kB] 374s Get:46 http://ftpmaster.internal/ubuntu noble/universe s390x libpod-pom-perl all 2.01-4 [61.3 kB] 374s Get:47 http://ftpmaster.internal/ubuntu noble/universe s390x libregexp-common-perl all 2017060201-3 [171 kB] 374s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libyaml-tiny-perl all 1.74-1 [25.3 kB] 374s Get:49 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-perl all 2.153-3 [408 kB] 374s Get:50 http://ftpmaster.internal/ubuntu noble/universe s390x libyaml-pp-perl all 0.38.0-1 [105 kB] 374s Get:51 http://ftpmaster.internal/ubuntu noble/universe s390x cme all 1.040-1 [64.8 kB] 374s Get:52 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 374s Get:53 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 374s Get:54 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [9935 kB] 375s Get:55 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-21ubuntu1 [1026 B] 375s Get:56 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 375s Get:57 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 375s Get:58 http://ftpmaster.internal/ubuntu noble/main s390x libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 375s Get:59 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240315-1ubuntu1 [50.0 kB] 375s Get:60 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240315-1ubuntu1 [151 kB] 375s Get:61 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240315-1ubuntu1 [31.1 kB] 375s Get:62 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240315-1ubuntu1 [9396 B] 375s Get:63 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240315-1ubuntu1 [2997 kB] 376s Get:64 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240315-1ubuntu1 [1186 kB] 376s Get:65 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-21ubuntu1 [1003 kB] 376s Get:66 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [19.1 MB] 377s Get:67 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-21ubuntu1 [469 kB] 377s Get:68 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 377s Get:69 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 377s Get:70 http://ftpmaster.internal/ubuntu noble/main s390x libtool all 2.4.7-7 [166 kB] 377s Get:71 http://ftpmaster.internal/ubuntu noble/main s390x dh-autoreconf all 20 [16.1 kB] 377s Get:72 http://ftpmaster.internal/ubuntu noble/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 377s Get:73 http://ftpmaster.internal/ubuntu noble/main s390x libsub-override-perl all 0.10-1 [10.0 kB] 377s Get:74 http://ftpmaster.internal/ubuntu noble/main s390x libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 377s Get:75 http://ftpmaster.internal/ubuntu noble/main s390x dh-strip-nondeterminism all 1.13.1-1 [5362 B] 377s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x debugedit s390x 1:5.0-5build1 [50.5 kB] 377s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dwz s390x 0.15-1build5 [122 kB] 377s Get:78 http://ftpmaster.internal/ubuntu noble/main s390x gettext s390x 0.21-14ubuntu1 [917 kB] 377s Get:79 http://ftpmaster.internal/ubuntu noble/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 377s Get:80 http://ftpmaster.internal/ubuntu noble/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 377s Get:81 http://ftpmaster.internal/ubuntu noble/main s390x debhelper all 13.14.1ubuntu5 [869 kB] 377s Get:82 http://ftpmaster.internal/ubuntu noble/universe s390x aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 377s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x gnuplot-data all 6.0.0+dfsg1-1ubuntu2 [75.3 kB] 377s Get:84 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 377s Get:85 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-render0 s390x 1.15-1 [17.0 kB] 378s Get:86 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 378s Get:87 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 378s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcairo2 s390x 1.18.0-1ubuntu1 [589 kB] 378s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblua5.4-0 s390x 5.4.6-3build1 [179 kB] 378s Get:90 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig s390x 2.15.0-1.1ubuntu1 [191 kB] 378s Get:91 http://ftpmaster.internal/ubuntu noble/main s390x libgraphite2-3 s390x 1.3.14-2 [90.4 kB] 378s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libharfbuzz0b s390x 8.3.0-2build1 [515 kB] 378s Get:93 http://ftpmaster.internal/ubuntu noble/main s390x libthai-data all 0.1.29-2 [158 kB] 378s Get:94 http://ftpmaster.internal/ubuntu noble/main s390x libdatrie1 s390x 0.2.13-3 [22.6 kB] 378s Get:95 http://ftpmaster.internal/ubuntu noble/main s390x libthai0 s390x 0.1.29-2 [20.6 kB] 378s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpango-1.0-0 s390x 1.52.1+ds-1 [242 kB] 378s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangoft2-1.0-0 s390x 1.52.1+ds-1 [44.2 kB] 378s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangocairo-1.0-0 s390x 1.52.1+ds-1 [28.7 kB] 378s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwebpmux3 s390x 1.3.2-0.4build2 [25.4 kB] 378s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x gnuplot-nox s390x 6.0.0+dfsg1-1ubuntu2 [1023 kB] 378s Get:101 http://ftpmaster.internal/ubuntu noble/universe s390x fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 378s Get:102 http://ftpmaster.internal/ubuntu noble/universe s390x dh-octave-autopkgtest all 1.8.0 [10.1 kB] 378s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg-perl s390x 0.1.40build5 [70.1 kB] 379s Get:104 http://ftpmaster.internal/ubuntu noble/main s390x libarray-intspan-perl all 2.004-2 [25.0 kB] 379s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libyaml-libyaml-perl s390x 0.89+ds-1build1 [32.4 kB] 379s Get:106 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 379s Get:107 http://ftpmaster.internal/ubuntu noble/universe s390x libexporter-lite-perl all 0.09-2 [9748 B] 379s Get:108 http://ftpmaster.internal/ubuntu noble/main s390x libencode-locale-perl all 1.05-3 [11.6 kB] 379s Get:109 http://ftpmaster.internal/ubuntu noble/main s390x libtimedate-perl all 2.3300-2 [34.0 kB] 379s Get:110 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-date-perl all 6.06-1 [10.2 kB] 379s Get:111 http://ftpmaster.internal/ubuntu noble/main s390x libfile-listing-perl all 6.16-1 [11.3 kB] 379s Get:112 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tagset-perl all 3.20-6 [11.3 kB] 379s Get:113 http://ftpmaster.internal/ubuntu noble/main s390x liburi-perl all 5.27-1 [88.0 kB] 379s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhtml-parser-perl s390x 3.81-1build2 [87.8 kB] 379s Get:115 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tree-perl all 5.07-3 [200 kB] 379s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclone-perl s390x 0.46-1build2 [10.7 kB] 379s Get:117 http://ftpmaster.internal/ubuntu noble/main s390x libio-html-perl all 1.004-3 [15.9 kB] 379s Get:118 http://ftpmaster.internal/ubuntu noble/main s390x liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 379s Get:119 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-message-perl all 6.45-1ubuntu1 [78.2 kB] 379s Get:120 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-cookies-perl all 6.11-1 [18.2 kB] 379s Get:121 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-negotiate-perl all 6.01-2 [12.4 kB] 379s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-openssl-defaults s390x 7build1 [6542 B] 379s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnet-ssleay-perl s390x 1.94-1build2 [319 kB] 379s Get:124 http://ftpmaster.internal/ubuntu noble/main s390x libio-socket-ssl-perl all 2.085-1 [195 kB] 379s Get:125 http://ftpmaster.internal/ubuntu noble/main s390x libnet-http-perl all 6.23-1 [22.3 kB] 379s Get:126 http://ftpmaster.internal/ubuntu noble/main s390x liblwp-protocol-https-perl all 6.13-1 [9006 B] 379s Get:127 http://ftpmaster.internal/ubuntu noble/main s390x libwww-robotrules-perl all 6.02-1 [12.6 kB] 379s Get:128 http://ftpmaster.internal/ubuntu noble/main s390x libwww-perl all 6.76-1 [138 kB] 379s Get:129 http://ftpmaster.internal/ubuntu noble/main s390x liberror-perl all 0.17029-2 [25.6 kB] 379s Get:130 http://ftpmaster.internal/ubuntu noble/universe s390x libparse-debcontrol-perl all 2.005-6 [20.4 kB] 379s Get:131 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-copyright-perl all 0.012-2 [17.4 kB] 379s Get:132 http://ftpmaster.internal/ubuntu noble/universe s390x libalgorithm-c3-perl all 0.11-2 [10.2 kB] 379s Get:133 http://ftpmaster.internal/ubuntu noble/universe s390x libclass-c3-perl all 0.35-2 [18.4 kB] 379s Get:134 http://ftpmaster.internal/ubuntu noble/universe s390x libmro-compat-perl all 0.15-2 [10.1 kB] 379s Get:135 http://ftpmaster.internal/ubuntu noble/universe s390x libdata-section-perl all 0.200008-1 [11.6 kB] 379s Get:136 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-template-perl all 1.61-1 [48.5 kB] 379s Get:137 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-license-perl all 0.104006-1 [117 kB] 379s Get:138 http://ftpmaster.internal/ubuntu noble/universe s390x libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 379s Get:139 http://ftpmaster.internal/ubuntu noble/main s390x libsort-versions-perl all 1.62-3 [7378 B] 379s Get:140 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-reform-perl all 1.20-5 [35.4 kB] 379s Get:141 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-autoformat-perl all 1.750000-2 [29.8 kB] 379s Get:142 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 379s Get:143 http://ftpmaster.internal/ubuntu noble/universe s390x libtoml-tiny-perl all 0.16-1 [22.0 kB] 379s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libindirect-perl s390x 0.39-2build3 [22.3 kB] 379s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxs-parse-keyword-perl s390x 0.39-1build2 [55.6 kB] 379s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxs-parse-sublike-perl s390x 0.21-2build2 [40.6 kB] 379s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libobject-pad-perl s390x 0.808-1build2 [111 kB] 379s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsyntax-keyword-try-perl s390x 0.29-1build2 [24.8 kB] 379s Get:149 http://ftpmaster.internal/ubuntu noble/main s390x libio-interactive-perl all 1.025-1 [10.4 kB] 380s Get:150 http://ftpmaster.internal/ubuntu noble/main s390x liblog-any-perl all 1.717-1 [73.2 kB] 380s Get:151 http://ftpmaster.internal/ubuntu noble/main s390x liblog-any-adapter-screen-perl all 0.140-2 [12.4 kB] 380s Get:152 http://ftpmaster.internal/ubuntu noble/main s390x libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 380s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libvariable-magic-perl s390x 0.63-1build2 [35.5 kB] 380s Get:154 http://ftpmaster.internal/ubuntu noble/main s390x libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 380s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsub-identify-perl s390x 0.14-3build2 [9912 B] 380s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsub-name-perl s390x 0.27-1build2 [10.8 kB] 380s Get:157 http://ftpmaster.internal/ubuntu noble/main s390x libnamespace-clean-perl all 0.27-2 [14.0 kB] 380s Get:158 http://ftpmaster.internal/ubuntu noble/main s390x libnumber-compare-perl all 0.03-3 [5974 B] 380s Get:159 http://ftpmaster.internal/ubuntu noble/main s390x libtext-glob-perl all 0.11-3 [6780 B] 380s Get:160 http://ftpmaster.internal/ubuntu noble/main s390x libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 380s Get:161 http://ftpmaster.internal/ubuntu noble/main s390x libpod-parser-perl all 1.67-1 [80.6 kB] 380s Get:162 http://ftpmaster.internal/ubuntu noble/main s390x libpod-constants-perl all 0.19-2 [16.3 kB] 380s Get:163 http://ftpmaster.internal/ubuntu noble/main s390x libset-intspan-perl all 1.19-3 [24.8 kB] 380s Get:164 http://ftpmaster.internal/ubuntu noble/main s390x libstring-copyright-perl all 0.003014-1 [20.5 kB] 380s Get:165 http://ftpmaster.internal/ubuntu noble/main s390x libstring-escape-perl all 2010.002-3 [16.1 kB] 380s Get:166 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-pattern-license-perl all 3.11.0-1 [85.8 kB] 380s Get:167 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 380s Get:168 http://ftpmaster.internal/ubuntu noble/main s390x libstring-license-perl all 0.0.9-2ubuntu1 [35.0 kB] 380s Get:169 http://ftpmaster.internal/ubuntu noble/main s390x licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 380s Get:170 http://ftpmaster.internal/ubuntu noble/main s390x diffstat s390x 1.66-1 [32.4 kB] 380s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libberkeleydb-perl s390x 0.64-2build2 [116 kB] 380s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclass-xsaccessor-perl s390x 1.19-4build3 [34.9 kB] 380s Get:173 http://ftpmaster.internal/ubuntu noble/main s390x libconfig-tiny-perl all 2.30-1 [14.7 kB] 380s Get:174 http://ftpmaster.internal/ubuntu noble/main s390x libconst-fast-perl all 0.014-2 [8034 B] 380s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcpanel-json-xs-perl s390x 4.37-1build2 [117 kB] 380s Get:176 http://ftpmaster.internal/ubuntu noble/main s390x libaliased-perl all 0.34-3 [12.8 kB] 380s Get:177 http://ftpmaster.internal/ubuntu noble/main s390x libclass-data-inheritable-perl all 0.08-3 [8084 B] 380s Get:178 http://ftpmaster.internal/ubuntu noble/main s390x libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 380s Get:179 http://ftpmaster.internal/ubuntu noble/main s390x libexception-class-perl all 1.45-1 [28.6 kB] 380s Get:180 http://ftpmaster.internal/ubuntu noble/main s390x libiterator-perl all 0.03+ds1-2 [18.8 kB] 380s Get:181 http://ftpmaster.internal/ubuntu noble/main s390x libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 380s Get:182 http://ftpmaster.internal/ubuntu noble/main s390x libdata-dpath-perl all 0.59-1 [39.2 kB] 380s Get:183 http://ftpmaster.internal/ubuntu noble/main s390x libnet-domain-tld-perl all 1.75-3 [29.4 kB] 380s Get:184 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-domain-perl all 0.10-1.1 [9992 B] 380s Get:185 http://ftpmaster.internal/ubuntu noble/main s390x libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 380s Get:186 http://ftpmaster.internal/ubuntu noble/main s390x libnet-netmask-perl all 2.0002-2 [24.8 kB] 380s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnetaddr-ip-perl s390x 4.079+dfsg-2build3 [80.7 kB] 380s Get:188 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-ip-perl all 0.31-1 [17.2 kB] 380s Get:189 http://ftpmaster.internal/ubuntu noble/main s390x libdata-validate-uri-perl all 0.07-3 [10.8 kB] 380s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevel-size-perl s390x 0.83-2build3 [20.0 kB] 380s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libemail-address-xs-perl s390x 1.05-1build3 [29.4 kB] 380s Get:192 http://ftpmaster.internal/ubuntu noble/main s390x libipc-system-simple-perl all 1.30-2 [22.3 kB] 380s Get:193 http://ftpmaster.internal/ubuntu noble/main s390x libfile-basedir-perl all 0.09-2 [14.4 kB] 380s Get:194 http://ftpmaster.internal/ubuntu noble/main s390x libfile-find-rule-perl all 0.34-3 [24.4 kB] 380s Get:195 http://ftpmaster.internal/ubuntu noble/main s390x libio-string-perl all 1.08-4 [11.1 kB] 380s Get:196 http://ftpmaster.internal/ubuntu noble/main s390x libfont-ttf-perl all 1.06-2 [323 kB] 380s Get:197 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 380s Get:198 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 380s Get:199 http://ftpmaster.internal/ubuntu noble/main s390x libipc-run3-perl all 0.049-1 [28.8 kB] 380s Get:200 http://ftpmaster.internal/ubuntu noble/main s390x libjson-maybexs-perl all 1.004005-1 [11.3 kB] 380s Get:201 http://ftpmaster.internal/ubuntu noble/main s390x liblist-compare-perl all 0.55-2 [62.9 kB] 380s Get:202 http://ftpmaster.internal/ubuntu noble/main s390x liblist-someutils-perl all 0.59-1 [30.4 kB] 380s Get:203 http://ftpmaster.internal/ubuntu noble/main s390x liblist-utilsby-perl all 0.12-2 [14.9 kB] 380s Get:204 http://ftpmaster.internal/ubuntu noble/main s390x libmldbm-perl all 2.05-4 [16.0 kB] 381s Get:205 http://ftpmaster.internal/ubuntu noble/main s390x libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 381s Get:206 http://ftpmaster.internal/ubuntu noble/main s390x libimport-into-perl all 1.002005-2 [10.7 kB] 381s Get:207 http://ftpmaster.internal/ubuntu noble/main s390x librole-tiny-perl all 2.002004-1 [16.3 kB] 381s Get:208 http://ftpmaster.internal/ubuntu noble/main s390x libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 381s Get:209 http://ftpmaster.internal/ubuntu noble/main s390x libmoo-perl all 2.005005-1 [47.4 kB] 381s Get:210 http://ftpmaster.internal/ubuntu noble/main s390x libstrictures-perl all 2.000006-1 [16.3 kB] 381s Get:211 http://ftpmaster.internal/ubuntu noble/main s390x libmoox-aliases-perl all 0.001006-2 [6796 B] 381s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperlio-gzip-perl s390x 0.20-1build3 [14.7 kB] 381s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperlio-utf8-strict-perl s390x 0.010-1build2 [11.2 kB] 381s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc-processtable-perl s390x 0.636-1build2 [36.6 kB] 381s Get:215 http://ftpmaster.internal/ubuntu noble/main s390x libregexp-wildcards-perl all 1.05-3 [12.9 kB] 381s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsereal-decoder-perl s390x 5.004+ds-1build2 [106 kB] 381s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsereal-encoder-perl s390x 5.004+ds-1build2 [111 kB] 381s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libterm-readkey-perl s390x 2.38-2build3 [22.9 kB] 381s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-levenshteinxs-perl s390x 0.03-5build3 [8276 B] 381s Get:220 http://ftpmaster.internal/ubuntu noble/main s390x libmarkdown2 s390x 2.2.7-2 [37.2 kB] 381s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-markdown-discount-perl s390x 0.16-1build2 [12.1 kB] 381s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdata-messagepack-perl s390x 1.02-1build3 [31.9 kB] 381s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-xslate-perl s390x 3.5.9-1build4 [163 kB] 381s Get:224 http://ftpmaster.internal/ubuntu noble/main s390x libtime-duration-perl all 1.21-2 [12.3 kB] 381s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtime-moment-perl s390x 0.44-2build3 [75.8 kB] 381s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libunicode-utf8-perl s390x 0.62-2build2 [19.1 kB] 382s Get:227 http://ftpmaster.internal/ubuntu noble/main s390x libcgi-pm-perl all 4.63-1 [185 kB] 382s Get:228 http://ftpmaster.internal/ubuntu noble/main s390x libhtml-form-perl all 6.11-1 [32.1 kB] 382s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwww-mechanize-perl all 2.18-1ubuntu1 [93.1 kB] 382s Get:230 http://ftpmaster.internal/ubuntu noble/main s390x libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 382s Get:231 http://ftpmaster.internal/ubuntu noble/main s390x libxml-sax-base-perl all 1.09-3 [18.9 kB] 382s Get:232 http://ftpmaster.internal/ubuntu noble/main s390x libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] 382s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml-libxml-perl s390x 2.0207+dfsg+really+2.0134-1build3 [312 kB] 382s Get:234 http://ftpmaster.internal/ubuntu noble/main s390x lzip s390x 1.24.1-1 [89.8 kB] 382s Get:235 http://ftpmaster.internal/ubuntu noble/main s390x lzop s390x 1.04-2build2 [83.1 kB] 382s Get:236 http://ftpmaster.internal/ubuntu noble/main s390x patchutils s390x 0.4.2-1build2 [77.3 kB] 382s Get:237 http://ftpmaster.internal/ubuntu noble/main s390x t1utils s390x 1.41-4build2 [61.5 kB] 382s Get:238 http://ftpmaster.internal/ubuntu noble/main s390x unzip s390x 6.0-28ubuntu3 [180 kB] 382s Get:239 http://ftpmaster.internal/ubuntu noble/main s390x lintian all 2.117.0ubuntu1 [1065 kB] 383s Get:240 http://ftpmaster.internal/ubuntu noble/universe s390x libconfig-model-dpkg-perl all 3.004 [174 kB] 383s Get:241 http://ftpmaster.internal/ubuntu noble/main s390x libconvert-binhex-perl all 1.125-3 [27.1 kB] 383s Get:242 http://ftpmaster.internal/ubuntu noble/main s390x libnet-smtp-ssl-perl all 1.04-2 [6218 B] 383s Get:243 http://ftpmaster.internal/ubuntu noble/main s390x libmailtools-perl all 2.21-2 [80.4 kB] 383s Get:244 http://ftpmaster.internal/ubuntu noble/main s390x libmime-tools-perl all 5.514-1 [187 kB] 383s Get:245 http://ftpmaster.internal/ubuntu noble/main s390x libsuitesparseconfig7 s390x 1:7.6.1+dfsg-1 [12.7 kB] 383s Get:246 http://ftpmaster.internal/ubuntu noble/universe s390x libamd3 s390x 1:7.6.1+dfsg-1 [34.7 kB] 383s Get:247 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 383s Get:248 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240315-1ubuntu1 [600 kB] 383s Get:249 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 384s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libarpack2t64 s390x 3.9.1-1.1build1 [113 kB] 384s Get:251 http://ftpmaster.internal/ubuntu noble/universe s390x libccolamd3 s390x 1:7.6.1+dfsg-1 [32.8 kB] 384s Get:252 http://ftpmaster.internal/ubuntu noble/universe s390x libcamd3 s390x 1:7.6.1+dfsg-1 [29.4 kB] 384s Get:253 http://ftpmaster.internal/ubuntu noble/main s390x libcolamd3 s390x 1:7.6.1+dfsg-1 [23.4 kB] 384s Get:254 http://ftpmaster.internal/ubuntu noble/universe s390x libcholmod5 s390x 1:7.6.1+dfsg-1 [908 kB] 384s Get:255 http://ftpmaster.internal/ubuntu noble/universe s390x libcxsparse4 s390x 1:7.6.1+dfsg-1 [95.2 kB] 384s Get:256 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-double3 s390x 3.3.10-1ubuntu2 [512 kB] 384s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-single3 s390x 3.3.10-1ubuntu2 [481 kB] 384s Get:258 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 384s Get:259 http://ftpmaster.internal/ubuntu noble/main s390x libxcursor1 s390x 1:1.2.1-1 [22.2 kB] 384s Get:260 http://ftpmaster.internal/ubuntu noble/main s390x libxft2 s390x 2.3.6-1 [44.3 kB] 384s Get:261 http://ftpmaster.internal/ubuntu noble/main s390x libxinerama1 s390x 2:1.1.4-3 [7110 B] 384s Get:262 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfltk1.3t64 s390x 1.3.8-6.1build1 [645 kB] 384s Get:263 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 384s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglapi-mesa s390x 24.0.3-1ubuntu3 [69.2 kB] 384s Get:265 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 384s Get:266 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 384s Get:267 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 384s Get:268 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 384s Get:269 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 384s Get:270 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 384s Get:271 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 385s Get:272 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 385s Get:273 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 385s Get:274 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 385s Get:275 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 385s Get:276 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 385s Get:277 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 385s Get:278 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 385s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm17t64 s390x 1:17.0.6-9build2 [31.2 MB] 388s Get:280 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgl1-mesa-dri s390x 24.0.3-1ubuntu3 [7186 kB] 388s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglx-mesa0 s390x 24.0.3-1ubuntu3 [182 kB] 388s Get:282 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 388s Get:283 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 388s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfltk-gl1.3t64 s390x 1.3.8-6.1build1 [43.7 kB] 388s Get:285 http://ftpmaster.internal/ubuntu noble/universe s390x libgl2ps1.4 s390x 1.4.2+dfsg1-2 [40.2 kB] 388s Get:286 http://ftpmaster.internal/ubuntu noble/main s390x libltdl7 s390x 2.4.7-7 [41.6 kB] 388s Get:287 http://ftpmaster.internal/ubuntu noble/universe s390x libglpk40 s390x 5.0-1build1 [402 kB] 388s Get:288 http://ftpmaster.internal/ubuntu noble/main s390x libopengl0 s390x 1.7.0-1 [45.9 kB] 388s Get:289 http://ftpmaster.internal/ubuntu noble/main s390x libglu1-mesa s390x 9.0.2-1.1 [145 kB] 388s Get:290 http://ftpmaster.internal/ubuntu noble/universe s390x libdav1d7 s390x 1.4.1-1 [316 kB] 388s Get:291 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif-plugin-dav1d s390x 1.17.6-1ubuntu2 [10.2 kB] 388s Get:292 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libde265-0 s390x 1.0.15-1build1 [175 kB] 388s Get:293 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif-plugin-libde265 s390x 1.17.6-1ubuntu2 [8306 B] 388s Get:294 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libheif1 s390x 1.17.6-1ubuntu2 [299 kB] 388s Get:295 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhwy1t64 s390x 1.0.7-8.1 [236 kB] 388s Get:296 http://ftpmaster.internal/ubuntu noble/main s390x liblcms2-2 s390x 2.14-2 [155 kB] 388s Get:297 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libjxl0.7 s390x 0.7.0-10.2ubuntu4 [778 kB] 389s Get:298 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwmflite-0.2-7 s390x 0.2.13-1.1build2 [72.1 kB] 389s Get:299 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libgraphicsmagick-q16-3t64 s390x 1.4+really1.3.42-1.1build1 [1313 kB] 389s Get:300 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libgraphicsmagick++-q16-12t64 s390x 1.4+really1.3.42-1.1build1 [117 kB] 389s Get:301 http://ftpmaster.internal/ubuntu noble/universe s390x libaec0 s390x 1.1.2-1 [25.7 kB] 389s Get:302 http://ftpmaster.internal/ubuntu noble/universe s390x libsz2 s390x 1.1.2-1 [5346 B] 389s Get:303 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [1436 kB] 389s Get:304 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libasound2-data all 1.2.11-1build1 [21.0 kB] 389s Get:305 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libasound2t64 s390x 1.2.11-1build1 [414 kB] 389s Get:306 http://ftpmaster.internal/ubuntu noble/main s390x libopus0 s390x 1.4-1 [203 kB] 389s Get:307 http://ftpmaster.internal/ubuntu noble/main s390x libsamplerate0 s390x 0.2.2-4 [1343 kB] 390s Get:308 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjack-jackd2-0 s390x 1.9.21~dfsg-3ubuntu1 [297 kB] 390s Get:309 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libportaudio2 s390x 19.6.0-1.2build1 [71.8 kB] 390s Get:310 http://ftpmaster.internal/ubuntu noble/universe s390x libqhull-r8.0 s390x 2020.2-6 [181 kB] 390s Get:311 http://ftpmaster.internal/ubuntu noble/universe s390x libqrupdate1 s390x 1.1.2-4 [30.8 kB] 390s Get:312 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqscintilla2-qt5-l10n all 2.14.1+dfsg-1build2 [56.4 kB] 390s Get:313 http://ftpmaster.internal/ubuntu noble/universe s390x libdouble-conversion3 s390x 3.3.0-1 [39.6 kB] 390s Get:314 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 390s Get:315 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5core5t64 s390x 5.15.12+dfsg-3ubuntu6 [2263 kB] 390s Get:316 http://ftpmaster.internal/ubuntu noble/main s390x libwayland-server0 s390x 1.22.0-2.1 [34.9 kB] 390s Get:317 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgbm1 s390x 24.0.3-1ubuntu3 [44.5 kB] 390s Get:318 http://ftpmaster.internal/ubuntu noble/main s390x libwayland-client0 s390x 1.22.0-2.1 [26.1 kB] 390s Get:319 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libegl-mesa0 s390x 24.0.3-1ubuntu3 [123 kB] 390s Get:320 http://ftpmaster.internal/ubuntu noble/main s390x libegl1 s390x 1.7.0-1 [30.9 kB] 390s Get:321 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 390s Get:322 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 390s Get:323 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmtdev1t64 s390x 1.1.6-1.1 [15.7 kB] 390s Get:324 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwacom-common all 2.10.0-1build1 [63.5 kB] 390s Get:325 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwacom9 s390x 2.10.0-1build1 [24.3 kB] 390s Get:326 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libinput-bin s390x 1.25.0-1ubuntu1 [22.2 kB] 390s Get:327 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libinput10 s390x 1.25.0-1ubuntu1 [136 kB] 390s Get:328 http://ftpmaster.internal/ubuntu noble/universe s390x libmd4c0 s390x 0.4.8-1 [43.6 kB] 390s Get:329 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5dbus5t64 s390x 5.15.12+dfsg-3ubuntu6 [244 kB] 390s Get:330 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5network5t64 s390x 5.15.12+dfsg-3ubuntu6 [798 kB] 390s Get:331 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 390s Get:332 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-icccm4 s390x 0.4.1-1.1build2 [11.5 kB] 390s Get:333 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-util1 s390x 0.4.0-1build2 [11.2 kB] 390s Get:334 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-image0 s390x 0.4.0-2 [11.8 kB] 390s Get:335 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-keysyms1 s390x 0.4.0-1build3 [8780 B] 390s Get:336 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-render-util0 s390x 0.3.9-1build3 [10.1 kB] 390s Get:337 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shape0 s390x 1.15-1 [6146 B] 390s Get:338 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xinerama0 s390x 1.15-1 [5382 B] 390s Get:339 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xinput0 s390x 1.15-1 [34.6 kB] 390s Get:340 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xkb1 s390x 1.15-1 [32.3 kB] 390s Get:341 http://ftpmaster.internal/ubuntu noble/main s390x libxkbcommon-x11-0 s390x 1.6.0-1 [14.8 kB] 390s Get:342 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5gui5t64 s390x 5.15.12+dfsg-3ubuntu6 [4203 kB] 390s Get:343 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-common-data s390x 0.8-13ubuntu4 [29.6 kB] 390s Get:344 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-common3 s390x 0.8-13ubuntu4 [24.1 kB] 390s Get:345 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libavahi-client3 s390x 0.8-13ubuntu4 [27.2 kB] 390s Get:346 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcups2t64 s390x 2.4.7-1.2ubuntu2 [282 kB] 390s Get:347 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5widgets5t64 s390x 5.15.12+dfsg-3ubuntu6 [2754 kB] 391s Get:348 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5printsupport5t64 s390x 5.15.12+dfsg-3ubuntu6 [220 kB] 391s Get:349 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqscintilla2-qt5-15 s390x 2.14.1+dfsg-1build2 [1351 kB] 391s Get:350 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5sql5t64 s390x 5.15.12+dfsg-3ubuntu6 [131 kB] 391s Get:351 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5help5 s390x 5.15.12-2build2 [174 kB] 391s Get:352 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libqt5xml5t64 s390x 5.15.12+dfsg-3ubuntu6 [132 kB] 391s Get:353 http://ftpmaster.internal/ubuntu noble/main s390x libogg0 s390x 1.3.5-3 [22.7 kB] 391s Get:354 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libflac12t64 s390x 1.4.3+ds-2.1ubuntu1 [162 kB] 391s Get:355 http://ftpmaster.internal/ubuntu noble/main s390x libmp3lame0 s390x 3.100-6 [141 kB] 391s Get:356 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmpg123-0 s390x 1.32.5-1build1 [176 kB] 391s Get:357 http://ftpmaster.internal/ubuntu noble/main s390x libvorbis0a s390x 1.3.7-1build2 [102 kB] 391s Get:358 http://ftpmaster.internal/ubuntu noble/main s390x libvorbisenc2 s390x 1.3.7-1build2 [83.1 kB] 391s Get:359 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsndfile1 s390x 1.2.2-1ubuntu3 [237 kB] 391s Get:360 http://ftpmaster.internal/ubuntu noble/universe s390x libspqr4 s390x 1:7.6.1+dfsg-1 [164 kB] 391s Get:361 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-ida6 s390x 6.4.1+dfsg1-3build3 [133 kB] 391s Get:362 http://ftpmaster.internal/ubuntu noble/universe s390x libbtf2 s390x 1:7.6.1+dfsg-1 [15.7 kB] 391s Get:363 http://ftpmaster.internal/ubuntu noble/universe s390x libklu2 s390x 1:7.6.1+dfsg-1 [106 kB] 391s Get:364 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-long3 s390x 3.3.10-1ubuntu2 [529 kB] 391s Get:365 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libevent-pthreads-2.1-7 s390x 2.1.12-stable-9build1 [7778 B] 391s Get:366 http://ftpmaster.internal/ubuntu noble-proposed/main s390x librdmacm1t64 s390x 50.0-2build1 [74.1 kB] 391s Get:367 http://ftpmaster.internal/ubuntu noble/universe s390x libfabric1 s390x 1.17.0-3build1 [566 kB] 391s Get:368 http://ftpmaster.internal/ubuntu noble/universe s390x libhwloc15 s390x 2.10.0-1 [174 kB] 391s Get:369 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libmunge2 s390x 0.5.15-4 [15.6 kB] 391s Get:370 http://ftpmaster.internal/ubuntu noble/main s390x libpciaccess0 s390x 0.17-3 [18.5 kB] 391s Get:371 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxnvctrl0 s390x 510.47.03-0ubuntu3 [12.7 kB] 391s Get:372 http://ftpmaster.internal/ubuntu noble/universe s390x ocl-icd-libopencl1 s390x 2.3.2-1 [39.1 kB] 391s Get:373 http://ftpmaster.internal/ubuntu noble/universe s390x libhwloc-plugins s390x 2.10.0-1 [16.1 kB] 391s Get:374 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libpmix2t64 s390x 5.0.1-4.1 [727 kB] 391s Get:375 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libopenmpi3t64 s390x 4.1.6-7ubuntu1 [2437 kB] 391s Get:376 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libfftw3-mpi3 s390x 3.3.10-1ubuntu2 [57.5 kB] 391s Get:377 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-openmpi-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [1496 kB] 392s Get:378 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libcombblas2.0.0t64 s390x 2.0.0-3.1build1 [270 kB] 392s Get:379 http://ftpmaster.internal/ubuntu noble/universe s390x libmetis5 s390x 5.1.0.dfsg-7build2 [180 kB] 392s Get:380 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libptscotch-7.0 s390x 7.0.4-1ubuntu1 [847 kB] 392s Get:381 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsuperlu-dist8 s390x 8.2.1+dfsg1-1build1 [784 kB] 392s Get:382 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhypre-2.28.0 s390x 2.28.0-8build1 [2164 kB] 392s Get:383 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x openmpi-common all 4.1.6-7ubuntu1 [170 kB] 392s Get:384 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x openmpi-bin s390x 4.1.6-7ubuntu1 [84.5 kB] 392s Get:385 http://ftpmaster.internal/ubuntu noble/universe s390x mpi-default-bin s390x 1.15 [2338 B] 392s Get:386 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libscalapack-openmpi2.2 s390x 2.2.1-3build1 [1969 kB] 392s Get:387 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libmumps-5.6t64 s390x 5.6.2-2.1build1 [2298 kB] 392s Get:388 http://ftpmaster.internal/ubuntu noble/universe s390x libsuperlu6 s390x 6.0.1+dfsg1-1 [232 kB] 392s Get:389 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libscotch-7.0 s390x 7.0.4-1ubuntu1 [526 kB] 392s Get:390 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-kokkos-13.2 s390x 13.2.0-5build1 [113 kB] 392s Get:391 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-teuchos-13.2 s390x 13.2.0-5build1 [1196 kB] 393s Get:392 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-epetra-13.2 s390x 13.2.0-5build1 [522 kB] 393s Get:393 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-triutils-13.2 s390x 13.2.0-5build1 [140 kB] 393s Get:394 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-epetraext-13.2 s390x 13.2.0-5build1 [489 kB] 393s Get:395 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-trilinosss-13.2 s390x 13.2.0-5build1 [125 kB] 393s Get:396 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-amesos-13.2 s390x 13.2.0-5build1 [112 kB] 393s Get:397 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-aztecoo-13.2 s390x 13.2.0-5build1 [254 kB] 393s Get:398 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-galeri-13.2 s390x 13.2.0-5build1 [101 kB] 393s Get:399 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-ifpack-13.2 s390x 13.2.0-5build1 [470 kB] 393s Get:400 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-zoltan-13.2 s390x 13.2.0-5build1 [450 kB] 393s Get:401 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libtrilinos-ml-13.2 s390x 13.2.0-5build1 [1142 kB] 393s Get:402 http://ftpmaster.internal/ubuntu noble/universe s390x libumfpack6 s390x 1:7.6.1+dfsg-1 [362 kB] 393s Get:403 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libpetsc-real3.19t64 s390x 3.19.6+dfsg1-2.2ubuntu1 [7015 kB] 394s Get:404 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-nvecparallel-petsc6 s390x 6.4.1+dfsg1-3build3 [38.0 kB] 394s Get:405 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-sunmatrix4 s390x 6.4.1+dfsg1-3build3 [88.1 kB] 394s Get:406 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libsundials-sunlinsol3 s390x 6.4.1+dfsg1-3build3 [177 kB] 395s Get:407 http://ftpmaster.internal/ubuntu noble/universe s390x libtext-unidecode-perl all 1.30-3 [105 kB] 395s Get:408 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x texinfo-lib s390x 7.1-3build1 [141 kB] 395s Get:409 http://ftpmaster.internal/ubuntu noble/universe s390x tex-common all 6.18 [32.8 kB] 395s Get:410 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x texinfo all 7.1-3build1 [1273 kB] 395s Get:411 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave-common all 8.4.0-1build4 [5925 kB] 396s Get:412 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave s390x 8.4.0-1build4 [10.2 MB] 396s Get:413 http://ftpmaster.internal/ubuntu noble/main s390x libncurses-dev s390x 6.4+20240113-1ubuntu1 [412 kB] 396s Get:414 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline-dev s390x 8.2-4 [189 kB] 396s Get:415 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-fortran-102t64 s390x 1.10.10+repack-3.1ubuntu3 [92.6 kB] 396s Get:416 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-100t64 s390x 1.10.10+repack-3.1ubuntu3 [58.2 kB] 396s Get:417 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-fortran-100t64 s390x 1.10.10+repack-3.1ubuntu3 [32.3 kB] 396s Get:418 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-cpp-103-1t64 s390x 1.10.10+repack-3.1ubuntu3 [123 kB] 396s Get:419 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-hl-cpp-100t64 s390x 1.10.10+repack-3.1ubuntu3 [11.1 kB] 396s Get:420 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g-dev s390x 1:1.3.dfsg-3.1ubuntu1 [904 kB] 397s Get:421 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8-dev s390x 2.1.5-2ubuntu1 [264 kB] 397s Get:422 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8-dev s390x 8c-2ubuntu11 [1484 B] 397s Get:423 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-dev s390x 8c-2ubuntu11 [1484 B] 397s Get:424 http://ftpmaster.internal/ubuntu noble/universe s390x libaec-dev s390x 1.1.2-1 [23.1 kB] 397s Get:425 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl4-openssl-dev s390x 8.5.0-2ubuntu8 [473 kB] 397s Get:426 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl-dev s390x 3.0.13-0ubuntu2 [2131 kB] 397s Get:427 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x hdf5-helpers s390x 1.10.10+repack-3.1ubuntu3 [15.8 kB] 397s Get:428 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libhdf5-dev s390x 1.10.10+repack-3.1ubuntu3 [2908 kB] 397s Get:429 http://ftpmaster.internal/ubuntu noble/main s390x xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 397s Get:430 http://ftpmaster.internal/ubuntu noble/main s390x x11proto-dev all 2023.2-1 [602 kB] 397s Get:431 http://ftpmaster.internal/ubuntu noble/main s390x libxau-dev s390x 1:1.0.9-1build5 [9702 B] 397s Get:432 http://ftpmaster.internal/ubuntu noble/main s390x libxdmcp-dev s390x 1:1.1.3-0ubuntu5 [26.5 kB] 397s Get:433 http://ftpmaster.internal/ubuntu noble/main s390x xtrans-dev all 1.4.0-1 [68.9 kB] 397s Get:434 http://ftpmaster.internal/ubuntu noble/main s390x libpthread-stubs0-dev s390x 0.4-1build2 [5508 B] 397s Get:435 http://ftpmaster.internal/ubuntu noble/main s390x libxcb1-dev s390x 1.15-1 [86.5 kB] 397s Get:436 http://ftpmaster.internal/ubuntu noble/main s390x libx11-dev s390x 2:1.8.7-1 [758 kB] 397s Get:437 http://ftpmaster.internal/ubuntu noble/main s390x libglx-dev s390x 1.7.0-1 [14.2 kB] 397s Get:438 http://ftpmaster.internal/ubuntu noble/main s390x libgl-dev s390x 1.7.0-1 [102 kB] 397s Get:439 http://ftpmaster.internal/ubuntu noble/main s390x libblas-dev s390x 3.12.0-3 [239 kB] 397s Get:440 http://ftpmaster.internal/ubuntu noble/main s390x liblapack-dev s390x 3.12.0-3 [5983 kB] 397s Get:441 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-bin s390x 3.3.10-1ubuntu2 [37.5 kB] 397s Get:442 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfftw3-dev s390x 3.3.10-1ubuntu2 [1325 kB] 397s Get:443 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran-13-dev s390x 13.2.0-21ubuntu1 [623 kB] 397s Get:444 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [10.4 MB] 398s Get:445 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13 s390x 13.2.0-21ubuntu1 [10.9 kB] 398s Get:446 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1016 B] 398s Get:447 http://ftpmaster.internal/ubuntu noble/main s390x gfortran s390x 4:13.2.0-7ubuntu1 [1174 B] 398s Get:448 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-21ubuntu1 [2494 kB] 398s Get:449 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [11.3 MB] 398s Get:450 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-21ubuntu1 [14.4 kB] 398s Get:451 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 398s Get:452 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 398s Get:453 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x octave-dev s390x 8.4.0-1build4 [472 kB] 398s Get:454 http://ftpmaster.internal/ubuntu noble/universe s390x dh-octave all 1.8.0 [19.7 kB] 398s Get:455 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 398s Get:456 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxt6t64 s390x 1:1.2.1-1.2 [184 kB] 398s Get:457 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmu6 s390x 2:1.1.3-3build1 [52.9 kB] 398s Get:458 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxaw7 s390x 2:1.0.14-1build1 [204 kB] 398s Get:459 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 398s Get:460 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 398s Get:461 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 398s Get:462 http://ftpmaster.internal/ubuntu noble/universe s390x octave-io s390x 2.6.4-3build1 [227 kB] 398s Get:463 http://ftpmaster.internal/ubuntu noble/universe s390x octave-statistics s390x 1.6.0-2ubuntu1 [860 kB] 398s Get:464 http://ftpmaster.internal/ubuntu noble-proposed/main s390x x11-xkb-utils s390x 7.7+8build1 [171 kB] 398s Get:465 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 399s Get:466 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 400s Fetched 219 MB in 26s (8326 kB/s) 400s Selecting previously unselected package m4. 400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 81562 files and directories currently installed.) 400s Preparing to unpack .../000-m4_1.4.19-4_s390x.deb ... 400s Unpacking m4 (1.4.19-4) ... 400s Selecting previously unselected package autoconf. 400s Preparing to unpack .../001-autoconf_2.71-3_all.deb ... 400s Unpacking autoconf (2.71-3) ... 401s Selecting previously unselected package autotools-dev. 401s Preparing to unpack .../002-autotools-dev_20220109.1_all.deb ... 401s Unpacking autotools-dev (20220109.1) ... 401s Selecting previously unselected package automake. 401s Preparing to unpack .../003-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 401s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 401s Selecting previously unselected package autopoint. 401s Preparing to unpack .../004-autopoint_0.21-14ubuntu1_all.deb ... 401s Unpacking autopoint (0.21-14ubuntu1) ... 401s Selecting previously unselected package libcapture-tiny-perl. 401s Preparing to unpack .../005-libcapture-tiny-perl_0.48-2_all.deb ... 401s Unpacking libcapture-tiny-perl (0.48-2) ... 401s Selecting previously unselected package libparams-util-perl. 401s Preparing to unpack .../006-libparams-util-perl_1.102-2build2_s390x.deb ... 401s Unpacking libparams-util-perl (1.102-2build2) ... 401s Selecting previously unselected package libsub-install-perl. 401s Preparing to unpack .../007-libsub-install-perl_0.929-1_all.deb ... 401s Unpacking libsub-install-perl (0.929-1) ... 401s Selecting previously unselected package libdata-optlist-perl. 401s Preparing to unpack .../008-libdata-optlist-perl_0.114-1_all.deb ... 401s Unpacking libdata-optlist-perl (0.114-1) ... 401s Selecting previously unselected package libb-hooks-op-check-perl:s390x. 401s Preparing to unpack .../009-libb-hooks-op-check-perl_0.22-3_s390x.deb ... 401s Unpacking libb-hooks-op-check-perl:s390x (0.22-3) ... 401s Selecting previously unselected package libdynaloader-functions-perl. 401s Preparing to unpack .../010-libdynaloader-functions-perl_0.003-3_all.deb ... 401s Unpacking libdynaloader-functions-perl (0.003-3) ... 401s Selecting previously unselected package libdevel-callchecker-perl:s390x. 401s Preparing to unpack .../011-libdevel-callchecker-perl_0.008-2build2_s390x.deb ... 401s Unpacking libdevel-callchecker-perl:s390x (0.008-2build2) ... 401s Selecting previously unselected package libparams-classify-perl:s390x. 401s Preparing to unpack .../012-libparams-classify-perl_0.015-2build4_s390x.deb ... 401s Unpacking libparams-classify-perl:s390x (0.015-2build4) ... 401s Selecting previously unselected package libmodule-runtime-perl. 401s Preparing to unpack .../013-libmodule-runtime-perl_0.016-2_all.deb ... 401s Unpacking libmodule-runtime-perl (0.016-2) ... 401s Selecting previously unselected package libtry-tiny-perl. 401s Preparing to unpack .../014-libtry-tiny-perl_0.31-2_all.deb ... 401s Unpacking libtry-tiny-perl (0.31-2) ... 401s Selecting previously unselected package libmodule-implementation-perl. 401s Preparing to unpack .../015-libmodule-implementation-perl_0.09-2_all.deb ... 401s Unpacking libmodule-implementation-perl (0.09-2) ... 401s Selecting previously unselected package libpackage-stash-perl. 401s Preparing to unpack .../016-libpackage-stash-perl_0.40-1_all.deb ... 401s Unpacking libpackage-stash-perl (0.40-1) ... 401s Selecting previously unselected package libclass-load-perl. 401s Preparing to unpack .../017-libclass-load-perl_0.25-2_all.deb ... 401s Unpacking libclass-load-perl (0.25-2) ... 401s Selecting previously unselected package libio-stringy-perl. 401s Preparing to unpack .../018-libio-stringy-perl_2.111-3_all.deb ... 401s Unpacking libio-stringy-perl (2.111-3) ... 401s Selecting previously unselected package libparams-validate-perl:s390x. 401s Preparing to unpack .../019-libparams-validate-perl_1.31-2build2_s390x.deb ... 401s Unpacking libparams-validate-perl:s390x (1.31-2build2) ... 401s Selecting previously unselected package libsub-exporter-perl. 401s Preparing to unpack .../020-libsub-exporter-perl_0.990-1_all.deb ... 401s Unpacking libsub-exporter-perl (0.990-1) ... 401s Selecting previously unselected package libgetopt-long-descriptive-perl. 401s Preparing to unpack .../021-libgetopt-long-descriptive-perl_0.111-1_all.deb ... 401s Unpacking libgetopt-long-descriptive-perl (0.111-1) ... 401s Selecting previously unselected package libio-tiecombine-perl. 401s Preparing to unpack .../022-libio-tiecombine-perl_1.005-3_all.deb ... 401s Unpacking libio-tiecombine-perl (1.005-3) ... 401s Selecting previously unselected package libmodule-pluggable-perl. 401s Preparing to unpack .../023-libmodule-pluggable-perl_5.2-4_all.deb ... 401s Unpacking libmodule-pluggable-perl (5.2-4) ... 401s Selecting previously unselected package libstring-rewriteprefix-perl. 401s Preparing to unpack .../024-libstring-rewriteprefix-perl_0.009-1_all.deb ... 401s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 401s Selecting previously unselected package libapp-cmd-perl. 401s Preparing to unpack .../025-libapp-cmd-perl_0.336-1_all.deb ... 401s Unpacking libapp-cmd-perl (0.336-1) ... 401s Selecting previously unselected package libboolean-perl. 401s Preparing to unpack .../026-libboolean-perl_0.46-3_all.deb ... 401s Unpacking libboolean-perl (0.46-3) ... 401s Selecting previously unselected package libsub-uplevel-perl. 401s Preparing to unpack .../027-libsub-uplevel-perl_0.2800-3_all.deb ... 401s Unpacking libsub-uplevel-perl (0.2800-3) ... 401s Selecting previously unselected package libtest-exception-perl. 401s Preparing to unpack .../028-libtest-exception-perl_0.43-3_all.deb ... 401s Unpacking libtest-exception-perl (0.43-3) ... 402s Selecting previously unselected package libcarp-assert-more-perl. 402s Preparing to unpack .../029-libcarp-assert-more-perl_2.3.0-1_all.deb ... 402s Unpacking libcarp-assert-more-perl (2.3.0-1) ... 402s Selecting previously unselected package libfile-which-perl. 402s Preparing to unpack .../030-libfile-which-perl_1.27-2_all.deb ... 402s Unpacking libfile-which-perl (1.27-2) ... 402s Selecting previously unselected package libfile-homedir-perl. 402s Preparing to unpack .../031-libfile-homedir-perl_1.006-2_all.deb ... 402s Unpacking libfile-homedir-perl (1.006-2) ... 402s Selecting previously unselected package libclone-choose-perl. 402s Preparing to unpack .../032-libclone-choose-perl_0.010-2_all.deb ... 402s Unpacking libclone-choose-perl (0.010-2) ... 402s Selecting previously unselected package libhash-merge-perl. 402s Preparing to unpack .../033-libhash-merge-perl_0.302-1_all.deb ... 402s Unpacking libhash-merge-perl (0.302-1) ... 402s Selecting previously unselected package libjson-perl. 402s Preparing to unpack .../034-libjson-perl_4.10000-1_all.deb ... 402s Unpacking libjson-perl (4.10000-1) ... 402s Selecting previously unselected package libexporter-tiny-perl. 402s Preparing to unpack .../035-libexporter-tiny-perl_1.006002-1_all.deb ... 402s Unpacking libexporter-tiny-perl (1.006002-1) ... 402s Selecting previously unselected package liblist-moreutils-xs-perl. 402s Preparing to unpack .../036-liblist-moreutils-xs-perl_0.430-3build4_s390x.deb ... 402s Unpacking liblist-moreutils-xs-perl (0.430-3build4) ... 402s Selecting previously unselected package liblist-moreutils-perl. 402s Preparing to unpack .../037-liblist-moreutils-perl_0.430-2_all.deb ... 402s Unpacking liblist-moreutils-perl (0.430-2) ... 402s Selecting previously unselected package liblog-log4perl-perl. 402s Preparing to unpack .../038-liblog-log4perl-perl_1.57-1_all.deb ... 402s Unpacking liblog-log4perl-perl (1.57-1) ... 402s Selecting previously unselected package libmouse-perl. 402s Preparing to unpack .../039-libmouse-perl_2.5.10-1build7_s390x.deb ... 402s Unpacking libmouse-perl (2.5.10-1build7) ... 402s Selecting previously unselected package libmousex-nativetraits-perl. 402s Preparing to unpack .../040-libmousex-nativetraits-perl_1.09-3_all.deb ... 402s Unpacking libmousex-nativetraits-perl (1.09-3) ... 402s Selecting previously unselected package libmousex-strictconstructor-perl. 402s Preparing to unpack .../041-libmousex-strictconstructor-perl_0.02-3_all.deb ... 402s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 402s Selecting previously unselected package libparse-recdescent-perl. 402s Preparing to unpack .../042-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 402s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 402s Selecting previously unselected package libpath-tiny-perl. 402s Preparing to unpack .../043-libpath-tiny-perl_0.144-1_all.deb ... 402s Unpacking libpath-tiny-perl (0.144-1) ... 402s Selecting previously unselected package libpod-pom-perl. 402s Preparing to unpack .../044-libpod-pom-perl_2.01-4_all.deb ... 402s Unpacking libpod-pom-perl (2.01-4) ... 402s Selecting previously unselected package libregexp-common-perl. 402s Preparing to unpack .../045-libregexp-common-perl_2017060201-3_all.deb ... 402s Unpacking libregexp-common-perl (2017060201-3) ... 402s Selecting previously unselected package libyaml-tiny-perl. 402s Preparing to unpack .../046-libyaml-tiny-perl_1.74-1_all.deb ... 402s Unpacking libyaml-tiny-perl (1.74-1) ... 402s Selecting previously unselected package libconfig-model-perl. 402s Preparing to unpack .../047-libconfig-model-perl_2.153-3_all.deb ... 402s Unpacking libconfig-model-perl (2.153-3) ... 402s Selecting previously unselected package libyaml-pp-perl. 402s Preparing to unpack .../048-libyaml-pp-perl_0.38.0-1_all.deb ... 402s Unpacking libyaml-pp-perl (0.38.0-1) ... 402s Selecting previously unselected package cme. 402s Preparing to unpack .../049-cme_1.040-1_all.deb ... 402s Unpacking cme (1.040-1) ... 402s Selecting previously unselected package libisl23:s390x. 402s Preparing to unpack .../050-libisl23_0.26-3_s390x.deb ... 402s Unpacking libisl23:s390x (0.26-3) ... 402s Selecting previously unselected package libmpc3:s390x. 402s Preparing to unpack .../051-libmpc3_1.3.1-1_s390x.deb ... 402s Unpacking libmpc3:s390x (1.3.1-1) ... 402s Selecting previously unselected package cpp-13-s390x-linux-gnu. 402s Preparing to unpack .../052-cpp-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 402s Unpacking cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 403s Selecting previously unselected package cpp-13. 403s Preparing to unpack .../053-cpp-13_13.2.0-21ubuntu1_s390x.deb ... 403s Unpacking cpp-13 (13.2.0-21ubuntu1) ... 403s Selecting previously unselected package cpp-s390x-linux-gnu. 403s Preparing to unpack .../054-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 403s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 403s Selecting previously unselected package cpp. 403s Preparing to unpack .../055-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 403s Unpacking cpp (4:13.2.0-7ubuntu1) ... 403s Selecting previously unselected package libdebhelper-perl. 403s Preparing to unpack .../056-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 403s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 403s Selecting previously unselected package libcc1-0:s390x. 403s Preparing to unpack .../057-libcc1-0_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libcc1-0:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libgomp1:s390x. 403s Preparing to unpack .../058-libgomp1_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libgomp1:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libitm1:s390x. 403s Preparing to unpack .../059-libitm1_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libitm1:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libatomic1:s390x. 403s Preparing to unpack .../060-libatomic1_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libatomic1:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libasan8:s390x. 403s Preparing to unpack .../061-libasan8_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libasan8:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libubsan1:s390x. 403s Preparing to unpack .../062-libubsan1_14-20240315-1ubuntu1_s390x.deb ... 403s Unpacking libubsan1:s390x (14-20240315-1ubuntu1) ... 403s Selecting previously unselected package libgcc-13-dev:s390x. 403s Preparing to unpack .../063-libgcc-13-dev_13.2.0-21ubuntu1_s390x.deb ... 403s Unpacking libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 403s Selecting previously unselected package gcc-13-s390x-linux-gnu. 403s Preparing to unpack .../064-gcc-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 403s Unpacking gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 404s Selecting previously unselected package gcc-13. 404s Preparing to unpack .../065-gcc-13_13.2.0-21ubuntu1_s390x.deb ... 404s Unpacking gcc-13 (13.2.0-21ubuntu1) ... 404s Selecting previously unselected package gcc-s390x-linux-gnu. 404s Preparing to unpack .../066-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 404s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 404s Selecting previously unselected package gcc. 404s Preparing to unpack .../067-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 404s Unpacking gcc (4:13.2.0-7ubuntu1) ... 404s Selecting previously unselected package libtool. 404s Preparing to unpack .../068-libtool_2.4.7-7_all.deb ... 404s Unpacking libtool (2.4.7-7) ... 404s Selecting previously unselected package dh-autoreconf. 404s Preparing to unpack .../069-dh-autoreconf_20_all.deb ... 404s Unpacking dh-autoreconf (20) ... 404s Selecting previously unselected package libarchive-zip-perl. 404s Preparing to unpack .../070-libarchive-zip-perl_1.68-1_all.deb ... 404s Unpacking libarchive-zip-perl (1.68-1) ... 404s Selecting previously unselected package libsub-override-perl. 404s Preparing to unpack .../071-libsub-override-perl_0.10-1_all.deb ... 404s Unpacking libsub-override-perl (0.10-1) ... 404s Selecting previously unselected package libfile-stripnondeterminism-perl. 404s Preparing to unpack .../072-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 404s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 404s Selecting previously unselected package dh-strip-nondeterminism. 404s Preparing to unpack .../073-dh-strip-nondeterminism_1.13.1-1_all.deb ... 404s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 404s Selecting previously unselected package debugedit. 404s Preparing to unpack .../074-debugedit_1%3a5.0-5build1_s390x.deb ... 404s Unpacking debugedit (1:5.0-5build1) ... 404s Selecting previously unselected package dwz. 404s Preparing to unpack .../075-dwz_0.15-1build5_s390x.deb ... 404s Unpacking dwz (0.15-1build5) ... 404s Selecting previously unselected package gettext. 404s Preparing to unpack .../076-gettext_0.21-14ubuntu1_s390x.deb ... 404s Unpacking gettext (0.21-14ubuntu1) ... 405s Selecting previously unselected package intltool-debian. 405s Preparing to unpack .../077-intltool-debian_0.35.0+20060710.6_all.deb ... 405s Unpacking intltool-debian (0.35.0+20060710.6) ... 405s Selecting previously unselected package po-debconf. 405s Preparing to unpack .../078-po-debconf_1.0.21+nmu1_all.deb ... 405s Unpacking po-debconf (1.0.21+nmu1) ... 405s Selecting previously unselected package debhelper. 405s Preparing to unpack .../079-debhelper_13.14.1ubuntu5_all.deb ... 405s Unpacking debhelper (13.14.1ubuntu5) ... 405s Selecting previously unselected package aglfn. 405s Preparing to unpack .../080-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 405s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 405s Selecting previously unselected package gnuplot-data. 405s Preparing to unpack .../081-gnuplot-data_6.0.0+dfsg1-1ubuntu2_all.deb ... 405s Unpacking gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 405s Selecting previously unselected package libpixman-1-0:s390x. 405s Preparing to unpack .../082-libpixman-1-0_0.42.2-1_s390x.deb ... 405s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 405s Selecting previously unselected package libxcb-render0:s390x. 405s Preparing to unpack .../083-libxcb-render0_1.15-1_s390x.deb ... 405s Unpacking libxcb-render0:s390x (1.15-1) ... 405s Selecting previously unselected package libxcb-shm0:s390x. 405s Preparing to unpack .../084-libxcb-shm0_1.15-1_s390x.deb ... 405s Unpacking libxcb-shm0:s390x (1.15-1) ... 405s Selecting previously unselected package libxrender1:s390x. 405s Preparing to unpack .../085-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 405s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 405s Selecting previously unselected package libcairo2:s390x. 405s Preparing to unpack .../086-libcairo2_1.18.0-1ubuntu1_s390x.deb ... 405s Unpacking libcairo2:s390x (1.18.0-1ubuntu1) ... 405s Selecting previously unselected package liblua5.4-0:s390x. 405s Preparing to unpack .../087-liblua5.4-0_5.4.6-3build1_s390x.deb ... 405s Unpacking liblua5.4-0:s390x (5.4.6-3build1) ... 405s Selecting previously unselected package fontconfig. 405s Preparing to unpack .../088-fontconfig_2.15.0-1.1ubuntu1_s390x.deb ... 405s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 405s Selecting previously unselected package libgraphite2-3:s390x. 405s Preparing to unpack .../089-libgraphite2-3_1.3.14-2_s390x.deb ... 405s Unpacking libgraphite2-3:s390x (1.3.14-2) ... 405s Selecting previously unselected package libharfbuzz0b:s390x. 405s Preparing to unpack .../090-libharfbuzz0b_8.3.0-2build1_s390x.deb ... 405s Unpacking libharfbuzz0b:s390x (8.3.0-2build1) ... 405s Selecting previously unselected package libthai-data. 405s Preparing to unpack .../091-libthai-data_0.1.29-2_all.deb ... 405s Unpacking libthai-data (0.1.29-2) ... 405s Selecting previously unselected package libdatrie1:s390x. 405s Preparing to unpack .../092-libdatrie1_0.2.13-3_s390x.deb ... 405s Unpacking libdatrie1:s390x (0.2.13-3) ... 405s Selecting previously unselected package libthai0:s390x. 405s Preparing to unpack .../093-libthai0_0.1.29-2_s390x.deb ... 405s Unpacking libthai0:s390x (0.1.29-2) ... 405s Selecting previously unselected package libpango-1.0-0:s390x. 405s Preparing to unpack .../094-libpango-1.0-0_1.52.1+ds-1_s390x.deb ... 405s Unpacking libpango-1.0-0:s390x (1.52.1+ds-1) ... 405s Selecting previously unselected package libpangoft2-1.0-0:s390x. 405s Preparing to unpack .../095-libpangoft2-1.0-0_1.52.1+ds-1_s390x.deb ... 405s Unpacking libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 405s Selecting previously unselected package libpangocairo-1.0-0:s390x. 405s Preparing to unpack .../096-libpangocairo-1.0-0_1.52.1+ds-1_s390x.deb ... 405s Unpacking libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 405s Selecting previously unselected package libwebpmux3:s390x. 405s Preparing to unpack .../097-libwebpmux3_1.3.2-0.4build2_s390x.deb ... 405s Unpacking libwebpmux3:s390x (1.3.2-0.4build2) ... 405s Selecting previously unselected package gnuplot-nox. 405s Preparing to unpack .../098-gnuplot-nox_6.0.0+dfsg1-1ubuntu2_s390x.deb ... 405s Unpacking gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 405s Selecting previously unselected package fonts-freefont-otf. 405s Preparing to unpack .../099-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 405s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 405s Selecting previously unselected package dh-octave-autopkgtest. 405s Preparing to unpack .../100-dh-octave-autopkgtest_1.8.0_all.deb ... 405s Unpacking dh-octave-autopkgtest (1.8.0) ... 405s Selecting previously unselected package libapt-pkg-perl. 405s Preparing to unpack .../101-libapt-pkg-perl_0.1.40build5_s390x.deb ... 405s Unpacking libapt-pkg-perl (0.1.40build5) ... 405s Selecting previously unselected package libarray-intspan-perl. 405s Preparing to unpack .../102-libarray-intspan-perl_2.004-2_all.deb ... 405s Unpacking libarray-intspan-perl (2.004-2) ... 405s Selecting previously unselected package libyaml-libyaml-perl. 405s Preparing to unpack .../103-libyaml-libyaml-perl_0.89+ds-1build1_s390x.deb ... 405s Unpacking libyaml-libyaml-perl (0.89+ds-1build1) ... 405s Selecting previously unselected package libconfig-model-backend-yaml-perl. 405s Preparing to unpack .../104-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 405s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 406s Selecting previously unselected package libexporter-lite-perl. 406s Preparing to unpack .../105-libexporter-lite-perl_0.09-2_all.deb ... 406s Unpacking libexporter-lite-perl (0.09-2) ... 406s Selecting previously unselected package libencode-locale-perl. 406s Preparing to unpack .../106-libencode-locale-perl_1.05-3_all.deb ... 406s Unpacking libencode-locale-perl (1.05-3) ... 406s Selecting previously unselected package libtimedate-perl. 406s Preparing to unpack .../107-libtimedate-perl_2.3300-2_all.deb ... 406s Unpacking libtimedate-perl (2.3300-2) ... 406s Selecting previously unselected package libhttp-date-perl. 406s Preparing to unpack .../108-libhttp-date-perl_6.06-1_all.deb ... 406s Unpacking libhttp-date-perl (6.06-1) ... 406s Selecting previously unselected package libfile-listing-perl. 406s Preparing to unpack .../109-libfile-listing-perl_6.16-1_all.deb ... 406s Unpacking libfile-listing-perl (6.16-1) ... 406s Selecting previously unselected package libhtml-tagset-perl. 406s Preparing to unpack .../110-libhtml-tagset-perl_3.20-6_all.deb ... 406s Unpacking libhtml-tagset-perl (3.20-6) ... 406s Selecting previously unselected package liburi-perl. 406s Preparing to unpack .../111-liburi-perl_5.27-1_all.deb ... 406s Unpacking liburi-perl (5.27-1) ... 406s Selecting previously unselected package libhtml-parser-perl:s390x. 406s Preparing to unpack .../112-libhtml-parser-perl_3.81-1build2_s390x.deb ... 406s Unpacking libhtml-parser-perl:s390x (3.81-1build2) ... 406s Selecting previously unselected package libhtml-tree-perl. 406s Preparing to unpack .../113-libhtml-tree-perl_5.07-3_all.deb ... 406s Unpacking libhtml-tree-perl (5.07-3) ... 406s Selecting previously unselected package libclone-perl:s390x. 406s Preparing to unpack .../114-libclone-perl_0.46-1build2_s390x.deb ... 406s Unpacking libclone-perl:s390x (0.46-1build2) ... 406s Selecting previously unselected package libio-html-perl. 406s Preparing to unpack .../115-libio-html-perl_1.004-3_all.deb ... 406s Unpacking libio-html-perl (1.004-3) ... 406s Selecting previously unselected package liblwp-mediatypes-perl. 406s Preparing to unpack .../116-liblwp-mediatypes-perl_6.04-2_all.deb ... 406s Unpacking liblwp-mediatypes-perl (6.04-2) ... 406s Selecting previously unselected package libhttp-message-perl. 406s Preparing to unpack .../117-libhttp-message-perl_6.45-1ubuntu1_all.deb ... 406s Unpacking libhttp-message-perl (6.45-1ubuntu1) ... 406s Selecting previously unselected package libhttp-cookies-perl. 406s Preparing to unpack .../118-libhttp-cookies-perl_6.11-1_all.deb ... 406s Unpacking libhttp-cookies-perl (6.11-1) ... 406s Selecting previously unselected package libhttp-negotiate-perl. 406s Preparing to unpack .../119-libhttp-negotiate-perl_6.01-2_all.deb ... 406s Unpacking libhttp-negotiate-perl (6.01-2) ... 406s Selecting previously unselected package perl-openssl-defaults:s390x. 406s Preparing to unpack .../120-perl-openssl-defaults_7build1_s390x.deb ... 406s Unpacking perl-openssl-defaults:s390x (7build1) ... 406s Selecting previously unselected package libnet-ssleay-perl:s390x. 406s Preparing to unpack .../121-libnet-ssleay-perl_1.94-1build2_s390x.deb ... 406s Unpacking libnet-ssleay-perl:s390x (1.94-1build2) ... 406s Selecting previously unselected package libio-socket-ssl-perl. 406s Preparing to unpack .../122-libio-socket-ssl-perl_2.085-1_all.deb ... 406s Unpacking libio-socket-ssl-perl (2.085-1) ... 406s Selecting previously unselected package libnet-http-perl. 406s Preparing to unpack .../123-libnet-http-perl_6.23-1_all.deb ... 406s Unpacking libnet-http-perl (6.23-1) ... 406s Selecting previously unselected package liblwp-protocol-https-perl. 406s Preparing to unpack .../124-liblwp-protocol-https-perl_6.13-1_all.deb ... 406s Unpacking liblwp-protocol-https-perl (6.13-1) ... 406s Selecting previously unselected package libwww-robotrules-perl. 406s Preparing to unpack .../125-libwww-robotrules-perl_6.02-1_all.deb ... 406s Unpacking libwww-robotrules-perl (6.02-1) ... 406s Selecting previously unselected package libwww-perl. 406s Preparing to unpack .../126-libwww-perl_6.76-1_all.deb ... 406s Unpacking libwww-perl (6.76-1) ... 406s Selecting previously unselected package liberror-perl. 406s Preparing to unpack .../127-liberror-perl_0.17029-2_all.deb ... 406s Unpacking liberror-perl (0.17029-2) ... 406s Selecting previously unselected package libparse-debcontrol-perl. 406s Preparing to unpack .../128-libparse-debcontrol-perl_2.005-6_all.deb ... 406s Unpacking libparse-debcontrol-perl (2.005-6) ... 406s Selecting previously unselected package libsoftware-copyright-perl. 406s Preparing to unpack .../129-libsoftware-copyright-perl_0.012-2_all.deb ... 406s Unpacking libsoftware-copyright-perl (0.012-2) ... 406s Selecting previously unselected package libalgorithm-c3-perl. 406s Preparing to unpack .../130-libalgorithm-c3-perl_0.11-2_all.deb ... 406s Unpacking libalgorithm-c3-perl (0.11-2) ... 406s Selecting previously unselected package libclass-c3-perl. 406s Preparing to unpack .../131-libclass-c3-perl_0.35-2_all.deb ... 406s Unpacking libclass-c3-perl (0.35-2) ... 407s Selecting previously unselected package libmro-compat-perl. 407s Preparing to unpack .../132-libmro-compat-perl_0.15-2_all.deb ... 407s Unpacking libmro-compat-perl (0.15-2) ... 407s Selecting previously unselected package libdata-section-perl. 407s Preparing to unpack .../133-libdata-section-perl_0.200008-1_all.deb ... 407s Unpacking libdata-section-perl (0.200008-1) ... 407s Selecting previously unselected package libtext-template-perl. 407s Preparing to unpack .../134-libtext-template-perl_1.61-1_all.deb ... 407s Unpacking libtext-template-perl (1.61-1) ... 407s Selecting previously unselected package libsoftware-license-perl. 407s Preparing to unpack .../135-libsoftware-license-perl_0.104006-1_all.deb ... 407s Unpacking libsoftware-license-perl (0.104006-1) ... 407s Selecting previously unselected package libsoftware-licensemoreutils-perl. 407s Preparing to unpack .../136-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 407s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 407s Selecting previously unselected package libsort-versions-perl. 407s Preparing to unpack .../137-libsort-versions-perl_1.62-3_all.deb ... 407s Unpacking libsort-versions-perl (1.62-3) ... 407s Selecting previously unselected package libtext-reform-perl. 407s Preparing to unpack .../138-libtext-reform-perl_1.20-5_all.deb ... 407s Unpacking libtext-reform-perl (1.20-5) ... 407s Selecting previously unselected package libtext-autoformat-perl. 407s Preparing to unpack .../139-libtext-autoformat-perl_1.750000-2_all.deb ... 407s Unpacking libtext-autoformat-perl (1.750000-2) ... 407s Selecting previously unselected package libtext-levenshtein-damerau-perl. 407s Preparing to unpack .../140-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 407s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 407s Selecting previously unselected package libtoml-tiny-perl. 407s Preparing to unpack .../141-libtoml-tiny-perl_0.16-1_all.deb ... 407s Unpacking libtoml-tiny-perl (0.16-1) ... 407s Selecting previously unselected package libindirect-perl. 407s Preparing to unpack .../142-libindirect-perl_0.39-2build3_s390x.deb ... 407s Unpacking libindirect-perl (0.39-2build3) ... 407s Selecting previously unselected package libxs-parse-keyword-perl. 407s Preparing to unpack .../143-libxs-parse-keyword-perl_0.39-1build2_s390x.deb ... 407s Unpacking libxs-parse-keyword-perl (0.39-1build2) ... 407s Selecting previously unselected package libxs-parse-sublike-perl:s390x. 407s Preparing to unpack .../144-libxs-parse-sublike-perl_0.21-2build2_s390x.deb ... 407s Unpacking libxs-parse-sublike-perl:s390x (0.21-2build2) ... 407s Selecting previously unselected package libobject-pad-perl. 407s Preparing to unpack .../145-libobject-pad-perl_0.808-1build2_s390x.deb ... 407s Unpacking libobject-pad-perl (0.808-1build2) ... 407s Selecting previously unselected package libsyntax-keyword-try-perl. 407s Preparing to unpack .../146-libsyntax-keyword-try-perl_0.29-1build2_s390x.deb ... 407s Unpacking libsyntax-keyword-try-perl (0.29-1build2) ... 407s Selecting previously unselected package libio-interactive-perl. 407s Preparing to unpack .../147-libio-interactive-perl_1.025-1_all.deb ... 407s Unpacking libio-interactive-perl (1.025-1) ... 407s Selecting previously unselected package liblog-any-perl. 407s Preparing to unpack .../148-liblog-any-perl_1.717-1_all.deb ... 407s Unpacking liblog-any-perl (1.717-1) ... 407s Selecting previously unselected package liblog-any-adapter-screen-perl. 407s Preparing to unpack .../149-liblog-any-adapter-screen-perl_0.140-2_all.deb ... 407s Unpacking liblog-any-adapter-screen-perl (0.140-2) ... 407s Selecting previously unselected package libsub-exporter-progressive-perl. 407s Preparing to unpack .../150-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 407s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 407s Selecting previously unselected package libvariable-magic-perl. 407s Preparing to unpack .../151-libvariable-magic-perl_0.63-1build2_s390x.deb ... 407s Unpacking libvariable-magic-perl (0.63-1build2) ... 407s Selecting previously unselected package libb-hooks-endofscope-perl. 407s Preparing to unpack .../152-libb-hooks-endofscope-perl_0.28-1_all.deb ... 407s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 407s Selecting previously unselected package libsub-identify-perl. 407s Preparing to unpack .../153-libsub-identify-perl_0.14-3build2_s390x.deb ... 407s Unpacking libsub-identify-perl (0.14-3build2) ... 407s Selecting previously unselected package libsub-name-perl:s390x. 407s Preparing to unpack .../154-libsub-name-perl_0.27-1build2_s390x.deb ... 407s Unpacking libsub-name-perl:s390x (0.27-1build2) ... 407s Selecting previously unselected package libnamespace-clean-perl. 407s Preparing to unpack .../155-libnamespace-clean-perl_0.27-2_all.deb ... 407s Unpacking libnamespace-clean-perl (0.27-2) ... 407s Selecting previously unselected package libnumber-compare-perl. 407s Preparing to unpack .../156-libnumber-compare-perl_0.03-3_all.deb ... 407s Unpacking libnumber-compare-perl (0.03-3) ... 407s Selecting previously unselected package libtext-glob-perl. 407s Preparing to unpack .../157-libtext-glob-perl_0.11-3_all.deb ... 407s Unpacking libtext-glob-perl (0.11-3) ... 407s Selecting previously unselected package libpath-iterator-rule-perl. 407s Preparing to unpack .../158-libpath-iterator-rule-perl_1.015-2_all.deb ... 407s Unpacking libpath-iterator-rule-perl (1.015-2) ... 407s Selecting previously unselected package libpod-parser-perl. 407s Preparing to unpack .../159-libpod-parser-perl_1.67-1_all.deb ... 407s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 407s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 407s Unpacking libpod-parser-perl (1.67-1) ... 408s Selecting previously unselected package libpod-constants-perl. 408s Preparing to unpack .../160-libpod-constants-perl_0.19-2_all.deb ... 408s Unpacking libpod-constants-perl (0.19-2) ... 408s Selecting previously unselected package libset-intspan-perl. 408s Preparing to unpack .../161-libset-intspan-perl_1.19-3_all.deb ... 408s Unpacking libset-intspan-perl (1.19-3) ... 408s Selecting previously unselected package libstring-copyright-perl. 408s Preparing to unpack .../162-libstring-copyright-perl_0.003014-1_all.deb ... 408s Unpacking libstring-copyright-perl (0.003014-1) ... 408s Selecting previously unselected package libstring-escape-perl. 408s Preparing to unpack .../163-libstring-escape-perl_2010.002-3_all.deb ... 408s Unpacking libstring-escape-perl (2010.002-3) ... 408s Selecting previously unselected package libregexp-pattern-license-perl. 408s Preparing to unpack .../164-libregexp-pattern-license-perl_3.11.0-1_all.deb ... 408s Unpacking libregexp-pattern-license-perl (3.11.0-1) ... 408s Selecting previously unselected package libregexp-pattern-perl. 408s Preparing to unpack .../165-libregexp-pattern-perl_0.2.14-2_all.deb ... 408s Unpacking libregexp-pattern-perl (0.2.14-2) ... 408s Selecting previously unselected package libstring-license-perl. 408s Preparing to unpack .../166-libstring-license-perl_0.0.9-2ubuntu1_all.deb ... 408s Unpacking libstring-license-perl (0.0.9-2ubuntu1) ... 408s Selecting previously unselected package licensecheck. 408s Preparing to unpack .../167-licensecheck_3.3.9-1ubuntu1_all.deb ... 408s Unpacking licensecheck (3.3.9-1ubuntu1) ... 408s Selecting previously unselected package diffstat. 408s Preparing to unpack .../168-diffstat_1.66-1_s390x.deb ... 408s Unpacking diffstat (1.66-1) ... 408s Selecting previously unselected package libberkeleydb-perl:s390x. 408s Preparing to unpack .../169-libberkeleydb-perl_0.64-2build2_s390x.deb ... 408s Unpacking libberkeleydb-perl:s390x (0.64-2build2) ... 408s Selecting previously unselected package libclass-xsaccessor-perl. 408s Preparing to unpack .../170-libclass-xsaccessor-perl_1.19-4build3_s390x.deb ... 408s Unpacking libclass-xsaccessor-perl (1.19-4build3) ... 408s Selecting previously unselected package libconfig-tiny-perl. 408s Preparing to unpack .../171-libconfig-tiny-perl_2.30-1_all.deb ... 408s Unpacking libconfig-tiny-perl (2.30-1) ... 408s Selecting previously unselected package libconst-fast-perl. 408s Preparing to unpack .../172-libconst-fast-perl_0.014-2_all.deb ... 408s Unpacking libconst-fast-perl (0.014-2) ... 408s Selecting previously unselected package libcpanel-json-xs-perl:s390x. 408s Preparing to unpack .../173-libcpanel-json-xs-perl_4.37-1build2_s390x.deb ... 408s Unpacking libcpanel-json-xs-perl:s390x (4.37-1build2) ... 408s Selecting previously unselected package libaliased-perl. 408s Preparing to unpack .../174-libaliased-perl_0.34-3_all.deb ... 408s Unpacking libaliased-perl (0.34-3) ... 408s Selecting previously unselected package libclass-data-inheritable-perl. 408s Preparing to unpack .../175-libclass-data-inheritable-perl_0.08-3_all.deb ... 408s Unpacking libclass-data-inheritable-perl (0.08-3) ... 408s Selecting previously unselected package libdevel-stacktrace-perl. 408s Preparing to unpack .../176-libdevel-stacktrace-perl_2.0500-1_all.deb ... 408s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 408s Selecting previously unselected package libexception-class-perl. 408s Preparing to unpack .../177-libexception-class-perl_1.45-1_all.deb ... 408s Unpacking libexception-class-perl (1.45-1) ... 408s Selecting previously unselected package libiterator-perl. 408s Preparing to unpack .../178-libiterator-perl_0.03+ds1-2_all.deb ... 408s Unpacking libiterator-perl (0.03+ds1-2) ... 408s Selecting previously unselected package libiterator-util-perl. 408s Preparing to unpack .../179-libiterator-util-perl_0.02+ds1-2_all.deb ... 408s Unpacking libiterator-util-perl (0.02+ds1-2) ... 408s Selecting previously unselected package libdata-dpath-perl. 408s Preparing to unpack .../180-libdata-dpath-perl_0.59-1_all.deb ... 408s Unpacking libdata-dpath-perl (0.59-1) ... 408s Selecting previously unselected package libnet-domain-tld-perl. 408s Preparing to unpack .../181-libnet-domain-tld-perl_1.75-3_all.deb ... 408s Unpacking libnet-domain-tld-perl (1.75-3) ... 408s Selecting previously unselected package libdata-validate-domain-perl. 408s Preparing to unpack .../182-libdata-validate-domain-perl_0.10-1.1_all.deb ... 408s Unpacking libdata-validate-domain-perl (0.10-1.1) ... 408s Selecting previously unselected package libnet-ipv6addr-perl. 408s Preparing to unpack .../183-libnet-ipv6addr-perl_1.02-1_all.deb ... 408s Unpacking libnet-ipv6addr-perl (1.02-1) ... 408s Selecting previously unselected package libnet-netmask-perl. 408s Preparing to unpack .../184-libnet-netmask-perl_2.0002-2_all.deb ... 408s Unpacking libnet-netmask-perl (2.0002-2) ... 408s Selecting previously unselected package libnetaddr-ip-perl. 408s Preparing to unpack .../185-libnetaddr-ip-perl_4.079+dfsg-2build3_s390x.deb ... 408s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build3) ... 409s Selecting previously unselected package libdata-validate-ip-perl. 409s Preparing to unpack .../186-libdata-validate-ip-perl_0.31-1_all.deb ... 409s Unpacking libdata-validate-ip-perl (0.31-1) ... 409s Selecting previously unselected package libdata-validate-uri-perl. 409s Preparing to unpack .../187-libdata-validate-uri-perl_0.07-3_all.deb ... 409s Unpacking libdata-validate-uri-perl (0.07-3) ... 409s Selecting previously unselected package libdevel-size-perl. 409s Preparing to unpack .../188-libdevel-size-perl_0.83-2build3_s390x.deb ... 409s Unpacking libdevel-size-perl (0.83-2build3) ... 409s Selecting previously unselected package libemail-address-xs-perl. 409s Preparing to unpack .../189-libemail-address-xs-perl_1.05-1build3_s390x.deb ... 409s Unpacking libemail-address-xs-perl (1.05-1build3) ... 409s Selecting previously unselected package libipc-system-simple-perl. 409s Preparing to unpack .../190-libipc-system-simple-perl_1.30-2_all.deb ... 409s Unpacking libipc-system-simple-perl (1.30-2) ... 409s Selecting previously unselected package libfile-basedir-perl. 409s Preparing to unpack .../191-libfile-basedir-perl_0.09-2_all.deb ... 409s Unpacking libfile-basedir-perl (0.09-2) ... 409s Selecting previously unselected package libfile-find-rule-perl. 409s Preparing to unpack .../192-libfile-find-rule-perl_0.34-3_all.deb ... 409s Unpacking libfile-find-rule-perl (0.34-3) ... 409s Selecting previously unselected package libio-string-perl. 409s Preparing to unpack .../193-libio-string-perl_1.08-4_all.deb ... 409s Unpacking libio-string-perl (1.08-4) ... 409s Selecting previously unselected package libfont-ttf-perl. 409s Preparing to unpack .../194-libfont-ttf-perl_1.06-2_all.deb ... 409s Unpacking libfont-ttf-perl (1.06-2) ... 409s Selecting previously unselected package libhtml-html5-entities-perl. 409s Preparing to unpack .../195-libhtml-html5-entities-perl_0.004-3_all.deb ... 409s Unpacking libhtml-html5-entities-perl (0.004-3) ... 409s Selecting previously unselected package libhtml-tokeparser-simple-perl. 409s Preparing to unpack .../196-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 409s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 409s Selecting previously unselected package libipc-run3-perl. 409s Preparing to unpack .../197-libipc-run3-perl_0.049-1_all.deb ... 409s Unpacking libipc-run3-perl (0.049-1) ... 409s Selecting previously unselected package libjson-maybexs-perl. 409s Preparing to unpack .../198-libjson-maybexs-perl_1.004005-1_all.deb ... 409s Unpacking libjson-maybexs-perl (1.004005-1) ... 409s Selecting previously unselected package liblist-compare-perl. 409s Preparing to unpack .../199-liblist-compare-perl_0.55-2_all.deb ... 409s Unpacking liblist-compare-perl (0.55-2) ... 409s Selecting previously unselected package liblist-someutils-perl. 409s Preparing to unpack .../200-liblist-someutils-perl_0.59-1_all.deb ... 409s Unpacking liblist-someutils-perl (0.59-1) ... 409s Selecting previously unselected package liblist-utilsby-perl. 409s Preparing to unpack .../201-liblist-utilsby-perl_0.12-2_all.deb ... 409s Unpacking liblist-utilsby-perl (0.12-2) ... 409s Selecting previously unselected package libmldbm-perl. 409s Preparing to unpack .../202-libmldbm-perl_2.05-4_all.deb ... 409s Unpacking libmldbm-perl (2.05-4) ... 409s Selecting previously unselected package libclass-method-modifiers-perl. 409s Preparing to unpack .../203-libclass-method-modifiers-perl_2.15-1_all.deb ... 409s Unpacking libclass-method-modifiers-perl (2.15-1) ... 409s Selecting previously unselected package libimport-into-perl. 409s Preparing to unpack .../204-libimport-into-perl_1.002005-2_all.deb ... 409s Unpacking libimport-into-perl (1.002005-2) ... 409s Selecting previously unselected package librole-tiny-perl. 409s Preparing to unpack .../205-librole-tiny-perl_2.002004-1_all.deb ... 409s Unpacking librole-tiny-perl (2.002004-1) ... 409s Selecting previously unselected package libsub-quote-perl. 409s Preparing to unpack .../206-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 409s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 409s Selecting previously unselected package libmoo-perl. 409s Preparing to unpack .../207-libmoo-perl_2.005005-1_all.deb ... 409s Unpacking libmoo-perl (2.005005-1) ... 409s Selecting previously unselected package libstrictures-perl. 409s Preparing to unpack .../208-libstrictures-perl_2.000006-1_all.deb ... 409s Unpacking libstrictures-perl (2.000006-1) ... 409s Selecting previously unselected package libmoox-aliases-perl. 409s Preparing to unpack .../209-libmoox-aliases-perl_0.001006-2_all.deb ... 409s Unpacking libmoox-aliases-perl (0.001006-2) ... 409s Selecting previously unselected package libperlio-gzip-perl. 409s Preparing to unpack .../210-libperlio-gzip-perl_0.20-1build3_s390x.deb ... 409s Unpacking libperlio-gzip-perl (0.20-1build3) ... 409s Selecting previously unselected package libperlio-utf8-strict-perl. 409s Preparing to unpack .../211-libperlio-utf8-strict-perl_0.010-1build2_s390x.deb ... 409s Unpacking libperlio-utf8-strict-perl (0.010-1build2) ... 409s Selecting previously unselected package libproc-processtable-perl:s390x. 409s Preparing to unpack .../212-libproc-processtable-perl_0.636-1build2_s390x.deb ... 409s Unpacking libproc-processtable-perl:s390x (0.636-1build2) ... 409s Selecting previously unselected package libregexp-wildcards-perl. 409s Preparing to unpack .../213-libregexp-wildcards-perl_1.05-3_all.deb ... 409s Unpacking libregexp-wildcards-perl (1.05-3) ... 409s Selecting previously unselected package libsereal-decoder-perl. 409s Preparing to unpack .../214-libsereal-decoder-perl_5.004+ds-1build2_s390x.deb ... 409s Unpacking libsereal-decoder-perl (5.004+ds-1build2) ... 409s Selecting previously unselected package libsereal-encoder-perl. 410s Preparing to unpack .../215-libsereal-encoder-perl_5.004+ds-1build2_s390x.deb ... 410s Unpacking libsereal-encoder-perl (5.004+ds-1build2) ... 410s Selecting previously unselected package libterm-readkey-perl. 410s Preparing to unpack .../216-libterm-readkey-perl_2.38-2build3_s390x.deb ... 410s Unpacking libterm-readkey-perl (2.38-2build3) ... 410s Selecting previously unselected package libtext-levenshteinxs-perl. 410s Preparing to unpack .../217-libtext-levenshteinxs-perl_0.03-5build3_s390x.deb ... 410s Unpacking libtext-levenshteinxs-perl (0.03-5build3) ... 410s Selecting previously unselected package libmarkdown2:s390x. 410s Preparing to unpack .../218-libmarkdown2_2.2.7-2_s390x.deb ... 410s Unpacking libmarkdown2:s390x (2.2.7-2) ... 410s Selecting previously unselected package libtext-markdown-discount-perl. 410s Preparing to unpack .../219-libtext-markdown-discount-perl_0.16-1build2_s390x.deb ... 410s Unpacking libtext-markdown-discount-perl (0.16-1build2) ... 410s Selecting previously unselected package libdata-messagepack-perl. 410s Preparing to unpack .../220-libdata-messagepack-perl_1.02-1build3_s390x.deb ... 410s Unpacking libdata-messagepack-perl (1.02-1build3) ... 410s Selecting previously unselected package libtext-xslate-perl:s390x. 410s Preparing to unpack .../221-libtext-xslate-perl_3.5.9-1build4_s390x.deb ... 410s Unpacking libtext-xslate-perl:s390x (3.5.9-1build4) ... 410s Selecting previously unselected package libtime-duration-perl. 410s Preparing to unpack .../222-libtime-duration-perl_1.21-2_all.deb ... 410s Unpacking libtime-duration-perl (1.21-2) ... 410s Selecting previously unselected package libtime-moment-perl. 410s Preparing to unpack .../223-libtime-moment-perl_0.44-2build3_s390x.deb ... 410s Unpacking libtime-moment-perl (0.44-2build3) ... 410s Selecting previously unselected package libunicode-utf8-perl. 410s Preparing to unpack .../224-libunicode-utf8-perl_0.62-2build2_s390x.deb ... 410s Unpacking libunicode-utf8-perl (0.62-2build2) ... 410s Selecting previously unselected package libcgi-pm-perl. 410s Preparing to unpack .../225-libcgi-pm-perl_4.63-1_all.deb ... 410s Unpacking libcgi-pm-perl (4.63-1) ... 410s Selecting previously unselected package libhtml-form-perl. 410s Preparing to unpack .../226-libhtml-form-perl_6.11-1_all.deb ... 410s Unpacking libhtml-form-perl (6.11-1) ... 410s Selecting previously unselected package libwww-mechanize-perl. 410s Preparing to unpack .../227-libwww-mechanize-perl_2.18-1ubuntu1_all.deb ... 410s Unpacking libwww-mechanize-perl (2.18-1ubuntu1) ... 410s Selecting previously unselected package libxml-namespacesupport-perl. 410s Preparing to unpack .../228-libxml-namespacesupport-perl_1.12-2_all.deb ... 410s Unpacking libxml-namespacesupport-perl (1.12-2) ... 410s Selecting previously unselected package libxml-sax-base-perl. 410s Preparing to unpack .../229-libxml-sax-base-perl_1.09-3_all.deb ... 410s Unpacking libxml-sax-base-perl (1.09-3) ... 410s Selecting previously unselected package libxml-sax-perl. 410s Preparing to unpack .../230-libxml-sax-perl_1.02+dfsg-3_all.deb ... 410s Unpacking libxml-sax-perl (1.02+dfsg-3) ... 410s Selecting previously unselected package libxml-libxml-perl. 410s Preparing to unpack .../231-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build3_s390x.deb ... 410s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 410s Selecting previously unselected package lzip. 410s Preparing to unpack .../232-lzip_1.24.1-1_s390x.deb ... 410s Unpacking lzip (1.24.1-1) ... 410s Selecting previously unselected package lzop. 410s Preparing to unpack .../233-lzop_1.04-2build2_s390x.deb ... 410s Unpacking lzop (1.04-2build2) ... 410s Selecting previously unselected package patchutils. 410s Preparing to unpack .../234-patchutils_0.4.2-1build2_s390x.deb ... 410s Unpacking patchutils (0.4.2-1build2) ... 410s Selecting previously unselected package t1utils. 410s Preparing to unpack .../235-t1utils_1.41-4build2_s390x.deb ... 410s Unpacking t1utils (1.41-4build2) ... 410s Selecting previously unselected package unzip. 410s Preparing to unpack .../236-unzip_6.0-28ubuntu3_s390x.deb ... 410s Unpacking unzip (6.0-28ubuntu3) ... 410s Selecting previously unselected package lintian. 410s Preparing to unpack .../237-lintian_2.117.0ubuntu1_all.deb ... 410s Unpacking lintian (2.117.0ubuntu1) ... 411s Selecting previously unselected package libconfig-model-dpkg-perl. 411s Preparing to unpack .../238-libconfig-model-dpkg-perl_3.004_all.deb ... 411s Unpacking libconfig-model-dpkg-perl (3.004) ... 411s Selecting previously unselected package libconvert-binhex-perl. 411s Preparing to unpack .../239-libconvert-binhex-perl_1.125-3_all.deb ... 411s Unpacking libconvert-binhex-perl (1.125-3) ... 411s Selecting previously unselected package libnet-smtp-ssl-perl. 411s Preparing to unpack .../240-libnet-smtp-ssl-perl_1.04-2_all.deb ... 411s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 411s Selecting previously unselected package libmailtools-perl. 411s Preparing to unpack .../241-libmailtools-perl_2.21-2_all.deb ... 411s Unpacking libmailtools-perl (2.21-2) ... 411s Selecting previously unselected package libmime-tools-perl. 411s Preparing to unpack .../242-libmime-tools-perl_5.514-1_all.deb ... 411s Unpacking libmime-tools-perl (5.514-1) ... 411s Selecting previously unselected package libsuitesparseconfig7:s390x. 411s Preparing to unpack .../243-libsuitesparseconfig7_1%3a7.6.1+dfsg-1_s390x.deb ... 411s Unpacking libsuitesparseconfig7:s390x (1:7.6.1+dfsg-1) ... 411s Selecting previously unselected package libamd3:s390x. 411s Preparing to unpack .../244-libamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 411s Unpacking libamd3:s390x (1:7.6.1+dfsg-1) ... 411s Selecting previously unselected package libblas3:s390x. 411s Preparing to unpack .../245-libblas3_3.12.0-3_s390x.deb ... 411s Unpacking libblas3:s390x (3.12.0-3) ... 411s Selecting previously unselected package libgfortran5:s390x. 411s Preparing to unpack .../246-libgfortran5_14-20240315-1ubuntu1_s390x.deb ... 411s Unpacking libgfortran5:s390x (14-20240315-1ubuntu1) ... 411s Selecting previously unselected package liblapack3:s390x. 411s Preparing to unpack .../247-liblapack3_3.12.0-3_s390x.deb ... 411s Unpacking liblapack3:s390x (3.12.0-3) ... 412s Selecting previously unselected package libarpack2t64:s390x. 412s Preparing to unpack .../248-libarpack2t64_3.9.1-1.1build1_s390x.deb ... 412s Unpacking libarpack2t64:s390x (3.9.1-1.1build1) ... 412s Selecting previously unselected package libccolamd3:s390x. 412s Preparing to unpack .../249-libccolamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 412s Unpacking libccolamd3:s390x (1:7.6.1+dfsg-1) ... 412s Selecting previously unselected package libcamd3:s390x. 412s Preparing to unpack .../250-libcamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 412s Unpacking libcamd3:s390x (1:7.6.1+dfsg-1) ... 412s Selecting previously unselected package libcolamd3:s390x. 412s Preparing to unpack .../251-libcolamd3_1%3a7.6.1+dfsg-1_s390x.deb ... 412s Unpacking libcolamd3:s390x (1:7.6.1+dfsg-1) ... 412s Selecting previously unselected package libcholmod5:s390x. 412s Preparing to unpack .../252-libcholmod5_1%3a7.6.1+dfsg-1_s390x.deb ... 412s Unpacking libcholmod5:s390x (1:7.6.1+dfsg-1) ... 412s Selecting previously unselected package libcxsparse4:s390x. 412s Preparing to unpack .../253-libcxsparse4_1%3a7.6.1+dfsg-1_s390x.deb ... 412s Unpacking libcxsparse4:s390x (1:7.6.1+dfsg-1) ... 412s Selecting previously unselected package libfftw3-double3:s390x. 412s Preparing to unpack .../254-libfftw3-double3_3.3.10-1ubuntu2_s390x.deb ... 412s Unpacking libfftw3-double3:s390x (3.3.10-1ubuntu2) ... 412s Selecting previously unselected package libfftw3-single3:s390x. 412s Preparing to unpack .../255-libfftw3-single3_3.3.10-1ubuntu2_s390x.deb ... 412s Unpacking libfftw3-single3:s390x (3.3.10-1ubuntu2) ... 412s Selecting previously unselected package libxfixes3:s390x. 412s Preparing to unpack .../256-libxfixes3_1%3a6.0.0-2_s390x.deb ... 412s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 412s Selecting previously unselected package libxcursor1:s390x. 412s Preparing to unpack .../257-libxcursor1_1%3a1.2.1-1_s390x.deb ... 412s Unpacking libxcursor1:s390x (1:1.2.1-1) ... 412s Selecting previously unselected package libxft2:s390x. 412s Preparing to unpack .../258-libxft2_2.3.6-1_s390x.deb ... 412s Unpacking libxft2:s390x (2.3.6-1) ... 412s Selecting previously unselected package libxinerama1:s390x. 412s Preparing to unpack .../259-libxinerama1_2%3a1.1.4-3_s390x.deb ... 412s Unpacking libxinerama1:s390x (2:1.1.4-3) ... 412s Selecting previously unselected package libfltk1.3t64:s390x. 412s Preparing to unpack .../260-libfltk1.3t64_1.3.8-6.1build1_s390x.deb ... 412s Unpacking libfltk1.3t64:s390x (1.3.8-6.1build1) ... 412s Selecting previously unselected package libglvnd0:s390x. 412s Preparing to unpack .../261-libglvnd0_1.7.0-1_s390x.deb ... 412s Unpacking libglvnd0:s390x (1.7.0-1) ... 412s Selecting previously unselected package libglapi-mesa:s390x. 412s Preparing to unpack .../262-libglapi-mesa_24.0.3-1ubuntu3_s390x.deb ... 412s Unpacking libglapi-mesa:s390x (24.0.3-1ubuntu3) ... 412s Selecting previously unselected package libx11-xcb1:s390x. 412s Preparing to unpack .../263-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 412s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 412s Selecting previously unselected package libxcb-dri2-0:s390x. 412s Preparing to unpack .../264-libxcb-dri2-0_1.15-1_s390x.deb ... 412s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 412s Selecting previously unselected package libxcb-dri3-0:s390x. 412s Preparing to unpack .../265-libxcb-dri3-0_1.15-1_s390x.deb ... 412s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 412s Selecting previously unselected package libxcb-glx0:s390x. 412s Preparing to unpack .../266-libxcb-glx0_1.15-1_s390x.deb ... 412s Unpacking libxcb-glx0:s390x (1.15-1) ... 412s Selecting previously unselected package libxcb-present0:s390x. 412s Preparing to unpack .../267-libxcb-present0_1.15-1_s390x.deb ... 412s Unpacking libxcb-present0:s390x (1.15-1) ... 413s Selecting previously unselected package libxcb-randr0:s390x. 413s Preparing to unpack .../268-libxcb-randr0_1.15-1_s390x.deb ... 413s Unpacking libxcb-randr0:s390x (1.15-1) ... 413s Selecting previously unselected package libxcb-sync1:s390x. 413s Preparing to unpack .../269-libxcb-sync1_1.15-1_s390x.deb ... 413s Unpacking libxcb-sync1:s390x (1.15-1) ... 413s Selecting previously unselected package libxcb-xfixes0:s390x. 413s Preparing to unpack .../270-libxcb-xfixes0_1.15-1_s390x.deb ... 413s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 413s Selecting previously unselected package libxshmfence1:s390x. 413s Preparing to unpack .../271-libxshmfence1_1.3-1build4_s390x.deb ... 413s Unpacking libxshmfence1:s390x (1.3-1build4) ... 413s Selecting previously unselected package libxxf86vm1:s390x. 413s Preparing to unpack .../272-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 413s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 413s Selecting previously unselected package libvulkan1:s390x. 413s Preparing to unpack .../273-libvulkan1_1.3.275.0-1_s390x.deb ... 413s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 413s Selecting previously unselected package libdrm-amdgpu1:s390x. 413s Preparing to unpack .../274-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 413s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 413s Selecting previously unselected package libdrm-nouveau2:s390x. 413s Preparing to unpack .../275-libdrm-nouveau2_2.4.120-2_s390x.deb ... 413s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 413s Selecting previously unselected package libdrm-radeon1:s390x. 413s Preparing to unpack .../276-libdrm-radeon1_2.4.120-2_s390x.deb ... 413s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 413s Selecting previously unselected package libllvm17t64:s390x. 413s Preparing to unpack .../277-libllvm17t64_1%3a17.0.6-9build2_s390x.deb ... 413s Unpacking libllvm17t64:s390x (1:17.0.6-9build2) ... 415s Selecting previously unselected package libgl1-mesa-dri:s390x. 415s Preparing to unpack .../278-libgl1-mesa-dri_24.0.3-1ubuntu3_s390x.deb ... 415s Unpacking libgl1-mesa-dri:s390x (24.0.3-1ubuntu3) ... 415s Selecting previously unselected package libglx-mesa0:s390x. 415s Preparing to unpack .../279-libglx-mesa0_24.0.3-1ubuntu3_s390x.deb ... 415s Unpacking libglx-mesa0:s390x (24.0.3-1ubuntu3) ... 415s Selecting previously unselected package libglx0:s390x. 415s Preparing to unpack .../280-libglx0_1.7.0-1_s390x.deb ... 415s Unpacking libglx0:s390x (1.7.0-1) ... 415s Selecting previously unselected package libgl1:s390x. 415s Preparing to unpack .../281-libgl1_1.7.0-1_s390x.deb ... 415s Unpacking libgl1:s390x (1.7.0-1) ... 415s Selecting previously unselected package libfltk-gl1.3t64:s390x. 415s Preparing to unpack .../282-libfltk-gl1.3t64_1.3.8-6.1build1_s390x.deb ... 415s Unpacking libfltk-gl1.3t64:s390x (1.3.8-6.1build1) ... 415s Selecting previously unselected package libgl2ps1.4. 415s Preparing to unpack .../283-libgl2ps1.4_1.4.2+dfsg1-2_s390x.deb ... 415s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... 415s Selecting previously unselected package libltdl7:s390x. 415s Preparing to unpack .../284-libltdl7_2.4.7-7_s390x.deb ... 415s Unpacking libltdl7:s390x (2.4.7-7) ... 415s Selecting previously unselected package libglpk40:s390x. 415s Preparing to unpack .../285-libglpk40_5.0-1build1_s390x.deb ... 415s Unpacking libglpk40:s390x (5.0-1build1) ... 415s Selecting previously unselected package libopengl0:s390x. 415s Preparing to unpack .../286-libopengl0_1.7.0-1_s390x.deb ... 415s Unpacking libopengl0:s390x (1.7.0-1) ... 415s Selecting previously unselected package libglu1-mesa:s390x. 415s Preparing to unpack .../287-libglu1-mesa_9.0.2-1.1_s390x.deb ... 415s Unpacking libglu1-mesa:s390x (9.0.2-1.1) ... 415s Selecting previously unselected package libdav1d7:s390x. 415s Preparing to unpack .../288-libdav1d7_1.4.1-1_s390x.deb ... 415s Unpacking libdav1d7:s390x (1.4.1-1) ... 415s Selecting previously unselected package libheif-plugin-dav1d:s390x. 415s Preparing to unpack .../289-libheif-plugin-dav1d_1.17.6-1ubuntu2_s390x.deb ... 415s Unpacking libheif-plugin-dav1d:s390x (1.17.6-1ubuntu2) ... 415s Selecting previously unselected package libde265-0:s390x. 415s Preparing to unpack .../290-libde265-0_1.0.15-1build1_s390x.deb ... 415s Unpacking libde265-0:s390x (1.0.15-1build1) ... 415s Selecting previously unselected package libheif-plugin-libde265:s390x. 415s Preparing to unpack .../291-libheif-plugin-libde265_1.17.6-1ubuntu2_s390x.deb ... 415s Unpacking libheif-plugin-libde265:s390x (1.17.6-1ubuntu2) ... 415s Selecting previously unselected package libheif1:s390x. 415s Preparing to unpack .../292-libheif1_1.17.6-1ubuntu2_s390x.deb ... 415s Unpacking libheif1:s390x (1.17.6-1ubuntu2) ... 415s Selecting previously unselected package libhwy1t64:s390x. 415s Preparing to unpack .../293-libhwy1t64_1.0.7-8.1_s390x.deb ... 415s Unpacking libhwy1t64:s390x (1.0.7-8.1) ... 416s Selecting previously unselected package liblcms2-2:s390x. 416s Preparing to unpack .../294-liblcms2-2_2.14-2_s390x.deb ... 416s Unpacking liblcms2-2:s390x (2.14-2) ... 416s Selecting previously unselected package libjxl0.7:s390x. 416s Preparing to unpack .../295-libjxl0.7_0.7.0-10.2ubuntu4_s390x.deb ... 416s Unpacking libjxl0.7:s390x (0.7.0-10.2ubuntu4) ... 416s Selecting previously unselected package libwmflite-0.2-7:s390x. 416s Preparing to unpack .../296-libwmflite-0.2-7_0.2.13-1.1build2_s390x.deb ... 416s Unpacking libwmflite-0.2-7:s390x (0.2.13-1.1build2) ... 416s Selecting previously unselected package libgraphicsmagick-q16-3t64. 416s Preparing to unpack .../297-libgraphicsmagick-q16-3t64_1.4+really1.3.42-1.1build1_s390x.deb ... 416s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 416s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 416s Preparing to unpack .../298-libgraphicsmagick++-q16-12t64_1.4+really1.3.42-1.1build1_s390x.deb ... 416s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 416s Selecting previously unselected package libaec0:s390x. 416s Preparing to unpack .../299-libaec0_1.1.2-1_s390x.deb ... 416s Unpacking libaec0:s390x (1.1.2-1) ... 416s Selecting previously unselected package libsz2:s390x. 416s Preparing to unpack .../300-libsz2_1.1.2-1_s390x.deb ... 416s Unpacking libsz2:s390x (1.1.2-1) ... 416s Selecting previously unselected package libhdf5-103-1t64:s390x. 416s Preparing to unpack .../301-libhdf5-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 416s Unpacking libhdf5-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 416s Selecting previously unselected package libasound2-data. 416s Preparing to unpack .../302-libasound2-data_1.2.11-1build1_all.deb ... 416s Unpacking libasound2-data (1.2.11-1build1) ... 416s Selecting previously unselected package libasound2t64:s390x. 416s Preparing to unpack .../303-libasound2t64_1.2.11-1build1_s390x.deb ... 416s Unpacking libasound2t64:s390x (1.2.11-1build1) ... 416s Selecting previously unselected package libopus0:s390x. 416s Preparing to unpack .../304-libopus0_1.4-1_s390x.deb ... 416s Unpacking libopus0:s390x (1.4-1) ... 416s Selecting previously unselected package libsamplerate0:s390x. 416s Preparing to unpack .../305-libsamplerate0_0.2.2-4_s390x.deb ... 416s Unpacking libsamplerate0:s390x (0.2.2-4) ... 416s Selecting previously unselected package libjack-jackd2-0:s390x. 416s Preparing to unpack .../306-libjack-jackd2-0_1.9.21~dfsg-3ubuntu1_s390x.deb ... 416s Unpacking libjack-jackd2-0:s390x (1.9.21~dfsg-3ubuntu1) ... 416s Selecting previously unselected package libportaudio2:s390x. 416s Preparing to unpack .../307-libportaudio2_19.6.0-1.2build1_s390x.deb ... 416s Unpacking libportaudio2:s390x (19.6.0-1.2build1) ... 416s Selecting previously unselected package libqhull-r8.0:s390x. 416s Preparing to unpack .../308-libqhull-r8.0_2020.2-6_s390x.deb ... 416s Unpacking libqhull-r8.0:s390x (2020.2-6) ... 416s Selecting previously unselected package libqrupdate1:s390x. 416s Preparing to unpack .../309-libqrupdate1_1.1.2-4_s390x.deb ... 416s Unpacking libqrupdate1:s390x (1.1.2-4) ... 416s Selecting previously unselected package libqscintilla2-qt5-l10n. 416s Preparing to unpack .../310-libqscintilla2-qt5-l10n_2.14.1+dfsg-1build2_all.deb ... 416s Unpacking libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 416s Selecting previously unselected package libdouble-conversion3:s390x. 416s Preparing to unpack .../311-libdouble-conversion3_3.3.0-1_s390x.deb ... 416s Unpacking libdouble-conversion3:s390x (3.3.0-1) ... 416s Selecting previously unselected package libpcre2-16-0:s390x. 416s Preparing to unpack .../312-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 416s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 416s Selecting previously unselected package libqt5core5t64:s390x. 416s Preparing to unpack .../313-libqt5core5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 416s Unpacking libqt5core5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 417s Selecting previously unselected package libwayland-server0:s390x. 417s Preparing to unpack .../314-libwayland-server0_1.22.0-2.1_s390x.deb ... 417s Unpacking libwayland-server0:s390x (1.22.0-2.1) ... 417s Selecting previously unselected package libgbm1:s390x. 417s Preparing to unpack .../315-libgbm1_24.0.3-1ubuntu3_s390x.deb ... 417s Unpacking libgbm1:s390x (24.0.3-1ubuntu3) ... 417s Selecting previously unselected package libwayland-client0:s390x. 417s Preparing to unpack .../316-libwayland-client0_1.22.0-2.1_s390x.deb ... 417s Unpacking libwayland-client0:s390x (1.22.0-2.1) ... 417s Selecting previously unselected package libegl-mesa0:s390x. 417s Preparing to unpack .../317-libegl-mesa0_24.0.3-1ubuntu3_s390x.deb ... 417s Unpacking libegl-mesa0:s390x (24.0.3-1ubuntu3) ... 417s Selecting previously unselected package libegl1:s390x. 417s Preparing to unpack .../318-libegl1_1.7.0-1_s390x.deb ... 417s Unpacking libegl1:s390x (1.7.0-1) ... 417s Selecting previously unselected package x11-common. 417s Preparing to unpack .../319-x11-common_1%3a7.7+23ubuntu2_all.deb ... 417s Unpacking x11-common (1:7.7+23ubuntu2) ... 417s Selecting previously unselected package libice6:s390x. 417s Preparing to unpack .../320-libice6_2%3a1.0.10-1build2_s390x.deb ... 417s Unpacking libice6:s390x (2:1.0.10-1build2) ... 417s Selecting previously unselected package libmtdev1t64:s390x. 417s Preparing to unpack .../321-libmtdev1t64_1.1.6-1.1_s390x.deb ... 417s Unpacking libmtdev1t64:s390x (1.1.6-1.1) ... 417s Selecting previously unselected package libwacom-common. 417s Preparing to unpack .../322-libwacom-common_2.10.0-1build1_all.deb ... 417s Unpacking libwacom-common (2.10.0-1build1) ... 417s Selecting previously unselected package libwacom9:s390x. 417s Preparing to unpack .../323-libwacom9_2.10.0-1build1_s390x.deb ... 417s Unpacking libwacom9:s390x (2.10.0-1build1) ... 417s Selecting previously unselected package libinput-bin. 417s Preparing to unpack .../324-libinput-bin_1.25.0-1ubuntu1_s390x.deb ... 417s Unpacking libinput-bin (1.25.0-1ubuntu1) ... 417s Selecting previously unselected package libinput10:s390x. 417s Preparing to unpack .../325-libinput10_1.25.0-1ubuntu1_s390x.deb ... 417s Unpacking libinput10:s390x (1.25.0-1ubuntu1) ... 417s Selecting previously unselected package libmd4c0:s390x. 417s Preparing to unpack .../326-libmd4c0_0.4.8-1_s390x.deb ... 417s Unpacking libmd4c0:s390x (0.4.8-1) ... 417s Selecting previously unselected package libqt5dbus5t64:s390x. 417s Preparing to unpack .../327-libqt5dbus5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 417s Unpacking libqt5dbus5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 417s Selecting previously unselected package libqt5network5t64:s390x. 417s Preparing to unpack .../328-libqt5network5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 417s Unpacking libqt5network5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 417s Selecting previously unselected package libsm6:s390x. 417s Preparing to unpack .../329-libsm6_2%3a1.2.3-1build2_s390x.deb ... 417s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 417s Selecting previously unselected package libxcb-icccm4:s390x. 417s Preparing to unpack .../330-libxcb-icccm4_0.4.1-1.1build2_s390x.deb ... 417s Unpacking libxcb-icccm4:s390x (0.4.1-1.1build2) ... 417s Selecting previously unselected package libxcb-util1:s390x. 417s Preparing to unpack .../331-libxcb-util1_0.4.0-1build2_s390x.deb ... 417s Unpacking libxcb-util1:s390x (0.4.0-1build2) ... 417s Selecting previously unselected package libxcb-image0:s390x. 417s Preparing to unpack .../332-libxcb-image0_0.4.0-2_s390x.deb ... 417s Unpacking libxcb-image0:s390x (0.4.0-2) ... 418s Selecting previously unselected package libxcb-keysyms1:s390x. 418s Preparing to unpack .../333-libxcb-keysyms1_0.4.0-1build3_s390x.deb ... 418s Unpacking libxcb-keysyms1:s390x (0.4.0-1build3) ... 418s Selecting previously unselected package libxcb-render-util0:s390x. 418s Preparing to unpack .../334-libxcb-render-util0_0.3.9-1build3_s390x.deb ... 418s Unpacking libxcb-render-util0:s390x (0.3.9-1build3) ... 418s Selecting previously unselected package libxcb-shape0:s390x. 418s Preparing to unpack .../335-libxcb-shape0_1.15-1_s390x.deb ... 418s Unpacking libxcb-shape0:s390x (1.15-1) ... 418s Selecting previously unselected package libxcb-xinerama0:s390x. 418s Preparing to unpack .../336-libxcb-xinerama0_1.15-1_s390x.deb ... 418s Unpacking libxcb-xinerama0:s390x (1.15-1) ... 418s Selecting previously unselected package libxcb-xinput0:s390x. 418s Preparing to unpack .../337-libxcb-xinput0_1.15-1_s390x.deb ... 418s Unpacking libxcb-xinput0:s390x (1.15-1) ... 418s Selecting previously unselected package libxcb-xkb1:s390x. 418s Preparing to unpack .../338-libxcb-xkb1_1.15-1_s390x.deb ... 418s Unpacking libxcb-xkb1:s390x (1.15-1) ... 418s Selecting previously unselected package libxkbcommon-x11-0:s390x. 418s Preparing to unpack .../339-libxkbcommon-x11-0_1.6.0-1_s390x.deb ... 418s Unpacking libxkbcommon-x11-0:s390x (1.6.0-1) ... 418s Selecting previously unselected package libqt5gui5t64:s390x. 418s Preparing to unpack .../340-libqt5gui5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 418s Unpacking libqt5gui5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 418s Selecting previously unselected package libavahi-common-data:s390x. 418s Preparing to unpack .../341-libavahi-common-data_0.8-13ubuntu4_s390x.deb ... 418s Unpacking libavahi-common-data:s390x (0.8-13ubuntu4) ... 418s Selecting previously unselected package libavahi-common3:s390x. 418s Preparing to unpack .../342-libavahi-common3_0.8-13ubuntu4_s390x.deb ... 418s Unpacking libavahi-common3:s390x (0.8-13ubuntu4) ... 418s Selecting previously unselected package libavahi-client3:s390x. 418s Preparing to unpack .../343-libavahi-client3_0.8-13ubuntu4_s390x.deb ... 418s Unpacking libavahi-client3:s390x (0.8-13ubuntu4) ... 418s Selecting previously unselected package libcups2t64:s390x. 418s Preparing to unpack .../344-libcups2t64_2.4.7-1.2ubuntu2_s390x.deb ... 418s Unpacking libcups2t64:s390x (2.4.7-1.2ubuntu2) ... 418s Selecting previously unselected package libqt5widgets5t64:s390x. 418s Preparing to unpack .../345-libqt5widgets5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 418s Unpacking libqt5widgets5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 418s Selecting previously unselected package libqt5printsupport5t64:s390x. 418s Preparing to unpack .../346-libqt5printsupport5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 418s Unpacking libqt5printsupport5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 418s Selecting previously unselected package libqscintilla2-qt5-15:s390x. 418s Preparing to unpack .../347-libqscintilla2-qt5-15_2.14.1+dfsg-1build2_s390x.deb ... 418s Unpacking libqscintilla2-qt5-15:s390x (2.14.1+dfsg-1build2) ... 419s Selecting previously unselected package libqt5sql5t64:s390x. 419s Preparing to unpack .../348-libqt5sql5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 419s Unpacking libqt5sql5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 419s Selecting previously unselected package libqt5help5:s390x. 419s Preparing to unpack .../349-libqt5help5_5.15.12-2build2_s390x.deb ... 419s Unpacking libqt5help5:s390x (5.15.12-2build2) ... 419s Selecting previously unselected package libqt5xml5t64:s390x. 419s Preparing to unpack .../350-libqt5xml5t64_5.15.12+dfsg-3ubuntu6_s390x.deb ... 419s Unpacking libqt5xml5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 419s Selecting previously unselected package libogg0:s390x. 419s Preparing to unpack .../351-libogg0_1.3.5-3_s390x.deb ... 419s Unpacking libogg0:s390x (1.3.5-3) ... 419s Selecting previously unselected package libflac12t64:s390x. 419s Preparing to unpack .../352-libflac12t64_1.4.3+ds-2.1ubuntu1_s390x.deb ... 419s Unpacking libflac12t64:s390x (1.4.3+ds-2.1ubuntu1) ... 419s Selecting previously unselected package libmp3lame0:s390x. 419s Preparing to unpack .../353-libmp3lame0_3.100-6_s390x.deb ... 419s Unpacking libmp3lame0:s390x (3.100-6) ... 419s Selecting previously unselected package libmpg123-0:s390x. 419s Preparing to unpack .../354-libmpg123-0_1.32.5-1build1_s390x.deb ... 419s Unpacking libmpg123-0:s390x (1.32.5-1build1) ... 419s Selecting previously unselected package libvorbis0a:s390x. 419s Preparing to unpack .../355-libvorbis0a_1.3.7-1build2_s390x.deb ... 419s Unpacking libvorbis0a:s390x (1.3.7-1build2) ... 419s Selecting previously unselected package libvorbisenc2:s390x. 419s Preparing to unpack .../356-libvorbisenc2_1.3.7-1build2_s390x.deb ... 419s Unpacking libvorbisenc2:s390x (1.3.7-1build2) ... 419s Selecting previously unselected package libsndfile1:s390x. 419s Preparing to unpack .../357-libsndfile1_1.2.2-1ubuntu3_s390x.deb ... 419s Unpacking libsndfile1:s390x (1.2.2-1ubuntu3) ... 419s Selecting previously unselected package libspqr4:s390x. 419s Preparing to unpack .../358-libspqr4_1%3a7.6.1+dfsg-1_s390x.deb ... 419s Unpacking libspqr4:s390x (1:7.6.1+dfsg-1) ... 419s Selecting previously unselected package libsundials-ida6:s390x. 419s Preparing to unpack .../359-libsundials-ida6_6.4.1+dfsg1-3build3_s390x.deb ... 419s Unpacking libsundials-ida6:s390x (6.4.1+dfsg1-3build3) ... 419s Selecting previously unselected package libbtf2:s390x. 419s Preparing to unpack .../360-libbtf2_1%3a7.6.1+dfsg-1_s390x.deb ... 419s Unpacking libbtf2:s390x (1:7.6.1+dfsg-1) ... 419s Selecting previously unselected package libklu2:s390x. 419s Preparing to unpack .../361-libklu2_1%3a7.6.1+dfsg-1_s390x.deb ... 419s Unpacking libklu2:s390x (1:7.6.1+dfsg-1) ... 419s Selecting previously unselected package libfftw3-long3:s390x. 419s Preparing to unpack .../362-libfftw3-long3_3.3.10-1ubuntu2_s390x.deb ... 419s Unpacking libfftw3-long3:s390x (3.3.10-1ubuntu2) ... 419s Selecting previously unselected package libevent-pthreads-2.1-7:s390x. 419s Preparing to unpack .../363-libevent-pthreads-2.1-7_2.1.12-stable-9build1_s390x.deb ... 419s Unpacking libevent-pthreads-2.1-7:s390x (2.1.12-stable-9build1) ... 419s Selecting previously unselected package librdmacm1t64:s390x. 419s Preparing to unpack .../364-librdmacm1t64_50.0-2build1_s390x.deb ... 419s Unpacking librdmacm1t64:s390x (50.0-2build1) ... 419s Selecting previously unselected package libfabric1:s390x. 419s Preparing to unpack .../365-libfabric1_1.17.0-3build1_s390x.deb ... 419s Unpacking libfabric1:s390x (1.17.0-3build1) ... 419s Selecting previously unselected package libhwloc15:s390x. 419s Preparing to unpack .../366-libhwloc15_2.10.0-1_s390x.deb ... 419s Unpacking libhwloc15:s390x (2.10.0-1) ... 419s Selecting previously unselected package libmunge2:s390x. 419s Preparing to unpack .../367-libmunge2_0.5.15-4_s390x.deb ... 419s Unpacking libmunge2:s390x (0.5.15-4) ... 419s Selecting previously unselected package libpciaccess0:s390x. 419s Preparing to unpack .../368-libpciaccess0_0.17-3_s390x.deb ... 419s Unpacking libpciaccess0:s390x (0.17-3) ... 420s Selecting previously unselected package libxnvctrl0:s390x. 420s Preparing to unpack .../369-libxnvctrl0_510.47.03-0ubuntu3_s390x.deb ... 420s Unpacking libxnvctrl0:s390x (510.47.03-0ubuntu3) ... 420s Selecting previously unselected package ocl-icd-libopencl1:s390x. 420s Preparing to unpack .../370-ocl-icd-libopencl1_2.3.2-1_s390x.deb ... 420s Unpacking ocl-icd-libopencl1:s390x (2.3.2-1) ... 420s Selecting previously unselected package libhwloc-plugins:s390x. 420s Preparing to unpack .../371-libhwloc-plugins_2.10.0-1_s390x.deb ... 420s Unpacking libhwloc-plugins:s390x (2.10.0-1) ... 420s Selecting previously unselected package libpmix2t64:s390x. 420s Preparing to unpack .../372-libpmix2t64_5.0.1-4.1_s390x.deb ... 420s Unpacking libpmix2t64:s390x (5.0.1-4.1) ... 420s Selecting previously unselected package libopenmpi3t64:s390x. 420s Preparing to unpack .../373-libopenmpi3t64_4.1.6-7ubuntu1_s390x.deb ... 420s Unpacking libopenmpi3t64:s390x (4.1.6-7ubuntu1) ... 420s Selecting previously unselected package libfftw3-mpi3:s390x. 420s Preparing to unpack .../374-libfftw3-mpi3_3.3.10-1ubuntu2_s390x.deb ... 420s Unpacking libfftw3-mpi3:s390x (3.3.10-1ubuntu2) ... 420s Selecting previously unselected package libhdf5-openmpi-103-1t64:s390x. 420s Preparing to unpack .../375-libhdf5-openmpi-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 420s Unpacking libhdf5-openmpi-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 420s Selecting previously unselected package libcombblas2.0.0t64:s390x. 420s Preparing to unpack .../376-libcombblas2.0.0t64_2.0.0-3.1build1_s390x.deb ... 420s Unpacking libcombblas2.0.0t64:s390x (2.0.0-3.1build1) ... 420s Selecting previously unselected package libmetis5:s390x. 420s Preparing to unpack .../377-libmetis5_5.1.0.dfsg-7build2_s390x.deb ... 420s Unpacking libmetis5:s390x (5.1.0.dfsg-7build2) ... 420s Selecting previously unselected package libptscotch-7.0:s390x. 420s Preparing to unpack .../378-libptscotch-7.0_7.0.4-1ubuntu1_s390x.deb ... 420s Unpacking libptscotch-7.0:s390x (7.0.4-1ubuntu1) ... 420s Selecting previously unselected package libsuperlu-dist8:s390x. 420s Preparing to unpack .../379-libsuperlu-dist8_8.2.1+dfsg1-1build1_s390x.deb ... 420s Unpacking libsuperlu-dist8:s390x (8.2.1+dfsg1-1build1) ... 420s Selecting previously unselected package libhypre-2.28.0:s390x. 420s Preparing to unpack .../380-libhypre-2.28.0_2.28.0-8build1_s390x.deb ... 420s Unpacking libhypre-2.28.0:s390x (2.28.0-8build1) ... 420s Selecting previously unselected package openmpi-common. 420s Preparing to unpack .../381-openmpi-common_4.1.6-7ubuntu1_all.deb ... 420s Unpacking openmpi-common (4.1.6-7ubuntu1) ... 420s Selecting previously unselected package openmpi-bin. 420s Preparing to unpack .../382-openmpi-bin_4.1.6-7ubuntu1_s390x.deb ... 420s Unpacking openmpi-bin (4.1.6-7ubuntu1) ... 421s Selecting previously unselected package mpi-default-bin. 421s Preparing to unpack .../383-mpi-default-bin_1.15_s390x.deb ... 421s Unpacking mpi-default-bin (1.15) ... 421s Selecting previously unselected package libscalapack-openmpi2.2:s390x. 421s Preparing to unpack .../384-libscalapack-openmpi2.2_2.2.1-3build1_s390x.deb ... 421s Unpacking libscalapack-openmpi2.2:s390x (2.2.1-3build1) ... 421s Selecting previously unselected package libmumps-5.6t64:s390x. 421s Preparing to unpack .../385-libmumps-5.6t64_5.6.2-2.1build1_s390x.deb ... 421s Unpacking libmumps-5.6t64:s390x (5.6.2-2.1build1) ... 421s Selecting previously unselected package libsuperlu6:s390x. 421s Preparing to unpack .../386-libsuperlu6_6.0.1+dfsg1-1_s390x.deb ... 421s Unpacking libsuperlu6:s390x (6.0.1+dfsg1-1) ... 421s Selecting previously unselected package libscotch-7.0:s390x. 421s Preparing to unpack .../387-libscotch-7.0_7.0.4-1ubuntu1_s390x.deb ... 421s Unpacking libscotch-7.0:s390x (7.0.4-1ubuntu1) ... 421s Selecting previously unselected package libtrilinos-kokkos-13.2:s390x. 421s Preparing to unpack .../388-libtrilinos-kokkos-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-kokkos-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-teuchos-13.2:s390x. 421s Preparing to unpack .../389-libtrilinos-teuchos-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-teuchos-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-epetra-13.2:s390x. 421s Preparing to unpack .../390-libtrilinos-epetra-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-epetra-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-triutils-13.2:s390x. 421s Preparing to unpack .../391-libtrilinos-triutils-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-triutils-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-epetraext-13.2:s390x. 421s Preparing to unpack .../392-libtrilinos-epetraext-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-epetraext-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-trilinosss-13.2:s390x. 421s Preparing to unpack .../393-libtrilinos-trilinosss-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-trilinosss-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-amesos-13.2:s390x. 421s Preparing to unpack .../394-libtrilinos-amesos-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-amesos-13.2:s390x (13.2.0-5build1) ... 421s Selecting previously unselected package libtrilinos-aztecoo-13.2:s390x. 421s Preparing to unpack .../395-libtrilinos-aztecoo-13.2_13.2.0-5build1_s390x.deb ... 421s Unpacking libtrilinos-aztecoo-13.2:s390x (13.2.0-5build1) ... 422s Selecting previously unselected package libtrilinos-galeri-13.2:s390x. 422s Preparing to unpack .../396-libtrilinos-galeri-13.2_13.2.0-5build1_s390x.deb ... 422s Unpacking libtrilinos-galeri-13.2:s390x (13.2.0-5build1) ... 422s Selecting previously unselected package libtrilinos-ifpack-13.2:s390x. 422s Preparing to unpack .../397-libtrilinos-ifpack-13.2_13.2.0-5build1_s390x.deb ... 422s Unpacking libtrilinos-ifpack-13.2:s390x (13.2.0-5build1) ... 422s Selecting previously unselected package libtrilinos-zoltan-13.2:s390x. 422s Preparing to unpack .../398-libtrilinos-zoltan-13.2_13.2.0-5build1_s390x.deb ... 422s Unpacking libtrilinos-zoltan-13.2:s390x (13.2.0-5build1) ... 422s Selecting previously unselected package libtrilinos-ml-13.2:s390x. 422s Preparing to unpack .../399-libtrilinos-ml-13.2_13.2.0-5build1_s390x.deb ... 422s Unpacking libtrilinos-ml-13.2:s390x (13.2.0-5build1) ... 422s Selecting previously unselected package libumfpack6:s390x. 422s Preparing to unpack .../400-libumfpack6_1%3a7.6.1+dfsg-1_s390x.deb ... 422s Unpacking libumfpack6:s390x (1:7.6.1+dfsg-1) ... 422s Selecting previously unselected package libpetsc-real3.19t64:s390x. 422s Preparing to unpack .../401-libpetsc-real3.19t64_3.19.6+dfsg1-2.2ubuntu1_s390x.deb ... 422s Unpacking libpetsc-real3.19t64:s390x (3.19.6+dfsg1-2.2ubuntu1) ... 422s Selecting previously unselected package libsundials-nvecparallel-petsc6:s390x. 422s Preparing to unpack .../402-libsundials-nvecparallel-petsc6_6.4.1+dfsg1-3build3_s390x.deb ... 422s Unpacking libsundials-nvecparallel-petsc6:s390x (6.4.1+dfsg1-3build3) ... 422s Selecting previously unselected package libsundials-sunmatrix4:s390x. 422s Preparing to unpack .../403-libsundials-sunmatrix4_6.4.1+dfsg1-3build3_s390x.deb ... 422s Unpacking libsundials-sunmatrix4:s390x (6.4.1+dfsg1-3build3) ... 422s Selecting previously unselected package libsundials-sunlinsol3:s390x. 422s Preparing to unpack .../404-libsundials-sunlinsol3_6.4.1+dfsg1-3build3_s390x.deb ... 422s Unpacking libsundials-sunlinsol3:s390x (6.4.1+dfsg1-3build3) ... 422s Selecting previously unselected package libtext-unidecode-perl. 422s Preparing to unpack .../405-libtext-unidecode-perl_1.30-3_all.deb ... 422s Unpacking libtext-unidecode-perl (1.30-3) ... 422s Selecting previously unselected package texinfo-lib. 422s Preparing to unpack .../406-texinfo-lib_7.1-3build1_s390x.deb ... 422s Unpacking texinfo-lib (7.1-3build1) ... 422s Selecting previously unselected package tex-common. 422s Preparing to unpack .../407-tex-common_6.18_all.deb ... 422s Unpacking tex-common (6.18) ... 422s Selecting previously unselected package texinfo. 422s Preparing to unpack .../408-texinfo_7.1-3build1_all.deb ... 422s Unpacking texinfo (7.1-3build1) ... 423s Selecting previously unselected package octave-common. 423s Preparing to unpack .../409-octave-common_8.4.0-1build4_all.deb ... 423s Unpacking octave-common (8.4.0-1build4) ... 423s Selecting previously unselected package octave. 423s Preparing to unpack .../410-octave_8.4.0-1build4_s390x.deb ... 423s Unpacking octave (8.4.0-1build4) ... 424s Selecting previously unselected package libncurses-dev:s390x. 424s Preparing to unpack .../411-libncurses-dev_6.4+20240113-1ubuntu1_s390x.deb ... 424s Unpacking libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 424s Selecting previously unselected package libreadline-dev:s390x. 424s Preparing to unpack .../412-libreadline-dev_8.2-4_s390x.deb ... 424s Unpacking libreadline-dev:s390x (8.2-4) ... 424s Selecting previously unselected package libhdf5-fortran-102t64:s390x. 424s Preparing to unpack .../413-libhdf5-fortran-102t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-fortran-102t64:s390x (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package libhdf5-hl-100t64:s390x. 424s Preparing to unpack .../414-libhdf5-hl-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-hl-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package libhdf5-hl-fortran-100t64:s390x. 424s Preparing to unpack .../415-libhdf5-hl-fortran-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-hl-fortran-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package libhdf5-cpp-103-1t64:s390x. 424s Preparing to unpack .../416-libhdf5-cpp-103-1t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-cpp-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package libhdf5-hl-cpp-100t64:s390x. 424s Preparing to unpack .../417-libhdf5-hl-cpp-100t64_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-hl-cpp-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package zlib1g-dev:s390x. 424s Preparing to unpack .../418-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 424s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 424s Selecting previously unselected package libjpeg-turbo8-dev:s390x. 424s Preparing to unpack .../419-libjpeg-turbo8-dev_2.1.5-2ubuntu1_s390x.deb ... 424s Unpacking libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 424s Selecting previously unselected package libjpeg8-dev:s390x. 424s Preparing to unpack .../420-libjpeg8-dev_8c-2ubuntu11_s390x.deb ... 424s Unpacking libjpeg8-dev:s390x (8c-2ubuntu11) ... 424s Selecting previously unselected package libjpeg-dev:s390x. 424s Preparing to unpack .../421-libjpeg-dev_8c-2ubuntu11_s390x.deb ... 424s Unpacking libjpeg-dev:s390x (8c-2ubuntu11) ... 424s Selecting previously unselected package libaec-dev:s390x. 424s Preparing to unpack .../422-libaec-dev_1.1.2-1_s390x.deb ... 424s Unpacking libaec-dev:s390x (1.1.2-1) ... 424s Selecting previously unselected package libcurl4-openssl-dev:s390x. 424s Preparing to unpack .../423-libcurl4-openssl-dev_8.5.0-2ubuntu8_s390x.deb ... 424s Unpacking libcurl4-openssl-dev:s390x (8.5.0-2ubuntu8) ... 424s Selecting previously unselected package libssl-dev:s390x. 424s Preparing to unpack .../424-libssl-dev_3.0.13-0ubuntu2_s390x.deb ... 424s Unpacking libssl-dev:s390x (3.0.13-0ubuntu2) ... 424s Selecting previously unselected package hdf5-helpers. 424s Preparing to unpack .../425-hdf5-helpers_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 424s Selecting previously unselected package libhdf5-dev. 424s Preparing to unpack .../426-libhdf5-dev_1.10.10+repack-3.1ubuntu3_s390x.deb ... 424s Unpacking libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 425s Selecting previously unselected package xorg-sgml-doctools. 425s Preparing to unpack .../427-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 425s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 425s Selecting previously unselected package x11proto-dev. 425s Preparing to unpack .../428-x11proto-dev_2023.2-1_all.deb ... 425s Unpacking x11proto-dev (2023.2-1) ... 425s Selecting previously unselected package libxau-dev:s390x. 425s Preparing to unpack .../429-libxau-dev_1%3a1.0.9-1build5_s390x.deb ... 425s Unpacking libxau-dev:s390x (1:1.0.9-1build5) ... 425s Selecting previously unselected package libxdmcp-dev:s390x. 425s Preparing to unpack .../430-libxdmcp-dev_1%3a1.1.3-0ubuntu5_s390x.deb ... 425s Unpacking libxdmcp-dev:s390x (1:1.1.3-0ubuntu5) ... 425s Selecting previously unselected package xtrans-dev. 425s Preparing to unpack .../431-xtrans-dev_1.4.0-1_all.deb ... 425s Unpacking xtrans-dev (1.4.0-1) ... 425s Selecting previously unselected package libpthread-stubs0-dev:s390x. 425s Preparing to unpack .../432-libpthread-stubs0-dev_0.4-1build2_s390x.deb ... 425s Unpacking libpthread-stubs0-dev:s390x (0.4-1build2) ... 425s Selecting previously unselected package libxcb1-dev:s390x. 425s Preparing to unpack .../433-libxcb1-dev_1.15-1_s390x.deb ... 425s Unpacking libxcb1-dev:s390x (1.15-1) ... 425s Selecting previously unselected package libx11-dev:s390x. 425s Preparing to unpack .../434-libx11-dev_2%3a1.8.7-1_s390x.deb ... 425s Unpacking libx11-dev:s390x (2:1.8.7-1) ... 425s Selecting previously unselected package libglx-dev:s390x. 425s Preparing to unpack .../435-libglx-dev_1.7.0-1_s390x.deb ... 425s Unpacking libglx-dev:s390x (1.7.0-1) ... 425s Selecting previously unselected package libgl-dev:s390x. 425s Preparing to unpack .../436-libgl-dev_1.7.0-1_s390x.deb ... 425s Unpacking libgl-dev:s390x (1.7.0-1) ... 425s Selecting previously unselected package libblas-dev:s390x. 425s Preparing to unpack .../437-libblas-dev_3.12.0-3_s390x.deb ... 425s Unpacking libblas-dev:s390x (3.12.0-3) ... 425s Selecting previously unselected package liblapack-dev:s390x. 425s Preparing to unpack .../438-liblapack-dev_3.12.0-3_s390x.deb ... 425s Unpacking liblapack-dev:s390x (3.12.0-3) ... 425s Selecting previously unselected package libfftw3-bin. 425s Preparing to unpack .../439-libfftw3-bin_3.3.10-1ubuntu2_s390x.deb ... 425s Unpacking libfftw3-bin (3.3.10-1ubuntu2) ... 425s Selecting previously unselected package libfftw3-dev:s390x. 425s Preparing to unpack .../440-libfftw3-dev_3.3.10-1ubuntu2_s390x.deb ... 425s Unpacking libfftw3-dev:s390x (3.3.10-1ubuntu2) ... 426s Selecting previously unselected package libgfortran-13-dev:s390x. 426s Preparing to unpack .../441-libgfortran-13-dev_13.2.0-21ubuntu1_s390x.deb ... 426s Unpacking libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 426s Selecting previously unselected package gfortran-13-s390x-linux-gnu. 426s Preparing to unpack .../442-gfortran-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 426s Unpacking gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 426s Selecting previously unselected package gfortran-13. 426s Preparing to unpack .../443-gfortran-13_13.2.0-21ubuntu1_s390x.deb ... 426s Unpacking gfortran-13 (13.2.0-21ubuntu1) ... 426s Selecting previously unselected package gfortran-s390x-linux-gnu. 426s Preparing to unpack .../444-gfortran-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 426s Unpacking gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 426s Selecting previously unselected package gfortran. 426s Preparing to unpack .../445-gfortran_4%3a13.2.0-7ubuntu1_s390x.deb ... 426s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 426s Selecting previously unselected package libstdc++-13-dev:s390x. 426s Preparing to unpack .../446-libstdc++-13-dev_13.2.0-21ubuntu1_s390x.deb ... 426s Unpacking libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 427s Selecting previously unselected package g++-13-s390x-linux-gnu. 427s Preparing to unpack .../447-g++-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 427s Unpacking g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 427s Selecting previously unselected package g++-13. 427s Preparing to unpack .../448-g++-13_13.2.0-21ubuntu1_s390x.deb ... 427s Unpacking g++-13 (13.2.0-21ubuntu1) ... 427s Selecting previously unselected package g++-s390x-linux-gnu. 427s Preparing to unpack .../449-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 427s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 427s Selecting previously unselected package g++. 427s Preparing to unpack .../450-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 427s Unpacking g++ (4:13.2.0-7ubuntu1) ... 427s Selecting previously unselected package octave-dev. 427s Preparing to unpack .../451-octave-dev_8.4.0-1build4_s390x.deb ... 427s Unpacking octave-dev (8.4.0-1build4) ... 427s Selecting previously unselected package dh-octave. 427s Preparing to unpack .../452-dh-octave_1.8.0_all.deb ... 427s Unpacking dh-octave (1.8.0) ... 427s Selecting previously unselected package libfontenc1:s390x. 427s Preparing to unpack .../453-libfontenc1_1%3a1.1.8-1_s390x.deb ... 427s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 427s Selecting previously unselected package libxt6t64:s390x. 427s Preparing to unpack .../454-libxt6t64_1%3a1.2.1-1.2_s390x.deb ... 427s Unpacking libxt6t64:s390x (1:1.2.1-1.2) ... 427s Selecting previously unselected package libxmu6:s390x. 427s Preparing to unpack .../455-libxmu6_2%3a1.1.3-3build1_s390x.deb ... 427s Unpacking libxmu6:s390x (2:1.1.3-3build1) ... 427s Selecting previously unselected package libxaw7:s390x. 427s Preparing to unpack .../456-libxaw7_2%3a1.0.14-1build1_s390x.deb ... 427s Unpacking libxaw7:s390x (2:1.0.14-1build1) ... 427s Selecting previously unselected package libxfont2:s390x. 427s Preparing to unpack .../457-libxfont2_1%3a2.0.6-1_s390x.deb ... 427s Unpacking libxfont2:s390x (1:2.0.6-1) ... 427s Selecting previously unselected package libxkbfile1:s390x. 427s Preparing to unpack .../458-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 427s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 427s Selecting previously unselected package libxrandr2:s390x. 427s Preparing to unpack .../459-libxrandr2_2%3a1.5.2-2_s390x.deb ... 427s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 427s Selecting previously unselected package octave-io. 427s Preparing to unpack .../460-octave-io_2.6.4-3build1_s390x.deb ... 427s Unpacking octave-io (2.6.4-3build1) ... 428s Selecting previously unselected package octave-statistics. 428s Preparing to unpack .../461-octave-statistics_1.6.0-2ubuntu1_s390x.deb ... 428s Unpacking octave-statistics (1.6.0-2ubuntu1) ... 428s Selecting previously unselected package x11-xkb-utils. 428s Preparing to unpack .../462-x11-xkb-utils_7.7+8build1_s390x.deb ... 428s Unpacking x11-xkb-utils (7.7+8build1) ... 428s Selecting previously unselected package xserver-common. 428s Preparing to unpack .../463-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 428s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 428s Selecting previously unselected package xvfb. 428s Preparing to unpack .../464-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 428s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 428s Selecting previously unselected package autopkgtest-satdep. 428s Preparing to unpack .../465-1-autopkgtest-satdep.deb ... 428s Unpacking autopkgtest-satdep (0) ... 428s Setting up libapt-pkg-perl (0.1.40build5) ... 428s Setting up libhwy1t64:s390x (1.0.7-8.1) ... 428s Setting up libmodule-pluggable-perl (5.2-4) ... 428s Setting up libgraphite2-3:s390x (1.3.14-2) ... 428s Setting up libstring-escape-perl (2010.002-3) ... 428s Setting up libxcb-dri3-0:s390x (1.15-1) ... 428s Setting up liblcms2-2:s390x (2.14-2) ... 428s Setting up libberkeleydb-perl:s390x (0.64-2build2) ... 428s Setting up libpixman-1-0:s390x (0.42.2-1) ... 428s Setting up libwayland-server0:s390x (1.22.0-2.1) ... 428s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 428s Setting up libpciaccess0:s390x (0.17-3) ... 428s Setting up libfile-which-perl (1.27-2) ... 428s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 431s Regenerating fonts cache... done. 431s Setting up libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 431s Setting up libdouble-conversion3:s390x (3.3.0-1) ... 431s Setting up libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 431s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 431s Setting up libunicode-utf8-perl (0.62-2build2) ... 431s Setting up libset-intspan-perl (1.19-3) ... 431s Setting up libmpg123-0:s390x (1.32.5-1build1) ... 431s Setting up libxcb-xfixes0:s390x (1.15-1) ... 431s Setting up libogg0:s390x (1.3.5-3) ... 431s Setting up libmouse-perl (2.5.10-1build7) ... 431s Setting up libpod-pom-perl (2.01-4) ... 431s Setting up hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 431s Setting up libwmflite-0.2-7:s390x (0.2.13-1.1build2) ... 431s Setting up libregexp-pattern-perl (0.2.14-2) ... 431s Setting up libdata-messagepack-perl (1.02-1build3) ... 431s Setting up libxcb-xinput0:s390x (1.15-1) ... 431s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 431s Setting up libdynaloader-functions-perl (0.003-3) ... 431s Setting up libdatrie1:s390x (0.2.13-3) ... 431s Setting up libtext-glob-perl (0.11-3) ... 431s Setting up libclass-method-modifiers-perl (2.15-1) ... 431s Setting up liblist-compare-perl (0.55-2) ... 431s Setting up libxcb-render0:s390x (1.15-1) ... 431s Setting up libclone-perl:s390x (0.46-1build2) ... 431s Setting up libarchive-zip-perl (1.68-1) ... 431s Setting up libsub-identify-perl (0.14-3build2) ... 431s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 431s Setting up libcpanel-json-xs-perl:s390x (4.37-1build2) ... 431s Setting up libglvnd0:s390x (1.7.0-1) ... 431s Setting up libio-stringy-perl (2.111-3) ... 431s Setting up libscotch-7.0:s390x (7.0.4-1ubuntu1) ... 431s Setting up libhtml-tagset-perl (3.20-6) ... 431s Setting up liblog-any-perl (1.717-1) ... 431s Setting up libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 431s Setting up libyaml-pp-perl (0.38.0-1) ... 431s Setting up libxcb-glx0:s390x (1.15-1) ... 431s Setting up libdevel-size-perl (0.83-2build3) ... 431s Setting up unzip (6.0-28ubuntu3) ... 431s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 431s Setting up libregexp-pattern-license-perl (3.11.0-1) ... 431s Setting up libconvert-binhex-perl (1.125-3) ... 431s Setting up liblwp-mediatypes-perl (6.04-2) ... 431s Setting up libyaml-libyaml-perl (0.89+ds-1build1) ... 431s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 431s Setting up libio-interactive-perl (1.025-1) ... 431s Setting up libxcb-keysyms1:s390x (0.4.0-1build3) ... 431s Setting up libxcb-shape0:s390x (1.15-1) ... 431s Setting up x11-common (1:7.7+23ubuntu2) ... 431s Setting up libtry-tiny-perl (0.31-2) ... 431s Setting up libcxsparse4:s390x (1:7.6.1+dfsg-1) ... 431s Setting up perl-openssl-defaults:s390x (7build1) ... 431s Setting up libmldbm-perl (2.05-4) ... 431s Setting up libxml-namespacesupport-perl (1.12-2) ... 431s Setting up m4 (1.4.19-4) ... 431s Setting up libclone-choose-perl (0.010-2) ... 431s Setting up libqhull-r8.0:s390x (2020.2-6) ... 431s Setting up libxcb-render-util0:s390x (0.3.9-1build3) ... 431s Setting up libtime-moment-perl (0.44-2build3) ... 431s Setting up libencode-locale-perl (1.05-3) ... 431s Setting up libtrilinos-kokkos-13.2:s390x (13.2.0-5build1) ... 431s Setting up libmetis5:s390x (5.1.0.dfsg-7build2) ... 431s Setting up libxcb-shm0:s390x (1.15-1) ... 431s Setting up libxcb-icccm4:s390x (0.4.1-1.1build2) ... 431s Setting up texinfo-lib (7.1-3build1) ... 431s Setting up libreadline-dev:s390x (8.2-4) ... 431s Setting up libgomp1:s390x (14-20240315-1ubuntu1) ... 431s Setting up libconfig-tiny-perl (2.30-1) ... 431s Setting up libsereal-encoder-perl (5.004+ds-1build2) ... 431s Setting up liblist-utilsby-perl (0.12-2) ... 431s Setting up libyaml-tiny-perl (1.74-1) ... 431s Setting up libpthread-stubs0-dev:s390x (0.4-1build2) ... 431s Setting up octave-common (8.4.0-1build4) ... 431s Setting up libcairo2:s390x (1.18.0-1ubuntu1) ... 431s Setting up libregexp-common-perl (2017060201-3) ... 431s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 431s Setting up libaec0:s390x (1.1.2-1) ... 431s Setting up libnet-netmask-perl (2.0002-2) ... 431s Setting up libopengl0:s390x (1.7.0-1) ... 431s Setting up libsub-install-perl (0.929-1) ... 431s Setting up libxcb-util1:s390x (0.4.0-1build2) ... 431s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 431s Setting up libindirect-perl (0.39-2build3) ... 431s Setting up libxcb-xkb1:s390x (1.15-1) ... 431s Setting up libxcb-image0:s390x (0.4.0-2) ... 431s Setting up libxs-parse-sublike-perl:s390x (0.21-2build2) ... 431s Setting up libnumber-compare-perl (0.03-3) ... 431s Setting up libxnvctrl0:s390x (510.47.03-0ubuntu3) ... 431s Setting up libxcb-present0:s390x (1.15-1) ... 431s Setting up liberror-perl (0.17029-2) ... 431s Setting up libtrilinos-trilinosss-13.2:s390x (13.2.0-5build1) ... 431s Setting up libasound2-data (1.2.11-1build1) ... 431s Setting up patchutils (0.4.2-1build2) ... 431s Setting up tex-common (6.18) ... 431s update-language: texlive-base not installed and configured, doing nothing! 431s Setting up libbtf2:s390x (1:7.6.1+dfsg-1) ... 431s Setting up libjson-maybexs-perl (1.004005-1) ... 431s Setting up libxml-sax-base-perl (1.09-3) ... 431s Setting up libio-string-perl (1.08-4) ... 431s Setting up libboolean-perl (0.46-3) ... 431s Setting up libnetaddr-ip-perl (4.079+dfsg-2build3) ... 431s Setting up xtrans-dev (1.4.0-1) ... 431s Setting up libqt5core5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 431s Setting up libfontenc1:s390x (1:1.1.8-1) ... 431s Setting up autotools-dev (20220109.1) ... 431s Setting up libblas3:s390x (3.12.0-3) ... 431s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 431s Setting up libclass-data-inheritable-perl (0.08-3) ... 431s Setting up libxs-parse-keyword-perl (0.39-1build2) ... 431s Setting up libxcb-xinerama0:s390x (1.15-1) ... 431s Setting up libalgorithm-c3-perl (0.11-2) ... 431s Setting up libasound2t64:s390x (1.2.11-1build1) ... 431s Setting up libmunge2:s390x (0.5.15-4) ... 431s Setting up liblog-log4perl-perl (1.57-1) ... 431s Setting up libllvm17t64:s390x (1:17.0.6-9build2) ... 431s Setting up libtext-reform-perl (1.20-5) ... 431s Setting up libfile-find-rule-perl (0.34-3) ... 431s Setting up libxfixes3:s390x (1:6.0.0-2) ... 431s Setting up libcurl4-openssl-dev:s390x (8.5.0-2ubuntu8) ... 431s Setting up libxcb-sync1:s390x (1.15-1) ... 431s Setting up libipc-system-simple-perl (1.30-2) ... 431s Setting up libio-tiecombine-perl (1.005-3) ... 431s Setting up libnet-domain-tld-perl (1.75-3) ... 431s Setting up libperlio-utf8-strict-perl (0.010-1build2) ... 431s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 431s Setting up lzip (1.24.1-1) ... 431s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 431s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 431s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 431s Setting up libavahi-common-data:s390x (0.8-13ubuntu4) ... 431s Setting up libopus0:s390x (1.4-1) ... 431s Setting up t1utils (1.41-4build2) ... 431s Setting up libxinerama1:s390x (2:1.1.4-3) ... 431s Setting up diffstat (1.66-1) ... 431s Setting up libxkbcommon-x11-0:s390x (1.6.0-1) ... 431s Setting up libssl-dev:s390x (3.0.13-0ubuntu2) ... 431s Setting up libhwloc15:s390x (2.10.0-1) ... 431s Setting up libmpc3:s390x (1.3.1-1) ... 431s Setting up libatomic1:s390x (14-20240315-1ubuntu1) ... 431s Setting up libvorbis0a:s390x (1.3.7-1build2) ... 431s Setting up libvariable-magic-perl (0.63-1build2) ... 431s Setting up libio-html-perl (1.004-3) ... 431s Setting up libxrandr2:s390x (2:1.5.2-2) ... 431s Setting up libtext-template-perl (1.61-1) ... 431s Setting up libpod-parser-perl (1.67-1) ... 431s Setting up autopoint (0.21-14ubuntu1) ... 431s Setting up libb-hooks-op-check-perl:s390x (0.22-3) ... 431s Setting up liblist-moreutils-xs-perl (0.430-3build4) ... 431s Setting up libjxl0.7:s390x (0.7.0-10.2ubuntu4) ... 431s Setting up libltdl7:s390x (2.4.7-7) ... 431s Setting up libfftw3-double3:s390x (3.3.10-1ubuntu2) ... 431s Setting up libglapi-mesa:s390x (24.0.3-1ubuntu3) ... 431s Setting up libparams-util-perl (1.102-2build2) ... 431s Setting up libgfortran5:s390x (14-20240315-1ubuntu1) ... 431s Setting up libvulkan1:s390x (1.3.275.0-1) ... 431s Setting up libtime-duration-perl (1.21-2) ... 431s Setting up autoconf (2.71-3) ... 431s Setting up libtext-xslate-perl:s390x (3.5.9-1build4) ... 431s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 431s Setting up libarray-intspan-perl (2.004-2) ... 431s Setting up libcapture-tiny-perl (0.48-2) ... 431s Setting up libtimedate-perl (2.3300-2) ... 431s Setting up libexporter-lite-perl (0.09-2) ... 431s Setting up libubsan1:s390x (14-20240315-1ubuntu1) ... 431s Setting up libxcb-dri2-0:s390x (1.15-1) ... 431s Setting up libsub-name-perl:s390x (0.27-1build2) ... 431s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 431s Setting up libsyntax-keyword-try-perl (0.29-1build2) ... 431s Setting up dwz (0.15-1build5) ... 431s Setting up libdata-validate-domain-perl (0.10-1.1) ... 431s Setting up libproc-processtable-perl:s390x (0.636-1build2) ... 431s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 431s Setting up libdav1d7:s390x (1.4.1-1) ... 431s Setting up libmtdev1t64:s390x (1.1.6-1.1) ... 431s Setting up ocl-icd-libopencl1:s390x (2.3.2-1) ... 431s Setting up libxshmfence1:s390x (1.3-1build4) ... 431s Setting up libxcb-randr0:s390x (1.15-1) ... 431s Setting up libpath-tiny-perl (0.144-1) ... 431s Setting up libasan8:s390x (14-20240315-1ubuntu1) ... 431s Setting up lzop (1.04-2build2) ... 431s Setting up libjson-perl (4.10000-1) ... 431s Setting up liblog-any-adapter-screen-perl (0.140-2) ... 431s Setting up librole-tiny-perl (2.002004-1) ... 431s Setting up openmpi-common (4.1.6-7ubuntu1) ... 431s Setting up libqt5sql5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 431s Setting up debugedit (1:5.0-5build1) ... 431s Setting up libipc-run3-perl (0.049-1) ... 431s Setting up libmd4c0:s390x (0.4.8-1) ... 431s Setting up libregexp-wildcards-perl (1.05-3) ... 431s Setting up libmousex-strictconstructor-perl (0.02-3) ... 431s Setting up libsub-uplevel-perl (0.2800-3) ... 431s Setting up libsuitesparseconfig7:s390x (1:7.6.1+dfsg-1) ... 431s Setting up librdmacm1t64:s390x (50.0-2build1) ... 431s Setting up liblua5.4-0:s390x (5.4.6-3build1) ... 431s Setting up libsub-override-perl (0.10-1) ... 431s Setting up libaliased-perl (0.34-3) ... 431s Setting up libharfbuzz0b:s390x (8.3.0-2build1) ... 431s Setting up libthai-data (0.1.29-2) ... 431s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 431s Setting up libstrictures-perl (2.000006-1) ... 431s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 431s Setting up libdevel-stacktrace-perl (2.0500-1) ... 431s Setting up libclass-xsaccessor-perl (1.19-4build3) ... 431s Setting up libtext-autoformat-perl (1.750000-2) ... 431s Setting up libglu1-mesa:s390x (9.0.2-1.1) ... 431s Setting up libflac12t64:s390x (1.4.3+ds-2.1ubuntu1) ... 431s Setting up libtoml-tiny-perl (0.16-1) ... 431s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 431s Setting up libsort-versions-perl (1.62-3) ... 431s Setting up libexporter-tiny-perl (1.006002-1) ... 431s Setting up libterm-readkey-perl (2.38-2build3) ... 431s Setting up libjpeg8-dev:s390x (8c-2ubuntu11) ... 431s Setting up libisl23:s390x (0.26-3) ... 431s Setting up libtext-unidecode-perl (1.30-3) ... 431s Setting up libde265-0:s390x (1.0.15-1build1) ... 431s Setting up libfont-ttf-perl (1.06-2) ... 431s Setting up libfile-homedir-perl (1.006-2) ... 431s Setting up libsamplerate0:s390x (0.2.2-4) ... 431s Setting up libwebpmux3:s390x (1.3.2-0.4build2) ... 431s Setting up libtext-levenshteinxs-perl (0.03-5build3) ... 431s Setting up libperlio-gzip-perl (0.20-1build3) ... 431s Setting up libxfont2:s390x (1:2.0.6-1) ... 431s Setting up libhtml-html5-entities-perl (0.004-3) ... 431s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 431s Setting up libsereal-decoder-perl (5.004+ds-1build2) ... 431s Setting up libmarkdown2:s390x (2.2.7-2) ... 431s Setting up libcc1-0:s390x (14-20240315-1ubuntu1) ... 431s Setting up liburi-perl (5.27-1) ... 431s Setting up libnet-ipv6addr-perl (1.02-1) ... 431s Setting up libmp3lame0:s390x (3.100-6) ... 431s Setting up libblas-dev:s390x (3.12.0-3) ... 431s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so to provide /usr/lib/s390x-linux-gnu/libblas.so (libblas.so-s390x-linux-gnu) in auto mode 431s Setting up libsz2:s390x (1.1.2-1) ... 431s Setting up libitm1:s390x (14-20240315-1ubuntu1) ... 431s Setting up libvorbisenc2:s390x (1.3.7-1build2) ... 431s Setting up libevent-pthreads-2.1-7:s390x (2.1.12-stable-9build1) ... 431s Setting up libdata-validate-ip-perl (0.31-1) ... 431s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 431s Setting up libwacom-common (2.10.0-1build1) ... 431s Setting up libmousex-nativetraits-perl (1.09-3) ... 431s Setting up libemail-address-xs-perl (1.05-1build3) ... 431s Setting up libwayland-client0:s390x (1.22.0-2.1) ... 431s Setting up libnet-ssleay-perl:s390x (1.94-1build2) ... 431s Setting up automake (1:1.16.5-1.3ubuntu1) ... 431s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 431s Setting up x11proto-dev (2023.2-1) ... 431s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 431s Setting up libfabric1:s390x (1.17.0-3build1) ... 431s Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 431s Setting up libice6:s390x (2:1.0.10-1build2) ... 431s Setting up libhttp-date-perl (6.06-1) ... 431s Setting up liblapack3:s390x (3.12.0-3) ... 431s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 431s Setting up libxft2:s390x (2.3.6-1) ... 431s Setting up libqt5dbus5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 431s Setting up libfile-basedir-perl (0.09-2) ... 431s Setting up gettext (0.21-14ubuntu1) ... 431s Setting up libarpack2t64:s390x (3.9.1-1.1build1) ... 431s Setting up libfftw3-single3:s390x (3.3.10-1ubuntu2) ... 431s Setting up libamd3:s390x (1:7.6.1+dfsg-1) ... 431s Setting up libfile-listing-perl (6.16-1) ... 431s Setting up libxau-dev:s390x (1:1.0.9-1build5) ... 431s Setting up libgbm1:s390x (24.0.3-1ubuntu3) ... 431s Setting up libcolamd3:s390x (1:7.6.1+dfsg-1) ... 431s Setting up libwacom9:s390x (2.10.0-1build1) ... 431s Setting up liblist-moreutils-perl (0.430-2) ... 431s Setting up libxcursor1:s390x (1:1.2.1-1) ... 431s Setting up libpod-constants-perl (0.19-2) ... 431s Setting up libgl1-mesa-dri:s390x (24.0.3-1ubuntu3) ... 431s Setting up libqt5network5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 431s Setting up libhash-merge-perl (0.302-1) ... 431s Setting up libsoftware-copyright-perl (0.012-2) ... 431s Setting up libaec-dev:s390x (1.1.2-1) ... 431s Setting up libavahi-common3:s390x (0.8-13ubuntu4) ... 431s Setting up libjpeg-dev:s390x (8c-2ubuntu11) ... 431s Setting up libfftw3-long3:s390x (3.3.10-1ubuntu2) ... 431s Setting up libnet-http-perl (6.23-1) ... 431s Setting up libpath-iterator-rule-perl (1.015-2) ... 431s Setting up libtext-markdown-discount-perl (0.16-1build2) ... 431s Setting up libqt5xml5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 431s Setting up libexception-class-perl (1.45-1) ... 431s Setting up libsundials-sunmatrix4:s390x (6.4.1+dfsg1-3build3) ... 431s Setting up libclass-c3-perl (0.35-2) ... 431s Setting up libsuperlu6:s390x (6.0.1+dfsg1-1) ... 431s Setting up libhwloc-plugins:s390x (2.10.0-1) ... 431s Setting up libqrupdate1:s390x (1.1.2-4) ... 431s Setting up libdevel-callchecker-perl:s390x (0.008-2build2) ... 431s Setting up libxml-sax-perl (1.02+dfsg-3) ... 431s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 432s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 432s 432s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 432s Setting up libsundials-ida6:s390x (6.4.1+dfsg1-3build3) ... 432s Setting up libcamd3:s390x (1:7.6.1+dfsg-1) ... 432s Setting up libinput-bin (1.25.0-1ubuntu1) ... 432s Setting up intltool-debian (0.35.0+20060710.6) ... 432s Setting up libobject-pad-perl (0.808-1build2) ... 432s Setting up libthai0:s390x (0.1.29-2) ... 432s Setting up libxdmcp-dev:s390x (1:1.1.3-0ubuntu5) ... 432s Setting up libegl-mesa0:s390x (24.0.3-1ubuntu3) ... 432s Setting up libdata-validate-uri-perl (0.07-3) ... 432s Setting up cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 432s Setting up libtest-exception-perl (0.43-3) ... 432s Setting up libglpk40:s390x (5.0-1build1) ... 432s Setting up libstring-copyright-perl (0.003014-1) ... 432s Setting up liblapack-dev:s390x (3.12.0-3) ... 432s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so to provide /usr/lib/s390x-linux-gnu/liblapack.so (liblapack.so-s390x-linux-gnu) in auto mode 432s Setting up libdata-optlist-perl (0.114-1) ... 432s Setting up libpmix2t64:s390x (5.0.1-4.1) ... 432s Setting up libopenmpi3t64:s390x (4.1.6-7ubuntu1) ... 432s Setting up libccolamd3:s390x (1:7.6.1+dfsg-1) ... 432s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 432s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 432s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 432s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 433s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 433s Setting up dh-strip-nondeterminism (1.13.1-1) ... 433s Setting up libwww-robotrules-perl (6.02-1) ... 433s Setting up libjack-jackd2-0:s390x (1.9.21~dfsg-3ubuntu1) ... 433s Setting up libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 433s Setting up libhtml-parser-perl:s390x (3.81-1build2) ... 433s Setting up libegl1:s390x (1.7.0-1) ... 433s Setting up libsndfile1:s390x (1.2.2-1ubuntu3) ... 433s Setting up libmro-compat-perl (0.15-2) ... 433s Setting up libhdf5-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 433s Setting up libsm6:s390x (2:1.2.3-1build2) ... 433s Setting up libfltk1.3t64:s390x (1.3.8-6.1build1) ... 433s Setting up libavahi-client3:s390x (0.8-13ubuntu4) ... 433s Setting up libio-socket-ssl-perl (2.085-1) ... 433s Setting up openmpi-bin (4.1.6-7ubuntu1) ... 433s update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode 433s update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode 433s Setting up libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 433s Setting up libsub-exporter-perl (0.990-1) ... 433s Setting up libhttp-message-perl (6.45-1ubuntu1) ... 433s Setting up libhtml-form-perl (6.11-1) ... 433s Setting up libiterator-perl (0.03+ds1-2) ... 433s Setting up libinput10:s390x (1.25.0-1ubuntu1) ... 433s Setting up libhdf5-hl-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libportaudio2:s390x (19.6.0-1.2build1) ... 433s Setting up libhttp-negotiate-perl (6.01-2) ... 433s Setting up libcarp-assert-more-perl (2.3.0-1) ... 433s Setting up libcholmod5:s390x (1:7.6.1+dfsg-1) ... 433s Setting up libptscotch-7.0:s390x (7.0.4-1ubuntu1) ... 433s Setting up libglx-mesa0:s390x (24.0.3-1ubuntu3) ... 433s Setting up libxcb1-dev:s390x (1.15-1) ... 433s Setting up libiterator-util-perl (0.02+ds1-2) ... 433s Setting up libglx0:s390x (1.7.0-1) ... 433s Setting up cpp-13 (13.2.0-21ubuntu1) ... 433s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libhttp-cookies-perl (6.11-1) ... 433s Setting up libspqr4:s390x (1:7.6.1+dfsg-1) ... 433s Setting up libfftw3-bin (3.3.10-1ubuntu2) ... 433s Setting up po-debconf (1.0.21+nmu1) ... 433s Setting up libhtml-tree-perl (5.07-3) ... 433s Setting up libparams-classify-perl:s390x (0.015-2build4) ... 433s Setting up libpango-1.0-0:s390x (1.52.1+ds-1) ... 433s Setting up libhdf5-cpp-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libcgi-pm-perl (4.63-1) ... 433s Setting up mpi-default-bin (1.15) ... 433s Setting up libx11-dev:s390x (2:1.8.7-1) ... 433s Setting up libhdf5-fortran-102t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libcombblas2.0.0t64:s390x (2.0.0-3.1build1) ... 433s Setting up libfftw3-mpi3:s390x (3.3.10-1ubuntu2) ... 433s Setting up libtrilinos-zoltan-13.2:s390x (13.2.0-5build1) ... 433s Setting up libhdf5-openmpi-103-1t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libtrilinos-teuchos-13.2:s390x (13.2.0-5build1) ... 433s Setting up libgl1:s390x (1.7.0-1) ... 433s Setting up gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 433s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libnet-smtp-ssl-perl (1.04-2) ... 433s Setting up libmodule-runtime-perl (0.016-2) ... 433s Setting up libmailtools-perl (2.21-2) ... 433s Setting up libklu2:s390x (1:7.6.1+dfsg-1) ... 433s Setting up g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 433s Setting up libtrilinos-epetra-13.2:s390x (13.2.0-5build1) ... 433s Setting up libconfig-model-perl (2.153-3) ... 433s Setting up libxt6t64:s390x (1:1.2.1-1.2) ... 433s Setting up gcc-13 (13.2.0-21ubuntu1) ... 433s Setting up texinfo (7.1-3build1) ... 433s Setting up libumfpack6:s390x (1:7.6.1+dfsg-1) ... 433s Setting up libconst-fast-perl (0.014-2) ... 433s Setting up libtrilinos-aztecoo-13.2:s390x (13.2.0-5build1) ... 433s Setting up cpp (4:13.2.0-7ubuntu1) ... 433s Setting up gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 433s Setting up libdata-section-perl (0.200008-1) ... 433s Setting up libglx-dev:s390x (1.7.0-1) ... 433s Setting up libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 433s Setting up libdata-dpath-perl (0.59-1) ... 433s Setting up libhdf5-hl-cpp-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up libfftw3-dev:s390x (3.3.10-1ubuntu2) ... 433s Setting up libcups2t64:s390x (2.4.7-1.2ubuntu2) ... 433s Setting up libgl-dev:s390x (1.7.0-1) ... 433s Setting up libtrilinos-triutils-13.2:s390x (13.2.0-5build1) ... 433s Setting up libstring-rewriteprefix-perl (0.009-1) ... 433s Setting up libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 433s Setting up libscalapack-openmpi2.2:s390x (2.2.1-3build1) ... 433s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 433s Setting up g++-13 (13.2.0-21ubuntu1) ... 433s Setting up libxmu6:s390x (2:1.1.3-3build1) ... 433s Setting up gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libtool (2.4.7-7) ... 433s Setting up libmodule-implementation-perl (0.09-2) ... 433s Setting up libsuperlu-dist8:s390x (8.2.1+dfsg1-1build1) ... 433s Setting up libpackage-stash-perl (0.40-1) ... 433s Setting up libimport-into-perl (1.002005-2) ... 433s Setting up libmoo-perl (2.005005-1) ... 433s Setting up libhdf5-hl-fortran-100t64:s390x (1.10.10+repack-3.1ubuntu3) ... 433s Setting up liblist-someutils-perl (0.59-1) ... 433s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 433s Setting up libxaw7:s390x (2:1.0.14-1build1) ... 433s Setting up libmime-tools-perl (5.514-1) ... 433s Setting up libsoftware-license-perl (0.104006-1) ... 433s Setting up libclass-load-perl (0.25-2) ... 433s Setting up gcc (4:13.2.0-7ubuntu1) ... 433s Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... 433s Setting up dh-autoreconf (20) ... 433s Setting up libfltk-gl1.3t64:s390x (1.3.8-6.1build1) ... 433s Setting up libqt5gui5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 433s Setting up gfortran-13 (13.2.0-21ubuntu1) ... 433s Setting up libmumps-5.6t64:s390x (5.6.2-2.1build1) ... 433s Setting up libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 433s update-alternatives: using /usr/lib/s390x-linux-gnu/pkgconfig/hdf5-serial.pc to provide /usr/lib/s390x-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 433s Setting up libhypre-2.28.0:s390x (2.28.0-8build1) ... 433s Setting up libtrilinos-epetraext-13.2:s390x (13.2.0-5build1) ... 433s Setting up libtrilinos-galeri-13.2:s390x (13.2.0-5build1) ... 433s Setting up g++ (4:13.2.0-7ubuntu1) ... 433s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 433s Setting up libtrilinos-amesos-13.2:s390x (13.2.0-5build1) ... 433s Setting up gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 433s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 433s Setting up libmoox-aliases-perl (0.001006-2) ... 433s Setting up libparams-validate-perl:s390x (1.31-2build2) ... 433s Setting up libb-hooks-endofscope-perl (0.28-1) ... 433s Setting up libqt5widgets5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 433s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 433s Setting up x11-xkb-utils (7.7+8build1) ... 433s Setting up debhelper (13.14.1ubuntu5) ... 433s Setting up libqt5help5:s390x (5.15.12-2build2) ... 433s Setting up gfortran (4:13.2.0-7ubuntu1) ... 433s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 433s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 433s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 433s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 433s Setting up dh-octave-autopkgtest (1.8.0) ... 433s Setting up libtrilinos-ifpack-13.2:s390x (13.2.0-5build1) ... 433s Setting up libnamespace-clean-perl (0.27-2) ... 433s Setting up libstring-license-perl (0.0.9-2ubuntu1) ... 433s Setting up libgetopt-long-descriptive-perl (0.111-1) ... 433s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 433s Setting up licensecheck (3.3.9-1ubuntu1) ... 433s Setting up libqt5printsupport5t64:s390x (5.15.12+dfsg-3ubuntu6) ... 433s Setting up libtrilinos-ml-13.2:s390x (13.2.0-5build1) ... 433s Setting up libapp-cmd-perl (0.336-1) ... 433s Setting up xvfb (2:21.1.11-2ubuntu1) ... 433s Setting up libqscintilla2-qt5-15:s390x (2.14.1+dfsg-1build2) ... 433s Setting up cme (1.040-1) ... 433s Setting up libpetsc-real3.19t64:s390x (3.19.6+dfsg1-2.2ubuntu1) ... 433s update-alternatives: using /usr/lib/s390x-linux-gnu/libpetsc_real.so.3.19.6 to provide /usr/lib/s390x-linux-gnu/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode 433s Setting up libsundials-nvecparallel-petsc6:s390x (6.4.1+dfsg1-3build3) ... 433s Setting up libsundials-sunlinsol3:s390x (6.4.1+dfsg1-3build3) ... 433s Setting up libheif-plugin-dav1d:s390x (1.17.6-1ubuntu2) ... 433s Setting up liblwp-protocol-https-perl (6.13-1) ... 433s Setting up libheif-plugin-libde265:s390x (1.17.6-1ubuntu2) ... 433s Setting up libwww-perl (6.76-1) ... 433s Setting up libheif1:s390x (1.17.6-1ubuntu2) ... 433s Setting up libparse-debcontrol-perl (2.005-6) ... 433s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 433s Setting up libwww-mechanize-perl (2.18-1ubuntu1) ... 433s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 433s Setting up lintian (2.117.0ubuntu1) ... 433s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 433s Setting up libconfig-model-dpkg-perl (3.004) ... 433s Setting up octave (8.4.0-1build4) ... 433s Setting up octave-dev (8.4.0-1build4) ... 433s Setting up octave-io (2.6.4-3build1) ... 433s Setting up octave-statistics (1.6.0-2ubuntu1) ... 433s Setting up dh-octave (1.8.0) ... 433s Setting up autopkgtest-satdep (0) ... 433s Processing triggers for libc-bin (2.39-0ubuntu6) ... 433s Processing triggers for man-db (2.12.0-3build4) ... 436s Processing triggers for udev (255.4-1ubuntu5) ... 437s Processing triggers for install-info (7.1-3build1) ... 456s (Reading database ... 97699 files and directories currently installed.) 456s Removing autopkgtest-satdep (0) ... 456s autopkgtest [20:46:36]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 456s autopkgtest [20:46:36]: test command1: [----------------------- 457s Checking package... 460s Run the unit tests... 460s Checking m files ... 460s warning: function /usr/share/octave/packages/statistics-1.6.0/shadow9/mean.m shadows a core library function 460s warning: called from 460s /usr/share/octave/packages/statistics-1.6.0/PKG_ADD at line 13 column 3 460s load_packages_and_dependencies at line 56 column 5 460s load_packages at line 53 column 3 460s pkg at line 639 column 7 460s /tmp/tmp.CA8h9c0vqy at line 12 column 1 460s 460s warning: function /usr/share/octave/packages/statistics-1.6.0/shadow9/var.m shadows a core library function 460s warning: called from 460s /usr/share/octave/packages/statistics-1.6.0/PKG_ADD at line 13 column 3 460s load_packages_and_dependencies at line 56 column 5 460s load_packages at line 53 column 3 460s pkg at line 639 column 7 460s /tmp/tmp.CA8h9c0vqy at line 12 column 1 460s 460s warning: function /usr/share/octave/packages/statistics-1.6.0/shadow9/std.m shadows a core library function 460s warning: called from 460s /usr/share/octave/packages/statistics-1.6.0/PKG_ADD at line 13 column 3 460s load_packages_and_dependencies at line 56 column 5 460s load_packages at line 53 column 3 460s pkg at line 639 column 7 460s /tmp/tmp.CA8h9c0vqy at line 12 column 1 460s 460s warning: function /usr/share/octave/packages/statistics-1.6.0/shadow9/median.m shadows a core library function 460s warning: called from 460s /usr/share/octave/packages/statistics-1.6.0/PKG_ADD at line 13 column 3 460s load_packages_and_dependencies at line 56 column 5 460s load_packages at line 53 column 3 460s pkg at line 639 column 7 460s /tmp/tmp.CA8h9c0vqy at line 12 column 1 460s 460s warning: function /usr/share/octave/packages/statistics-1.6.0/shadow9/mad.m shadows a core library function 460s warning: called from 460s /usr/share/octave/packages/statistics-1.6.0/PKG_ADD at line 13 column 3 460s load_packages_and_dependencies at line 56 column 5 460s load_packages at line 53 column 3 460s pkg at line 639 column 7 460s /tmp/tmp.CA8h9c0vqy at line 12 column 1 460s 460s [inst/ridge.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ridge.m 460s ***** demo 460s ## Perform ridge regression for a range of ridge parameters and observe 460s ## how the coefficient estimates change based on the acetylene dataset. 460s 460s load acetylene 460s 460s X = [x1, x2, x3]; 460s 460s x0 = ones (16, 1); 460s x1x2 = x1 .* x2; 460s x1x3 = x1 .* x3; 460s x2x3 = x2 .* x3; 460s 460s D = [x1, x2, x3, x1x2, x1x3, x2x3]; 460s 460s k = 0:1e-5:5e-3; 460s 460s b = ridge (y, D, k); 460s 460s figure 460s plot (k, b, "LineWidth", 2) 460s ylim ([-100, 100]) 460s grid on 460s xlabel ("Ridge Parameter") 460s ylabel ("Standardized Coefficient") 460s title ("Ridge Trace") 460s legend ("x1", "x2", "x3", "x1x2", "x1x3", "x2x3") 460s ***** test 460s b = ridge ([1 2 3 4]', [1 2 3 4; 2 3 4 5]', 1); 460s assert (b, [0.5533; 0.5533], 1e-4); 460s ***** test 460s b = ridge ([1 2 3 4]', [1 2 3 4; 2 3 4 5]', 2); 460s assert (b, [0.4841; 0.4841], 1e-4); 460s ***** error ridge (1) 460s ***** error ridge (1, 2) 460s ***** error ridge (ones (3), ones (3), 2) 460s ***** error ridge ([1, 2], ones (2), 2) 460s ***** error ridge ([], ones (3), 2) 460s ***** error ridge (ones (5,1), [], 2) 460s ***** error ... 460s ridge ([1; 2; 3; 4; 5], ones (3), 3) 460s ***** error ... 460s ridge ([1; 2; 3], ones (3), 3, 2) 460s ***** error ... 460s ridge ([1; 2; 3], ones (3), 3, "some") 460s 11 tests, 11 passed, 0 known failure, 0 skipped 460s [inst/gscatter.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/gscatter.m 460s ***** demo 460s load fisheriris; 460s X = meas(:,3:4); 460s cidcs = kmeans (X, 3, "Replicates", 5); 460s gscatter (X(:,1), X(:,2), cidcs, [.75 .75 0; 0 .75 .75; .75 0 .75], "os^"); 460s title ("Fisher's iris data"); 460s ***** error gscatter(); 460s ***** error gscatter([1]); 460s ***** error gscatter([1], [2]); 460s ***** error gscatter('abc', [1 2 3], [1]); 460s ***** error gscatter([1 2 3], [1 2], [1]); 460s ***** error gscatter([1 2 3], 'abc', [1]); 460s ***** error gscatter([1 2], [1 2], [1]); 460s ***** error gscatter([1 2], [1 2], [1 2], 'rb', 'so', 12, 'xxx'); 460s ***** shared visibility_setting 460s visibility_setting = get (0, "DefaultFigureVisible"); 460s ***** test 460s set (0, "DefaultFigureVisible", "off"); 460s load fisheriris; 460s X = meas(:,3:4); 460s cidcs = kmeans (X, 3, "Replicates", 5); 460s gscatter (X(:,1), X(:,2), cidcs, [.75 .75 0; 0 .75 .75; .75 0 .75], "os^"); 460s title ("Fisher's iris data"); 460s set (0, "DefaultFigureVisible", visibility_setting); 460s warning: using the gnuplot graphics toolkit is discouraged 460s 460s The gnuplot graphics toolkit is not actively maintained and has a number 460s of limitations that are unlikely to be fixed. Communication with gnuplot 460s uses a one-directional pipe and limited information is passed back to the 460s Octave interpreter so most changes made interactively in the plot window 460s will not be reflected in the graphics properties managed by Octave. For 460s example, if the plot window is closed with a mouse click, Octave will not 460s be notified and will not update its internal list of open figure windows. 460s The qt toolkit is recommended instead. 460s warning: legend: 'best' not yet implemented for location specifier, using 'northeast' instead 460s 9 tests, 9 passed, 0 known failure, 0 skipped 460s [inst/vartest.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/vartest.m 460s ***** error vartest (); 460s ***** error vartest ([1, 2, 3, 4], -0.5); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 0); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 1.2); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", "val"); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "tail", "val"); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 0.01, "tail", "val"); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "dim", 3); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 0.01, "tail", "both", "dim", 3); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 0.01, "tail", "both", "badoption", 3); 460s ***** error ... 460s vartest ([1, 2, 3, 4], 1, "alpha", 0.01, "tail"); 460s ***** test 460s load carsmall 460s [h, pval, ci] = vartest (MPG, 7^2); 460s assert (h, 1); 460s assert (pval, 0.04335086742174443, 1e-14); 460s assert (ci, [49.397; 88.039], 1e-3); 460s 12 tests, 12 passed, 0 known failure, 0 skipped 460s [inst/cophenet.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cophenet.m 460s ***** demo 460s randn ("seed", 5) # for reproducibility 460s X = randn (10,2); 460s y = pdist (X); 460s Z = linkage (y, "average"); 460s cophenet (Z, y) 460s ***** error cophenet () 460s ***** error cophenet (1) 460s ***** error ... 460s cophenet (ones (2,2), 1) 460s ***** error ... 460s cophenet ([1 2 1], "a") 460s ***** error ... 460s cophenet ([1 2 1], [1 2]) 460s 5 tests, 5 passed, 0 known failure, 0 skipped 460s [inst/fitgmdist.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/fitgmdist.m 460s ***** demo 460s ## Generate a two-cluster problem 460s C1 = randn (100, 2) + 2; 460s C2 = randn (100, 2) - 2; 460s data = [C1; C2]; 460s 460s ## Perform clustering 460s GMModel = fitgmdist (data, 2); 460s 460s ## Plot the result 460s figure 460s [heights, bins] = hist3([C1; C2]); 460s [xx, yy] = meshgrid(bins{1}, bins{2}); 460s bbins = [xx(:), yy(:)]; 460s contour (reshape (GMModel.pdf (bbins), size (heights))); 460s ***** demo 460s Angle_Theta = [ 30 + 10 * randn(1, 10), 60 + 10 * randn(1, 10) ]'; 460s nbOrientations = 2; 460s initial_orientations = [38.0; 18.0]; 460s initial_weights = ones (1, nbOrientations) / nbOrientations; 460s initial_Sigma = 10 * ones (1, 1, nbOrientations); 460s start = struct ("mu", initial_orientations, "Sigma", initial_Sigma, ... 460s "ComponentProportion", initial_weights); 460s GMModel_Theta = fitgmdist (Angle_Theta, nbOrientations, "Start", start , ... 460s "RegularizationValue", 0.0001) 460s ***** test 460s load fisheriris 460s classes = unique (species); 460s [~, score] = pca (meas, "NumComponents", 2); 460s options.MaxIter = 1000; 460s options.TolFun = 1e-6; 460s options.Display = "off"; 460s GMModel = fitgmdist (score, 2, "Options", options); 460s assert (isa (GMModel, "gmdistribution"), true); 460s assert (GMModel.mu, [1.3212, -0.0954; -2.6424, 0.1909], 1e-4); 460s 1 test, 1 passed, 0 known failure, 0 skipped 460s [inst/nanmin.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/nanmin.m 460s ***** assert (nanmin ([2 4 NaN 7]), 2) 460s ***** assert (nanmin ([2 4 NaN Inf]), 2) 460s ***** assert (nanmin ([1 NaN 3; NaN 5 6; 7 8 NaN]), [1, 5, 3]) 460s ***** assert (nanmin ([1 NaN 3; NaN 5 6; 7 8 NaN]'), [1, 5, 7]) 460s ***** assert (nanmin (single ([1 NaN 3; NaN 5 6; 7 8 NaN])), single ([1 5 3])) 460s 5 tests, 5 passed, 0 known failure, 0 skipped 460s [inst/combnk.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/combnk.m 460s ***** demo 460s c = combnk (1:5, 2); 460s disp ("All pairs of integers between 1 and 5:"); 460s disp (c); 460s ***** test 460s c = combnk (1:3, 2); 460s assert (c, [1, 2; 1, 3; 2, 3]); 460s ***** test 460s c = combnk (1:3, 6); 460s assert (isempty (c)); 460s ***** test 460s c = combnk ({1, 2, 3}, 2); 460s assert (c, {1, 2; 1, 3; 2, 3}); 460s ***** test 460s c = combnk ("hello", 2); 460s assert (c, ["lo"; "lo"; "ll"; "eo"; "el"; "el"; "ho"; "hl"; "hl"; "he"]); 460s 4 tests, 4 passed, 0 known failure, 0 skipped 460s [inst/x2fx.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/x2fx.m 460s ***** test 460s X = [1, 10; 2, 20; 3, 10; 4, 20; 5, 15; 6, 15]; 460s D = x2fx(X,'quadratic'); 460s assert (D(1,:) , [1, 1, 10, 10, 1, 100]); 460s assert (D(2,:) , [1, 2, 20, 40, 4, 400]); 460s ***** test 460s X = [1, 10; 2, 20; 3, 10; 4, 20; 5, 15; 6, 15]; 460s model = [0, 0; 1, 0; 0, 1; 1, 1; 2, 0]; 460s D = x2fx(X,model); 460s assert (D(1,:) , [1, 1, 10, 10, 1]); 460s assert (D(2,:) , [1, 2, 20, 40, 4]); 460s assert (D(4,:) , [1, 4, 20, 80, 16]); 460s ***** error x2fx ([1, 10; 2, 20; 3, 10], [0; 1]); 460s ***** error x2fx ([1, 10, 15; 2, 20, 40; 3, 10, 25], [0, 0; 1, 0; 0, 1; 1, 1; 2, 0]); 460s ***** error x2fx ([1, 10; 2, 20; 3, 10], "whatever"); 460s 5 tests, 5 passed, 0 known failure, 0 skipped 460s [inst/ttest.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ttest.m 460s ***** test 460s x = 8:0.1:12; 460s [h, pval, ci] = ttest (x, 10); 460s assert (h, 0) 460s assert (pval, 1, 10*eps) 460s assert (ci, [9.6219 10.3781], 1E-5) 460s [h, pval, ci0] = ttest (x, 0); 460s assert (h, 1) 460s assert (pval, 0) 460s assert (ci0, ci, 2e-15) 460s [h, pval, ci] = ttest (x, 10, "tail", "right", "dim", 2, "alpha", 0.05); 460s assert (h, 0) 460s assert (pval, 0.5, 10*eps) 460s assert (ci, [9.68498 Inf], 1E-5) 460s ***** error ttest ([8:0.1:12], 10, "tail", "invalid"); 460s ***** error ttest ([8:0.1:12], 10, "tail", 25); 460s 3 tests, 3 passed, 0 known failure, 0 skipped 460s [inst/hotelling_t2test.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hotelling_t2test.m 460s ***** error hotelling_t2test (); 460s ***** error ... 460s hotelling_t2test (1); 460s ***** error ... 460s hotelling_t2test (ones(2,2,2)); 460s ***** error ... 460s hotelling_t2test (ones(20,2), [0, 0], "alpha", 1); 460s ***** error ... 460s hotelling_t2test (ones(20,2), [0, 0], "alpha", -0.2); 460s ***** error ... 460s hotelling_t2test (ones(20,2), [0, 0], "alpha", "a"); 460s ***** error ... 460s hotelling_t2test (ones(20,2), [0, 0], "alpha", [0.01, 0.05]); 460s ***** error ... 460s hotelling_t2test (ones(20,2), [0, 0], "name", 0.01); 460s ***** error ... 460s hotelling_t2test (ones(20,1), [0, 0]); 460s ***** error ... 460s hotelling_t2test (ones(4,5), [0, 0, 0, 0, 0]); 460s ***** error ... 460s hotelling_t2test (ones(20,5), [0, 0, 0, 0]); 460s ***** test 460s randn ("seed", 1); 460s x = randn (50000, 5); 460s [h, pval, stats] = hotelling_t2test (x); 460s assert (h, 0); 460s assert (stats.df1, 5); 460s assert (stats.df2, 49995); 460s ***** test 460s randn ("seed", 1); 460s x = randn (50000, 5); 460s [h, pval, stats] = hotelling_t2test (x, ones (1, 5) * 10); 460s assert (h, 1); 460s assert (stats.df1, 5); 460s assert (stats.df2, 49995); 460s 13 tests, 13 passed, 0 known failure, 0 skipped 460s [inst/plsregress.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/plsregress.m 460s ***** demo 460s ## Perform Partial Least-Squares Regression 460s 460s ## Load the spectra data set and use the near infrared (NIR) spectral 460s ## intensities (NIR) as the predictor and the corresponding octave 460s ## ratings (octave) as the response. 460s load spectra 460s 460s ## Perform PLS regression with 10 components 460s [xload, yload, xscore, yscore, coef, ptcVar] = plsregress (NIR, octane, 10); 460s 460s ## Plot the percentage of explained variance in the response variable 460s ## (PCTVAR) as a function of the number of components. 460s plot (1:10, cumsum (100 * ptcVar(2,:)), "-ro"); 460s xlim ([1, 10]); 460s xlabel ("Number of PLS components"); 460s ylabel ("Percentage of Explained Variance in octane"); 460s title ("Explained Variance per PLS components"); 460s 460s ## Compute the fitted response and display the residuals. 460s octane_fitted = [ones(size(NIR,1),1), NIR] * coef; 460s residuals = octane - octane_fitted; 460s figure 460s stem (residuals, "color", "r", "markersize", 4, "markeredgecolor", "r") 460s xlabel ("Observations"); 460s ylabel ("Residuals"); 460s title ("Residuals in octane's fitted responce"); 460s ***** demo 460s ## Calculate Variable Importance in Projection (VIP) for PLS Regression 460s 460s ## Load the spectra data set and use the near infrared (NIR) spectral 460s ## intensities (NIR) as the predictor and the corresponding octave 460s ## ratings (octave) as the response. Variables with a VIP score greater than 460s ## 1 are considered important for the projection of the PLS regression model. 460s load spectra 460s 460s ## Perform PLS regression with 10 components 460s [xload, yload, xscore, yscore, coef, pctVar, mse, stats] = ... 460s plsregress (NIR, octane, 10); 460s 460s ## Calculate the normalized PLS weights 460s W0 = stats.W ./ sqrt(sum(stats.W.^2,1)); 460s 460s ## Calculate the VIP scores for 10 components 460s nobs = size (xload, 1); 460s SS = sum (xscore .^ 2, 1) .* sum (yload .^ 2, 1); 460s VIPscore = sqrt (nobs * sum (SS .* (W0 .^ 2), 2) ./ sum (SS, 2)); 460s 460s ## Find variables with a VIP score greater than or equal to 1 460s VIPidx = find (VIPscore >= 1); 460s 460s ## Plot the VIP scores 460s scatter (1:length (VIPscore), VIPscore, "xb"); 460s hold on 460s scatter (VIPidx, VIPscore (VIPidx), "xr"); 460s plot ([1, length(VIPscore)], [1, 1], "--k"); 460s hold off 460s axis ("tight"); 460s xlabel ("Predictor Variables"); 460s ylabel ("VIP scores"); 460s title ("VIP scores for each predictror variable with 10 components"); 460s ***** test 460s load spectra 460s [xload, yload, xscore, yscore, coef, pctVar] = plsregress (NIR, octane, 10); 460s xload1_out = [-0.0170, 0.0039, 0.0095, 0.0258, 0.0025, ... 460s -0.0075, 0.0000, 0.0018, -0.0027, 0.0020]; 460s yload_out = [6.6384, 9.3106, 2.0505, 0.6471, 0.9625, ... 460s 0.5905, 0.4244, 0.2437, 0.3516, 0.2548]; 460s xscore1_out = [-0.0401, -0.1764, -0.0340, 0.1669, 0.1041, ... 460s -0.2067, 0.0457, 0.1565, 0.0706, -0.1471]; 460s yscore1_out = [-12.4635, -15.0003, 0.0638, 0.0652, -0.0070, ... 460s -0.0634, 0.0062, -0.0012, -0.0151, -0.0173]; 460s assert (xload(1,:), xload1_out, 1e-4); 460s assert (yload, yload_out, 1e-4); 460s assert (xscore(1,:), xscore1_out, 1e-4); 460s assert (yscore(1,:), yscore1_out, 1e-4); 460s ***** test 460s load spectra 460s [xload, yload, xscore, yscore, coef, pctVar] = plsregress (NIR, octane, 5); 460s xload1_out = [-0.0170, 0.0039, 0.0095, 0.0258, 0.0025]; 460s yload_out = [6.6384, 9.3106, 2.0505, 0.6471, 0.9625]; 460s xscore1_out = [-0.0401, -0.1764, -0.0340, 0.1669, 0.1041]; 460s yscore1_out = [-12.4635, -15.0003, 0.0638, 0.0652, -0.0070]; 460s assert (xload(1,:), xload1_out, 1e-4); 460s assert (yload, yload_out, 1e-4); 460s assert (xscore(1,:), xscore1_out, 1e-4); 460s assert (yscore(1,:), yscore1_out, 1e-4); 460s ***** error 460s plsregress (1) 460s ***** error plsregress (1, "asd") 460s ***** error plsregress (1, {1,2,3}) 460s ***** error plsregress ("asd", 1) 460s ***** error plsregress ({1,2,3}, 1) 460s ***** error ... 460s plsregress (ones (20,3), ones (15,1)) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 0) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), -5) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3.2) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), [2, 3]) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 4) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", 4.5) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", -1) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", "somestring") 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", 3, "mcreps", 2.2) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", 3, "mcreps", -2) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", 3, "mcreps", [1, 2]) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "Name", 3, "mcreps", 1) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", 3, "Name", 1) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "mcreps", 2) 460s ***** error ... 460s plsregress (ones (20,3), ones (20,1), 3, "cv", "resubstitution", "mcreps", 2) 460s ***** error plsregress (1, 2) 460s 24 tests, 24 passed, 0 known failure, 0 skipped 460s [inst/probit.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/probit.m 460s ***** assert (probit ([-1, 0, 0.5, 1, 2]), [NaN, -Inf, 0, Inf, NaN]) 460s ***** assert (probit ([0.2, 0.99]), norminv ([0.2, 0.99])) 460s ***** error probit () 460s ***** error probit (1, 2) 460s 4 tests, 4 passed, 0 known failure, 0 skipped 460s [inst/pdist.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pdist.m 460s ***** shared xy, t, eucl 460s xy = [0 1; 0 2; 7 6; 5 6]; 460s t = 1e-3; 460s eucl = @(v,m) sqrt(sumsq(repmat(v,rows(m),1)-m,2)); 460s ***** assert(pdist(xy), [1.000 8.602 7.071 8.062 6.403 2.000],t); 460s ***** assert(pdist(xy,eucl), [1.000 8.602 7.071 8.062 6.403 2.000],t); 460s ***** assert(pdist(xy,"euclidean"), [1.000 8.602 7.071 8.062 6.403 2.000],t); 460s ***** assert(pdist(xy,"seuclidean"), [0.380 2.735 2.363 2.486 2.070 0.561],t); 460s ***** assert(pdist(xy,"mahalanobis"),[1.384 1.967 2.446 2.384 1.535 2.045],t); 460s ***** assert(pdist(xy,"cityblock"), [1.000 12.00 10.00 11.00 9.000 2.000],t); 460s ***** assert(pdist(xy,"minkowski"), [1.000 8.602 7.071 8.062 6.403 2.000],t); 460s ***** assert(pdist(xy,"minkowski",3),[1.000 7.763 6.299 7.410 5.738 2.000],t); 460s ***** assert(pdist(xy,"cosine"), [0.000 0.349 0.231 0.349 0.231 0.013],t); 460s ***** assert(pdist(xy,"correlation"),[0.000 2.000 0.000 2.000 0.000 2.000],t); 460s ***** assert(pdist(xy,"spearman"), [0.000 2.000 0.000 2.000 0.000 2.000],t); 460s ***** assert(pdist(xy,"hamming"), [0.500 1.000 1.000 1.000 1.000 0.500],t); 460s ***** assert(pdist(xy,"jaccard"), [1.000 1.000 1.000 1.000 1.000 0.500],t); 460s ***** assert(pdist(xy,"chebychev"), [1.000 7.000 5.000 7.000 5.000 2.000],t); 460s 14 tests, 14 passed, 0 known failure, 0 skipped 460s [inst/dendrogram.m] 460s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dendrogram.m 460s ***** demo 460s ## simple dendrogram 460s y = [4, 5; 2, 6; 3, 7; 8, 9; 1, 10]; 460s y(:,3) = 1:5; 460s dendrogram (y); 460s title ("simple dendrogram"); 460s ***** demo 460s ## another simple dendrogram 460s v = 2 * rand (30, 1) - 1; 460s d = abs (bsxfun (@minus, v(:, 1), v(:, 1)')); 460s y = linkage (squareform (d, "tovector")); 460s dendrogram (y); 460s title ("another simple dendrogram"); 460s ***** demo 460s ## collapsed tree, find all the leaves of node 5 460s X = randn (60, 2); 460s D = pdist (X); 460s y = linkage (D, "average"); 460s subplot (2, 1, 1); 460s title ("original tree"); 460s dendrogram (y, 0); 460s subplot (2, 1, 2); 460s title ("collapsed tree"); 460s [~, t] = dendrogram (y, 20); 460s find(t == 5) 460s ***** demo 460s ## optimal leaf order 460s X = randn (30, 2); 460s D = pdist (X); 460s y = linkage (D, "average"); 460s order = optimalleaforder (y, D); 460s subplot (2, 1, 1); 460s title ("original leaf order"); 460s dendrogram (y); 460s subplot (2, 1, 2); 460s title ("optimal leaf order"); 460s dendrogram (y, "Reorder", order); 460s ***** demo 460s ## horizontal orientation and labels 460s X = randn (8, 2); 460s D = pdist (X); 460s L = ["Snow White"; "Doc"; "Grumpy"; "Happy"; "Sleepy"; "Bashful"; ... 460s "Sneezy"; "Dopey"]; 460s y = linkage (D, "average"); 460s dendrogram (y, "Orientation", "left", "Labels", L); 460s title ("horizontal orientation and labels"); 460s ***** shared visibility_setting 460s visibility_setting = get (0, "DefaultFigureVisible"); 460s ***** test 460s set (0, "DefaultFigureVisible", "off"); 460s y = [4, 5; 2, 6; 3, 7; 8, 9; 1, 10]; 460s y(:,3) = 1:5; 460s dendrogram (y); 460s set (0, "DefaultFigureVisible", visibility_setting); 460s ***** test 460s set (0, "DefaultFigureVisible", "off"); 460s y = [4, 5; 2, 6; 3, 7; 8, 9; 1, 10]; 460s y(:,3) = 1:5; 460s dendrogram (y); 460s set (0, "DefaultFigureVisible", visibility_setting); 460s ***** test 460s set (0, "DefaultFigureVisible", "off"); 460s v = 2 * rand (30, 1) - 1; 460s d = abs (bsxfun (@minus, v(:, 1), v(:, 1)')); 460s y = linkage (squareform (d, "tovector")); 460s dendrogram (y); 460s set (0, "DefaultFigureVisible", visibility_setting); 461s ***** test 461s set (0, "DefaultFigureVisible", "off"); 461s X = randn (30, 2); 461s D = pdist (X); 461s y = linkage (D, "average"); 461s order = optimalleaforder (y, D); 461s subplot (2, 1, 1); 461s title ("original leaf order"); 461s dendrogram (y); 461s subplot (2, 1, 2); 461s title ("optimal leaf order"); 461s dendrogram (y, "Reorder", order); 461s set (0, "DefaultFigureVisible", visibility_setting); 463s ***** error dendrogram (); 463s ***** error dendrogram (ones (2, 2), 1); 463s ***** error dendrogram ([1 2 1], 1, "xxx", "xxx"); 463s ***** error dendrogram ([1 2 1], "Reorder", "xxx"); 463s ***** error dendrogram ([1 2 1], "Reorder", [1 2 3 4]); 463s fail ('dendrogram ([1 2 1], "Orientation", "north")', "invalid orientation .*") 463s 9 tests, 9 passed, 0 known failure, 0 skipped 463s [inst/stepwisefit.m] 463s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/stepwisefit.m 463s ***** test 463s % Sample data from Draper and Smith (n = 13, k = 4) 463s X = [7 1 11 11 7 11 3 1 2 21 1 11 10; ... 463s 26 29 56 31 52 55 71 31 54 47 40 66 68; ... 463s 6 15 8 8 6 9 17 22 18 4 23 9 8; ... 463s 60 52 20 47 33 22 6 44 22 26 34 12 12]'; 463s y = [78.5 74.3 104.3 87.6 95.9 109.2 102.7 72.5 93.1 115.9 83.8 113.3 109.4]'; 463s [X_use, b, bint, r, rint, stats] = stepwisefit(y, X); 463s assert(X_use, [4 1]) 463s assert(b, regress(y, [ones(size(y)) X(:, X_use)], 0.05)) 463s [X_use, b, bint, r, rint, stats] = stepwisefit(y, X, 0.05, 0.1, "corr"); 463s assert(X_use, [4 1]) 463s assert(b, regress(y, [ones(size(y)) X(:, X_use)], 0.05)) 463s [X_use, b, bint, r, rint, stats] = stepwisefit(y, X, [], [], "p"); 463s assert(X_use, [4 1]) 463s assert(b, regress(y, [ones(size(y)) X(:, X_use)], 0.05)) 463s 1 test, 1 passed, 0 known failure, 0 skipped 463s [inst/geomean.m] 463s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/geomean.m 463s ***** test 463s x = [0:10]; 463s y = [x;x+5;x+10]; 463s assert (geomean (x), 0); 463s m = [0 9.462942809849169 14.65658770861967]; 463s assert (geomean (y, 2), m', 4e-14); 463s assert (geomean (y, "all"), 0); 463s y(2,4) = NaN; 463s m(2) = 9.623207231679554; 463s assert (geomean (y, 2), [0 NaN m(3)]', 4e-14); 463s assert (geomean (y', "omitnan"), m, 4e-14); 463s z = y + 20; 463s assert (geomean (z, "all"), NaN); 463s assert (geomean (z, "all", "includenan"), NaN); 463s assert (geomean (z, "all", "omitnan"), 29.59298474535024, 4e-14); 463s m = [24.79790781765634 NaN 34.85638839503932]; 463s assert (geomean (z'), m, 4e-14); 463s assert (geomean (z', "includenan"), m, 4e-14); 463s m(2) = 30.02181156156319; 463s assert (geomean (z', "omitnan"), m, 4e-14); 463s assert (geomean (z, 2, "omitnan"), m', 4e-14); 463s ***** test 463s x = repmat ([1:20;6:25], [5 2 6 3]); 463s assert (size (geomean (x, [3 2])), [10 1 1 3]); 463s assert (size (geomean (x, [1 2])), [1 1 6 3]); 463s assert (size (geomean (x, [1 2 4])), [1 1 6]); 463s assert (size (geomean (x, [1 4 3])), [1 40]); 463s assert (size (geomean (x, [1 2 3 4])), [1 1]); 463s ***** test 463s x = repmat ([1:20;6:25], [5 2 6 3]); 463s m = repmat ([8.304361203739333;14.3078118884256], [5 1 1 3]); 463s assert (geomean (x, [3 2]), m, 4e-13); 463s x(2,5,6,3) = NaN; 463s m(2,3) = NaN; 463s assert (geomean (x, [3 2]), m, 4e-13); 463s m(2,3) = 14.3292729579901; 463s assert (geomean (x, [3 2], "omitnan"), m, 4e-13); 463s ***** error geomean ("char") 463s ***** error geomean ([1 -1 3]) 463s ***** error ... 463s geomean (repmat ([1:20;6:25], [5 2 6 3 5]), -1) 463s ***** error ... 463s geomean (repmat ([1:20;6:25], [5 2 6 3 5]), 0) 463s ***** error ... 463s geomean (repmat ([1:20;6:25], [5 2 6 3 5]), [1 1]) 463s 8 tests, 8 passed, 0 known failure, 0 skipped 463s [inst/hotelling_t2test2.m] 463s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hotelling_t2test2.m 463s ***** error hotelling_t2test2 (); 464s ***** error ... 464s hotelling_t2test2 ([2, 3, 4, 5, 6]); 464s ***** error ... 464s hotelling_t2test2 (1, [2, 3, 4, 5, 6]); 464s ***** error ... 464s hotelling_t2test2 (ones (2,2,2), [2, 3, 4, 5, 6]); 464s ***** error ... 464s hotelling_t2test2 ([2, 3, 4, 5, 6], 2); 464s ***** error ... 464s hotelling_t2test2 ([2, 3, 4, 5, 6], ones (2,2,2)); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (20,2), "alpha", 1); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (20,2), "alpha", -0.2); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (20,2), "alpha", "a"); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (20,2), "alpha", [0.01, 0.05]); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (20,2), "name", 0.01); 464s ***** error ... 464s hotelling_t2test2 (ones (20,1), ones (20,2)); 464s ***** error ... 464s hotelling_t2test2 (ones (20,2), ones (25,3)); 464s ***** test 464s randn ("seed", 1); 464s x1 = randn (60000, 5); 464s randn ("seed", 5); 464s x2 = randn (30000, 5); 464s [h, pval, stats] = hotelling_t2test2 (x1, x2); 464s assert (h, 0); 464s assert (stats.df1, 5); 464s assert (stats.df2, 89994); 464s 14 tests, 14 passed, 0 known failure, 0 skipped 464s [inst/kmeans.m] 464s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/kmeans.m 464s ***** demo 464s ## Generate a two-cluster problem 464s randn ("seed", 31) # for reproducibility 464s C1 = randn (100, 2) + 1; 464s randn ("seed", 32) # for reproducibility 464s C2 = randn (100, 2) - 1; 464s data = [C1; C2]; 464s 464s ## Perform clustering 464s rand ("seed", 1) # for reproducibility 464s [idx, centers] = kmeans (data, 2); 464s 464s ## Plot the result 464s figure; 464s plot (data (idx==1, 1), data (idx==1, 2), "ro"); 464s hold on; 464s plot (data (idx==2, 1), data (idx==2, 2), "bs"); 464s plot (centers (:, 1), centers (:, 2), "kv", "markersize", 10); 464s hold off; 464s ***** demo 464s ## Cluster data using k-means clustering, then plot the cluster regions 464s ## Load Fisher's iris data set and use the petal lengths and widths as 464s ## predictors 464s 464s load fisheriris 464s X = meas(:,3:4); 464s 464s figure; 464s plot (X(:,1), X(:,2), "k*", "MarkerSize", 5); 464s title ("Fisher's Iris Data"); 464s xlabel ("Petal Lengths (cm)"); 464s ylabel ("Petal Widths (cm)"); 464s 464s ## Cluster the data. Specify k = 3 clusters 464s rand ("seed", 1) # for reproducibility 464s [idx, C] = kmeans (X, 3); 464s x1 = min (X(:,1)):0.01:max (X(:,1)); 464s x2 = min (X(:,2)):0.01:max (X(:,2)); 464s [x1G, x2G] = meshgrid (x1, x2); 464s XGrid = [x1G(:), x2G(:)]; 464s 464s idx2Region = kmeans (XGrid, 3, "MaxIter", 1, "Start", C); 464s figure; 464s gscatter (XGrid(:,1), XGrid(:,2), idx2Region, ... 464s [0, 0.75, 0.75; 0.75, 0, 0.75; 0.75, 0.75, 0], ".."); 464s hold on; 464s plot (X(:,1), X(:,2), "k*", "MarkerSize", 5); 464s title ("Fisher's Iris Data"); 464s xlabel ("Petal Lengths (cm)"); 464s ylabel ("Petal Widths (cm)"); 464s legend ("Region 1", "Region 2", "Region 3", "Data", "Location", "SouthEast"); 464s hold off 464s ***** demo 464s ## Partition Data into Two Clusters 464s 464s randn ("seed", 1) # for reproducibility 464s r1 = randn (100, 2) * 0.75 + ones (100, 2); 464s randn ("seed", 2) # for reproducibility 464s r2 = randn (100, 2) * 0.5 - ones (100, 2); 464s X = [r1; r2]; 464s 464s figure; 464s plot (X(:,1), X(:,2), "."); 464s title ("Randomly Generated Data"); 464s rand ("seed", 1) # for reproducibility 464s [idx, C] = kmeans (X, 2, "Distance", "cityblock", ... 464s "Replicates", 5, "Display", "final"); 464s figure; 464s plot (X(idx==1,1), X(idx==1,2), "r.", "MarkerSize", 12); 464s hold on 464s plot(X(idx==2,1), X(idx==2,2), "b.", "MarkerSize", 12); 464s plot (C(:,1), C(:,2), "kx", "MarkerSize", 15, "LineWidth", 3); 464s legend ("Cluster 1", "Cluster 2", "Centroids", "Location", "NorthWest"); 464s title ("Cluster Assignments and Centroids"); 464s hold off 464s ***** demo 464s ## Assign New Data to Existing Clusters 464s 464s ## Generate a training data set using three distributions 464s randn ("seed", 5) # for reproducibility 464s r1 = randn (100, 2) * 0.75 + ones (100, 2); 464s randn ("seed", 7) # for reproducibility 464s r2 = randn (100, 2) * 0.5 - ones (100, 2); 464s randn ("seed", 9) # for reproducibility 464s r3 = randn (100, 2) * 0.75; 464s X = [r1; r2; r3]; 464s 464s ## Partition the training data into three clusters by using kmeans 464s 464s rand ("seed", 1) # for reproducibility 464s [idx, C] = kmeans (X, 3); 464s 464s ## Plot the clusters and the cluster centroids 464s 464s figure 464s gscatter (X(:,1), X(:,2), idx, "bgm", "***"); 464s hold on 464s plot (C(:,1), C(:,2), "kx"); 464s legend ("Cluster 1", "Cluster 2", "Cluster 3", "Cluster Centroid") 464s 464s ## Generate a test data set 464s randn ("seed", 25) # for reproducibility 464s r1 = randn (100, 2) * 0.75 + ones (100, 2); 464s randn ("seed", 27) # for reproducibility 464s r2 = randn (100, 2) * 0.5 - ones (100, 2); 464s randn ("seed", 29) # for reproducibility 464s r3 = randn (100, 2) * 0.75; 464s Xtest = [r1; r2; r3]; 464s 464s ## Classify the test data set using the existing clusters 464s ## Find the nearest centroid from each test data point by using pdist2 464s 464s D = pdist2 (C, Xtest, "euclidean"); 464s [group, ~] = find (D == min (D)); 464s 464s ## Plot the test data and label the test data using idx_test with gscatter 464s 464s gscatter (Xtest(:,1), Xtest(:,2), group, "bgm", "ooo"); 464s legend ("Cluster 1", "Cluster 2", "Cluster 3", "Cluster Centroid", ... 464s "Data classified to Cluster 1", "Data classified to Cluster 2", ... 464s "Data classified to Cluster 3", "Location", "NorthWest"); 464s title ("Assign New Data to Existing Clusters"); 464s ***** test 464s samples = 4; 464s dims = 3; 464s k = 2; 464s [cls, c, d, z] = kmeans (rand (samples,dims), k, "start", rand (k,dims, 5), 464s "emptyAction", "singleton"); 464s assert (size (cls), [samples, 1]); 464s assert (size (c), [k, dims]); 464s assert (size (d), [k, 1]); 464s assert (size (z), [samples, k]); 464s ***** test 464s samples = 4; 464s dims = 3; 464s k = 2; 464s [cls, c, d, z] = kmeans (rand (samples,dims), [], "start", rand (k,dims, 5), 464s "emptyAction", "singleton"); 464s assert (size (cls), [samples, 1]); 464s assert (size (c), [k, dims]); 464s assert (size (d), [k, 1]); 464s assert (size (z), [samples, k]); 464s ***** test 464s [cls, c] = kmeans ([1 0; 2 0], 2, "start", [8,0;0,8], "emptyaction", "drop"); 464s assert (cls, [1; 1]); 464s assert (c, [1.5, 0; NA, NA]); 464s ***** test 464s kmeans (rand (4,3), 2, "start", rand (2,3, 5), "replicates", 5, 464s "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (3,4), 2, "start", "sample", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (3,4), 2, "start", "plus", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (3,4), 2, "start", "cluster", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (3,4), 2, "start", "uniform", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (4,3), 2, "distance", "sqeuclidean", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (4,3), 2, "distance", "cityblock", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (4,3), 2, "distance", "cosine", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (4,3), 2, "distance", "correlation", "emptyAction", "singleton"); 464s ***** test 464s kmeans (rand (4,3), 2, "distance", "hamming", "emptyAction", "singleton"); 464s ***** test 464s kmeans ([1 0; 1.1 0], 2, "start", eye(2), "emptyaction", "singleton"); 464s ***** error kmeans (rand (3,2), 4); 464s ***** error kmeans ([1 0; 1.1 0], 2, "start", eye(2), "emptyaction", "panic"); 464s ***** error kmeans (rand (4,3), 2, "start", rand (2,3, 5), "replicates", 1); 464s ***** error kmeans (rand (4,3), 2, "start", rand (2,2)); 464s ***** error kmeans (rand (4,3), 2, "distance", "manhattan"); 464s ***** error kmeans (rand (3,4), 2, "start", "normal"); 464s ***** error kmeans (rand (4,3), 2, "replicates", i); 464s ***** error kmeans (rand (4,3), 2, "replicates", -1); 464s ***** error kmeans (rand (4,3), 2, "replicates", []); 464s ***** error kmeans (rand (4,3), 2, "replicates", [1 2]); 464s ***** error kmeans (rand (4,3), 2, "replicates", "one"); 464s ***** error kmeans (rand (4,3), 2, "MAXITER", i); 464s ***** error kmeans (rand (4,3), 2, "MaxIter", -1); 464s ***** error kmeans (rand (4,3), 2, "maxiter", []); 464s ***** error kmeans (rand (4,3), 2, "maxiter", [1 2]); 464s ***** error kmeans (rand (4,3), 2, "maxiter", "one"); 464s ***** error kmeans ([1 0; 1.1 0], 2, "start", eye(2), "emptyaction", "error"); 464s 31 tests, 31 passed, 0 known failure, 0 skipped 464s [inst/ranksum.m] 464s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ranksum.m 464s ***** test 464s mileage = [33.3, 34.5, 37.4; 33.4, 34.8, 36.8; ... 464s 32.9, 33.8, 37.6; 32.6, 33.4, 36.6; ... 464s 32.5, 33.7, 37.0; 33.0, 33.9, 36.7]; 464s [p,h,stats] = ranksum(mileage(:,1),mileage(:,2)); 464s assert (p, 0.004329004329004329, 1e-14); 464s assert (h, true); 464s assert (stats.ranksum, 21.5); 464s ***** test 464s year1 = [51 52 62 62 52 52 51 53 59 63 59 56 63 74 68 86 82 70 69 75 73 ... 464s 49 47 50 60 59 60 62 61 71]'; 464s year2 = [54 53 64 66 57 53 54 54 62 66 59 59 67 76 75 86 82 67 74 80 75 ... 464s 54 50 53 62 62 62 72 60 67]'; 464s [p,h,stats] = ranksum(year1, year2, "alpha", 0.01, "tail", "left"); 464s assert (p, 0.1270832752950605, 1e-14); 464s assert (h, false); 464s assert (stats.ranksum, 837.5); 464s assert (stats.zval, -1.140287483634606, 1e-14); 464s [p,h,stats] = ranksum(year1, year2, "alpha", 0.01, "tail", "left", ... 464s "method", "exact"); 464s assert (p, 0.127343916432862, 1e-14); 464s assert (h, false); 464s assert (stats.ranksum, 837.5); 480s 2 tests, 2 passed, 0 known failure, 0 skipped 480s [inst/fitlm.m] 480s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/fitlm.m 480s ***** demo 480s y = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 480s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 480s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 480s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 480s 25.694 ]'; 480s X = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 480s 480s [TAB,STATS] = fitlm (X,y,"linear","CategoricalVars",1,"display","on"); 480s ***** demo 480s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 480s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 480s brands = {'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'}; 480s popper = {'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; ... 480s 'air', 'air', 'air'; 'air', 'air', 'air'; 'air', 'air', 'air'}; 480s 480s [TAB, STATS] = fitlm ({brands(:),popper(:)},popcorn(:),"interactions",... 480s "CategoricalVars",[1,2],"display","on"); 480s ***** test 480s y = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 480s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 480s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 480s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 480s 25.694 ]'; 480s X = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 480s [TAB,STATS] = fitlm (X,y,"continuous",[],"display","off"); 480s [TAB,STATS] = fitlm (X,y,"CategoricalVars",1,"display","off"); 480s [TAB,STATS] = fitlm (X,y,"constant","categorical",1,"display","off"); 480s [TAB,STATS] = fitlm (X,y,"linear","categorical",1,"display","off"); 480s [TAB,STATS] = fitlm (X,y,[0,0;1,0],"categorical",1,"display","off"); 480s assert (TAB{2,2}, 10, 1e-04); 480s assert (TAB{3,2}, 7.99999999999999, 1e-09); 480s assert (TAB{4,2}, 8.99999999999999, 1e-09); 480s assert (TAB{5,2}, 11.0001428571429, 1e-09); 480s assert (TAB{6,2}, 19.0001111111111, 1e-09); 480s assert (TAB{2,3}, 1.01775379540949, 1e-09); 480s assert (TAB{3,3}, 1.64107868458008, 1e-09); 480s assert (TAB{4,3}, 1.43932122062479, 1e-09); 480s assert (TAB{5,3}, 1.48983900477565, 1e-09); 480s assert (TAB{6,3}, 1.3987687997822, 1e-09); 480s assert (TAB{2,6}, 9.82555903510687, 1e-09); 480s assert (TAB{3,6}, 4.87484242844031, 1e-09); 480s assert (TAB{4,6}, 6.25294748040552, 1e-09); 480s assert (TAB{5,6}, 7.38344399756088, 1e-09); 480s assert (TAB{6,6}, 13.5834536158296, 1e-09); 480s assert (TAB{3,7}, 2.85812420217862e-05, 1e-12); 480s assert (TAB{4,7}, 5.22936741204002e-07, 1e-06); 480s assert (TAB{5,7}, 2.12794763209106e-08, 1e-07); 480s assert (TAB{6,7}, 7.82091664406755e-15, 1e-08); 480s ***** test 480s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 480s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 480s brands = bsxfun (@times, ones(6,1), [1,2,3]); 480s popper = bsxfun (@times, [1;1;1;2;2;2], ones(1,3)); 480s 480s [TAB, STATS] = fitlm ({brands(:),popper(:)},popcorn(:),"interactions",... 480s "categoricalvars",[1,2],"display","off"); 480s assert (TAB{2,2}, 5.66666666666667, 1e-09); 480s assert (TAB{3,2}, -1.33333333333333, 1e-09); 480s assert (TAB{4,2}, -2.16666666666667, 1e-09); 480s assert (TAB{5,2}, 1.16666666666667, 1e-09); 480s assert (TAB{6,2}, -0.333333333333334, 1e-09); 480s assert (TAB{7,2}, -0.166666666666667, 1e-09); 480s assert (TAB{2,3}, 0.215165741455965, 1e-09); 480s assert (TAB{3,3}, 0.304290309725089, 1e-09); 480s assert (TAB{4,3}, 0.304290309725089, 1e-09); 480s assert (TAB{5,3}, 0.304290309725089, 1e-09); 480s assert (TAB{6,3}, 0.43033148291193, 1e-09); 480s assert (TAB{7,3}, 0.43033148291193, 1e-09); 480s assert (TAB{2,6}, 26.3362867542108, 1e-09); 480s assert (TAB{3,6}, -4.38178046004138, 1e-09); 480s assert (TAB{4,6}, -7.12039324756724, 1e-09); 480s assert (TAB{5,6}, 3.83405790253621, 1e-09); 480s assert (TAB{6,6}, -0.774596669241495, 1e-09); 480s assert (TAB{7,6}, -0.387298334620748, 1e-09); 480s assert (TAB{2,7}, 5.49841502258254e-12, 1e-09); 480s assert (TAB{3,7}, 0.000893505495903642, 1e-09); 480s assert (TAB{4,7}, 1.21291454302428e-05, 1e-09); 480s assert (TAB{5,7}, 0.00237798044119407, 1e-09); 480s assert (TAB{6,7}, 0.453570536021938, 1e-09); 480s assert (TAB{7,7}, 0.705316781644046, 1e-09); 480s ## Test with string ids for categorical variables 480s brands = {'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'; ... 480s 'Gourmet', 'National', 'Generic'}; 480s popper = {'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; ... 480s 'air', 'air', 'air'; 'air', 'air', 'air'; 'air', 'air', 'air'}; 480s [TAB, STATS] = fitlm ({brands(:),popper(:)},popcorn(:),"interactions",... 480s "categoricalvars",[1,2],"display","off"); 480s ***** test 480s load carsmall 480s X = [Weight,Horsepower,Acceleration]; 480s [TAB, STATS] = fitlm (X, MPG,"constant","display","off"); 480s [TAB, STATS] = fitlm (X, MPG,"linear","display","off"); 480s assert (TAB{2,2}, 47.9767628118615, 1e-09); 480s assert (TAB{3,2}, -0.00654155878851796, 1e-09); 480s assert (TAB{4,2}, -0.0429433065881864, 1e-09); 480s assert (TAB{5,2}, -0.0115826516894871, 1e-09); 480s assert (TAB{2,3}, 3.87851641748551, 1e-09); 480s assert (TAB{3,3}, 0.00112741016370336, 1e-09); 480s assert (TAB{4,3}, 0.0243130608813806, 1e-09); 480s assert (TAB{5,3}, 0.193325043113178, 1e-09); 480s assert (TAB{2,6}, 12.369874881944, 1e-09); 480s assert (TAB{3,6}, -5.80228828790225, 1e-09); 480s assert (TAB{4,6}, -1.76626492228599, 1e-09); 480s assert (TAB{5,6}, -0.0599128364487485, 1e-09); 480s assert (TAB{2,7}, 4.89570341688996e-21, 1e-09); 480s assert (TAB{3,7}, 9.87424814144e-08, 1e-09); 480s assert (TAB{4,7}, 0.0807803098213114, 1e-09); 480s assert (TAB{5,7}, 0.952359384151778, 1e-09); 480s 3 tests, 3 passed, 0 known failure, 0 skipped 480s [inst/pca.m] 480s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pca.m 480s ***** shared COEFF,SCORE,latent,tsquare,m,x,R,V,lambda,i,S,F 480s ***** test 480s x=[7 4 3 480s 4 1 8 480s 6 3 5 480s 8 6 1 480s 8 5 7 480s 7 2 9 480s 5 3 3 480s 9 5 8 480s 7 4 5 480s 8 2 2]; 480s R = corrcoef (x); 480s [V, lambda] = eig (R); 480s [~, i] = sort(diag(lambda), "descend"); #arrange largest PC first 480s S = V(:, i) * diag(sqrt(diag(lambda)(i))); 480s ***** assert(diag(S(:, 1:2)*S(:, 1:2)'), [0.8662; 0.8420; 0.9876], 1E-4); #contribution of first 2 PCs to each original variable 480s B = V(:, i) * diag( 1./ sqrt(diag(lambda)(i))); 480s F = zscore(x)*B; 481s [COEFF,SCORE,latent,tsquare] = pca(zscore(x, 1)); 481s ***** assert(tsquare,sumsq(F, 2),1E4*eps); 481s ***** test 481s x=[1,2,3;2,1,3]'; 481s [COEFF,SCORE,latent,tsquare] = pca(x, "Economy", false); 481s m=[sqrt(2),sqrt(2);sqrt(2),-sqrt(2);-2*sqrt(2),0]/2; 481s m(:,1) = m(:,1)*sign(COEFF(1,1)); 481s m(:,2) = m(:,2)*sign(COEFF(1,2)); 481s ***** assert(COEFF,m(1:2,:),10*eps); 481s ***** assert(SCORE,-m,10*eps); 481s ***** assert(latent,[1.5;.5],10*eps); 481s ***** assert(tsquare,[4;4;4]/3,10*eps); 481s [COEFF,SCORE,latent,tsquare] = pca(x, "Economy", false, "weights", [1 2 1], "variableweights", "variance"); 481s ***** assert(COEFF, [0.632455532033676 -0.632455532033676; 0.741619848709566 0.741619848709566], 10*eps); 481s ***** assert(SCORE, [-0.622019449426284 0.959119380657905; -0.505649896847432 -0.505649896847431; 1.633319243121148 0.052180413036957], 10*eps); 481s ***** assert(latent, [1.783001790889027; 0.716998209110974], 10*eps); 481s ***** xtest assert(tsquare, [1.5; 0.5; 1.5], 10*eps); #currently, [4; 2; 4]/3 is actually returned; see comments above 481s !!!!! known failure 481s ASSERT errors for: assert (tsquare,[1.5; 0.5; 1.5],10 * eps) 481s 481s Location | Observed | Expected | Reason 481s (1) 1.3333 1.5 Abs err 0.16667 exceeds tol 2.2204e-15 by 0.2 481s (2) 0.66667 0.5 Abs err 0.16667 exceeds tol 2.2204e-15 by 0.2 481s (3) 1.3333 1.5 Abs err 0.16667 exceeds tol 2.2204e-15 by 0.2 481s ***** test 481s x=x'; 481s [COEFF,SCORE,latent,tsquare] = pca(x, "Economy", false); 481s m=[sqrt(2),sqrt(2),0;-sqrt(2),sqrt(2),0;0,0,2]/2; 481s m(:,1) = m(:,1)*sign(COEFF(1,1)); 481s m(:,2) = m(:,2)*sign(COEFF(1,2)); 481s m(:,3) = m(:,3)*sign(COEFF(3,3)); 481s ***** assert(COEFF,m,10*eps); 481s ***** assert(SCORE(:,1),-m(1:2,1),10*eps); 481s ***** assert(SCORE(:,2:3),zeros(2),10*eps); 481s ***** assert(latent,[1;0;0],10*eps); 481s ***** assert(tsquare,[0.5;0.5],10*eps) 481s ***** test 481s [COEFF,SCORE,latent,tsquare] = pca(x); 481s ***** assert(COEFF,m(:, 1),10*eps); 481s ***** assert(SCORE,-m(1:2,1),10*eps); 481s ***** assert(latent,[1],10*eps); 481s ***** assert(tsquare,[0.5;0.5],10*eps) 481s ***** error pca([1 2; 3 4], "Algorithm", "xxx") 481s ***** error <'centered' requires a boolean value> pca([1 2; 3 4], "Centered", "xxx") 481s ***** error pca([1 2; 3 4], "NumComponents", -4) 481s ***** error pca([1 2; 3 4], "Rows", 1) 481s ***** error pca([1 2; 3 4], "Weights", [1 2 3]) 481s ***** error pca([1 2; 3 4], "Weights", [-1 2]) 481s ***** error pca([1 2; 3 4], "VariableWeights", [-1 2]) 481s ***** error pca([1 2; 3 4], "VariableWeights", "xxx") 481s ***** error pca([1 2; 3 4], "XXX", 1) 481s 32 tests, 31 passed, 1 known failure, 0 skipped 481s [inst/kstest2.m] 481s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/kstest2.m 481s ***** error kstest2 ([1,2,3,4,5,5]) 481s ***** error kstest2 (ones(2,4), [1,2,3,4,5,5]) 481s ***** error kstest2 ([2,3,5,7,3+3i], [1,2,3,4,5,5]) 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"tail") 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"tail", "whatever") 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"badoption", 0.51) 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"tail", 0) 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"alpha", 0) 481s ***** error kstest2 ([2,3,4,5,6],[3;5;7;8;7;6;5],"alpha", NaN) 481s ***** error kstest2 ([NaN,NaN,NaN,NaN,NaN],[3;5;7;8;7;6;5],"tail", "unequal") 481s ***** test 481s load examgrades 481s [h, p] = kstest2 (grades(:,1), grades(:,2)); 481s assert (h, false); 481s assert (p, 0.1222791870137312, 1e-14); 481s ***** test 481s load examgrades 481s [h, p] = kstest2 (grades(:,1), grades(:,2), "tail", "larger"); 481s assert (h, false); 481s assert (p, 0.1844421391011258, 1e-14); 481s ***** test 481s load examgrades 481s [h, p] = kstest2 (grades(:,1), grades(:,2), "tail", "smaller"); 481s assert (h, false); 481s assert (p, 0.06115357930171663, 1e-14); 481s ***** test 481s load examgrades 481s [h, p] = kstest2 (grades(:,1), grades(:,2), "tail", "smaller", "alpha", 0.1); 481s assert (h, true); 481s assert (p, 0.06115357930171663, 1e-14); 481s 14 tests, 14 passed, 0 known failure, 0 skipped 481s [inst/vartest2.m] 481s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/vartest2.m 481s ***** error vartest2 (); 481s ***** error vartest2 (ones (20,1)); 481s ***** error ... 481s vartest2 (rand (20,1), 5); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "alpha", 0); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "alpha", 1.2); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "alpha", "some"); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "alpha", [0.05, 0.001]); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "tail", [0.05, 0.001]); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "tail", "some"); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "dim", 3); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "alpha", 0.001, "dim", 3); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "some", 3); 481s ***** error ... 481s vartest2 (rand (20,1), rand (25,1)*2, "some"); 481s ***** test 481s load carsmall 481s [h, pval, ci, stat] = vartest2 (MPG(Model_Year==82), MPG(Model_Year==76)); 481s assert (h, 0); 481s assert (pval, 0.6288022362718455, 1e-13); 481s assert (ci, [0.4139; 1.7193], 1e-4); 481s assert (stat.fstat, 0.8384, 1e-4); 481s assert (stat.df1, 30); 481s assert (stat.df2, 33); 481s 14 tests, 14 passed, 0 known failure, 0 skipped 481s [inst/pdf.m] 481s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pdf.m 481s ***** shared x 481s x = [1:5]; 481s ***** assert (pdf ("Beta", x, 5, 2), betapdf (x, 5, 2)) 481s ***** assert (pdf ("beta", x, 5, 2), betapdf (x, 5, 2)) 481s ***** assert (pdf ("Binomial", x, 5, 2), binopdf (x, 5, 2)) 481s ***** assert (pdf ("bino", x, 5, 2), binopdf (x, 5, 2)) 481s ***** assert (pdf ("Birnbaum-Saunders", x, 5, 2), bisapdf (x, 5, 2)) 481s ***** assert (pdf ("bisa", x, 5, 2), bisapdf (x, 5, 2)) 481s ***** assert (pdf ("Burr", x, 5, 2, 2), burrpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("burr", x, 5, 2, 2), burrpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Cauchy", x, 5, 2), cauchypdf (x, 5, 2)) 481s ***** assert (pdf ("cauchy", x, 5, 2), cauchypdf (x, 5, 2)) 481s ***** assert (pdf ("Chi-squared", x, 5), chi2pdf (x, 5)) 481s ***** assert (pdf ("chi2", x, 5), chi2pdf (x, 5)) 481s ***** assert (pdf ("Extreme Value", x, 5, 2), evpdf (x, 5, 2)) 481s ***** assert (pdf ("ev", x, 5, 2), evpdf (x, 5, 2)) 481s ***** assert (pdf ("Exponential", x, 5), exppdf (x, 5)) 481s ***** assert (pdf ("exp", x, 5), exppdf (x, 5)) 481s ***** assert (pdf ("F-Distribution", x, 5, 2), fpdf (x, 5, 2)) 481s ***** assert (pdf ("f", x, 5, 2), fpdf (x, 5, 2)) 481s ***** assert (pdf ("Gamma", x, 5, 2), gampdf (x, 5, 2)) 481s ***** assert (pdf ("gam", x, 5, 2), gampdf (x, 5, 2)) 481s ***** assert (pdf ("Geometric", x, 5), geopdf (x, 5)) 481s ***** assert (pdf ("geo", x, 5), geopdf (x, 5)) 481s ***** assert (pdf ("Generalized Extreme Value", x, 5, 2, 2), gevpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("gev", x, 5, 2, 2), gevpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Generalized Pareto", x, 5, 2, 2), gppdf (x, 5, 2, 2)) 481s ***** assert (pdf ("gp", x, 5, 2, 2), gppdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Gumbel", x, 5, 2), gumbelpdf (x, 5, 2)) 481s ***** assert (pdf ("gumbel", x, 5, 2), gumbelpdf (x, 5, 2)) 481s ***** assert (pdf ("Half-normal", x, 5, 2), hnpdf (x, 5, 2)) 481s ***** assert (pdf ("hn", x, 5, 2), hnpdf (x, 5, 2)) 481s ***** assert (pdf ("Hypergeometric", x, 5, 2, 2), hygepdf (x, 5, 2, 2)) 481s ***** assert (pdf ("hyge", x, 5, 2, 2), hygepdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Inverse Gaussian", x, 5, 2), invgpdf (x, 5, 2)) 481s ***** assert (pdf ("invg", x, 5, 2), invgpdf (x, 5, 2)) 481s ***** assert (pdf ("Laplace", x, 5, 2), laplacepdf (x, 5, 2)) 481s ***** assert (pdf ("laplace", x, 5, 2), laplacepdf (x, 5, 2)) 481s ***** assert (pdf ("Logistic", x, 5, 2), logipdf (x, 5, 2)) 481s ***** assert (pdf ("logi", x, 5, 2), logipdf (x, 5, 2)) 481s ***** assert (pdf ("Log-Logistic", x, 5, 2), loglpdf (x, 5, 2)) 481s ***** assert (pdf ("logl", x, 5, 2), loglpdf (x, 5, 2)) 481s ***** assert (pdf ("Lognormal", x, 5, 2), lognpdf (x, 5, 2)) 481s ***** assert (pdf ("logn", x, 5, 2), lognpdf (x, 5, 2)) 481s ***** assert (pdf ("Nakagami", x, 5, 2), nakapdf (x, 5, 2)) 481s ***** assert (pdf ("naka", x, 5, 2), nakapdf (x, 5, 2)) 481s ***** assert (pdf ("Negative Binomial", x, 5, 2), nbinpdf (x, 5, 2)) 481s ***** assert (pdf ("nbin", x, 5, 2), nbinpdf (x, 5, 2)) 481s ***** assert (pdf ("Noncentral F-Distribution", x, 5, 2, 2), ncfpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("ncf", x, 5, 2, 2), ncfpdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Noncentral Student T", x, 5, 2), nctpdf (x, 5, 2)) 481s ***** assert (pdf ("nct", x, 5, 2), nctpdf (x, 5, 2)) 481s ***** assert (pdf ("Noncentral Chi-Squared", x, 5, 2), ncx2pdf (x, 5, 2)) 481s ***** assert (pdf ("ncx2", x, 5, 2), ncx2pdf (x, 5, 2)) 481s ***** assert (pdf ("Normal", x, 5, 2), normpdf (x, 5, 2)) 481s ***** assert (pdf ("norm", x, 5, 2), normpdf (x, 5, 2)) 481s ***** assert (pdf ("Poisson", x, 5), poisspdf (x, 5)) 481s ***** assert (pdf ("poiss", x, 5), poisspdf (x, 5)) 481s ***** assert (pdf ("Rayleigh", x, 5), raylpdf (x, 5)) 481s ***** assert (pdf ("rayl", x, 5), raylpdf (x, 5)) 481s ***** assert (pdf ("Student T", x, 5), tpdf (x, 5)) 481s ***** assert (pdf ("t", x, 5), tpdf (x, 5)) 481s ***** assert (pdf ("Triangular", x, 5, 2, 2), tripdf (x, 5, 2, 2)) 481s ***** assert (pdf ("tri", x, 5, 2, 2), tripdf (x, 5, 2, 2)) 481s ***** assert (pdf ("Discrete Uniform", x, 5), unidpdf (x, 5)) 481s ***** assert (pdf ("unid", x, 5), unidpdf (x, 5)) 481s ***** assert (pdf ("Uniform", x, 5, 2), unifpdf (x, 5, 2)) 481s ***** assert (pdf ("unif", x, 5, 2), unifpdf (x, 5, 2)) 481s ***** assert (pdf ("Von Mises", x, 5, 2), vmpdf (x, 5, 2)) 481s ***** assert (pdf ("vm", x, 5, 2), vmpdf (x, 5, 2)) 481s ***** assert (pdf ("Weibull", x, 5, 2), wblpdf (x, 5, 2)) 481s ***** assert (pdf ("wbl", x, 5, 2), wblpdf (x, 5, 2)) 481s ***** error pdf (1) 481s ***** error pdf ({"beta"}) 481s ***** error pdf ("beta", {[1 2 3 4 5]}) 481s ***** error pdf ("beta", "text") 481s ***** error pdf ("beta", 1+i) 481s ***** error ... 481s pdf ("Beta", x, "a", 2) 481s ***** error ... 481s pdf ("Beta", x, 5, "") 481s ***** error ... 481s pdf ("Beta", x, 5, {2}) 481s ***** error pdf ("chi2", x) 481s ***** error pdf ("Beta", x, 5) 481s ***** error pdf ("Burr", x, 5) 481s ***** error pdf ("Burr", x, 5, 2) 481s 82 tests, 82 passed, 0 known failure, 0 skipped 481s [inst/correlation_test.m] 481s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/correlation_test.m 481s ***** error correlation_test (); 482s ***** error correlation_test (1); 482s ***** error ... 482s correlation_test ([1 2 NaN]', [2 3 4]'); 482s ***** error ... 482s correlation_test ([1 2 Inf]', [2 3 4]'); 482s ***** error ... 482s correlation_test ([1 2 3+i]', [2 3 4]'); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 NaN]'); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 Inf]'); 482s ***** error ... 482s correlation_test ([1 2 3]', [3 4 3+i]'); 482s ***** error ... 482s correlation_test ([1 2 3]', [3 4 4 5]'); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "alpha", 0); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "alpha", 1.2); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "alpha", [.02 .1]); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "alpha", "a"); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "some", 0.05); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "tail", "val"); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "alpha", 0.01, "tail", "val"); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "method", 0.01); 482s ***** error ... 482s correlation_test ([1 2 3]', [2 3 4]', "method", "some"); 482s ***** test 482s x = [6 7 7 9 10 12 13 14 15 17]; 482s y = [19 22 27 25 30 28 30 29 25 32]; 482s [h, pval, stats] = correlation_test (x, y); 482s assert (stats.corrcoef, corr (x, y), 1e-14); 482s assert (pval, 0.0223, 1e-4); 482s 19 tests, 19 passed, 0 known failure, 0 skipped 482s [inst/fillmissing.m] 482s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/fillmissing.m 482s ***** assert (fillmissing ([1 2 3], "constant", 99), [1 2 3]) 482s ***** assert (fillmissing ([1 2 NaN], "constant", 99), [1 2 99]) 482s ***** assert (fillmissing ([NaN 2 NaN], "constant", 99), [99 2 99]) 482s ***** assert (fillmissing ([1 2 3]', "constant", 99), [1 2 3]') 482s ***** assert (fillmissing ([1 2 NaN]', "constant", 99), [1 2 99]') 482s ***** assert (fillmissing ([1 2 3; 4 5 6], "constant", 99), [1 2 3; 4 5 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "constant", 99), [1 2 99; 4 99 6]) 482s ***** assert (fillmissing ([NaN 2 NaN; 4 NaN 6], "constant", [97, 98, 99]), [97 2 99; 4 98 6]) 482s ***** test 482s x = cat (3, [1, 2, NaN; 4, NaN, 6], [NaN, 2, 3; 4, 5, NaN]); 482s y = cat (3, [1, 2, 99; 4, 99, 6], [99, 2, 3; 4, 5, 99]); 482s assert (fillmissing (x, "constant", 99), y); 482s y = cat (3, [1, 2, 96; 4, 95, 6], [97, 2, 3; 4, 5, 99]); 482s assert (fillmissing (x, "constant", [94:99]), y); 482s assert (fillmissing (x, "constant", [94:99]'), y); 482s assert (fillmissing (x, "constant", permute ([94:99], [1 3 2])), y); 482s assert (fillmissing (x, "constant", [94, 96, 98; 95, 97, 99]), y); 482s assert (fillmissing (x, "constant", [94:99], 1), y); 482s y = cat (3, [1, 2, 96; 4, 97, 6], [98, 2, 3; 4, 5, 99]); 482s assert (fillmissing (x, "constant", [96:99], 2), y); 482s y = cat (3, [1, 2, 98; 4, 97, 6], [94, 2, 3; 4, 5, 99]); 482s assert (fillmissing (x, "constant", [94:99], 3), y); 482s y = cat (3, [1, 2, 92; 4, 91, 6], [94, 2, 3; 4, 5, 99]); 482s assert (fillmissing (x, "constant", [88:99], 99), y); 482s ***** test 482s x = reshape([1:24],4,3,2); 482s x([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 482s y = x; 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [94 95 95 96 96 97 97 98 99 99]; 482s assert (fillmissing (x, "constant", [94:99], 1), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [92 93 94 92 95 97 99 98 97 98]; 482s assert (fillmissing (x, "constant", [92:99], 2), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [88 93 94 96 99 89 91 94 97 98]; 482s assert (fillmissing (x, "constant", [88:99], 3), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [76 81 82 84 87 89 91 94 97 98]; 482s assert (fillmissing (x, "constant", [76:99], 99), y); 482s ***** assert (fillmissing ([1 2 3], "constant", 99, "endvalues", 88), [1 2 3]) 482s ***** assert (fillmissing ([1 NaN 3], "constant", 99, "endvalues", 88), [1 99 3]) 482s ***** assert (fillmissing ([1 2 NaN], "constant", 99, "endvalues", 88), [1 2 88]) 482s ***** assert (fillmissing ([NaN 2 3], "constant", 99, "endvalues", 88), [88 2 3]) 482s ***** assert (fillmissing ([NaN NaN 3], "constant", 99, "endvalues", 88), [88 88 3]) 482s ***** assert (fillmissing ([1 NaN NaN], "constant", 99, "endvalues", 88), [1 88 88]) 482s ***** assert (fillmissing ([NaN 2 NaN], "constant", 99, "endvalues", 88), [88 2 88]) 482s ***** assert (fillmissing ([NaN 2 NaN]', "constant", 99, "endvalues", 88), [88 2 88]') 482s ***** assert (fillmissing ([1 NaN 3 NaN 5], "constant", 99, "endvalues", 88), [1 99 3 99 5]) 482s ***** assert (fillmissing ([1 NaN NaN NaN 5], "constant", 99, "endvalues", 88), [1 99 99 99 5]) 482s ***** assert (fillmissing ([NaN NaN NaN NaN 5], "constant", 99, "endvalues", 88), [88 88 88 88 5]) 482s ***** assert (fillmissing ([1 NaN 3 4 NaN], "constant", 99, "endvalues", 88), [1 99 3 4 88]) 482s ***** assert (fillmissing ([1 NaN 3 4 NaN], "constant", 99, 1, "endvalues", 88), [1 88 3 4 88]) 482s ***** assert (fillmissing ([1 NaN 3 4 NaN], "constant", 99, 1, "endvalues", "extrap"), [1 99 3 4 99]) 482s ***** test 482s x = reshape ([1:24], 3, 4, 2); 482s y = x; 482s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 482s y([1,2,5,6,10,13,16,18,19,20,21,22])= 88; y([8])=99; 482s assert (fillmissing (x, "constant", 99, "endvalues", 88), y); 482s assert (fillmissing (x, "constant", 99, 1, "endvalues", 88), y); 482s y = x; y([1,2,5,8,10,13,16,19,22])= 88; y([6,18,20,21])=99; 482s assert (fillmissing (x, "constant", 99, 2, "endvalues", 88), y); 482s y(y==99) = 88; 482s assert (fillmissing (x, "constant", 99, 3, "endvalues", 88), y); 482s assert (fillmissing (x, "constant", 99, 4, "endvalues", 88), y); 482s assert (fillmissing (x, "constant", 99, 99, "endvalues", 88), y); 482s y([8]) = 94; 482s assert (fillmissing (x, "constant", [92:99], 1, "endvalues", 88), y); 482s y([6,8,18,20,21]) = [96,88,99,98,99]; 482s assert (fillmissing (x, "constant", [94:99], 2, "endvalues", 88), y); 482s y = x; y(isnan(y)) = 88; 482s assert (fillmissing (x, "constant", [88:99], 3, "endvalues", 88), y); 482s y = x; y(isnan(y)) = [82,82,83,83,94,85,86,87,87,88,88,88,89]; 482s assert (fillmissing (x, "constant", [92:99], 1, "endvalues", [82:89]), y); 482s y = x; y(isnan(y)) = [84,85,85,96,85,84,87,87,99,87,98,99,87]; 482s assert (fillmissing (x, "constant", [94:99], 2, "endvalues", [84:89]), y); 482s y = x; y(isnan(y)) = [68,69,72,73,75,77,68,71,73,74,75,76,77]; 482s assert (fillmissing (x, "constant", [88:99], 3, "endvalues", [68:79]), y); 482s assert (fillmissing (x, "constant", [88:93;94:99]', 3, "endvalues", [68:73;74:79]'), y) 482s ***** test 482s x = reshape([1:24],4,3,2); 482s x([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 482s y = x; 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [94 95 95 96 96 97 97 98 99 99]; 482s assert (fillmissing (x, "constant", [94:99], 1), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [92 93 94 92 95 97 99 98 97 98]; 482s assert (fillmissing (x, "constant", [92:99], 2), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [88 93 94 96 99 89 91 94 97 98]; 482s assert (fillmissing (x, "constant", [88:99], 3), y); 482s y([1,6,7,9 12, 14, 16, 19, 22, 23]) = [76 81 82 84 87 89 91 94 97 98]; 482s assert (fillmissing (x, "constant", [76:99], 99), y); 482s ***** assert (fillmissing ([1 2 3], "previous"), [1 2 3]) 482s ***** assert (fillmissing ([1 2 3], "next"), [1 2 3]) 482s ***** assert (fillmissing ([1 2 3]', "previous"), [1 2 3]') 482s ***** assert (fillmissing ([1 2 3]', "next"), [1 2 3]') 482s ***** assert (fillmissing ([1 2 NaN], "previous"), [1 2 2]) 482s ***** assert (fillmissing ([1 2 NaN], "next"), [1 2 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN], "previous"), [NaN 2 2]) 482s ***** assert (fillmissing ([NaN 2 NaN], "next"), [2 2 NaN]) 482s ***** assert (fillmissing ([1 NaN 3], "previous"), [1 1 3]) 482s ***** assert (fillmissing ([1 NaN 3], "next"), [1 3 3]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "previous", 1), [1 2 NaN; 4 2 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "previous", 2), [1 2 2; 4 4 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "previous", 3), [1 2 NaN; 4 NaN 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "next", 1), [1 2 6; 4 NaN 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "next", 2), [1 2 NaN; 4 6 6]) 482s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "next", 3), [1 2 NaN; 4 NaN 6]) 482s ***** test 482s x = reshape([1:24],4,3,2); 482s x([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 482s y = x; 482s y([1, 6, 7, 9, 14, 19, 22, 23]) = [2 8 8 10 15 20 24 24]; 482s assert (fillmissing (x, "next", 1), y); 482s y = x; 482s y([1, 6, 7, 14, 16]) = [5, 10, 11, 18, 20]; 482s assert (fillmissing (x, "next", 2), y); 482s y = x; 482s y([1, 6, 9, 12]) = [13 18 21 24]; 482s assert (fillmissing (x, "next", 3), y); 482s assert (fillmissing (x, "next", 99), x); 482s y = x; 482s y([6, 7, 12, 14, 16, 19, 22, 23]) = [5 5 11 13 15 18 21 21]; 482s assert (fillmissing (x, "previous", 1), y); 482s y = x; 482s y([6, 7, 9, 12, 19, 22, 23]) = [2 3 5 8 15 18 15]; 482s assert (fillmissing (x, "previous", 2), y); 482s y = x; 482s y([14, 16, 22, 23]) = [2 4 10 11]; 482s assert (fillmissing (x, "previous", 3), y); 482s assert (fillmissing (x, "previous", 99), x); 482s ***** assert (fillmissing ([1 2 3], "constant", 0, "endvalues", "previous"), [1 2 3]) 482s ***** assert (fillmissing ([1 2 3], "constant", 0, "endvalues", "next"), [1 2 3]) 482s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "endvalues", "previous"), [1 0 3]) 482s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "endvalues", "next"), [1 0 3]) 482s ***** assert (fillmissing ([1 2 NaN], "constant", 0, "endvalues", "previous"), [1 2 2]) 482s ***** assert (fillmissing ([1 2 NaN], "constant", 0, "endvalues", "next"), [1 2 NaN]) 482s ***** assert (fillmissing ([1 NaN NaN], "constant", 0, "endvalues", "previous"), [1 1 1]) 482s ***** assert (fillmissing ([1 NaN NaN], "constant", 0, "endvalues", "next"), [1 NaN NaN]) 482s ***** assert (fillmissing ([NaN 2 3], "constant", 0, "endvalues", "previous"), [NaN 2 3]) 482s ***** assert (fillmissing ([NaN 2 3], "constant", 0, "endvalues", "next"), [2 2 3]) 482s ***** assert (fillmissing ([NaN NaN 3], "constant", 0, "endvalues", "previous"), [NaN NaN 3]) 482s ***** assert (fillmissing ([NaN NaN 3], "constant", 0, "endvalues", "next"), [3 3 3]) 482s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "endvalues", "previous"), [NaN NaN NaN]) 482s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "endvalues", "next"), [NaN NaN NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, "endvalues", "previous"), [NaN 2 0 4 4]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, "endvalues", "next"), [2 2 0 4 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 1, "endvalues", "previous"), [NaN 2 NaN 4 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 1, "endvalues", "next"), [NaN 2 NaN 4 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 2, "endvalues", "previous"), [NaN 2 0 4 4]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 2, "endvalues", "next"), [2 2 0 4 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 3, "endvalues", "previous"), [NaN 2 NaN 4 NaN]) 482s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 3, "endvalues", "next"), [NaN 2 NaN 4 NaN]) 482s ***** test 482s x = reshape ([1:24], 3, 4, 2); 482s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 482s y = x; 482s y([5,6,8,18])=[4,4,0,17]; 482s assert (fillmissing (x, "constant", 0, "endvalues", "previous"), y); 482s assert (fillmissing (x, "constant", 0, 1, "endvalues", "previous"), y); 482s y = x; 482s y([6,10,18,20,21])=[0,7,0,0,0]; 482s assert (fillmissing (x, "constant", 0, 2, "endvalues", "previous"), y); 482s y = x; 482s y([16,19,21])=[4,7,9]; 482s assert (fillmissing (x, "constant", 0, 3, "endvalues", "previous"), y); 482s assert (fillmissing (x, "constant", 0, 4, "endvalues", "previous"), x); 482s assert (fillmissing (x, "constant", 0, 99, "endvalues", "previous"), x); 482s y = x; 482s y([1,2,8,10,13,16,22])=[3,3,0,11,14,17,23]; 482s assert (fillmissing (x, "constant", 0, "endvalues", "next"), y); 482s assert (fillmissing (x, "constant", 0, 1, "endvalues", "next"), y); 482s y = x; 482s y([1,2,5,6,8,18,20,21])=[4,11,11,0,11,0,0,0]; 482s assert (fillmissing (x, "constant", 0, 2, "endvalues", "next"), y); 482s y = x; 482s y([2,5])=[14,17]; 482s assert (fillmissing (x, "constant", 0, 3, "endvalues", "next"), y); 482s assert (fillmissing (x, "constant", 0, 4, "endvalues", "next"), x); 482s assert (fillmissing (x, "constant", 0, 99, "endvalues", "next"), x); 483s ***** assert (fillmissing ([1 2 3], "nearest"), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3]', "nearest"), [1 2 3]') 483s ***** assert (fillmissing ([1 2 NaN], "nearest"), [1 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "nearest"), [2 2 2]) 483s ***** assert (fillmissing ([1 NaN 3], "nearest"), [1 3 3]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "nearest", 1), [1 2 6; 4 2 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "nearest", 2), [1 2 2; 4 6 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "nearest", 3), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "nearest"), [1 3 3 5 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "nearest", "samplepoints", [0 1 2 3 4]), [1 3 3 5 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "nearest", "samplepoints", [0.5 1 2 3 5]), [1 1 3 3 5]) 483s ***** test 483s x = reshape([1:24],4,3,2); 483s x([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 483s y = x; 483s y([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = [2 5 8 10 11 15 15 20 21 24]; 483s assert (fillmissing (x, "nearest", 1), y); 483s y = x; 483s y([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = [5 10 11 5 8 18 20 15 18 15]; 483s assert (fillmissing (x, "nearest", 2), y); 483s y = x; 483s y([1, 6, 9, 12, 14, 16, 22, 23]) = [13 18 21 24 2 4 10 11]; 483s assert (fillmissing (x, "nearest", 3), y); 483s assert (fillmissing (x, "nearest", 99), x); 483s ***** assert (fillmissing ([1 2 3], "constant", 0, "endvalues", "nearest"), [1 2 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "endvalues", "nearest"), [1 0 3]) 483s ***** assert (fillmissing ([1 2 NaN], "constant", 0, "endvalues", "nearest"), [1 2 2]) 483s ***** assert (fillmissing ([1 NaN NaN], "constant", 0, "endvalues", "nearest"), [1 1 1]) 483s ***** assert (fillmissing ([NaN 2 3], "constant", 0, "endvalues", "nearest"), [2 2 3]) 483s ***** assert (fillmissing ([NaN NaN 3], "constant", 0, "endvalues", "nearest"), [3 3 3]) 483s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "endvalues", "nearest"), [NaN NaN NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, "endvalues", "nearest"), [2 2 0 4 4]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 1, "endvalues", "nearest"), [NaN 2 NaN 4 NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 2, "endvalues", "nearest"), [2 2 0 4 4]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 0, 3, "endvalues", "nearest"), [NaN 2 NaN 4 NaN]) 483s ***** test 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([1,2,5,6,8,10,13,16,18,22])=[3 3 4 4 0 11 14 17 17 23]; 483s assert (fillmissing (x, "constant", 0, "endvalues", "nearest"), y); 483s assert (fillmissing (x, "constant", 0, 1, "endvalues", "nearest"), y); 483s y = x; 483s y([1,2,5,6,8,10,18,20,21])=[4 11 11 0 11 7 0 0 0]; 483s assert (fillmissing (x, "constant", 0, 2, "endvalues", "nearest"), y); 483s y = x; 483s y([2,5,16,19,21])=[14 17 4 7 9]; 483s assert (fillmissing (x, "constant", 0, 3, "endvalues", "nearest"), y); 483s assert (fillmissing (x, "constant", 0, 99, "endvalues", "nearest"), x); 483s ***** assert (fillmissing ([1 2 3], "linear"), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3]', "linear"), [1 2 3]') 483s ***** assert (fillmissing ([1 2 NaN], "linear"), [1 2 3]) 483s ***** assert (fillmissing ([NaN 2 NaN], "linear"), [NaN 2 NaN]) 483s ***** assert (fillmissing ([1 NaN 3], "linear"), [1 2 3]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "linear", 1), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "linear", 2), [1 2 3; 4 5 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "linear", 3), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "linear"), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "linear", "samplepoints", [0 1 2 3 4]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "linear", "samplepoints", [0 1.5 2 5 14]), [1 2.5 3 3.5 5], eps) 483s ***** test 483s x = reshape([1:24],4,3,2); 483s x([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 483s assert (fillmissing (x, "linear", 1), reshape([1:24],4,3,2)); 483s y = reshape([1:24],4,3,2); 483s y([1 9 14 19 22 23]) = NaN; 483s assert (fillmissing (x, "linear", 2), y); 483s y = reshape([1:24],4,3,2); 483s y([1, 6, 7, 9, 12, 14, 16, 19, 22, 23]) = NaN; 483s assert (fillmissing (x, "linear", 3), y); 483s assert (fillmissing (x, "linear", 99), x); 483s ***** assert (fillmissing ([1 2 3], "linear", "endvalues", 0), [1 2 3]) 483s ***** assert (fillmissing ([1 NaN 3], "linear", "endvalues", 0), [1 2 3]) 483s ***** assert (fillmissing ([1 2 NaN], "linear", "endvalues", 0), [1 2 0]) 483s ***** assert (fillmissing ([1 NaN NaN], "linear", "endvalues", 0), [1 0 0]) 483s ***** assert (fillmissing ([NaN 2 3], "linear", "endvalues", 0), [0 2 3]) 483s ***** assert (fillmissing ([NaN NaN 3], "linear", "endvalues", 0), [0 0 3]) 483s ***** assert (fillmissing ([NaN NaN NaN], "linear", "endvalues", 0), [0 0 0]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "linear", "endvalues", 0), [0 2 3 4 0]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "linear", 1, "endvalues", 0), [0 2 0 4 0]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "linear", 2, "endvalues", 0), [0 2 3 4 0]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "linear", 3, "endvalues", 0), [0 2 0 4 0]) 483s ***** test 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([1,2,5,6,10,13,16,18,19,20,21,22])=0; y(8)=8; 483s assert (fillmissing (x, "linear", "endvalues", 0), y); 483s assert (fillmissing (x, "linear", 1, "endvalues", 0), y); 483s y = x; 483s y([1,2,5,8,10,13,16,19,22])=0; y([6,18,20,21])=[6,18,20,21]; 483s assert (fillmissing (x, "linear", 2, "endvalues", 0), y); 483s y = x; 483s y(isnan(y))=0; 483s assert (fillmissing (x, "linear", 3, "endvalues", 0), y); 483s assert (fillmissing (x, "linear", 99, "endvalues", 0), y); 483s ***** assert (fillmissing ([1 2 3], "constant", 99, "endvalues", "linear"), [1 2 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 99, "endvalues", "linear"), [1 99 3]) 483s ***** assert (fillmissing ([1 NaN 3 NaN], "constant", 99, "endvalues", "linear"), [1 99 3 4]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "linear"), [1 2 99 4 5]) 483s ***** assert (fillmissing ([NaN 2 NaN NaN], "constant", 99, "endvalues", "linear"), [NaN 2 NaN NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "linear", "samplepoints", [1 2 3 4 5]), [1 2 99 4 5]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "linear", "samplepoints", [0 2 3 4 10]), [0 2 99 4 10]) 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([1,6,10,18,20,21]) = [2.5, 5, 8.5, 17.25, 21, 21.75]; 483s assert (fillmissing (x, "linear", 2, "samplepoints", [2 4 8 10]), y, eps); 483s y([1,6,10,18,20,21]) = [2.5, 4.5, 8.5, 17.25, 21.5, 21.75]; 483s assert (fillmissing (x, "spline", 2, "samplepoints", [2 4 8 10]), y, eps); 483s y([1,6,10,18,20,21]) = [2.5, 4.559386973180077, 8.5, 17.25, 21.440613026819925, 21.75]; 483s assert (fillmissing (x, "pchip", 2, "samplepoints", [2 4 8 10]), y, 10*eps); 483s ***** test <60965> 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([1,6,10,18,20,21]) = [2.5, 4.609523809523809, 8.5, 17.25, 21.390476190476186, 21.75]; 483s assert (fillmissing (x, "makima", 2, "samplepoints", [2 4 8 10]), y, 10*eps); 483s !!!!! known bug: https://octave.org/testfailure/?60965 483s interp1: invalid METHOD 'makima' 483s ***** assert (fillmissing ([1 2 3], "constant", 99, "endvalues", "spline"), [1 2 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 99, "endvalues", "spline"), [1 99 3]) 483s ***** assert (fillmissing ([1 NaN 3 NaN], "constant", 99, "endvalues", "spline"), [1 99 3 4]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "spline"), [1 2 99 4 5]) 483s ***** assert (fillmissing ([NaN 2 NaN NaN], "constant", 99, "endvalues", "spline"), [NaN 2 NaN NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "spline", "samplepoints", [1 2 3 4 5]), [1 2 99 4 5]) 483s ***** assert (fillmissing ([NaN 2 NaN 4 NaN], "constant", 99, "endvalues", "spline", "samplepoints", [0 2 3 4 10]), [0 2 99 4 10]) 483s ***** assert (fillmissing ([1 2 3], "movmean", 1), [1 2 3]) 483s ***** assert (fillmissing ([1 2 NaN], "movmean", 1), [1 2 NaN]) 483s ***** assert (fillmissing ([1 2 3], "movmean", 2), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3], "movmean", [1 0]), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3]', "movmean", 2), [1 2 3]') 483s ***** assert (fillmissing ([1 2 NaN], "movmean", 2), [1 2 2]) 483s ***** assert (fillmissing ([1 2 NaN], "movmean", [1 0]), [1 2 2]) 483s ***** assert (fillmissing ([1 2 NaN], "movmean", [1 0]'), [1 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmean", 2), [NaN 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmean", [1 0]), [NaN 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmean", [0 1]), [2 2 NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmean", [0 1.1]), [2 2 NaN]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmean", [3 0]), [1 1 3 2 5]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmean", 3, 1), [1 2 6; 4 2 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmean", 3, 2), [1 2 2; 4 5 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmean", 3, 3), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmean", 99), [1 3 3 3 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmean", 99, 1), [1 NaN 3 NaN 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', "movmean", 99, 1), [1 3 3 3 5]') 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmean", 99, 2), [1 3 3 3 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', "movmean", 99, 2), [1 NaN 3 NaN 5]') 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 3, "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [1 1], "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [1.5 1.5], "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 4, "samplepoints", [1 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [2 2], "samplepoints", [1 2 3 4 5]), [1 1 3 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 4.0001, "samplepoints", [1 2 3 4 5]), [1 1 3 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 3, "samplepoints", [1.5 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 3, "samplepoints", [1 2 3 4 4.5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", 3, "samplepoints", [1.5 2 3 4 4.5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [1.5 1.5], "samplepoints", [1.5 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [1.5 1.5], "samplepoints", [1 2 3 4 4.5]), [1 1 5 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmean", [1.5 1.5], "samplepoints", [1.5 2 3 4 4.5]), [1 1 3 5 5]) 483s ***** test 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([2,5,8,10,13,16,18,22]) = [3,4,8,11,14,17,17,23]; 483s assert (fillmissing (x, "movmean", 3), y); 483s assert (fillmissing (x, "movmean", [1 1]), y); 483s assert (fillmissing (x, "movmean", 3, "endvalues", "extrap"), y); 483s assert (fillmissing (x, "movmean", 3, "samplepoints", [1 2 3]), y); 483s y = x; 483s y([1,6,8,10,18,20,21]) = [4,6,11,7,15,20,24]; 483s assert (fillmissing (x, "movmean", 3, 2), y); 483s assert (fillmissing (x, "movmean", [1 1], 2), y); 483s assert (fillmissing (x, "movmean", 3, 2, "endvalues", "extrap"), y); 483s assert (fillmissing (x, "movmean", 3, 2, "samplepoints", [1 2 3 4]), y); 483s y([1,18]) = NaN; y(6) = 9; 483s assert (fillmissing (x, "movmean", 3, 2, "samplepoints", [0 2 3 4]), y); 483s y = x; 483s y([1,2,5,6,10,13,16,18,19,20,21,22]) = 99; y(8) = 8; 483s assert (fillmissing (x, "movmean", 3, "endvalues", 99), y); 483s y = x; 483s y([1,2,5,8,10,13,16,19,22]) = 99; y([6,18,20,21]) = [6,15,20,24]; 483s assert (fillmissing (x, "movmean", 3, 2, "endvalues", 99), y); 483s ***** assert (fillmissing ([1 2 3], "movmedian", 1), [1 2 3]) 483s ***** assert (fillmissing ([1 2 NaN], "movmedian", 1), [1 2 NaN]) 483s ***** assert (fillmissing ([1 2 3], "movmedian", 2), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3], "movmedian", [1 0]), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3]', "movmedian", 2), [1 2 3]') 483s ***** assert (fillmissing ([1 2 NaN], "movmedian", 2), [1 2 2]) 483s ***** assert (fillmissing ([1 2 NaN], "movmedian", [1 0]), [1 2 2]) 483s ***** assert (fillmissing ([1 2 NaN], "movmedian", [1 0]'), [1 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmedian", 2), [NaN 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmedian", [1 0]), [NaN 2 2]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmedian", [0 1]), [2 2 NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN], "movmedian", [0 1.1]), [2 2 NaN]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmedian", [3 0]), [1 1 3 2 5]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmedian", 3, 1), [1 2 6; 4 2 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmedian", 3, 2), [1 2 2; 4 5 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], "movmedian", 3, 3), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmedian", 99), [1 3 3 3 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmedian", 99, 1), [1 NaN 3 NaN 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', "movmedian", 99, 1), [1 3 3 3 5]') 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "movmedian", 99, 2), [1 3 3 3 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', "movmedian", 99, 2), [1 NaN 3 NaN 5]') 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 3, "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [1 1], "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [1.5 1.5], "samplepoints", [1 2 3 4 5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 4, "samplepoints", [1 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [2 2], "samplepoints", [1 2 3 4 5]), [1 1 3 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 4.0001, "samplepoints", [1 2 3 4 5]), [1 1 3 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 3, "samplepoints", [1.5 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 3, "samplepoints", [1 2 3 4 4.5]), [1 1 NaN 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", 3, "samplepoints", [1.5 2 3 4 4.5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [1.5 1.5], "samplepoints", [1.5 2 3 4 5]), [1 1 1 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [1.5 1.5], "samplepoints", [1 2 3 4 4.5]), [1 1 5 5 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], "movmedian", [1.5 1.5], "samplepoints", [1.5 2 3 4 4.5]), [1 1 3 5 5]) 483s ***** test 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([2 5 8 10 13 16 18 22]) = [3 4 8 11 14 17 17 23]; 483s assert (fillmissing (x, "movmedian", 3), y); 483s assert (fillmissing (x, "movmedian", [1 1]), y); 483s assert (fillmissing (x, "movmedian", 3, "endvalues", "extrap"), y); 483s assert (fillmissing (x, "movmedian", 3, "samplepoints", [1 2 3]), y); 483s y = x; 483s y([1 6 8 10 18 20 21]) = [4 6 11 7 15 20 24]; 483s assert (fillmissing (x, "movmedian", 3, 2), y); 483s assert (fillmissing (x, "movmedian", [1 1], 2), y); 483s assert (fillmissing (x, "movmedian", 3, 2, "endvalues", "extrap"), y); 483s assert (fillmissing (x, "movmedian", 3, 2, "samplepoints", [1 2 3 4]), y); 483s y([1,18]) = NaN; y(6) = 9; 483s assert (fillmissing (x, "movmedian", 3, 2, "samplepoints", [0 2 3 4]), y); 483s y = x; 483s y([1,2,5,6,10,13,16,18,19,20,21,22]) = 99; y(8) = 8; 483s assert (fillmissing (x, "movmedian", 3, "endvalues", 99), y); 483s y = x; 483s y([1,2,5,8,10,13,16,19,22]) = 99; y([6,18,20,21]) = [6,15,20,24]; 483s assert (fillmissing (x, "movmedian", 3, 2, "endvalues", 99), y); 483s ***** assert (fillmissing ([1 2 3], @(x,y,z) x+y+z, 2), [1 2 3]) 483s ***** assert (fillmissing ([1 2 NaN], @(x,y,z) x+y+z, 1), [1 2 NaN]) 483s ***** assert (fillmissing ([1 2 3], @(x,y,z) x+y+z, 2), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3], @(x,y,z) x+y+z, [1 0]), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3]', @(x,y,z) x+y+z, 2), [1 2 3]') 483s ***** assert (fillmissing ([1 2 NaN], @(x,y,z) x+y+z, 2), [1 2 7]) 483s ***** assert (fillmissing ([1 2 NaN], @(x,y,z) x+y+z, [1 0]), [1 2 7]) 483s ***** assert (fillmissing ([1 2 NaN], @(x,y,z) x+y+z, [1 0]'), [1 2 7]) 483s ***** assert (fillmissing ([NaN 2 NaN], @(x,y,z) x+y+z, 2), [5 2 7]) 483s ***** assert (fillmissing ([NaN 2 NaN], @(x,y,z) x+y+z, [1 0]), [NaN 2 7]) 483s ***** assert (fillmissing ([NaN 2 NaN], @(x,y,z) x+y+z, [0 1]), [5 2 NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN], @(x,y,z) x+y+z, [0 1.1]), [5 2 NaN]) 483s ***** assert (fillmissing ([1 2 NaN NaN 3 4], @(x,y,z) x+y+z, 2),[1 2 7 12 3 4]) 483s ***** assert (fillmissing ([1 2 NaN NaN 3 4], @(x,y,z) x+y+z, 0.5),[1 2 NaN NaN 3 4]) 483s ***** function A = testfcn (x,y,z) 483s if isempty (y) 483s A = z; 483s elseif (numel (y) == 1) 483s A = repelem (x(1), numel(z)); 483s else 483s A = interp1 (y, x, z, "linear","extrap"); 483s endif 483s ***** endfunction 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], @testfcn, [3 0]), [1 1 3 NaN 5]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], @testfcn, 3, 1), [1 2 6; 4 2 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], @testfcn, 3, 2), [1 2 2; 4 5 6]) 483s ***** assert (fillmissing ([1 2 NaN; 4 NaN 6], @testfcn, 3, 3), [1 2 NaN; 4 NaN 6]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], @testfcn, 99), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], @testfcn, 99, 1), [1 NaN 3 NaN 5]) ##known not-compatible. matlab bug ML2022a: [1 1 3 1 5] 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', @testfcn, 99, 1), [1 2 3 4 5]') 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], @testfcn, 99, 2), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', @testfcn, 99, 2), [1 NaN 3 NaN 5]') ##known not-compatible. matlab bug ML2022a: [1 1 3 1 5]' 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], @testfcn, 99, 3), [1 NaN 3 NaN 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', @testfcn, 99, 3), [1 NaN 3 NaN 5]') 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, 3, "samplepoints", [1 2 3 4 5]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, [1 1], "samplepoints", [1 2 3 4 5]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, [1.5 1.5], "samplepoints", [1 2 3 4 5]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, 4, "samplepoints", [1 2 3 4 5]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, [2 2], "samplepoints", [1 2 3 4 5]), [1 2 3 4 5]) 483s ***** assert (fillmissing ([1 NaN NaN NaN 5], @testfcn, 3, "samplepoints", [1 2 2.5 3 3.5]), [1 2.6 3.4 4.2 5], 10*eps) 483s ***** assert (fillmissing ([NaN NaN 3 NaN 5], @testfcn, 99, 1), [NaN NaN 3 NaN 5]) ##known not-compatible. matlab bug ML2022a: [1 1 3 1 5] 483s ***** test 483s ***** function A = testfcn (x,y,z) 483s if isempty (y) 483s A = z; 483s elseif (numel (y) == 1) 483s A = repelem (x(1), numel(z)); 483s else 483s A = interp1 (y, x, z, "linear","extrap"); 483s endif 483s ***** endfunction 483s x = reshape ([1:24], 3, 4, 2); 483s x([1,2,5,6,8,10,13,16,18,19,20,21,22]) = NaN; 483s y = x; 483s y([1,2,5,6,8,10,13,16,18,22]) = [3,3,4,4,8,11,14,17,17,23]; 483s assert (fillmissing (x, @testfcn, 3), y); 483s assert (fillmissing (x, @testfcn, [1 1]), y); 483s assert (fillmissing (x, @testfcn, 3, "endvalues", "extrap"), y); 483s assert (fillmissing (x, @testfcn, 3, "samplepoints", [1 2 3]), y); 483s y= x; 483s y(isnan(x)) = 99; y(8) = 8; 483s assert (fillmissing (x, @testfcn, 3, "endvalues", 99), y) 483s y = x; 483s y([1,2,5,6,8,10,18,20,21]) = [4,11,11,6,11,7,18,20,21]; 483s assert (fillmissing (x, @testfcn, 3, 2), y); 483s assert (fillmissing (x, @testfcn, [1 1], 2), y); 483s assert (fillmissing (x, @testfcn, 3, 2, "endvalues", "extrap"), y); 483s assert (fillmissing (x, @testfcn, 3, 2, "samplepoints", [1 2 3 4]), y); 483s y(1) = NaN; y([6,18,21]) = [9,24,24]; 483s assert (fillmissing (x, @testfcn, 3, 2, "samplepoints", [0 2 3 4]), y); 483s y = x; 483s y([1,2,5,6,10,13,16,18,19,20,21,22]) = 99; y(8) = [8]; 483s assert (fillmissing (x, @testfcn, 3, "endvalues", 99), y); 483s y([6,18,20,21]) = [6,18,20,21]; y(8)=99; 483s assert (fillmissing (x, @testfcn, 3, 2, "endvalues", 99), y); 483s y([6,18,20,21]) = 99; 483s assert (fillmissing (x, @testfcn, 3, 3, "endvalues", 99), y); 483s ***** assert (fillmissing ([1 2 3], "constant", 0, "maxgap", 1), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3], "constant", 0, "maxgap", 99), [1 2 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "maxgap", 1), [1 NaN 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "maxgap", 1.999), [1 NaN 3]) 483s ***** assert (fillmissing ([1 NaN 3], "constant", 0, "maxgap", 2), [1 0 3]) 483s ***** assert (fillmissing ([1 NaN NaN 4], "constant", 0, "maxgap", 2), [1 NaN NaN 4]) 483s ***** assert (fillmissing ([1 NaN NaN 4], "constant", 0, "maxgap", 3), [1 0 0 4]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "constant", 0, "maxgap", 2), [1 0 3 0 5]) 483s ***** assert (fillmissing ([NaN 2 NaN], "constant", 0, "maxgap", 0.999), [NaN 2 NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN], "constant", 0, "maxgap", 1), [0 2 0]) 483s ***** assert (fillmissing ([NaN 2 NaN NaN], "constant", 0, "maxgap", 1), [0 2 NaN NaN]) 483s ***** assert (fillmissing ([NaN 2 NaN NaN], "constant", 0, "maxgap", 2), [0 2 0 0]) 483s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "maxgap", 1), [NaN NaN NaN]) 483s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "maxgap", 3), [NaN NaN NaN]) 483s ***** assert (fillmissing ([NaN NaN NaN], "constant", 0, "maxgap", 999), [NaN NaN NaN]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "constant", 0, "maxgap", 2, "samplepoints", [0 1 2 3 5]), [1 0 3 NaN 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5]', "constant", 0, "maxgap", 2, "samplepoints", [0 1 2 3 5]), [1 0 3 NaN 5]') 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "constant", 0, "maxgap", 2, "samplepoints", [0 2 3 4 5]), [1 NaN 3 0 5]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5; 1 NaN 3 NaN 5], "constant", 0, 2, "maxgap", 2, "samplepoints", [0 2 3 4 5]), [1 NaN 3 0 5; 1 NaN 3 0 5]) 483s ***** test 483s x = cat (3, [1, 2, NaN; 4, NaN, NaN], [NaN, 2, 3; 4, 5, NaN]); 483s assert (fillmissing (x, "constant", 0, "maxgap", 0.1), x); 483s y = x; 483s y([4,7,12]) = 0; 483s assert (fillmissing (x, "constant", 0, "maxgap", 1), y); 483s assert (fillmissing (x, "constant", 0, 1, "maxgap", 1), y); 483s y = x; 483s y([5,7,12]) = 0; 483s assert (fillmissing (x, "constant", 0, 2, "maxgap", 1), y); 483s y = x; 483s y([4,5,7]) = 0; 483s assert (fillmissing (x, "constant", 0, 3, "maxgap", 1), y); 483s ***** test 483s x = cat (3, [1, 2, NaN; 4, NaN, NaN], [NaN, 2, 3; 4, 5, NaN]); 483s [~, idx] = fillmissing (x, "constant", 0, "maxgap", 1); 483s assert (idx, logical (cat (3, [0 0 0; 0 1 0], [1 0 0; 0 0 1]))); 483s [~, idx] = fillmissing (x, "constant", 0, 1, "maxgap", 1); 483s assert (idx, logical (cat (3, [0 0 0; 0 1 0], [1 0 0; 0 0 1]))); 483s [~, idx] = fillmissing (x, "constant", 0, 2, "maxgap", 1); 483s assert (idx, logical (cat (3, [0 0 1; 0 0 0], [1 0 0; 0 0 1]))); 483s [~, idx] = fillmissing (x, "constant", 0, 3, "maxgap", 1); 483s assert (idx, logical (cat (3, [0 0 1; 0 1 0], [1 0 0; 0 0 0]))); 483s ***** test 483s x = [NaN, 2, 3]; 483s [~,idx] = fillmissing (x, "previous"); 483s assert (idx, logical ([0 0 0])); 483s [~,idx] = fillmissing (x, "movmean", 1); 483s assert (idx, logical ([0 0 0])); 483s x = [1:3;4:6;7:9]; 483s x([2,4,7,9]) = NaN; 483s [~,idx] = fillmissing (x, "linear"); 483s assert (idx, logical ([0 1 0;1 0 0;0 0 0])); 483s [~,idx] = fillmissing (x, "movmean", 2); 483s assert (idx, logical ([0 0 0;1 0 0;0 0 1])); 483s [A, idx] = fillmissing ([1 2 3 NaN NaN], 'movmean',2); 483s assert (A, [1 2 3 3 NaN]); 483s assert (idx, logical([0 0 0 1 0])); 483s [A, idx] = fillmissing ([1 2 3 NaN NaN], 'movmean',3); 483s assert (A, [1 2 3 3 NaN]); 483s assert (idx, logical([0 0 0 1 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmedian', 2); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 3 NaN NaN], 'movmedian', 3); 483s assert (A, [1 2 3 3 NaN]); 483s assert (idx, logical([0 0 0 1 0])); 483s [A, idx] = fillmissing ([1 NaN 1 NaN 1], @(x,y,z) z, 3); 483s assert (A, [1 2 1 4 1]); 483s assert (idx, logical([0 1 0 1 0])); 483s [A, idx] = fillmissing ([1 NaN 1 NaN 1], @(x,y,z) NaN (size (z)), 3); 483s assert (A, [1 NaN 1 NaN 1]); 483s assert (idx, logical([0 0 0 0 0])); 483s ***** assert (fillmissing ([1 2 3], "constant", 99, "missinglocations", logical([0 0 0])), [1 2 3]) 483s ***** assert (fillmissing ([1 2 3], "constant", 99, "missinglocations", logical([1 1 1])), [99 99 99]) 483s ***** assert (fillmissing ([1 NaN 2 3 NaN], "constant", 99, "missinglocations", logical([1 0 1 0 1])), [99 NaN 99 3 99]) 483s ***** assert (fillmissing ([1 NaN 3 NaN 5], "constant", NaN, "missinglocations", logical([0 1 1 1 0])), [1 NaN NaN NaN 5]) 483s ***** assert (fillmissing (["foo ";" bar"], "constant", 'X', "missinglocations", logical([0 0 0 0; 0 0 0 0])), ["foo ";" bar"]) 483s ***** assert (fillmissing (["foo ";" bar"], "constant", 'X', "missinglocations", logical([1 0 1 0; 0 1 1 0])), ["XoX ";" XXr"]) 483s ***** assert (fillmissing ({"foo","", "bar"}, "constant", 'X', "missinglocations", logical([0 0 0])), {"foo","", "bar"}) 483s ***** assert (fillmissing ({"foo","", "bar"}, "constant", 'X', "missinglocations", logical([1 1 0])), {"X","X","bar"}) 483s ***** test 483s [~,idx] = fillmissing ([1 NaN 3 NaN 5], "constant", NaN); 483s assert (idx, logical([0 0 0 0 0])); 483s [~,idx] = fillmissing ([1 NaN 3 NaN 5], "constant", NaN, "missinglocations", logical([0 1 1 1 0])); 483s assert (idx, logical([0 1 1 1 0])); 483s [A, idx] = fillmissing ([1 2 NaN 1 NaN], 'movmean', 3.1, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmean', 2, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN 1 NaN], 'movmean', 3, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmean', 3, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmedian', 2, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmedian', 3, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 2 NaN NaN NaN], 'movmedian', 3.1, 'missinglocations', logical([0 0 1 1 0])); 483s assert (A, [1 2 2 NaN NaN]); 483s assert (idx, logical([0 0 1 0 0])); 483s [A, idx] = fillmissing ([1 NaN 1 NaN 1], @(x,y,z) ones (size (z)), 3, "missinglocations", logical([0 1 0 1 1])); 483s assert (A, [1 1 1 1 1]); 483s assert (idx, logical([0 1 0 1 1])); 483s [A, idx] = fillmissing ([1 NaN 1 NaN 1], @(x,y,z) NaN (size (z)), 3, "missinglocations", logical([0 1 0 1 1])); 483s assert (A, [1 NaN 1 NaN NaN]); 483s assert (idx, logical([0 0 0 0 0])); 484s ***** assert (fillmissing (' foo bar ', "constant", 'X'), 'XfooXbarX') 484s ***** assert (fillmissing ([' foo';'bar '], "constant", 'X'), ['Xfoo';'barX']) 484s ***** assert (fillmissing ([' foo';'bar '], "next"), ['bfoo';'bar ']) 484s ***** assert (fillmissing ([' foo';'bar '], "next", 1), ['bfoo';'bar ']) 484s ***** assert (fillmissing ([' foo';'bar '], "previous"), [' foo';'baro']) 484s ***** assert (fillmissing ([' foo';'bar '], "previous", 1), [' foo';'baro']) 484s ***** assert (fillmissing ([' foo';'bar '], "nearest"), ['bfoo';'baro']) 484s ***** assert (fillmissing ([' foo';'bar '], "nearest", 1), ['bfoo';'baro']) 484s ***** assert (fillmissing ([' foo';'bar '], "next", 2), ['ffoo';'bar ']) 484s ***** assert (fillmissing ([' foo';'bar '], "previous", 2), [' foo';'barr']) 484s ***** assert (fillmissing ([' foo';'bar '], "nearest", 2), ['ffoo';'barr']) 484s ***** assert (fillmissing ([' foo';'bar '], "next", 3), [' foo';'bar ']) 484s ***** assert (fillmissing ([' foo';'bar '], "previous", 3), [' foo';'bar ']) 484s ***** assert (fillmissing ([' foo';'bar '], "nearest", 3), [' foo';'bar ']) 484s ***** assert (fillmissing ({'foo','bar'}, "constant", 'a'), {'foo','bar'}) 484s ***** assert (fillmissing ({'foo','bar'}, "constant", {'a'}), {'foo','bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "constant", 'a'), {'foo', 'a', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "constant", {'a'}), {'foo', 'a', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "previous"), {'foo', 'foo', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "next"), {'foo', 'bar', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "nearest"), {'foo', 'bar', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "previous", 2), {'foo', 'foo', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "next", 2), {'foo', 'bar', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "nearest", 2), {'foo', 'bar', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "previous", 1), {'foo', '', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "previous", 1), {'foo', '', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "next", 1), {'foo', '', 'bar'}) 484s ***** assert (fillmissing ({'foo', '', 'bar'}, "nearest", 1), {'foo', '', 'bar'}) 484s ***** assert (fillmissing ("abc ", @(x,y,z) x+y+z, 2), "abcj") 484s ***** assert (fillmissing ({'foo', '', 'bar'}, @(x,y,z) x(1), 3), {'foo','foo','bar'}) 484s ***** test 484s [A, idx] = fillmissing (" a b c", "constant", " "); 484s assert (A, " a b c"); 484s assert (idx, logical([0 0 0 0 0 0])); 484s [A, idx] = fillmissing ({"foo", "", "bar", ""}, "constant", ""); 484s assert (A, {"foo", "", "bar", ""}); 484s assert (idx, logical([0 0 0 0])); 484s [A, idx] = fillmissing ({"foo", "", "bar", ""}, "constant", {""}); 484s assert (A, {"foo", "", "bar", ""}); 484s assert (idx, logical([0 0 0 0])); 484s [A,idx] = fillmissing (' f o o ', @(x,y,z) repelem ("a", numel (z)), 3); 484s assert (A, "afaoaoa"); 484s assert (idx, logical([1 0 1 0 1 0 1])); 484s [A,idx] = fillmissing (' f o o ', @(x,y,z) repelem (" ", numel (z)), 3); 484s assert (A, " f o o "); 484s assert (idx, logical([0 0 0 0 0 0 0])); 484s [A,idx] = fillmissing ({'','foo',''}, @(x,y,z) repelem ({'a'}, numel (z)), 3); 484s assert (A, {'a','foo','a'}); 484s assert (idx, logical([1 0 1])); 484s [A,idx] = fillmissing ({'','foo',''}, @(x,y,z) repelem ({''}, numel (z)), 3); 484s assert (A, {'','foo',''}); 484s assert (idx, logical([0 0 0])); 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), "constant", true), logical ([1 0 1 0 1])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), "constant", false, 'missinglocations', logical([1 0 1 0 1])), logical ([0 0 0 0 0])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), "previous", 'missinglocations', logical([1 0 1 0 1])), logical ([1 0 0 0 0])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), "next", 'missinglocations', logical([1 0 1 0 1])), logical ([0 0 0 0 1])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), "nearest", 'missinglocations', logical([1 0 1 0 1])), logical ([0 0 0 0 0])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), @(x,y,z) false(size(z)), 3), logical ([1 0 1 0 1])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), @(x,y,z) false(size(z)), 3, 'missinglocations', logical([1 0 1 0 1])), logical ([0 0 0 0 0])) 484s ***** assert (fillmissing (logical ([1 0 1 0 1]), @(x,y,z) false(size(z)), [2 0], 'missinglocations', logical([1 0 1 0 1])), logical ([1 0 0 0 0])) 484s ***** test 484s x = logical ([1 0 1 0 1]); 484s [~,idx] = fillmissing (x, "constant", true); 484s assert (idx, logical([0 0 0 0 0])); 484s [~,idx] = fillmissing (x, "constant", false, 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, "constant", true, 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, "previous", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([0 0 1 0 1])); 484s [~,idx] = fillmissing (x, "next", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 0])); 484s [~,idx] = fillmissing (x, "nearest", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, @(x,y,z) false(size(z)), 3); 484s assert (idx, logical ([0 0 0 0 0])) 484s [~,idx] = fillmissing (x, @(x,y,z) false(size(z)), 3, 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical ([1 0 1 0 1])) 484s [~,idx] = fillmissing (x, @(x,y,z) false(size(z)), [2 0], 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical ([0 0 1 0 1])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), "constant", 0), int32 ([1 2 3 4 5])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), "constant", 0,'missinglocations', logical([1 0 1 0 1])), int32 ([0 2 0 4 0])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), "previous", 'missinglocations', logical([1 0 1 0 1])), int32 ([1 2 2 4 4])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), "next", 'missinglocations', logical([1 0 1 0 1])), int32 ([2 2 4 4 5])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), "nearest", 'missinglocations', logical([1 0 1 0 1])), int32 ([2 2 4 4 4])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), @(x,y,z) z+10, 3), int32 ([1 2 3 4 5])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), @(x,y,z) z+10, 3, 'missinglocations', logical([1 0 1 0 1])), int32 ([11 2 13 4 15])) 484s ***** assert (fillmissing (int32 ([1 2 3 4 5]), @(x,y,z) z+10, [2 0], 'missinglocations', logical([1 0 1 0 1])), int32 ([1 2 13 4 15])) 484s ***** test 484s x = int32 ([1 2 3 4 5]); 484s [~,idx] = fillmissing (x, "constant", 0); 484s assert (idx, logical([0 0 0 0 0])); 484s [~,idx] = fillmissing (x, "constant", 0, 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, "constant", 3, 'missinglocations', logical([0 0 1 0 0])); 484s assert (idx, logical([0 0 1 0 0])); 484s [~,idx] = fillmissing (x, "previous", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([0 0 1 0 1])); 484s [~,idx] = fillmissing (x, "next", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 0])); 484s [~,idx] = fillmissing (x, "nearest", 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, @(x,y,z) z+10, 3); 484s assert (idx, logical([0 0 0 0 0])); 484s [~,idx] = fillmissing (x, @(x,y,z) z+10, 3, 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([1 0 1 0 1])); 484s [~,idx] = fillmissing (x, @(x,y,z) z+10, [2 0], 'missinglocations', logical([1 0 1 0 1])); 484s assert (idx, logical([0 0 1 0 1])); 484s ***** test 484s [A, idx] = fillmissing ([struct struct], "constant", 1); 484s assert (A, [struct struct]) 484s assert (idx, [false false]) 484s ***** error fillmissing () 484s ***** error fillmissing (1) 484s ***** error fillmissing (1,2,3,4,5,6,7,8,9,10,11,12,13) 485s ***** error fillmissing (1, 2) 485s ***** error fillmissing (1, "foo") 485s ***** error fillmissing (1, @(x) x, 1) 485s ***** error fillmissing (1, @(x,y) x+y, 1) 485s ***** error fillmissing ("a b c", "linear") 485s ***** error fillmissing ({'a','b'}, "linear") 485s ***** error <'movmean' and 'movmedian' methods only valid for numeric> fillmissing ("a b c", "movmean", 2) 485s ***** error <'movmean' and 'movmedian' methods only valid for numeric> fillmissing ({'a','b'}, "movmean", 2) 485s ***** error <'constant' method must be followed by> fillmissing (1, "constant") 485s ***** error fillmissing (1, "constant", []) 485s ***** error fillmissing (1, "constant", "a") 485s ***** error fillmissing ("a", "constant", 1) 485s ***** error fillmissing ("a", "constant", {"foo"}) 485s ***** error fillmissing ({"foo"}, "constant", 1) 485s ***** error fillmissing (1, "movmean") 485s ***** error fillmissing (1, "movmedian") 485s ***** error fillmissing (1, "constant", 1, 0) 485s ***** error fillmissing (1, "constant", 1, -1) 485s ***** error fillmissing (1, "constant", 1, [1 2]) 485s ***** error fillmissing (1, "constant", 1, "samplepoints") 485s ***** error fillmissing (1, "constant", 1, "foo") 485s ***** error fillmissing (1, "constant", 1, 1, "foo") 485s ***** error fillmissing (1, "constant", 1, 2, {1}, 4) 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "samplepoints", [1 2]) 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "samplepoints", [3 1 2]) 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "samplepoints", [1 1 2]) 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "samplepoints", "abc") 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "samplepoints", logical([1 1 1])) 485s ***** error fillmissing ([1 2 3], "constant", 1, 1, "samplepoints", [1 2 3]) 485s ***** error fillmissing ('foo', "next", "endvalues", 1) 485s ***** error fillmissing (1, "constant", 1, 1, "endvalues", "foo") 485s ***** error fillmissing ([1 2 3], "constant", 1, 2, "endvalues", [1 2 3]) 485s ***** error fillmissing ([1 2 3], "constant", 1, 1, "endvalues", [1 2]) 485s ***** error fillmissing (randi(5,4,3,2), "constant", 1, 3, "endvalues", [1 2]) 485s ***** error fillmissing (1, "constant", 1, 1, "endvalues", {1}) 485s ***** error fillmissing (1, "constant", 1, 2, "foo", 4) 485s ***** error fillmissing (struct, "constant", 1, "missinglocations", false) 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", 1, "missinglocations", false) 485s ***** error fillmissing (1, "constant", 1, 2, "missinglocations", false, "maxgap", 1) 485s ***** error fillmissing (1, "constant", 1, "replacevalues", true) 485s ***** error fillmissing (1, "constant", 1, "datavariables", 'Varname') 485s ***** error fillmissing (1, "constant", 1, 2, "missinglocations", 1) 485s ***** error fillmissing (1, "constant", 1, 2, "missinglocations", 'a') 485s ***** error fillmissing (1, "constant", 1, 2, "missinglocations", [true false]) 485s ***** error fillmissing (true, "linear", "missinglocations", true) 485s ***** error fillmissing (int8(1), "linear", "missinglocations", true) 485s ***** error fillmissing (true, "next", "missinglocations", true, "EndValues", "linear") 485s ***** error fillmissing (true, "next", "EndValues", "linear", "missinglocations", true) 485s ***** error fillmissing (int8(1), "next", "missinglocations", true, "EndValues", "linear") 485s ***** error fillmissing (int8(1), "next", "EndValues", "linear", "missinglocations", true) 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", true) 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", 'a') 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", [1 2]) 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", 0) 485s ***** error fillmissing (1, "constant", 1, 2, "maxgap", -1) 485s ***** error fillmissing ([1 2 3], "constant", [1 2 3]) 485s ***** error fillmissing ([1 2 3]', "constant", [1 2 3]) 485s ***** error fillmissing ([1 2 3]', "constant", [1 2 3], 1) 485s ***** error fillmissing ([1 2 3], "constant", [1 2 3], 2) 485s ***** error fillmissing (randi(5,4,3,2), "constant", [1 2], 1) 485s ***** error fillmissing (randi(5,4,3,2), "constant", [1 2], 2) 485s ***** error fillmissing (randi(5,4,3,2), "constant", [1 2], 3) 485s ***** error fillmissing (1, @(x,y,z) x+y+z) 485s ***** error fillmissing ([1 NaN 2], @(x,y,z) [1 2], 2) 485s 378 tests, 377 passed, 0 known failure, 1 skipped 485s [inst/qrandn.m] 485s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/qrandn.m 485s ***** demo 485s z = qrandn (-5, 5e6); 485s [c x] = hist (z,linspace(-1.5,1.5,200),1); 485s figure(1) 485s plot(x,c,"r."); axis tight; axis([-1.5,1.5]); 485s 485s z = qrandn (-0.14286, 5e6); 485s [c x] = hist (z,linspace(-2,2,200),1); 485s figure(2) 485s plot(x,c,"r."); axis tight; axis([-2,2]); 485s 485s z = qrandn (2.75, 5e6); 485s [c x] = hist (z,linspace(-1e3,1e3,1e3),1); 485s figure(3) 485s semilogy(x,c,"r."); axis tight; axis([-100,100]); 485s 485s # --------- 485s # Figures from the reference paper. 485s ***** error qrandn ([1 2], 1) 485s ***** error qrandn (4, 1) 485s ***** error qrandn (3, 1) 485s ***** error qrandn (2.5, 1, 2, 3) 485s ***** error qrandn (2.5) 485s ***** test 485s q = 1.5; 485s s = [2, 3]; 485s z = qrandn (q, s); 485s assert (isnumeric (z) && isequal (size (z), s)); 485s 6 tests, 6 passed, 0 known failure, 0 skipped 485s [inst/slicesample.m] 485s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/slicesample.m 485s ***** demo 485s ## Define function to sample 485s d = 2; 485s mu = [-1; 2]; 485s rand ("seed", 5) # for reproducibility 485s Sigma = rand (d); 485s Sigma = (Sigma + Sigma'); 485s Sigma += eye (d)*abs (eigs (Sigma, 1, "sa")) * 1.1; 485s pdf = @(x)(2*pi)^(-d/2)*det(Sigma)^-.5*exp(-.5*sum((x.'-mu).*(Sigma\(x.'-mu)),1)); 485s 485s ## Inputs 485s start = ones (1,2); 485s nsamples = 500; 485s K = 500; 485s m = 10; 485s rande ("seed", 4); rand ("seed", 5) # for reproducibility 485s [smpl, accept] = slicesample (start, nsamples, "pdf", pdf, "burnin", K, "thin", m, "width", [20, 30]); 485s figure; 485s hold on; 485s plot (smpl(:,1), smpl(:,2), 'x'); 485s [x, y] = meshgrid (linspace (-6,4), linspace(-3,7)); 485s z = reshape (pdf ([x(:), y(:)]), size(x)); 485s mesh (x, y, z, "facecolor", "None"); 485s 485s ## Using sample points to find the volume of half a sphere with radius of .5 485s f = @(x) ((.25-(x(:,1)+1).^2-(x(:,2)-2).^2).^.5.*(((x(:,1)+1).^2+(x(:,2)-2).^2)<.25)).'; 485s int = mean (f (smpl) ./ pdf (smpl)); 485s errest = std (f (smpl) ./ pdf (smpl)) / nsamples^.5; 485s trueerr = abs (2/3*pi*.25^(3/2)-int); 485s fprintf ("Monte Carlo integral estimate int f(x) dx = %f\n", int); 485s fprintf ("Monte Carlo integral error estimate %f\n", errest); 485s fprintf ("The actual error %f\n", trueerr); 485s mesh (x,y,reshape (f([x(:), y(:)]), size(x)), "facecolor", "None"); 485s ***** demo 485s ## Integrate truncated normal distribution to find normilization constant 485s pdf = @(x) exp (-.5*x.^2)/(pi^.5*2^.5); 485s nsamples = 1e3; 485s rande ("seed", 4); rand ("seed", 5) # for reproducibility 485s [smpl, accept] = slicesample (1, nsamples, "pdf", pdf, "thin", 4); 485s f = @(x) exp (-.5 * x .^ 2) .* (x >= -2 & x <= 2); 485s x = linspace (-3, 3, 1000); 485s area (x, f(x)); 485s xlabel ("x"); 485s ylabel ("f(x)"); 485s int = mean (f (smpl) ./ pdf (smpl)); 485s errest = std (f (smpl) ./ pdf (smpl)) / nsamples ^ 0.5; 485s trueerr = abs (erf (2 ^ 0.5) * 2 ^ 0.5 * pi ^ 0.5 - int); 485s fprintf("Monte Carlo integral estimate int f(x) dx = %f\n", int); 485s fprintf("Monte Carlo integral error estimate %f\n", errest); 485s fprintf("The actual error %f\n", trueerr); 485s ***** test 485s start = 0.5; 485s nsamples = 1e3; 485s pdf = @(x) exp (-.5*(x-1).^2)/(2*pi)^.5; 485s [smpl, accept] = slicesample (start, nsamples, "pdf", pdf, "thin", 2, "burnin", 0, "width", 5); 485s assert (mean (smpl, 1), 1, .1); 485s assert (var (smpl, 1), 1, .2); 486s ***** error slicesample (); 486s ***** error slicesample (1); 486s ***** error slicesample (1, 1); 486s 4 tests, 4 passed, 0 known failure, 0 skipped 486s [inst/friedman.m] 486s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/friedman.m 486s ***** demo 486s load popcorn; 486s friedman (popcorn, 3); 486s ***** demo 486s load popcorn; 486s [p, atab] = friedman (popcorn, 3, "off"); 486s disp (p); 486s ***** test 486s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 486s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 486s [p, atab] = friedman (popcorn, 3, "off"); 486s assert (p, 0.001028853354594794, 1e-14); 486s assert (atab{2,2}, 99.75, 1e-14); 486s assert (atab{2,3}, 2, 0); 486s assert (atab{2,4}, 49.875, 1e-14); 486s assert (atab{2,5}, 13.75862068965517, 1e-14); 486s assert (atab{2,6}, 0.001028853354594794, 1e-14); 486s assert (atab{3,2}, 0.08333333333333215, 1e-14); 486s assert (atab{3,4}, 0.04166666666666607, 1e-14); 486s assert (atab{4,3}, 12, 0); 486s ***** test 486s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 486s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 486s [p, atab, stats] = friedman (popcorn, 3, "off"); 486s assert (atab{5,2}, 116, 0); 486s assert (atab{5,3}, 17, 0); 486s assert (stats.source, "friedman"); 486s assert (stats.n, 2); 486s assert (stats.meanranks, [8, 4.75, 2.25], 0); 486s assert (stats.sigma, 2.692582403567252, 1e-14); 486s 2 tests, 2 passed, 0 known failure, 0 skipped 486s [inst/anovan.m] 486s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/anovan.m 486s ***** demo 486s 486s # Two-sample unpaired test on independent samples (equivalent to Student's 486s # t-test). Note that the absolute value of t-statistic can be obtained by 486s # taking the square root of the reported F statistic. In this example, 486s # t = sqrt (1.44) = 1.20. 486s 486s score = [54 23 45 54 45 43 34 65 77 46 65]'; 486s gender = {"male" "male" "male" "male" "male" "female" "female" "female" ... 486s "female" "female" "female"}'; 486s 486s [P, ATAB, STATS] = anovan (score, gender, "display", "on", "varnames", "gender"); 486s ***** demo 486s 486s # Two-sample paired test on dependent or matched samples equivalent to a 486s # paired t-test. As for the first example, the t-statistic can be obtained by 486s # taking the square root of the reported F statistic. Note that the interaction 486s # between treatment x subject was dropped from the full model by assigning 486s # subject as a random factor ('). 486s 486s score = [4.5 5.6; 3.7 6.4; 5.3 6.4; 5.4 6.0; 3.9 5.7]'; 486s treatment = {"before" "after"; "before" "after"; "before" "after"; 486s "before" "after"; "before" "after"}'; 486s subject = {"GS" "GS"; "JM" "JM"; "HM" "HM"; "JW" "JW"; "PS" "PS"}'; 486s 486s [P, ATAB, STATS] = anovan (score(:), {treatment(:), subject(:)}, ... 486s "model", "full", "random", 2, "sstype", 2, ... 486s "varnames", {"treatment", "subject"}, ... 486s "display", "on"); 486s ***** demo 486s 486s # One-way ANOVA on the data from a study on the strength of structural beams, 486s # in Hogg and Ledolter (1987) Engineering Statistics. New York: MacMillan 486s 486s strength = [82 86 79 83 84 85 86 87 74 82 ... 486s 78 75 76 77 79 79 77 78 82 79]'; 486s alloy = {"st","st","st","st","st","st","st","st", ... 486s "al1","al1","al1","al1","al1","al1", ... 486s "al2","al2","al2","al2","al2","al2"}'; 486s 486s [P, ATAB, STATS] = anovan (strength, alloy, "display", "on", ... 486s "varnames", "alloy"); 486s ***** demo 486s 486s # One-way repeated measures ANOVA on the data from a study on the number of 486s # words recalled by 10 subjects for three time condtions, in Loftus & Masson 486s # (1994) Psychon Bull Rev. 1(4):476-490, Table 2. Note that the interaction 486s # between seconds x subject was dropped from the full model by assigning 486s # subject as a random factor ('). 486s 486s words = [10 13 13; 6 8 8; 11 14 14; 22 23 25; 16 18 20; ... 486s 15 17 17; 1 1 4; 12 15 17; 9 12 12; 8 9 12]; 486s seconds = [1 2 5; 1 2 5; 1 2 5; 1 2 5; 1 2 5; ... 486s 1 2 5; 1 2 5; 1 2 5; 1 2 5; 1 2 5;]; 486s subject = [ 1 1 1; 2 2 2; 3 3 3; 4 4 4; 5 5 5; ... 486s 6 6 6; 7 7 7; 8 8 8; 9 9 9; 10 10 10]; 486s 486s [P, ATAB, STATS] = anovan (words(:), {seconds(:), subject(:)}, ... 486s "model", "full", "random", 2, "sstype", 2, ... 486s "display", "on", "varnames", {"seconds", "subject"}); 486s ***** demo 486s 486s # Balanced two-way ANOVA with interaction on the data from a study of popcorn 486s # brands and popper types, in Hogg and Ledolter (1987) Engineering Statistics. 486s # New York: MacMillan 486s 486s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 486s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 486s brands = {"Gourmet", "National", "Generic"; ... 486s "Gourmet", "National", "Generic"; ... 486s "Gourmet", "National", "Generic"; ... 486s "Gourmet", "National", "Generic"; ... 486s "Gourmet", "National", "Generic"; ... 486s "Gourmet", "National", "Generic"}; 486s popper = {"oil", "oil", "oil"; "oil", "oil", "oil"; "oil", "oil", "oil"; ... 486s "air", "air", "air"; "air", "air", "air"; "air", "air", "air"}; 486s 486s [P, ATAB, STATS] = anovan (popcorn(:), {brands(:), popper(:)}, ... 486s "display", "on", "model", "full", ... 486s "varnames", {"brands", "popper"}); 486s ***** demo 486s 486s # Unbalanced two-way ANOVA (2x2) on the data from a study on the effects of 486s # gender and having a college degree on salaries of company employees, 486s # in Maxwell, Delaney and Kelly (2018): Chapter 7, Table 15 486s 486s salary = [24 26 25 24 27 24 27 23 15 17 20 16, ... 486s 25 29 27 19 18 21 20 21 22 19]'; 486s gender = {"f" "f" "f" "f" "f" "f" "f" "f" "f" "f" "f" "f"... 486s "m" "m" "m" "m" "m" "m" "m" "m" "m" "m"}'; 486s degree = [1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0]'; 486s 486s [P, ATAB, STATS] = anovan (salary, {gender, degree}, "model", "full", ... 486s "sstype", 3, "display", "on", "varnames", ... 486s {"gender", "degree"}); 486s ***** demo 486s 486s # Unbalanced two-way ANOVA (3x2) on the data from a study of the effect of 486s # adding sugar and/or milk on the tendency of coffee to make people babble, 486s # in from Navarro (2019): 16.10 486s 486s sugar = {"real" "fake" "fake" "real" "real" "real" "none" "none" "none" ... 486s "fake" "fake" "fake" "real" "real" "real" "none" "none" "fake"}'; 486s milk = {"yes" "no" "no" "yes" "yes" "no" "yes" "yes" "yes" ... 486s "no" "no" "yes" "no" "no" "no" "no" "no" "yes"}'; 486s babble = [4.6 4.4 3.9 5.6 5.1 5.5 3.9 3.5 3.7... 486s 5.6 4.7 5.9 6.0 5.4 6.6 5.8 5.3 5.7]'; 486s 486s [P, ATAB, STATS] = anovan (babble, {sugar, milk}, "model", "full", ... 486s "sstype", 3, "display", "on", ... 486s "varnames", {"sugar", "milk"}); 486s ***** demo 486s 486s # Unbalanced three-way ANOVA (3x2x2) on the data from a study of the effects 486s # of three different drugs, biofeedback and diet on patient blood pressure, 486s # adapted* from Maxwell, Delaney and Kelly (2018): Chapter 8, Table 12 486s # * Missing values introduced to make the sample sizes unequal to test the 486s # calculation of different types of sums-of-squares 486s 486s drug = {"X" "X" "X" "X" "X" "X" "X" "X" "X" "X" "X" "X" ... 486s "X" "X" "X" "X" "X" "X" "X" "X" "X" "X" "X" "X"; 486s "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" ... 486s "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y" "Y"; 486s "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" ... 486s "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z" "Z"}; 486s feedback = [1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0; 486s 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0; 486s 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0]; 486s diet = [0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1; 486s 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1; 486s 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1]; 486s BP = [170 175 165 180 160 158 161 173 157 152 181 190 ... 486s 173 194 197 190 176 198 164 190 169 164 176 175; 486s 186 194 201 215 219 209 164 166 159 182 187 174 ... 486s 189 194 217 206 199 195 171 173 196 199 180 NaN; 486s 180 187 199 170 204 194 162 184 183 156 180 173 ... 486s 202 228 190 206 224 204 205 199 170 160 NaN NaN]; 486s 486s [P, ATAB, STATS] = anovan (BP(:), {drug(:), feedback(:), diet(:)}, ... 486s "model", "full", "sstype", 3, ... 486s "display", "on", ... 486s "varnames", {"drug", "feedback", "diet"}); 486s ***** demo 486s 486s # Balanced three-way ANOVA (2x2x2) with one of the factors being a blocking 486s # factor. The data is from a randomized block design study on the effects 486s # of antioxidant treatment on glutathione-S-transferase (GST) levels in 486s # different mouse strains, from Festing (2014), ILAR Journal, 55(3):427-476. 486s # Note that all interactions involving block were dropped from the full model 486s # by assigning block as a random factor ('). 486s 486s measurement = [444 614 423 625 408 856 447 719 ... 486s 764 831 586 782 609 1002 606 766]'; 486s strain= {"NIH","NIH","BALB/C","BALB/C","A/J","A/J","129/Ola","129/Ola", ... 486s "NIH","NIH","BALB/C","BALB/C","A/J","A/J","129/Ola","129/Ola"}'; 486s treatment={"C" "T" "C" "T" "C" "T" "C" "T" "C" "T" "C" "T" "C" "T" "C" "T"}'; 486s block = [1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2]'; 486s 486s [P, ATAB, STATS] = anovan (measurement/10, {strain, treatment, block}, ... 486s "sstype", 2, "model", "full", "random", 3, ... 486s "display", "on", ... 486s "varnames", {"strain", "treatment", "block"}); 486s ***** demo 486s 486s # One-way ANCOVA on data from a study of the additive effects of species 486s # and temperature on chirpy pulses of crickets, from Stitch, The Worst Stats 486s # Text eveR 486s 486s pulse = [67.9 65.1 77.3 78.7 79.4 80.4 85.8 86.6 87.5 89.1 ... 486s 98.6 100.8 99.3 101.7 44.3 47.2 47.6 49.6 50.3 51.8 ... 486s 60 58.5 58.9 60.7 69.8 70.9 76.2 76.1 77 77.7 84.7]'; 486s temp = [20.8 20.8 24 24 24 24 26.2 26.2 26.2 26.2 28.4 ... 486s 29 30.4 30.4 17.2 18.3 18.3 18.3 18.9 18.9 20.4 ... 486s 21 21 22.1 23.5 24.2 25.9 26.5 26.5 26.5 28.6]'; 486s species = {"ex" "ex" "ex" "ex" "ex" "ex" "ex" "ex" "ex" "ex" "ex" ... 486s "ex" "ex" "ex" "niv" "niv" "niv" "niv" "niv" "niv" "niv" ... 486s "niv" "niv" "niv" "niv" "niv" "niv" "niv" "niv" "niv" "niv"}; 486s 486s [P, ATAB, STATS] = anovan (pulse, {species, temp}, "model", "linear", ... 486s "continuous", 2, "sstype", "h", "display", "on", ... 486s "varnames", {"species", "temp"}); 486s ***** demo 486s 486s # Factorial ANCOVA on data from a study of the effects of treatment and 486s # exercise on stress reduction score after adjusting for age. Data from R 486s # datarium package). 486s 486s score = [95.6 82.2 97.2 96.4 81.4 83.6 89.4 83.8 83.3 85.7 ... 486s 97.2 78.2 78.9 91.8 86.9 84.1 88.6 89.8 87.3 85.4 ... 486s 81.8 65.8 68.1 70.0 69.9 75.1 72.3 70.9 71.5 72.5 ... 486s 84.9 96.1 94.6 82.5 90.7 87.0 86.8 93.3 87.6 92.4 ... 486s 100. 80.5 92.9 84.0 88.4 91.1 85.7 91.3 92.3 87.9 ... 486s 91.7 88.6 75.8 75.7 75.3 82.4 80.1 86.0 81.8 82.5]'; 486s treatment = {"yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 486s "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 486s "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 486s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no" ... 486s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no" ... 486s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no"}'; 486s exercise = {"lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" ... 486s "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" ... 486s "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" ... 486s "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" ... 486s "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" ... 486s "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi"}'; 486s age = [59 65 70 66 61 65 57 61 58 55 62 61 60 59 55 57 60 63 62 57 ... 486s 58 56 57 59 59 60 55 53 55 58 68 62 61 54 59 63 60 67 60 67 ... 486s 75 54 57 62 65 60 58 61 65 57 56 58 58 58 52 53 60 62 61 61]'; 486s 486s [P, ATAB, STATS] = anovan (score, {treatment, exercise, age}, ... 486s "model", [1 0 0; 0 1 0; 0 0 1; 1 1 0], ... 486s "continuous", 3, "sstype", "h", "display", "on", ... 486s "varnames", {"treatment", "exercise", "age"}); 486s ***** demo 486s 486s # Unbalanced one-way ANOVA with custom, orthogonal contrasts. The statistics 486s # relating to the contrasts are shown in the table of model parameters, and 486s # can be retrieved from the STATS.coeffs output. 486s 486s dv = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 486s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 486s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 486s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 486s 25.694 ]'; 486s g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 ... 486s 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 486s C = [ 0.4001601 0.3333333 0.5 0.0 486s 0.4001601 0.3333333 -0.5 0.0 486s 0.4001601 -0.6666667 0.0 0.0 486s -0.6002401 0.0000000 0.0 0.5 486s -0.6002401 0.0000000 0.0 -0.5]; 486s 486s [P,ATAB, STATS] = anovan (dv, g, "contrasts", C, "varnames", "score", ... 486s "alpha", 0.05, "display", "on"); 486s ***** demo 486s 486s # One-way ANOVA with the linear model fit by weighted least squares to 486s # account for heteroskedasticity. In this example, the variance appears 486s # proportional to the outcome, so weights have been estimated by initially 486s # fitting the model without weights and regressing the absolute residuals on 486s # the fitted values. Although this data could have been analysed by Welch's 486s # ANOVA test, the approach here can generalize to ANOVA models with more than 486s # one factor. 486s 486s g = [1, 1, 1, 1, 1, 1, 1, 1, ... 486s 2, 2, 2, 2, 2, 2, 2, 2, ... 486s 3, 3, 3, 3, 3, 3, 3, 3]'; 486s y = [13, 16, 16, 7, 11, 5, 1, 9, ... 486s 10, 25, 66, 43, 47, 56, 6, 39, ... 486s 11, 39, 26, 35, 25, 14, 24, 17]'; 486s 486s [P,ATAB,STATS] = anovan(y, g, "display", "off"); 486s fitted = STATS.X * STATS.coeffs(:,1); # fitted values 486s b = polyfit (fitted, abs (STATS.resid), 1); 486s v = polyval (b, fitted); # Variance as a function of the fitted values 486s figure("Name", "Regression of the absolute residuals on the fitted values"); 486s plot (fitted, abs (STATS.resid),'ob');hold on; plot(fitted,v,'-r'); hold off; 486s xlabel("Fitted values"); ylabel("Absolute residuals"); 486s 486s [P,ATAB,STATS] = anovan (y, g, "weights", v.^-1); 486s ***** test 486s score = [54 23 45 54 45 43 34 65 77 46 65]'; 486s gender = {'male' 'male' 'male' 'male' 'male' 'female' 'female' 'female' ... 486s 'female' 'female' 'female'}'; 486s 486s [P, T, STATS] = anovan (score,gender,'display','off'); 486s assert (P(1), 0.2612876773271042, 1e-09); # compared to p calculated by MATLAB anovan 486s assert (sqrt(T{2,6}), abs(1.198608733288208), 1e-09); # compared to abs(t) calculated from sqrt(F) by MATLAB anovan 486s assert (P(1), 0.2612876773271047, 1e-09); # compared to p calculated by MATLAB ttest2 486s assert (sqrt(T{2,6}), abs(-1.198608733288208), 1e-09); # compared to abs(t) calculated by MATLAB ttest2 486s ***** test 486s score = [4.5 5.6; 3.7 6.4; 5.3 6.4; 5.4 6.0; 3.9 5.7]'; 486s treatment = {'before' 'after'; 'before' 'after'; 'before' 'after'; 486s 'before' 'after'; 'before' 'after'}'; 486s subject = {'GS' 'GS'; 'JM' 'JM'; 'HM' 'HM'; 'JW' 'JW'; 'PS' 'PS'}'; 486s 486s [P, ATAB, STATS] = anovan (score(:),{treatment(:),subject(:)},'display','off','sstype',2); 486s assert (P(1), 0.016004356735364, 1e-09); # compared to p calculated by MATLAB anovan 486s assert (sqrt(ATAB{2,6}), abs(4.00941576558195), 1e-09); # compared to abs(t) calculated from sqrt(F) by MATLAB anovan 486s assert (P(1), 0.016004356735364, 1e-09); # compared to p calculated by MATLAB ttest2 486s assert (sqrt(ATAB{2,6}), abs(-4.00941576558195), 1e-09); # compared to abs(t) calculated by MATLAB ttest2 486s ***** test 486s strength = [82 86 79 83 84 85 86 87 74 82 ... 486s 78 75 76 77 79 79 77 78 82 79]'; 486s alloy = {'st','st','st','st','st','st','st','st', ... 486s 'al1','al1','al1','al1','al1','al1', ... 486s 'al2','al2','al2','al2','al2','al2'}'; 486s 486s [P, ATAB, STATS] = anovan (strength,{alloy},'display','off'); 486s assert (P(1), 0.000152643638830491, 1e-09); 486s assert (ATAB{2,6}, 15.4, 1e-09); 486s ***** test 486s words = [10 13 13; 6 8 8; 11 14 14; 22 23 25; 16 18 20; ... 486s 15 17 17; 1 1 4; 12 15 17; 9 12 12; 8 9 12]; 486s subject = [ 1 1 1; 2 2 2; 3 3 3; 4 4 4; 5 5 5; ... 486s 6 6 6; 7 7 7; 8 8 8; 9 9 9; 10 10 10]; 486s seconds = [1 2 5; 1 2 5; 1 2 5; 1 2 5; 1 2 5; ... 486s 1 2 5; 1 2 5; 1 2 5; 1 2 5; 1 2 5;]; 486s 486s [P, ATAB, STATS] = anovan (words(:),{seconds(:),subject(:)},'model','full','random',2,'sstype',2,'display','off'); 486s assert (P(1), 1.51865926758752e-07, 1e-09); 486s assert (ATAB{2,2}, 52.2666666666667, 1e-09); 486s assert (ATAB{3,2}, 942.533333333333, 1e-09); 486s assert (ATAB{4,2}, 11.0666666666667, 1e-09); 486s ***** test 486s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 486s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 486s brands = {'Gourmet', 'National', 'Generic'; ... 486s 'Gourmet', 'National', 'Generic'; ... 486s 'Gourmet', 'National', 'Generic'; ... 486s 'Gourmet', 'National', 'Generic'; ... 486s 'Gourmet', 'National', 'Generic'; ... 486s 'Gourmet', 'National', 'Generic'}; 486s popper = {'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; 'oil', 'oil', 'oil'; ... 486s 'air', 'air', 'air'; 'air', 'air', 'air'; 'air', 'air', 'air'}; 486s 486s [P, ATAB, STATS] = anovan (popcorn(:),{brands(:),popper(:)},'display','off','model','full'); 486s assert (P(1), 7.67895738278171e-07, 1e-09); 486s assert (P(2), 0.000100373896304998, 1e-09); 486s assert (P(3), 0.746215396636649, 1e-09); 486s assert (ATAB{2,6}, 56.7, 1e-09); 486s assert (ATAB{3,6}, 32.4, 1e-09); 486s assert (ATAB{4,6}, 0.29999999999997, 1e-09); 486s ***** test 486s salary = [24 26 25 24 27 24 27 23 15 17 20 16, ... 486s 25 29 27 19 18 21 20 21 22 19]'; 486s gender = {'f' 'f' 'f' 'f' 'f' 'f' 'f' 'f' 'f' 'f' 'f' 'f'... 486s 'm' 'm' 'm' 'm' 'm' 'm' 'm' 'm' 'm' 'm'}'; 486s degree = [1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0]'; 486s 486s [P, ATAB, STATS] = anovan (salary,{gender,degree},'model','full','sstype',1,'display','off'); 486s assert (P(1), 0.747462549227232, 1e-09); 486s assert (P(2), 1.03809316857694e-08, 1e-09); 486s assert (P(3), 0.523689833702691, 1e-09); 486s assert (ATAB{2,2}, 0.296969696969699, 1e-09); 486s assert (ATAB{3,2}, 272.391841491841, 1e-09); 486s assert (ATAB{4,2}, 1.17482517482512, 1e-09); 486s assert (ATAB{5,2}, 50.0000000000001, 1e-09); 486s [P, ATAB, STATS] = anovan (salary,{degree,gender},'model','full','sstype',1,'display','off'); 486s assert (P(1), 2.53445097305047e-08, 1e-09); 486s assert (P(2), 0.00388133678528749, 1e-09); 486s assert (P(3), 0.523689833702671, 1e-09); 486s assert (ATAB{2,2}, 242.227272727273, 1e-09); 486s assert (ATAB{3,2}, 30.4615384615384, 1e-09); 486s assert (ATAB{4,2}, 1.17482517482523, 1e-09); 486s assert (ATAB{5,2}, 50.0000000000001, 1e-09); 486s [P, ATAB, STATS] = anovan (salary,{gender,degree},'model','full','sstype',2,'display','off'); 486s assert (P(1), 0.00388133678528743, 1e-09); 486s assert (P(2), 1.03809316857694e-08, 1e-09); 486s assert (P(3), 0.523689833702691, 1e-09); 486s assert (ATAB{2,2}, 30.4615384615385, 1e-09); 486s assert (ATAB{3,2}, 272.391841491841, 1e-09); 486s assert (ATAB{4,2}, 1.17482517482512, 1e-09); 486s assert (ATAB{5,2}, 50.0000000000001, 1e-09); 486s [P, ATAB, STATS] = anovan (salary,{gender,degree},'model','full','sstype',3,'display','off'); 486s assert (P(1), 0.00442898146583742, 1e-09); 486s assert (P(2), 1.30634252053587e-08, 1e-09); 486s assert (P(3), 0.523689833702691, 1e-09); 486s assert (ATAB{2,2}, 29.3706293706294, 1e-09); 486s assert (ATAB{3,2}, 264.335664335664, 1e-09); 486s assert (ATAB{4,2}, 1.17482517482512, 1e-09); 486s assert (ATAB{5,2}, 50.0000000000001, 1e-09); 486s ***** test 486s sugar = {'real' 'fake' 'fake' 'real' 'real' 'real' 'none' 'none' 'none' ... 486s 'fake' 'fake' 'fake' 'real' 'real' 'real' 'none' 'none' 'fake'}'; 486s milk = {'yes' 'no' 'no' 'yes' 'yes' 'no' 'yes' 'yes' 'yes' ... 486s 'no' 'no' 'yes' 'no' 'no' 'no' 'no' 'no' 'yes'}'; 486s babble = [4.6 4.4 3.9 5.6 5.1 5.5 3.9 3.5 3.7... 486s 5.6 4.7 5.9 6.0 5.4 6.6 5.8 5.3 5.7]'; 486s 486s [P, ATAB, STATS] = anovan (babble,{sugar,milk},'model','full','sstype',1,'display','off'); 486s assert (P(1), 0.0108632139833963, 1e-09); 486s assert (P(2), 0.0810606976703546, 1e-09); 486s assert (P(3), 0.00175433329935627, 1e-09); 486s assert (ATAB{2,2}, 3.55752380952381, 1e-09); 486s assert (ATAB{3,2}, 0.956108477471702, 1e-09); 486s assert (ATAB{4,2}, 5.94386771300448, 1e-09); 486s assert (ATAB{5,2}, 3.1625, 1e-09); 486s [P, ATAB, STATS] = anovan (babble,{milk,sugar},'model','full','sstype',1,'display','off'); 486s assert (P(1), 0.0373333189297505, 1e-09); 486s assert (P(2), 0.017075098787169, 1e-09); 486s assert (P(3), 0.00175433329935627, 1e-09); 486s assert (ATAB{2,2}, 1.444, 1e-09); 486s assert (ATAB{3,2}, 3.06963228699552, 1e-09); 486s assert (ATAB{4,2}, 5.94386771300448, 1e-09); 486s assert (ATAB{5,2}, 3.1625, 1e-09); 486s [P, ATAB, STATS] = anovan (babble,{sugar,milk},'model','full','sstype',2,'display','off'); 486s assert (P(1), 0.017075098787169, 1e-09); 486s assert (P(2), 0.0810606976703546, 1e-09); 486s assert (P(3), 0.00175433329935627, 1e-09); 486s assert (ATAB{2,2}, 3.06963228699552, 1e-09); 486s assert (ATAB{3,2}, 0.956108477471702, 1e-09); 486s assert (ATAB{4,2}, 5.94386771300448, 1e-09); 486s assert (ATAB{5,2}, 3.1625, 1e-09); 486s [P, ATAB, STATS] = anovan (babble,{sugar,milk},'model','full','sstype',3,'display','off'); 486s assert (P(1), 0.0454263063473954, 1e-09); 486s assert (P(2), 0.0746719907091438, 1e-09); 486s assert (P(3), 0.00175433329935627, 1e-09); 486s assert (ATAB{2,2}, 2.13184977578476, 1e-09); 486s assert (ATAB{3,2}, 1.00413461538462, 1e-09); 486s assert (ATAB{4,2}, 5.94386771300448, 1e-09); 486s assert (ATAB{5,2}, 3.1625, 1e-09); 486s ***** test 486s drug = {'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' ... 486s 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X' 'X'; 486s 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' ... 486s 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y' 'Y'; 486s 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' ... 486s 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z' 'Z'}; 486s feedback = [1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0; 486s 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0; 486s 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0]; 486s diet = [0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1; 486s 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1; 486s 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1]; 486s BP = [170 175 165 180 160 158 161 173 157 152 181 190 ... 486s 173 194 197 190 176 198 164 190 169 164 176 175; 486s 186 194 201 215 219 209 164 166 159 182 187 174 ... 486s 189 194 217 206 199 195 171 173 196 199 180 NaN; 486s 180 187 199 170 204 194 162 184 183 156 180 173 ... 486s 202 228 190 206 224 204 205 199 170 160 NaN NaN]; 486s 486s [P, ATAB, STATS] = anovan (BP(:),{drug(:),feedback(:),diet(:)},'model','full','sstype', 1,'display','off'); 486s assert (P(1), 7.02561843825325e-05, 1e-09); 486s assert (P(2), 0.000425806013389362, 1e-09); 486s assert (P(3), 6.16780773446401e-07, 1e-09); 486s assert (P(4), 0.261347622678438, 1e-09); 486s assert (P(5), 0.0542278432357043, 1e-09); 486s assert (P(6), 0.590353225626655, 1e-09); 486s assert (P(7), 0.0861628249564267, 1e-09); 486s assert (ATAB{2,2}, 3614.70355731226, 1e-09); 486s assert (ATAB{3,2}, 2227.46639771024, 1e-09); 486s assert (ATAB{4,2}, 5008.25614451819, 1e-09); 486s assert (ATAB{5,2}, 437.066007908781, 1e-09); 486s assert (ATAB{6,2}, 976.180770397332, 1e-09); 486s assert (ATAB{7,2}, 46.616653365254, 1e-09); 486s assert (ATAB{8,2}, 814.345251396648, 1e-09); 486s assert (ATAB{9,2}, 9065.8, 1e-09); 486s [P, ATAB, STATS] = anovan (BP(:),{drug(:),feedback(:),diet(:)},'model','full','sstype',2,'display','off'); 486s assert (P(1), 9.4879638470754e-05, 1e-09); 486s assert (P(2), 0.00124177666315809, 1e-09); 486s assert (P(3), 6.86162012732911e-07, 1e-09); 486s assert (P(4), 0.260856132341256, 1e-09); 486s assert (P(5), 0.0523758623892078, 1e-09); 486s assert (P(6), 0.590353225626655, 1e-09); 486s assert (P(7), 0.0861628249564267, 1e-09); 486s assert (ATAB{2,2}, 3481.72176560122, 1e-09); 486s assert (ATAB{3,2}, 1837.08812970469, 1e-09); 486s assert (ATAB{4,2}, 4957.20277938622, 1e-09); 486s assert (ATAB{5,2}, 437.693674777847, 1e-09); 486s assert (ATAB{6,2}, 988.431929811402, 1e-09); 486s assert (ATAB{7,2}, 46.616653365254, 1e-09); 486s assert (ATAB{8,2}, 814.345251396648, 1e-09); 486s assert (ATAB{9,2}, 9065.8, 1e-09); 486s [P, ATAB, STATS] = anovan (BP(:),{drug(:),feedback(:),diet(:)},'model','full','sstype', 3,'display','off'); 486s assert (P(1), 0.000106518678028207, 1e-09); 486s assert (P(2), 0.00125371366571508, 1e-09); 486s assert (P(3), 5.30813260778464e-07, 1e-09); 486s assert (P(4), 0.308353667232981, 1e-09); 486s assert (P(5), 0.0562901327343161, 1e-09); 486s assert (P(6), 0.599091042141092, 1e-09); 486s assert (P(7), 0.0861628249564267, 1e-09); 486s assert (ATAB{2,2}, 3430.88156424581, 1e-09); 486s assert (ATAB{3,2}, 1833.68031496063, 1e-09); 486s assert (ATAB{4,2}, 5080.48346456693, 1e-09); 486s assert (ATAB{5,2}, 382.07709497207, 1e-09); 486s assert (ATAB{6,2}, 963.037988826813, 1e-09); 486s assert (ATAB{7,2}, 44.4519685039322, 1e-09); 486s assert (ATAB{8,2}, 814.345251396648, 1e-09); 486s assert (ATAB{9,2}, 9065.8, 1e-09); 487s ***** test 487s measurement = [444 614 423 625 408 856 447 719 ... 487s 764 831 586 782 609 1002 606 766]'; 487s strain= {'NIH','NIH','BALB/C','BALB/C','A/J','A/J','129/Ola','129/Ola', ... 487s 'NIH','NIH','BALB/C','BALB/C','A/J','A/J','129/Ola','129/Ola'}'; 487s treatment={'C' 'T' 'C' 'T' 'C' 'T' 'C' 'T' 'C' 'T' 'C' 'T' 'C' 'T' 'C' 'T'}'; 487s block = [1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2]'; 487s 487s [P, ATAB, STATS] = anovan (measurement/10,{strain,treatment,block},'model','full','random',3,'display','off'); 487s assert (P(1), 0.0914352969909372, 1e-09); 487s assert (P(2), 5.04077373924908e-05, 1e-09); 487s assert (P(4), 0.0283196918836667, 1e-09); 487s assert (ATAB{2,2}, 286.132500000002, 1e-09); 487s assert (ATAB{3,2}, 2275.29, 1e-09); 487s assert (ATAB{4,2}, 1242.5625, 1e-09); 487s assert (ATAB{5,2}, 495.905000000001, 1e-09); 487s assert (ATAB{6,2}, 207.007499999999, 1e-09); 487s ***** test 487s pulse = [67.9 65.1 77.3 78.7 79.4 80.4 85.8 86.6 87.5 89.1 ... 487s 98.6 100.8 99.3 101.7 44.3 47.2 47.6 49.6 50.3 51.8 ... 487s 60 58.5 58.9 60.7 69.8 70.9 76.2 76.1 77 77.7 84.7]'; 487s temp = [20.8 20.8 24 24 24 24 26.2 26.2 26.2 26.2 28.4 ... 487s 29 30.4 30.4 17.2 18.3 18.3 18.3 18.9 18.9 20.4 ... 487s 21 21 22.1 23.5 24.2 25.9 26.5 26.5 26.5 28.6]'; 487s species = {'ex' 'ex' 'ex' 'ex' 'ex' 'ex' 'ex' 'ex' 'ex' 'ex' 'ex' ... 487s 'ex' 'ex' 'ex' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' ... 487s 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv' 'niv'}; 487s 487s [P, ATAB, STATS] = anovan (pulse,{species,temp},'model','linear','continuous',2,'sstype','h','display','off'); 487s assert (P(1), 6.27153318786007e-14, 1e-09); 487s assert (P(2), 2.48773241196644e-25, 1e-09); 487s assert (ATAB{2,2}, 598.003953318404, 1e-09); 487s assert (ATAB{3,2}, 4376.08256843712, 1e-09); 487s assert (ATAB{4,2}, 89.3498685376726, 1e-09); 487s assert (ATAB{2,6}, 187.399388123951, 1e-09); 487s assert (ATAB{3,6}, 1371.35413763454, 1e-09); 487s ***** test 487s score = [95.6 82.2 97.2 96.4 81.4 83.6 89.4 83.8 83.3 85.7 ... 487s 97.2 78.2 78.9 91.8 86.9 84.1 88.6 89.8 87.3 85.4 ... 487s 81.8 65.8 68.1 70.0 69.9 75.1 72.3 70.9 71.5 72.5 ... 487s 84.9 96.1 94.6 82.5 90.7 87.0 86.8 93.3 87.6 92.4 ... 487s 100. 80.5 92.9 84.0 88.4 91.1 85.7 91.3 92.3 87.9 ... 487s 91.7 88.6 75.8 75.7 75.3 82.4 80.1 86.0 81.8 82.5]'; 487s treatment = {'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' ... 487s 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' ... 487s 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' 'yes' ... 487s 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' ... 487s 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' ... 487s 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no' 'no'}'; 487s exercise = {'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' ... 487s 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' ... 487s 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' ... 487s 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' 'lo' ... 487s 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' 'mid' ... 487s 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi' 'hi'}'; 487s age = [59 65 70 66 61 65 57 61 58 55 62 61 60 59 55 57 60 63 62 57 ... 487s 58 56 57 59 59 60 55 53 55 58 68 62 61 54 59 63 60 67 60 67 ... 487s 75 54 57 62 65 60 58 61 65 57 56 58 58 58 52 53 60 62 61 61]'; 487s 487s [P, ATAB, STATS] = anovan (score,{treatment,exercise,age},'model','full','continuous',3,'sstype','h','display','off'); 487s assert (P(5), 0.9245630968248468, 1e-09); 487s assert (P(6), 0.791115159521822, 1e-09); 487s assert (P(7), 0.9296668751457956, 1e-09); 487s [P, ATAB, STATS] = anovan (score,{treatment,exercise,age},'model',[1 0 0; 0 1 0; 0 0 1; 1 1 0],'continuous',3,'sstype','h','display','off'); 487s assert (P(1), 0.00158132928938933, 1e-09); 487s assert (P(2), 2.12537505039986e-07, 1e-09); 487s assert (P(3), 0.00390292555160047, 1e-09); 487s assert (P(4), 0.0164086580775543, 1e-09); 487s assert (ATAB{2,6}, 11.0956027650549, 1e-09); 487s assert (ATAB{3,6}, 20.8195665467178, 1e-09); 487s assert (ATAB{4,6}, 9.10966630720186, 1e-09); 487s assert (ATAB{5,6}, 4.4457923698584, 1e-09); 487s ***** test 487s dv = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 487s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 487s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 487s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 487s 25.694 ]'; 487s g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 487s C = [ 0.4001601 0.3333333 0.5 0.0 487s 0.4001601 0.3333333 -0.5 0.0 487s 0.4001601 -0.6666667 0.0 0.0 487s -0.6002401 0.0000000 0.0 0.5 487s -0.6002401 0.0000000 0.0 -0.5]; 487s 487s [P,ATAB,STATS] = anovan (dv,g,'contrasts',{C},'display','off'); 487s assert (STATS.coeffs(1,1), 19.4001, 1e-04); 487s assert (STATS.coeffs(2,1), -9.3297, 1e-04); 487s assert (STATS.coeffs(3,1), -5.0000, 1e-04); 487s assert (STATS.coeffs(4,1), -8.0000, 1e-04); 487s assert (STATS.coeffs(5,1), -8.0000, 1e-04); 487s assert (STATS.coeffs(1,2), 0.4831, 1e-04); 487s assert (STATS.coeffs(2,2), 0.9694, 1e-04); 487s assert (STATS.coeffs(3,2), 1.3073, 1e-04); 487s assert (STATS.coeffs(4,2), 1.6411, 1e-04); 487s assert (STATS.coeffs(5,2), 1.4507, 1e-04); 487s assert (STATS.coeffs(1,5), 40.161, 1e-03); 487s assert (STATS.coeffs(2,5), -9.624, 1e-03); 487s assert (STATS.coeffs(3,5), -3.825, 1e-03); 487s assert (STATS.coeffs(4,5), -4.875, 1e-03); 487s assert (STATS.coeffs(5,5), -5.515, 1e-03); 487s assert (STATS.coeffs(2,6), 5.74e-11, 1e-12); 487s assert (STATS.coeffs(3,6), 0.000572, 1e-06); 487s assert (STATS.coeffs(4,6), 2.86e-05, 1e-07); 487s assert (STATS.coeffs(5,6), 4.44e-06, 1e-08); 487s 12 tests, 12 passed, 0 known failure, 0 skipped 487s [inst/evalclusters.m] 487s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/evalclusters.m 487s ***** error evalclusters () 487s ***** error evalclusters ([1 1;0 1]) 487s ***** error evalclusters ([1 1;0 1], "kmeans") 488s ***** error <'x' must be a numeric*> evalclusters ("abc", "kmeans", "gap") 488s ***** error evalclusters ([1 1;0 1], "xxx", "gap") 488s ***** error evalclusters ([1 1;0 1], [1 2], "gap") 488s ***** error evalclusters ([1 1;0 1], 1.2, "gap") 488s ***** error evalclusters ([1 1;0 1], [1; 2], 123) 488s ***** error evalclusters ([1 1;0 1], [1; 2], "xxx") 488s ***** error <'KList' can be empty*> evalclusters ([1 1;0 1], "kmeans", "gap") 488s ***** error evalclusters ([1 1;0 1], [1; 2], "gap", 1) 488s ***** error evalclusters ([1 1;0 1], [1; 2], "gap", 1, 1) 488s ***** error evalclusters ([1 1;0 1], [1; 2], "gap", "xxx", 1) 488s ***** error <'KList'*> evalclusters ([1 1;0 1], [1; 2], "gap", "KList", [-1 0]) 488s ***** error <'KList'*> evalclusters ([1 1;0 1], [1; 2], "gap", "KList", [1 .5]) 488s ***** error <'KList'*> evalclusters ([1 1;0 1], [1; 2], "gap", "KList", [1 1; 1 1]) 488s ***** error evalclusters ([1 1;0 1], [1; 2], "gap", ... 488s "distance", "a") 488s ***** error evalclusters ([1 1;0 1], [1; 2], "daviesbouldin", ... 488s "distance", "a") 488s ***** error evalclusters ([1 1;0 1], [1; 2], "gap", ... 488s "clusterpriors", "equal") 488s ***** error evalclusters ([1 1;0 1], [1; 2], ... 488s "silhouette", "clusterpriors", "xxx") 488s ***** error <'clust' must be a clustering*> evalclusters ([1 1;0 1], [1; 2], "gap") 488s 21 tests, 21 passed, 0 known failure, 0 skipped 488s [inst/violin.m] 488s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/violin.m 488s ***** demo 488s clf 488s x = zeros (9e2, 10); 488s for i=1:10 488s x(:,i) = (0.1 * randn (3e2, 3) * (randn (3,1) + 1) + 2 * randn (1,3))(:); 488s endfor 488s h = violin (x, "color", "c"); 488s axis tight 488s set (h.violin, "linewidth", 2); 488s set (gca, "xgrid", "on"); 488s xlabel ("Variables") 488s ylabel ("Values") 488s ***** demo 488s clf 488s data = {randn(100,1)*5+140, randn(130,1)*8+135}; 488s subplot (1,2,1) 488s title ("Grade 3 heights - vertical"); 488s set (gca, "xtick", 1:2, "xticklabel", {"girls"; "boys"}); 488s violin (data, "Nbins", 10); 488s axis tight 488s 488s subplot(1,2,2) 488s title ("Grade 3 heights - horizontal"); 488s set (gca, "ytick", 1:2, "yticklabel", {"girls"; "boys"}); 488s violin (data, "horizontal", "Nbins", 10); 488s axis tight 488s ***** demo 488s clf 488s data = exprnd (0.1, 500,4); 488s violin (data, "nbins", {5,10,50,100}); 488s axis ([0 5 0 max(data(:))]) 488s ***** demo 488s clf 488s data = exprnd (0.1, 500,4); 488s violin (data, "color", jet(4)); 488s axis ([0 5 0 max(data(:))]) 488s ***** demo 488s clf 488s data = repmat(exprnd (0.1, 500,1), 1, 4); 488s violin (data, "width", linspace (0.1,0.5,4)); 488s axis ([0 5 0 max(data(:))]) 488s ***** demo 488s clf 488s data = repmat(exprnd (0.1, 500,1), 1, 4); 488s violin (data, "nbins", [5,10,50,100], "smoothfactor", [4 4 8 10]); 488s axis ([0 5 0 max(data(:))]) 488s ***** shared visibility_setting 488s visibility_setting = get (0, "DefaultFigureVisible"); 488s ***** xtest 488s set (0, "DefaultFigureVisible", "off"); 488s data = exprnd (0.1, 500,4); 488s violin (data, "color", jet(4)); 488s axis ([0 5 0 max(data(:))]) 488s set (0, "DefaultFigureVisible", visibility_setting); 488s ***** test 488s set (0, "DefaultFigureVisible", "off"); 488s data = {randn(100,1)*5+140, randn(130,1)*8+135}; 488s subplot (1,2,1) 488s title ("Grade 3 heights - vertical"); 488s set (gca, "xtick", 1:2, "xticklabel", {"girls"; "boys"}); 488s violin (data, "Nbins", 10); 488s axis tight 488s set (0, "DefaultFigureVisible", visibility_setting); 489s ***** test 489s set (0, "DefaultFigureVisible", "off"); 489s data = {randn(100,1)*5+140, randn(130,1)*8+135}; 489s subplot (1,2,1) 489s title ("Grade 3 heights - vertical"); 489s set (gca, "xtick", 1:2, "xticklabel", {"girls"; "boys"}); 489s violin (data, "Nbins", 10); 489s axis tight 489s subplot(1,2,2) 489s title ("Grade 3 heights - horizontal"); 489s set (gca, "ytick", 1:2, "yticklabel", {"girls"; "boys"}); 489s violin (data, "horizontal", "Nbins", 10); 489s axis tight 489s set (0, "DefaultFigureVisible", visibility_setting); 489s ***** test 489s set (0, "DefaultFigureVisible", "off"); 489s data = repmat(exprnd (0.1, 500,1), 1, 4); 489s violin (data, "nbins", [5,10,50,100], "smoothfactor", [4 4 8 10]); 489s axis ([0 5 0 max(data(:))]) 489s set (0, "DefaultFigureVisible", visibility_setting); 490s ***** test 490s set (0, "DefaultFigureVisible", "off"); 490s data = repmat(exprnd (0.1, 500,1), 1, 4); 490s violin (data, "width", linspace (0.1,0.5,4)); 490s axis ([0 5 0 max(data(:))]) 490s set (0, "DefaultFigureVisible", visibility_setting); 491s 5 tests, 5 passed, 0 known failure, 0 skipped 491s [inst/logistic_regression.m] 491s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/logistic_regression.m 491s ***** test 491s # Output compared to following MATLAB commands 491s # [B, DEV, STATS] = mnrfit(X,Y+1,'model','ordinal'); 491s # P = mnrval(B,X) 491s X = [1.489381332449196, 1.1534152241851305; ... 491s 1.8110085304863965, 0.9449666896938425; ... 491s -0.04453299665130296, 0.34278203449678646; ... 491s -0.36616019468850347, 1.130254275908322; ... 491s 0.15339143291005095, -0.7921044310668951; ... 491s -1.6031878794469698, -1.8343471035233376; ... 491s -0.14349521143198166, -0.6762996896828459; ... 491s -0.4403818557740143, -0.7921044310668951; ... 491s -0.7372685001160434, -0.027793137932169563; ... 491s -0.11875465773681024, 0.5512305689880763]; 491s Y = [1,1,1,1,1,0,0,0,0,0]'; 491s [INTERCEPT, SLOPE, DEV, DL, D2L, P] = logistic_regression (Y, X, false); 491s ***** test 491s # Output compared to following MATLAB commands 491s # [B, DEV, STATS] = mnrfit(X,Y+1,'model','ordinal'); 491s load carbig 491s X = [Acceleration Displacement Horsepower Weight]; 491s miles = [1,1,1,1,1,1,1,1,1,1,NaN,NaN,NaN,NaN,NaN,1,1,NaN,1,1,2,2,1,2,2,2, ... 491s 2,2,2,2,2,1,1,1,1,2,2,2,2,NaN,2,1,1,2,1,1,1,1,1,1,1,1,1,2,2,1,2, ... 491s 2,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,2,2,2,2,2, ... 491s 2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,1,2,2,2,1,2,2, ... 491s 2,1,1,3,2,2,2,1,2,2,1,2,2,2,1,3,2,3,2,1,1,1,1,1,1,1,1,3,2,2,3,3, ... 491s 2,2,2,2,2,3,2,1,1,1,1,1,1,1,1,1,1,1,2,2,1,3,2,2,2,2,2,2,1,3,2,2, ... 491s 2,2,2,3,2,2,2,2,2,1,1,1,1,2,2,2,2,3,2,3,3,2,1,1,1,3,3,2,2,2,1,2, ... 491s 2,1,1,1,1,1,3,3,3,2,3,1,1,1,1,1,2,2,1,1,1,1,1,3,2,2,2,3,3,3,3,2, ... 491s 2,2,4,3,3,4,3,2,2,2,2,2,2,2,2,2,2,2,1,1,2,1,1,1,3,2,2,3,2,2,2,2, ... 491s 2,1,2,1,3,3,2,2,2,2,2,1,1,1,1,1,1,2,1,3,3,3,2,2,2,2,2,3,3,3,3,2, ... 491s 2,2,3,4,3,3,3,2,2,2,2,3,3,3,3,3,4,2,4,4,4,3,3,4,4,3,3,3,2,3,2,3, ... 491s 2,2,2,2,3,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,NaN,3,2,2,2,2,2,1,2, ... 491s 2,3,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,3,2,3,2,2,3,3,2,2,4,3,2,3]'; 491s [INTERCEPT, SLOPE, DEV, DL, D2L, P] = logistic_regression (miles, X, false); 491s assert (DEV, 433.197174495549, 1e-05); 491s assert (INTERCEPT(1), -16.6895155618903, 1e-05); 491s assert (INTERCEPT(2), -11.7207818178493, 1e-05); 491s assert (INTERCEPT(3), -8.0605768506075, 1e-05); 491s assert (SLOPE(1), 0.104762463756714, 1e-05); 491s assert (SLOPE(2), 0.0103357623191891, 1e-05); 491s assert (SLOPE(3), 0.0645199313242276, 1e-05); 491s assert (SLOPE(4), 0.00166377028388103, 1e-05); 491s 2 tests, 2 passed, 0 known failure, 0 skipped 491s [inst/cholcov.m] 491s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cholcov.m 491s ***** demo 491s C1 = [2, 1, 1, 2; 1, 2, 1, 2; 1, 1, 2, 2; 2, 2, 2, 3] 491s T = cholcov (C1) 491s C2 = T'*T 491s ***** test 491s C1 = [2, 1, 1, 2; 1, 2, 1, 2; 1, 1, 2, 2; 2, 2, 2, 3]; 491s T = cholcov (C1); 491s assert (C1, T'*T, 1e-15 * ones (size (C1))); 491s 1 test, 1 passed, 0 known failure, 0 skipped 491s [inst/confusionchart.m] 491s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/confusionchart.m 491s ***** shared visibility_setting 491s visibility_setting = get (0, "DefaultFigureVisible"); 491s ***** test 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ()", "Invalid call"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 1; 2 2; 3 3])", "invalid argument"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'xxx', 1)", "invalid property"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'XLabel', 1)", "XLabel .* string"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'YLabel', [1 0])", ".* YLabel .* string"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'Title', .5)", ".* Title .* string"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'FontName', [])", ".* FontName .* string"); 491s set (0, "DefaultFigureVisible", visibility_setting); 491s ***** xtest 491s set (0, "DefaultFigureVisible", "off"); 491s fail ("confusionchart ([1 2], [0 1], 'FontSize', 'b')", ".* FontSize .* numeric"); 491s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'DiagonalColor', 'h')", ".* DiagonalColor .* color"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'OffDiagonalColor', [])", ".* OffDiagonalColor .* color"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'Normalization', '')", ".* invalid .* Normalization"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'ColumnSummary', [])", ".* invalid .* ColumnSummary"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'RowSummary', 1)", ".* invalid .* RowSummary"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'GridVisible', .1)", ".* invalid .* GridVisible"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'HandleVisibility', .1)", ".* invalid .* HandleVisibility"); 492s set (0, "DefaultFigureVisible", visibility_setting); 492s ***** xtest 492s set (0, "DefaultFigureVisible", "off"); 492s fail ("confusionchart ([1 2], [0 1], 'OuterPosition', .1)", ".* invalid .* OuterPosition"); 492s set (0, "DefaultFigureVisible", visibility_setting); 493s ***** xtest 493s set (0, "DefaultFigureVisible", "off"); 493s fail ("confusionchart ([1 2], [0 1], 'Position', .1)", ".* invalid .* Position"); 493s set (0, "DefaultFigureVisible", visibility_setting); 493s ***** xtest 493s set (0, "DefaultFigureVisible", "off"); 493s fail ("confusionchart ([1 2], [0 1], 'Units', .1)", ".* invalid .* Units"); 493s set (0, "DefaultFigureVisible", visibility_setting); 493s ***** demo 493s ## Setting the chart properties 493s Yt = [8 5 6 8 5 3 1 6 4 2 5 3 1 4]'; 493s Yp = [8 5 6 8 5 2 3 4 4 5 5 7 2 6]'; 493s confusionchart (Yt, Yp, "Title", ... 493s "Demonstration with summaries","Normalization",... 493s "absolute","ColumnSummary", "column-normalized","RowSummary",... 493s "row-normalized") 493s ***** demo 493s ## Cellstr as inputs 493s Yt = {"Positive", "Positive", "Positive", "Negative", "Negative"}; 493s Yp = {"Positive", "Positive", "Negative", "Negative", "Negative"}; 493s m = confusionmat (Yt, Yp); 493s confusionchart (m, {"Positive", "Negative"}); 493s ***** demo 493s ## Editing the object properties 493s Yt = {"Positive", "Positive", "Positive", "Negative", "Negative"}; 493s Yp = {"Positive", "Positive", "Negative", "Negative", "Negative"}; 493s cm = confusionchart (Yt, Yp); 493s cm.Title = "This is an example with a green diagonal"; 493s cm.DiagonalColor = [0.4660, 0.6740, 0.1880]; 493s ***** demo 493s ## Confusion chart in a uipanel 493s h = uipanel (); 493s Yt = {"Positive", "Positive", "Positive", "Negative", "Negative"}; 493s Yp = {"Positive", "Positive", "Negative", "Negative", "Negative"}; 493s cm = confusionchart (h, Yt, Yp); 493s ***** demo 493s ## Sorting classes 493s Yt = [8 5 6 8 5 3 1 6 4 2 5 3 1 4]'; 493s Yp = [8 5 6 8 5 2 3 4 4 5 5 7 2 6]'; 493s cm = confusionchart (Yt, Yp, "Title", ... 493s "Classes are sorted in ascending order"); 493s cm = confusionchart (Yt, Yp, "Title", ... 493s "Classes are sorted according to clusters"); 493s sortClasses (cm, "cluster"); 493s 18 tests, 18 passed, 0 known failure, 0 skipped 493s [inst/icdf.m] 493s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/icdf.m 493s ***** shared p 493s p = [0.05:0.05:0.5]; 493s ***** assert (icdf ("Beta", p, 5, 2), betainv (p, 5, 2)) 493s ***** assert (icdf ("beta", p, 5, 2), betainv (p, 5, 2)) 493s ***** assert (icdf ("Binomial", p, 5, 2), binoinv (p, 5, 2)) 493s ***** assert (icdf ("bino", p, 5, 2), binoinv (p, 5, 2)) 493s ***** assert (icdf ("Birnbaum-Saunders", p, 5, 2), bisainv (p, 5, 2)) 493s ***** assert (icdf ("bisa", p, 5, 2), bisainv (p, 5, 2)) 493s ***** assert (icdf ("Burr", p, 5, 2, 2), burrinv (p, 5, 2, 2)) 493s ***** assert (icdf ("burr", p, 5, 2, 2), burrinv (p, 5, 2, 2)) 493s ***** assert (icdf ("Cauchy", p, 5, 2), cauchyinv (p, 5, 2)) 493s ***** assert (icdf ("cauchy", p, 5, 2), cauchyinv (p, 5, 2)) 493s ***** assert (icdf ("Chi-squared", p, 5), chi2inv (p, 5)) 493s ***** assert (icdf ("chi2", p, 5), chi2inv (p, 5)) 493s ***** assert (icdf ("Extreme Value", p, 5, 2), evinv (p, 5, 2)) 493s ***** assert (icdf ("ev", p, 5, 2), evinv (p, 5, 2)) 493s ***** assert (icdf ("Exponential", p, 5), expinv (p, 5)) 493s ***** assert (icdf ("exp", p, 5), expinv (p, 5)) 493s ***** assert (icdf ("F-Distribution", p, 5, 2), finv (p, 5, 2)) 493s ***** assert (icdf ("f", p, 5, 2), finv (p, 5, 2)) 493s ***** assert (icdf ("Gamma", p, 5, 2), gaminv (p, 5, 2)) 493s ***** assert (icdf ("gam", p, 5, 2), gaminv (p, 5, 2)) 493s ***** assert (icdf ("Geometric", p, 5), geoinv (p, 5)) 493s ***** assert (icdf ("geo", p, 5), geoinv (p, 5)) 493s ***** assert (icdf ("Generalized Extreme Value", p, 5, 2, 2), gevinv (p, 5, 2, 2)) 493s ***** assert (icdf ("gev", p, 5, 2, 2), gevinv (p, 5, 2, 2)) 493s ***** assert (icdf ("Generalized Pareto", p, 5, 2, 2), gpinv (p, 5, 2, 2)) 493s ***** assert (icdf ("gp", p, 5, 2, 2), gpinv (p, 5, 2, 2)) 493s ***** assert (icdf ("Gumbel", p, 5, 2), gumbelinv (p, 5, 2)) 493s ***** assert (icdf ("gumbel", p, 5, 2), gumbelinv (p, 5, 2)) 493s ***** assert (icdf ("Half-normal", p, 5, 2), hninv (p, 5, 2)) 493s ***** assert (icdf ("hn", p, 5, 2), hninv (p, 5, 2)) 493s ***** assert (icdf ("Hypergeometric", p, 5, 2, 2), hygeinv (p, 5, 2, 2)) 493s ***** assert (icdf ("hyge", p, 5, 2, 2), hygeinv (p, 5, 2, 2)) 493s ***** assert (icdf ("Inverse Gaussian", p, 5, 2), invginv (p, 5, 2)) 493s ***** assert (icdf ("invg", p, 5, 2), invginv (p, 5, 2)) 493s ***** assert (icdf ("Laplace", p, 5, 2), laplaceinv (p, 5, 2)) 493s ***** assert (icdf ("laplace", p, 5, 2), laplaceinv (p, 5, 2)) 493s ***** assert (icdf ("Logistic", p, 5, 2), logiinv (p, 5, 2)) 493s ***** assert (icdf ("logi", p, 5, 2), logiinv (p, 5, 2)) 493s ***** assert (icdf ("Log-Logistic", p, 5, 2), loglinv (p, 5, 2)) 493s ***** assert (icdf ("logl", p, 5, 2), loglinv (p, 5, 2)) 493s ***** assert (icdf ("Lognormal", p, 5, 2), logninv (p, 5, 2)) 493s ***** assert (icdf ("logn", p, 5, 2), logninv (p, 5, 2)) 493s ***** assert (icdf ("Nakagami", p, 5, 2), nakainv (p, 5, 2)) 494s ***** assert (icdf ("naka", p, 5, 2), nakainv (p, 5, 2)) 494s ***** assert (icdf ("Negative Binomial", p, 5, 2), nbininv (p, 5, 2)) 494s ***** assert (icdf ("nbin", p, 5, 2), nbininv (p, 5, 2)) 494s ***** assert (icdf ("Noncentral F-Distribution", p, 5, 2, 2), ncfinv (p, 5, 2, 2)) 494s ***** assert (icdf ("ncf", p, 5, 2, 2), ncfinv (p, 5, 2, 2)) 494s ***** assert (icdf ("Noncentral Student T", p, 5, 2), nctinv (p, 5, 2)) 495s ***** assert (icdf ("nct", p, 5, 2), nctinv (p, 5, 2)) 495s ***** assert (icdf ("Noncentral Chi-Squared", p, 5, 2), ncx2inv (p, 5, 2)) 496s ***** assert (icdf ("ncx2", p, 5, 2), ncx2inv (p, 5, 2)) 496s ***** assert (icdf ("Normal", p, 5, 2), norminv (p, 5, 2)) 496s ***** assert (icdf ("norm", p, 5, 2), norminv (p, 5, 2)) 496s ***** assert (icdf ("Poisson", p, 5), poissinv (p, 5)) 496s ***** assert (icdf ("poiss", p, 5), poissinv (p, 5)) 496s ***** assert (icdf ("Rayleigh", p, 5), raylinv (p, 5)) 496s ***** assert (icdf ("rayl", p, 5), raylinv (p, 5)) 496s ***** assert (icdf ("Student T", p, 5), tinv (p, 5)) 496s ***** assert (icdf ("t", p, 5), tinv (p, 5)) 496s ***** assert (icdf ("Triangular", p, 5, 2, 2), triinv (p, 5, 2, 2)) 496s ***** assert (icdf ("tri", p, 5, 2, 2), triinv (p, 5, 2, 2)) 496s ***** assert (icdf ("Discrete Uniform", p, 5), unidinv (p, 5)) 496s ***** assert (icdf ("unid", p, 5), unidinv (p, 5)) 496s ***** assert (icdf ("Uniform", p, 5, 2), unifinv (p, 5, 2)) 496s ***** assert (icdf ("unif", p, 5, 2), unifinv (p, 5, 2)) 496s ***** assert (icdf ("Von Mises", p, 5, 2), vminv (p, 5, 2)) 508s ***** assert (icdf ("vm", p, 5, 2), vminv (p, 5, 2)) 518s ***** assert (icdf ("Weibull", p, 5, 2), wblinv (p, 5, 2)) 518s ***** assert (icdf ("wbl", p, 5, 2), wblinv (p, 5, 2)) 518s ***** error icdf (1) 518s ***** error icdf ({"beta"}) 518s ***** error icdf ("beta", {[1 2 3 4 5]}) 518s ***** error icdf ("beta", "text") 518s ***** error icdf ("beta", 1+i) 518s ***** error ... 518s icdf ("Beta", p, "a", 2) 518s ***** error ... 518s icdf ("Beta", p, 5, "") 518s ***** error ... 518s icdf ("Beta", p, 5, {2}) 518s ***** error icdf ("chi2", p) 518s ***** error icdf ("Beta", p, 5) 518s ***** error icdf ("Burr", p, 5) 518s ***** error icdf ("Burr", p, 5, 2) 518s 82 tests, 82 passed, 0 known failure, 0 skipped 518s [inst/kstest.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/kstest.m 518s ***** error kstest () 518s ***** error kstest (ones(2,4)) 518s ***** error kstest ([2,3,5,7,3+3i]) 518s ***** error kstest ([2,3,4,5,6],"tail") 518s ***** error kstest ([2,3,4,5,6],"tail", "whatever") 518s ***** error kstest ([2,3,4,5,6],"badoption", 0.51) 518s ***** error kstest ([2,3,4,5,6],"tail", 0) 518s ***** error kstest ([2,3,4,5,6],"alpha", 0) 518s ***** error kstest ([2,3,4,5,6],"alpha", NaN) 518s ***** error kstest ([NaN,NaN,NaN,NaN,NaN],"tail", "unequal") 518s ***** error kstest ([2,3,4,5,6],"alpha", 0.05, "CDF", [2,3,4;1,3,4;1,2,1]) 518s ***** test 518s load examgrades 518s [h, p] = kstest (grades(:,1)); 518s assert (h, true); 518s assert (p, 7.58603305206105e-107, 1e-14); 518s ***** test 518s load stockreturns 518s x = stocks(:,3); 518s [h,p,k,c] = kstest (x, "Tail", "larger"); 518s assert (h, true); 518s assert (p, 5.085438806199252e-05, 1e-14); 518s assert (k, 0.2197, 1e-4); 518s assert (c, 0.1207, 1e-4); 518s 13 tests, 13 passed, 0 known failure, 0 skipped 518s [inst/hmmviterbi.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hmmviterbi.m 518s ***** test 518s sequence = [1, 2, 1, 1, 1, 2, 2, 1, 2, 3, 3, 3, ... 518s 3, 2, 3, 1, 1, 1, 1, 3, 3, 2, 3, 1, 3]; 518s transprob = [0.8, 0.2; 0.4, 0.6]; 518s outprob = [0.2, 0.4, 0.4; 0.7, 0.2, 0.1]; 518s vpath = hmmviterbi (sequence, transprob, outprob); 518s expected = [1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, ... 518s 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1]; 518s assert (vpath, expected); 518s ***** test 518s sequence = {"A", "B", "A", "A", "A", "B", "B", "A", "B", "C", "C", "C", ... 518s "C", "B", "C", "A", "A", "A", "A", "C", "C", "B", "C", "A", "C"}; 518s transprob = [0.8, 0.2; 0.4, 0.6]; 518s outprob = [0.2, 0.4, 0.4; 0.7, 0.2, 0.1]; 518s symbols = {"A", "B", "C"}; 518s statenames = {"One", "Two"}; 518s vpath = hmmviterbi (sequence, transprob, outprob, "symbols", symbols, ... 518s "statenames", statenames); 518s expected = {"One", "One", "Two", "Two", "Two", "One", "One", "One", ... 518s "One", "One", "One", "One", "One", "One", "One", "Two", ... 518s "Two", "Two", "Two", "One", "One", "One", "One", "One", "One"}; 518s assert (vpath, expected); 518s 2 tests, 2 passed, 0 known failure, 0 skipped 518s [inst/levene_test.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/levene_test.m 518s ***** error levene_test () 518s ***** error ... 518s levene_test (1, 2, 3, 4, 5); 518s ***** error levene_test (randn (50, 2), 0); 518s ***** error ... 518s levene_test (randn (50, 2), [1, 2, 3]); 518s ***** error ... 518s levene_test (randn (50, 1), ones (55, 1)); 518s ***** error ... 518s levene_test (randn (50, 1), ones (50, 2)); 518s ***** error ... 518s levene_test (randn (50, 2), [], 1.2); 518s ***** error ... 518s levene_test (randn (50, 2), "some_string"); 518s ***** error ... 518s levene_test (randn (50, 2), [], "alpha"); 518s ***** error ... 518s levene_test (randn (50, 1), [ones(25, 1); 2*ones(25, 1)], 1.2); 518s ***** error ... 518s levene_test (randn (50, 1), [ones(25, 1); 2*ones(25, 1)], "err"); 518s ***** error ... 518s levene_test (randn (50, 1), [ones(25, 1); 2*ones(25, 1)], 0.05, "type"); 518s ***** warning ... 518s levene_test (randn (50, 1), [ones(24, 1); 2*ones(25, 1); 3]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades); 518s assert (h, 1); 518s assert (pval, 9.523239714592791e-07, 1e-14); 518s assert (W, 8.59529, 1e-5); 518s assert (df, [4, 595]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades, [], "quadratic"); 518s assert (h, 1); 518s assert (pval, 9.523239714592791e-07, 1e-14); 518s assert (W, 8.59529, 1e-5); 518s assert (df, [4, 595]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades, [], "median"); 518s assert (h, 1); 518s assert (pval, 1.312093241723211e-06, 1e-14); 518s assert (W, 8.415969, 1e-6); 518s assert (df, [4, 595]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades(:,[1:3])); 518s assert (h, 1); 518s assert (pval, 0.004349390980463497, 1e-14); 518s assert (W, 5.52139, 1e-5); 518s assert (df, [2, 357]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades(:,[1:3]), "median"); 518s assert (h, 1); 518s assert (pval, 0.004355216763951453, 1e-14); 518s assert (W, 5.52001, 1e-5); 518s assert (df, [2, 357]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades(:,[3,4]), "quadratic"); 518s assert (h, 0); 518s assert (pval, 0.1807494957440653, 2e-14); 518s assert (W, 1.80200, 1e-5); 518s assert (df, [1, 238]); 518s ***** test 518s load examgrades 518s [h, pval, W, df] = levene_test (grades(:,[3,4]), "median"); 518s assert (h, 0); 518s assert (pval, 0.1978225622063785, 2e-14); 518s assert (W, 1.66768, 1e-5); 518s assert (df, [1, 238]); 518s 20 tests, 20 passed, 0 known failure, 0 skipped 518s [inst/fullfact.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/fullfact.m 518s ***** demo 518s ## Full factorial design with 3 binary variables 518s fullfact (3) 518s ***** demo 518s ## Full factorial design with 3 ordinal variables 518s fullfact ([2, 3, 4]) 518s ***** error fullfact (); 518s ***** error fullfact (2, 5); 518s ***** error fullfact (2.5); 518s ***** error fullfact (0); 518s ***** error fullfact (-3); 518s ***** error fullfact (3+2i); 518s ***** error fullfact (Inf); 518s ***** error fullfact (NaN); 518s ***** error fullfact ([1, 2, -3]); 518s ***** error fullfact ([0, 1, 2]); 518s ***** error fullfact ([1, 2, NaN]); 518s ***** error fullfact ([1, 2, Inf]); 518s ***** test 518s A = fullfact (2); 518s assert (A, [0, 0; 0, 1; 1, 0; 1, 1]); 518s ***** test 518s A = fullfact ([1, 2]); 518s assert (A, [1, 1; 1, 2]); 518s ***** test 518s A = fullfact ([1, 2, 4]); 518s A_out = [1, 1, 1; 1, 1, 2; 1, 1, 3; 1, 1, 4; ... 518s 1, 2, 1; 1, 2, 2; 1, 2, 3; 1, 2, 4]; 518s assert (A, A_out); 518s 15 tests, 15 passed, 0 known failure, 0 skipped 518s [inst/nansum.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/nansum.m 518s ***** assert (nansum ([2 4 NaN 7]), 13) 518s ***** assert (nansum ([2 4 NaN Inf]), Inf) 518s ***** assert (nansum ([1 NaN 3; NaN 5 6; 7 8 NaN]), [8 13 9]) 518s ***** assert (nansum ([1 NaN 3; NaN 5 6; 7 8 NaN], 2), [4; 11; 15]) 518s ***** assert (nansum (single ([1 NaN 3; NaN 5 6; 7 8 NaN])), single ([8 13 9])) 518s ***** assert (nansum (single ([1 NaN 3; NaN 5 6; 7 8 NaN]), "double"), [8 13 9]) 518s ***** assert (nansum (uint8 ([2 4 1 7])), 14) 518s ***** assert (nansum (uint8 ([2 4 1 7]), "native"), uint8 (14)) 518s ***** assert (nansum (uint8 ([2 4 1 7])), 14) 518s 9 tests, 9 passed, 0 known failure, 0 skipped 518s [inst/chi2test.m] 518s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/chi2test.m 518s ***** error chi2test (); 518s ***** error chi2test ([1, 2, 3, 4, 5]); 518s ***** error chi2test ([1, 2; 2, 1+3i]); 518s ***** error chi2test ([NaN, 6; 34, 12]); 518s ***** error ... 518s p = chi2test (ones (3, 3), "mutual", []); 518s ***** error ... 518s p = chi2test (ones (3, 3, 3), "testtype", 2); 518s ***** error ... 518s p = chi2test (ones (3, 3, 3), "mutual"); 518s ***** error ... 518s p = chi2test (ones (3, 3, 3), "joint", ["a"]); 518s ***** error ... 518s p = chi2test (ones (3, 3, 3), "joint", [2, 3]); 518s ***** error ... 518s p = chi2test (ones (3, 3, 3, 4), "mutual", []) 518s ***** warning p = chi2test (ones (2)); 518s ***** warning p = chi2test (ones (3, 2)); 518s ***** warning p = chi2test (0.4 * ones (3)); 518s ***** test 518s x = [11, 3, 8; 2, 9, 14; 12, 13, 28]; 518s p = chi2test (x); 518s assert (p, 0.017787, 1e-6); 518s ***** test 518s x = [11, 3, 8; 2, 9, 14; 12, 13, 28]; 518s [p, chisq] = chi2test (x); 518s assert (chisq, 11.9421, 1e-4); 518s ***** test 518s x = [11, 3, 8; 2, 9, 14; 12, 13, 28]; 518s [p, chisq, df] = chi2test (x); 518s assert (df, 4); 518s ***** test 518s ***** shared x 518s x(:,:,1) = [59, 32; 9,16]; 518s x(:,:,2) = [55, 24;12,33]; 518s x(:,:,3) = [107,80;17,56];%! 518s ***** assert (chi2test (x), 2.282063427117009e-11, 1e-14); 518s ***** assert (chi2test (x, "mutual", []), 2.282063427117009e-11, 1e-14); 518s ***** assert (chi2test (x, "joint", 1), 1.164834895206468e-11, 1e-14); 518s ***** assert (chi2test (x, "joint", 2), 7.771350230001417e-11, 1e-14); 518s ***** assert (chi2test (x, "joint", 3), 0.07151361728026107, 1e-14); 518s ***** assert (chi2test (x, "marginal", 1), 0, 1e-14); 518s ***** assert (chi2test (x, "marginal", 2), 6.347555814301131e-11, 1e-14); 518s ***** assert (chi2test (x, "marginal", 3), 0, 1e-14); 518s ***** assert (chi2test (x, "conditional", 1), 0.2303114201312508, 1e-14); 518s ***** assert (chi2test (x, "conditional", 2), 0.0958810684407079, 1e-14); 518s ***** assert (chi2test (x, "conditional", 3), 2.648037344954446e-11, 1e-14); 518s ***** assert (chi2test (x, "homogeneous", []), 0.4485579470993741, 1e-14); 518s ***** test 518s [pval, chisq, df, E] = chi2test (x); 518s assert (chisq, 64.0982, 1e-4); 518s assert (df, 7); 518s assert (E(:,:,1), [42.903, 39.921; 17.185, 15.991], ones (2, 2) * 1e-3); 518s ***** test 518s [pval, chisq, df, E] = chi2test (x, "joint", 2); 518s assert (chisq, 56.0943, 1e-4); 518s assert (df, 5); 518s assert (E(:,:,2), [40.922, 23.310; 38.078, 21.690], ones (2, 2) * 1e-3); 518s ***** test 518s [pval, chisq, df, E] = chi2test (x, "marginal", 3); 518s assert (chisq, 146.6058, 1e-4); 518s assert (df, 9); 518s assert (E(:,1,1), [61.642; 57.358], ones (2, 1) * 1e-3); 518s ***** test 518s [pval, chisq, df, E] = chi2test (x, "conditional", 3); 518s assert (chisq, 52.2509, 1e-4); 518s assert (df, 3); 518s assert (E(:,:,1), [53.345, 37.655; 14.655, 10.345], ones (2, 2) * 1e-3); 518s ***** test 518s [pval, chisq, df, E] = chi2test (x, "homogeneous", []); 518s assert (chisq, 1.6034, 1e-4); 518s assert (df, 2); 518s assert (E(:,:,1), [60.827, 31.382; 7.173, 16.618], ones (2, 2) * 1e-3); 519s 34 tests, 34 passed, 0 known failure, 0 skipped 519s [inst/inconsistent.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/inconsistent.m 519s ***** error inconsistent () 519s ***** error inconsistent ([1 2 1], 2, 3) 519s ***** error inconsistent (ones (2, 2)) 519s ***** error inconsistent ([1 2 1], -1) 519s ***** error inconsistent ([1 2 1], 1.3) 519s ***** error inconsistent ([1 2 1], [1 1]) 519s ***** error inconsistent (ones (2, 3)) 519s ***** test 519s load fisheriris; 519s Z = linkage(meas, 'average', 'chebychev'); 519s assert (cond (inconsistent (Z)), 39.9, 1e-3); 519s 8 tests, 8 passed, 0 known failure, 0 skipped 519s [inst/nanmax.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/nanmax.m 519s ***** assert (nanmax ([2 4 NaN 7]), 7) 519s ***** assert (nanmax ([2 4 NaN Inf]), Inf) 519s ***** assert (nanmax ([1 NaN 3; NaN 5 6; 7 8 NaN]), [7, 8, 6]) 519s ***** assert (nanmax ([1 NaN 3; NaN 5 6; 7 8 NaN]'), [3, 6, 8]) 519s ***** assert (nanmax (single ([1 NaN 3; NaN 5 6; 7 8 NaN])), single ([7 8 6])) 519s 5 tests, 5 passed, 0 known failure, 0 skipped 519s [inst/cdfcalc.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cdfcalc.m 519s ***** test 519s x = [2, 4, 3, 2, 4, 3, 2, 5, 6, 4]; 519s [yCDF, xCDF, n, emsg, eid] = cdfcalc (x); 519s assert (yCDF, [0, 0.3, 0.5, 0.8, 0.9, 1]'); 519s assert (xCDF, [2, 3, 4, 5, 6]'); 519s assert (n, 10); 519s ***** shared x 519s x = [2, 4, 3, 2, 4, 3, 2, 5, 6, 4]; 519s ***** error yCDF = cdfcalc (x); 519s ***** error [yCDF, xCDF] = cdfcalc (); 519s ***** error [yCDF, xCDF] = cdfcalc (x, x); 519s ***** warning [yCDF, xCDF] = cdfcalc (ones(10,2)); 519s 5 tests, 5 passed, 0 known failure, 0 skipped 519s [inst/procrustes.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/procrustes.m 519s ***** demo 519s ## Create some random points in two dimensions 519s n = 10; 519s randn ("seed", 1); 519s X = normrnd (0, 1, [n, 2]); 519s 519s ## Those same points, rotated, scaled, translated, plus some noise 519s S = [0.5, -sqrt(3)/2; sqrt(3)/2, 0.5]; # rotate 60 degrees 519s Y = normrnd (0.5*X*S + 2, 0.05, n, 2); 519s 519s ## Conform Y to X, plot original X and Y, and transformed Y 519s [d, Z] = procrustes (X, Y); 519s plot (X(:,1), X(:,2), "rx", Y(:,1), Y(:,2), "b.", Z(:,1), Z(:,2), "bx"); 519s ***** demo 519s ## Find Procrustes distance and plot superimposed shape 519s 519s X = [40 88; 51 88; 35 78; 36 75; 39 72; 44 71; 48 71; 52 74; 55 77]; 519s Y = [36 43; 48 42; 31 26; 33 28; 37 30; 40 31; 45 30; 48 28; 51 24]; 519s plot (X(:,1),X(:,2),"x"); 519s hold on 519s plot (Y(:,1),Y(:,2),"o"); 519s xlim ([0 100]); 519s ylim ([0 100]); 519s legend ("Target shape (X)", "Source shape (Y)"); 519s [d, Z] = procrustes (X, Y) 519s plot (Z(:,1), Z(:,2), "s"); 519s legend ("Target shape (X)", "Source shape (Y)", "Transformed shape (Z)"); 519s hold off 519s ***** demo 519s ## Apply Procrustes transformation to larger set of points 519s 519s ## Create matrices with landmark points for two triangles 519s X = [5, 0; 5, 5; 8, 5]; # target 519s Y = [0, 0; 1, 0; 1, 1]; # source 519s 519s ## Create a matrix with more points on the source triangle 519s Y_mp = [linspace(Y(1,1),Y(2,1),10)', linspace(Y(1,2),Y(2,2),10)'; ... 519s linspace(Y(2,1),Y(3,1),10)', linspace(Y(2,2),Y(3,2),10)'; ... 519s linspace(Y(3,1),Y(1,1),10)', linspace(Y(3,2),Y(1,2),10)']; 519s 519s ## Plot both shapes, including the larger set of points for the source shape 519s plot ([X(:,1); X(1,1)], [X(:,2); X(1,2)], "bx-"); 519s hold on 519s plot ([Y(:,1); Y(1,1)], [Y(:,2); Y(1,2)], "ro-", "MarkerFaceColor", "r"); 519s plot (Y_mp(:,1), Y_mp(:,2), "ro"); 519s xlim ([-1 10]); 519s ylim ([-1 6]); 519s legend ("Target shape (X)", "Source shape (Y)", ... 519s "More points on Y", "Location", "northwest"); 519s hold off 519s 519s ## Obtain the Procrustes transformation 519s [d, Z, transform] = procrustes (X, Y) 519s 519s ## Use the Procrustes transformation to superimpose the more points (Y_mp) 519s ## on the source shape onto the target shape, and then visualize the results. 519s Z_mp = transform.b * Y_mp * transform.T + transform.c(1,:); 519s figure 519s plot ([X(:,1); X(1,1)], [X(:,2); X(1,2)], "bx-"); 519s hold on 519s plot ([Y(:,1); Y(1,1)], [Y(:,2); Y(1,2)], "ro-", "MarkerFaceColor", "r"); 519s plot (Y_mp(:,1), Y_mp(:,2), "ro"); 519s xlim ([-1 10]); 519s ylim ([-1 6]); 519s plot ([Z(:,1); Z(1,1)],[Z(:,2); Z(1,2)],"ks-","MarkerFaceColor","k"); 519s plot (Z_mp(:,1),Z_mp(:,2),"ks"); 519s legend ("Target shape (X)", "Source shape (Y)", ... 519s "More points on Y", "Transformed source shape (Z)", ... 519s "Transformed additional points", "Location", "northwest"); 519s hold off 519s ***** demo 519s ## Compare shapes without reflection 519s 519s T = [33, 93; 33, 87; 33, 80; 31, 72; 32, 65; 32, 58; 30, 72; ... 519s 28, 72; 25, 69; 22, 64; 23, 59; 26, 57; 30, 57]; 519s S = [48, 83; 48, 77; 48, 70; 48, 65; 49, 59; 49, 56; 50, 66; ... 519s 52, 66; 56, 65; 58, 61; 57, 57; 54, 56; 51, 55]; 519s plot (T(:,1), T(:,2), "x-"); 519s hold on 519s plot (S(:,1), S(:,2), "o-"); 519s legend ("Target shape (d)", "Source shape (b)"); 519s hold off 519s d_false = procrustes (T, S, "reflection", false); 519s printf ("Procrustes distance without reflection: %f\n", d_false); 519s d_true = procrustes (T, S, "reflection", true); 519s printf ("Procrustes distance with reflection: %f\n", d_true); 519s d_best = procrustes (T, S, "reflection", "best"); 519s printf ("Procrustes distance with best fit: %f\n", d_true); 519s ***** error procrustes (); 519s ***** error procrustes (1, 2, 3, 4, 5, 6); 519s ***** error ... 519s procrustes (ones (2, 2, 2), ones (2, 2, 2)); 519s ***** error ... 519s procrustes ([1, 2; -3, 4; 2, 3], [1, 2; -3, 4; 2, 3+i]); 519s ***** error ... 519s procrustes ([1, 2; -3, 4; 2, 3], [1, 2; -3, 4; 2, NaN]); 519s ***** error ... 519s procrustes ([1, 2; -3, 4; 2, 3], [1, 2; -3, 4; 2, Inf]); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (11, 3)); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 4)); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "reflection"); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), true); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "scaling", 0); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "scaling", [true true]); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "reflection", 1); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "reflection", "some"); 519s ***** error ... 519s procrustes (ones (10 ,3), ones (10, 3), "param1", "some"); 519s 15 tests, 15 passed, 0 known failure, 0 skipped 519s [inst/manova1.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/manova1.m 519s ***** demo 519s load carbig 519s [d,p] = manova1([MPG, Acceleration, Weight, Displacement], Origin) 519s ***** test 519s load carbig 519s [d,p] = manova1([MPG, Acceleration, Weight, Displacement], Origin); 519s assert (d, 3); 519s assert (p, [0, 3.140583347827075e-07, 0.007510999577743149, ... 519s 0.1934100745898493]', [1e-12, 1e-12, 1e-12, 1e-12]'); 519s ***** test 519s load carbig 519s [d,p] = manova1([MPG, Acceleration, Weight], Origin); 519s assert (d, 2); 519s assert (p, [0, 0.00516082975137544, 0.1206528056514453]', ... 519s [1e-12, 1e-12, 1e-12]'); 519s 2 tests, 2 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/binocdf.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/binocdf.m 519s ***** demo 519s ## Plot various CDFs from the binomial distribution 519s x = 0:40; 519s p1 = binocdf (x, 20, 0.5); 519s p2 = binocdf (x, 20, 0.7); 519s p3 = binocdf (x, 40, 0.5); 519s plot (x, p1, "*b", x, p2, "*g", x, p3, "*r") 519s grid on 519s legend ({"n = 20, ps = 0.5", "n = 20, ps = 0.7", ... 519s "n = 40, ps = 0.5"}, "location", "southeast") 519s title ("Binomial CDF") 519s xlabel ("values in x (number of successes)") 519s ylabel ("probability") 519s ***** shared x, p, p1 519s x = [-1 0 1 2 3]; 519s p = [0 1/4 3/4 1 1]; 519s p1 = 1 - p; 519s ***** assert (binocdf (x, 2 * ones (1, 5), 0.5 * ones (1, 5)), p, eps) 519s ***** assert (binocdf (x, 2, 0.5 * ones (1, 5)), p, eps) 519s ***** assert (binocdf (x, 2 * ones (1, 5), 0.5), p, eps) 519s ***** assert (binocdf (x, 2 * [0 -1 NaN 1.1 1], 0.5), [0 NaN NaN NaN 1]) 519s ***** assert (binocdf (x, 2, 0.5 * [0 -1 NaN 3 1]), [0 NaN NaN NaN 1]) 519s ***** assert (binocdf ([x(1:2) NaN x(4:5)], 2, 0.5), [p(1:2) NaN p(4:5)], eps) 519s ***** assert (binocdf (99, 100, 0.1, "upper"), 1e-100, 1e-112); 519s ***** assert (binocdf (x, 2 * ones (1, 5), 0.5*ones (1,5), "upper"), p1, eps) 519s ***** assert (binocdf (x, 2, 0.5 * ones (1, 5), "upper"), p1, eps) 519s ***** assert (binocdf (x, 2 * ones (1, 5), 0.5, "upper"), p1, eps) 519s ***** assert (binocdf (x, 2 * [0 -1 NaN 1.1 1], 0.5, "upper"), [1 NaN NaN NaN 0]) 519s ***** assert (binocdf (x, 2, 0.5 * [0 -1 NaN 3 1], "upper"), [1 NaN NaN NaN 0]) 519s ***** assert (binocdf ([x(1:2) NaN x(4:5)], 2, 0.5, "upper"), [p1(1:2) NaN p1(4:5)]) 519s ***** assert (binocdf ([x, NaN], 2, 0.5), [p, NaN], eps) 519s ***** assert (binocdf (single ([x, NaN]), 2, 0.5), single ([p, NaN])) 519s ***** assert (binocdf ([x, NaN], single (2), 0.5), single ([p, NaN])) 519s ***** assert (binocdf ([x, NaN], 2, single (0.5)), single ([p, NaN])) 519s ***** error binocdf () 519s ***** error binocdf (1) 519s ***** error binocdf (1, 2) 519s ***** error binocdf (1, 2, 3, 4, 5) 519s ***** error binocdf (1, 2, 3, "tail") 519s ***** error binocdf (1, 2, 3, 4) 519s ***** error ... 519s binocdf (ones (3), ones (2), ones (2)) 519s ***** error ... 519s binocdf (ones (2), ones (3), ones (2)) 519s ***** error ... 519s binocdf (ones (2), ones (2), ones (3)) 519s ***** error binocdf (i, 2, 2) 519s ***** error binocdf (2, i, 2) 519s ***** error binocdf (2, 2, i) 519s 29 tests, 29 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/jsupdf.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/jsupdf.m 519s ***** error jsupdf () 519s ***** error jsupdf (1, 2, 3, 4) 519s ***** error ... 519s jsupdf (1, ones (2), ones (3)) 519s 3 tests, 3 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/trnd.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/trnd.m 519s ***** assert (size (trnd (2)), [1, 1]) 519s ***** assert (size (trnd (ones (2,1))), [2, 1]) 519s ***** assert (size (trnd (ones (2,2))), [2, 2]) 519s ***** assert (size (trnd (1, 3)), [3, 3]) 519s ***** assert (size (trnd (1, [4 1])), [4, 1]) 519s ***** assert (size (trnd (1, 4, 1)), [4, 1]) 519s ***** assert (size (trnd (1, 4, 1)), [4, 1]) 519s ***** assert (size (trnd (1, 4, 1, 5)), [4, 1, 5]) 519s ***** assert (size (trnd (1, 0, 1)), [0, 1]) 519s ***** assert (size (trnd (1, 1, 0)), [1, 0]) 519s ***** assert (size (trnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 519s ***** assert (trnd (0, 1, 1), NaN) 519s ***** assert (trnd ([0, 0, 0], [1, 3]), [NaN, NaN, NaN]) 519s ***** assert (class (trnd (2)), "double") 519s ***** assert (class (trnd (single (2))), "single") 519s ***** assert (class (trnd (single ([2 2]))), "single") 519s ***** error trnd () 519s ***** error trnd (i) 519s ***** error ... 519s trnd (1, -1) 519s ***** error ... 519s trnd (1, 1.2) 519s ***** error ... 519s trnd (1, ones (2)) 519s ***** error ... 519s trnd (1, [2 -1 2]) 519s ***** error ... 519s trnd (1, [2 0 2.5]) 519s ***** error ... 519s trnd (ones (2), ones (2)) 519s ***** error ... 519s trnd (1, 2, -1, 5) 519s ***** error ... 519s trnd (1, 2, 1.5, 5) 519s ***** error trnd (ones (2,2), 3) 519s ***** error trnd (ones (2,2), [3, 2]) 519s ***** error trnd (ones (2,2), 2, 3) 519s 29 tests, 29 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/loglinv.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/loglinv.m 519s ***** demo 519s ## Plot various iCDFs from the log-logistic distribution 519s p = 0.001:0.001:0.999; 519s x1 = loglinv (p, 1, 0.5); 519s x2 = loglinv (p, 1, 1); 519s x3 = loglinv (p, 1, 2); 519s x4 = loglinv (p, 1, 4); 519s x5 = loglinv (p, 1, 8); 519s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 519s ylim ([0, 20]) 519s grid on 519s legend ({"β = 0.5", "β = 1", "β = 2", "β = 4", "β = 8"}, ... 519s "location", "northwest") 519s title ("Log-logistic iCDF") 519s xlabel ("probability") 519s ylabel ("x") 519s text (0.03, 12.5, "α = 1, values of β as shown in legend") 519s ***** shared p, out1, out2 519s p = [-1, 0, 0.2, 0.5, 0.8, 0.95, 1, 2]; 519s out1 = [NaN, 0, 0.25, 1, 4, 19, Inf, NaN]; 519s out2 = [NaN, 0, 0.0424732, 2.718282, 173.970037, 18644.695061, Inf, NaN]; 519s ***** assert (loglinv (p, 1, 1), out1, 1e-8) 519s ***** assert (loglinv (p, exp (0), 1), out1, 1e-8) 519s ***** assert (loglinv (p, exp (1), 1 / 3), out2, 1e-6) 519s ***** assert (class (loglinv (single (1), 2, 3)), "single") 519s ***** assert (class (loglinv (1, single (2), 3)), "single") 519s ***** assert (class (loglinv (1, 2, single (3))), "single") 519s ***** error loglinv (1) 519s ***** error loglinv (1, 2) 519s ***** error ... 519s loglinv (1, ones (2), ones (3)) 519s ***** error ... 519s loglinv (ones (2), 1, ones (3)) 519s ***** error ... 519s loglinv (ones (2), ones (3), 1) 519s ***** error loglinv (i, 2, 3) 519s ***** error loglinv (1, i, 3) 519s ***** error loglinv (1, 2, i) 519s 14 tests, 14 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/betapdf.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/betapdf.m 519s ***** demo 519s ## Plot various PDFs from the Beta distribution 519s x = 0.001:0.001:0.999; 519s y1 = betapdf (x, 0.5, 0.5); 519s y2 = betapdf (x, 5, 1); 519s y3 = betapdf (x, 1, 3); 519s y4 = betapdf (x, 2, 2); 519s y5 = betapdf (x, 2, 5); 519s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 519s grid on 519s ylim ([0, 2.5]) 519s legend ({"α = β = 0.5", "α = 5, β = 1", "α = 1, β = 3", ... 519s "α = 2, β = 2", "α = 2, β = 5"}, "location", "north") 519s title ("Beta PDF") 519s xlabel ("values in x") 519s ylabel ("density") 519s ***** shared x, y 519s x = [-1 0 0.5 1 2]; 519s y = [0 2 1 0 0]; 519s ***** assert (betapdf (x, ones (1, 5), 2 * ones (1, 5)), y) 519s ***** assert (betapdf (x, 1, 2 * ones (1, 5)), y) 519s ***** assert (betapdf (x, ones (1, 5), 2), y) 519s ***** assert (betapdf (x, [0 NaN 1 1 1], 2), [NaN NaN y(3:5)]) 519s ***** assert (betapdf (x, 1, 2 * [0 NaN 1 1 1]), [NaN NaN y(3:5)]) 519s ***** assert (betapdf ([x, NaN], 1, 2), [y, NaN]) 519s ***** assert (betapdf (single ([x, NaN]), 1, 2), single ([y, NaN])) 519s ***** assert (betapdf ([x, NaN], single (1), 2), single ([y, NaN])) 519s ***** assert (betapdf ([x, NaN], 1, single (2)), single ([y, NaN])) 519s ***** test 519s x = rand (10,1); 519s y = 1 ./ (pi * sqrt (x .* (1 - x))); 519s assert (betapdf (x, 1/2, 1/2), y, 100 * eps); 519s ***** assert (betapdf (0.5, 1000, 1000), 35.678, 1e-3) 519s ***** error betapdf () 519s ***** error betapdf (1) 519s ***** error betapdf (1,2) 519s ***** error betapdf (1,2,3,4) 519s ***** error ... 519s betapdf (ones (3), ones (2), ones (2)) 519s ***** error ... 519s betapdf (ones (2), ones (3), ones (2)) 519s ***** error ... 519s betapdf (ones (2), ones (2), ones (3)) 519s ***** error betapdf (i, 2, 2) 519s ***** error betapdf (2, i, 2) 519s ***** error betapdf (2, 2, i) 519s 21 tests, 21 passed, 0 known failure, 0 skipped 519s [inst/dist_fun/jsucdf.m] 519s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/jsucdf.m 519s ***** error jsucdf () 520s ***** error jsucdf (1, 2, 3, 4) 520s ***** error ... 520s jsucdf (1, ones (2), ones (3)) 520s 3 tests, 3 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/binornd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/binornd.m 520s ***** assert (size (binornd (2, 1/2)), [1 1]) 520s ***** assert (size (binornd (2 * ones (2, 1), 1/2)), [2, 1]) 520s ***** assert (size (binornd (2 * ones (2, 2), 1/2)), [2, 2]) 520s ***** assert (size (binornd (2, 1/2 * ones (2, 1))), [2, 1]) 520s ***** assert (size (binornd (1, 1/2 * ones (2, 2))), [2, 2]) 520s ***** assert (size (binornd (ones (2, 1), 1)), [2, 1]) 520s ***** assert (size (binornd (ones (2, 2), 1)), [2, 2]) 520s ***** assert (size (binornd (2, 1/2, 3)), [3, 3]) 520s ***** assert (size (binornd (1, 1, [4, 1])), [4, 1]) 520s ***** assert (size (binornd (1, 1, 4, 1)), [4, 1]) 520s ***** assert (size (binornd (1, 1, 4, 1, 5)), [4, 1, 5]) 520s ***** assert (size (binornd (1, 1, 0, 1)), [0, 1]) 520s ***** assert (size (binornd (1, 1, 1, 0)), [1, 0]) 520s ***** assert (size (binornd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 520s ***** assert (class (binornd (1, 1)), "double") 520s ***** assert (class (binornd (1, single (0))), "single") 520s ***** assert (class (binornd (1, single ([0, 0]))), "single") 520s ***** assert (class (binornd (1, single (1), 2)), "single") 520s ***** assert (class (binornd (1, single ([1, 1]), 1, 2)), "single") 520s ***** assert (class (binornd (single (1), 1, 2)), "single") 520s ***** assert (class (binornd (single ([1, 1]), 1, 1, 2)), "single") 520s ***** error binornd () 520s ***** error binornd (1) 520s ***** error ... 520s binornd (ones (3), ones (2)) 520s ***** error ... 520s binornd (ones (2), ones (3)) 520s ***** error binornd (i, 2) 520s ***** error binornd (1, i) 520s ***** error ... 520s binornd (1, 1/2, -1) 520s ***** error ... 520s binornd (1, 1/2, 1.2) 520s ***** error ... 520s binornd (1, 1/2, ones (2)) 520s ***** error ... 520s binornd (1, 1/2, [2 -1 2]) 520s ***** error ... 520s binornd (1, 1/2, [2 0 2.5]) 520s ***** error ... 520s binornd (1, 1/2, 2, -1, 5) 520s ***** error ... 520s binornd (1, 1/2, 2, 1.5, 5) 520s ***** error ... 520s binornd (2, 1/2 * ones (2), 3) 520s ***** error ... 520s binornd (2, 1/2 * ones (2), [3, 2]) 520s ***** error ... 520s binornd (2, 1/2 * ones (2), 3, 2) 520s ***** error ... 520s binornd (2 * ones (2), 1/2, 3) 520s ***** error ... 520s binornd (2 * ones (2), 1/2, [3, 2]) 520s ***** error ... 520s binornd (2 * ones (2), 1/2, 3, 2) 520s 40 tests, 40 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/cauchypdf.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/cauchypdf.m 520s ***** demo 520s ## Plot various PDFs from the Cauchy distribution 520s x = -5:0.01:5; 520s y1 = cauchypdf (x, 0, 0.5); 520s y2 = cauchypdf (x, 0, 1); 520s y3 = cauchypdf (x, 0, 2); 520s y4 = cauchypdf (x, -2, 1); 520s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 520s grid on 520s xlim ([-5, 5]) 520s ylim ([0, 0.7]) 520s legend ({"x0 = 0, γ = 0.5", "x0 = 0, γ = 1", ... 520s "x0 = 0, γ = 2", "x0 = -2, γ = 1"}, "location", "northeast") 520s title ("Cauchy PDF") 520s xlabel ("values in x") 520s ylabel ("density") 520s ***** shared x, y 520s x = [-1 0 0.5 1 2]; 520s y = 1/pi * ( 2 ./ ((x-1).^2 + 2^2) ); 520s ***** assert (cauchypdf (x, ones (1,5), 2*ones (1,5)), y) 520s ***** assert (cauchypdf (x, 1, 2*ones (1,5)), y) 520s ***** assert (cauchypdf (x, ones (1,5), 2), y) 520s ***** assert (cauchypdf (x, [-Inf 1 NaN 1 Inf], 2), [NaN y(2) NaN y(4) NaN]) 520s ***** assert (cauchypdf (x, 1, 2*[0 1 NaN 1 Inf]), [NaN y(2) NaN y(4) NaN]) 520s ***** assert (cauchypdf ([x, NaN], 1, 2), [y, NaN]) 520s ***** assert (cauchypdf (single ([x, NaN]), 1, 2), single ([y, NaN]), eps ("single")) 520s ***** assert (cauchypdf ([x, NaN], single (1), 2), single ([y, NaN]), eps ("single")) 520s ***** assert (cauchypdf ([x, NaN], 1, single (2)), single ([y, NaN]), eps ("single")) 520s ***** test 520s x = rand (10, 1); 520s assert (cauchypdf (x, 0, 1), tpdf (x, 1), eps); 520s ***** error cauchypdf () 520s ***** error cauchypdf (1) 520s ***** error ... 520s cauchypdf (1, 2) 520s ***** error cauchypdf (1, 2, 3, 4) 520s ***** error ... 520s cauchypdf (ones (3), ones (2), ones(2)) 520s ***** error ... 520s cauchypdf (ones (2), ones (3), ones(2)) 520s ***** error ... 520s cauchypdf (ones (2), ones (2), ones(3)) 520s ***** error cauchypdf (i, 4, 3) 520s ***** error cauchypdf (1, i, 3) 520s ***** error cauchypdf (1, 4, i) 520s 20 tests, 20 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/tripdf.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/tripdf.m 520s ***** demo 520s ## Plot various CDFs from the triangular distribution 520s x = 0.001:0.001:10; 520s y1 = tripdf (x, 3, 6, 4); 520s y2 = tripdf (x, 1, 5, 2); 520s y3 = tripdf (x, 2, 9, 3); 520s y4 = tripdf (x, 2, 9, 5); 520s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 520s grid on 520s xlim ([0, 10]) 520s legend ({"a = 3, b = 6, c = 4", "a = 1, b = 5, c = 2", ... 520s "a = 2, b = 9, c = 3", "a = 2, b = 9, c = 5"}, ... 520s "location", "northeast") 520s title ("Triangular CDF") 520s xlabel ("values in x") 520s ylabel ("probability") 520s ***** shared x, y, deps 520s x = [-1, 0, 0.1, 0.5, 0.9, 1, 2] + 1; 520s y = [0, 0, 0.4, 2, 0.4, 0, 0]; 520s deps = 2*eps; 520s ***** assert (tripdf (x, ones (1,7), 2*ones (1,7), 1.5*ones (1,7)), y, deps) 520s ***** assert (tripdf (x, 1*ones (1,7), 2, 1.5), y, deps) 520s ***** assert (tripdf (x, 1, 2*ones (1,7), 1.5), y, deps) 520s ***** assert (tripdf (x, 1, 2, 1.5*ones (1,7)), y, deps) 520s ***** assert (tripdf (x, 1, 2, 1.5), y, deps) 520s ***** assert (tripdf (x, [1, 1, NaN, 1, 1, 1, 1], 2, 1.5), [y(1:2), NaN, y(4:7)], deps) 520s ***** assert (tripdf (x, 1, 2*[1, 1, NaN, 1, 1, 1, 1], 1.5), [y(1:2), NaN, y(4:7)], deps) 520s ***** assert (tripdf (x, 1, 2, 1.5*[1, 1, NaN, 1, 1, 1, 1]), [y(1:2), NaN, y(4:7)], deps) 520s ***** assert (tripdf ([x, NaN], 1, 2, 1.5), [y, NaN], deps) 520s ***** assert (tripdf (single ([x, NaN]), 1, 2, 1.5), single ([y, NaN]), eps("single")) 520s ***** assert (tripdf ([x, NaN], single (1), 2, 1.5), single ([y, NaN]), eps("single")) 520s ***** assert (tripdf ([x, NaN], 1, single (2), 1.5), single ([y, NaN]), eps("single")) 520s ***** assert (tripdf ([x, NaN], 1, 2, single (1.5)), single ([y, NaN]), eps("single")) 520s ***** error tripdf () 520s ***** error tripdf (1) 520s ***** error tripdf (1, 2) 520s ***** error tripdf (1, 2, 3) 520s ***** error ... 520s tripdf (1, 2, 3, 4, 5) 520s ***** error ... 520s tripdf (ones (3), ones (2), ones(2), ones(2)) 520s ***** error ... 520s tripdf (ones (2), ones (3), ones(2), ones(2)) 520s ***** error ... 520s tripdf (ones (2), ones (2), ones(3), ones(2)) 520s ***** error ... 520s tripdf (ones (2), ones (2), ones(2), ones(3)) 520s ***** error tripdf (i, 2, 3, 4) 520s ***** error tripdf (1, i, 3, 4) 520s ***** error tripdf (1, 2, i, 4) 520s ***** error tripdf (1, 2, 3, i) 520s 26 tests, 26 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/vmpdf.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/vmpdf.m 520s ***** demo 520s ## Plot various PDFs from the von Mises distribution 520s x1 = [-pi:0.1:pi]; 520s y1 = vmpdf (x1, 0, 0.5); 520s y2 = vmpdf (x1, 0, 1); 520s y3 = vmpdf (x1, 0, 2); 520s y4 = vmpdf (x1, 0, 4); 520s plot (x1, y1, "-r", x1, y2, "-g", x1, y3, "-b", x1, y4, "-c") 520s grid on 520s xlim ([-pi, pi]) 520s ylim ([0, 0.8]) 520s legend ({"μ = 0, k = 0.5", "μ = 0, k = 1", ... 520s "μ = 0, k = 2", "μ = 0, k = 4"}, "location", "northwest") 520s title ("Von Mises PDF") 520s xlabel ("values in x") 520s ylabel ("density") 520s ***** shared x, y0, y1 520s x = [-pi:pi/2:pi]; 520s y0 = [0.046245, 0.125708, 0.341710, 0.125708, 0.046245]; 520s y1 = [0.046245, 0.069817, 0.654958, 0.014082, 0.000039]; 520s ***** assert (vmpdf (x, 0, 1), y0, 1e-5) 520s ***** assert (vmpdf (x, zeros (1,5), ones (1,5)), y0, 1e-6) 520s ***** assert (vmpdf (x, 0, [1 2 3 4 5]), y1, 1e-6) 520s ***** assert (isa (vmpdf (single (pi), 0, 1), "single"), true) 520s ***** assert (isa (vmpdf (pi, single (0), 1), "single"), true) 520s ***** assert (isa (vmpdf (pi, 0, single (1)), "single"), true) 520s ***** error vmpdf () 520s ***** error vmpdf (1) 520s ***** error vmpdf (1, 2) 520s ***** error ... 520s vmpdf (ones (3), ones (2), ones (2)) 520s ***** error ... 520s vmpdf (ones (2), ones (3), ones (2)) 520s ***** error ... 520s vmpdf (ones (2), ones (2), ones (3)) 520s ***** error vmpdf (i, 2, 2) 520s ***** error vmpdf (2, i, 2) 520s ***** error vmpdf (2, 2, i) 520s 15 tests, 15 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/invgrnd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/invgrnd.m 520s ***** assert (size (invgrnd (1, 1, 1)), [1, 1]) 520s ***** assert (size (invgrnd (1, 1, 2)), [2, 2]) 520s ***** assert (size (invgrnd (1, 1, [2, 1])), [2, 1]) 520s ***** assert (size (invgrnd (1, zeros (2, 2))), [2, 2]) 520s ***** assert (size (invgrnd (1, ones (2, 1))), [2, 1]) 520s ***** assert (size (invgrnd (1, ones (2, 2))), [2, 2]) 520s ***** assert (size (invgrnd (ones (2, 1), 1)), [2, 1]) 520s ***** assert (size (invgrnd (ones (2, 2), 1)), [2, 2]) 520s ***** assert (size (invgrnd (1, 1, 3)), [3, 3]) 520s ***** assert (size (invgrnd (1, 1, [4 1])), [4, 1]) 520s ***** assert (size (invgrnd (1, 1, 4, 1)), [4, 1]) 520s ***** test 520s r = invgrnd (1, [1, 0, -1]); 520s assert (r([2:3]), [NaN, NaN]) 520s ***** assert (class (invgrnd (1, 0)), "double") 520s ***** assert (class (invgrnd (1, single (0))), "single") 520s ***** assert (class (invgrnd (1, single ([0 0]))), "single") 520s ***** assert (class (invgrnd (1, single (1))), "single") 520s ***** assert (class (invgrnd (1, single ([1 1]))), "single") 520s ***** assert (class (invgrnd (single (1), 1)), "single") 520s ***** assert (class (invgrnd (single ([1 1]), 1)), "single") 520s ***** error invgrnd () 520s ***** error invgrnd (1) 520s ***** error ... 520s invgrnd (ones (3), ones (2)) 520s ***** error ... 520s invgrnd (ones (2), ones (3)) 520s ***** error invgrnd (i, 2, 3) 520s ***** error invgrnd (1, i, 3) 520s ***** error ... 520s invgrnd (1, 2, -1) 520s ***** error ... 520s invgrnd (1, 2, 1.2) 520s ***** error ... 520s invgrnd (1, 2, ones (2)) 520s ***** error ... 520s invgrnd (1, 2, [2 -1 2]) 520s ***** error ... 520s invgrnd (1, 2, [2 0 2.5]) 520s ***** error ... 520s invgrnd (1, 2, 2, -1, 5) 520s ***** error ... 520s invgrnd (1, 2, 2, 1.5, 5) 520s ***** error ... 520s invgrnd (2, ones (2), 3) 520s ***** error ... 520s invgrnd (2, ones (2), [3, 2]) 520s ***** error ... 520s invgrnd (2, ones (2), 3, 2) 520s 35 tests, 35 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/gevinv.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gevinv.m 520s ***** demo 520s ## Plot various iCDFs from the generalized extreme value distribution 520s p = 0.001:0.001:0.999; 520s x1 = gevinv (p, 1, 1, 1); 520s x2 = gevinv (p, 0.5, 1, 1); 520s x3 = gevinv (p, 1, 1, 5); 520s x4 = gevinv (p, 1, 2, 5); 520s x5 = gevinv (p, 1, 5, 5); 520s x6 = gevinv (p, 1, 0.5, 5); 520s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", ... 520s p, x4, "-c", p, x5, "-m", p, x6, "-k") 520s grid on 520s ylim ([-1, 10]) 520s legend ({"ξ = 1, σ = 1, μ = 1", "ξ = 0.5, σ = 1, μ = 1", ... 520s "ξ = 1, σ = 1, μ = 5", "ξ = 1, σ = 2, μ = 5", ... 520s "ξ = 1, σ = 5, μ = 5", "ξ = 1, σ = 0.5, μ = 5"}, ... 520s "location", "northwest") 520s title ("Generalized extreme value iCDF") 520s xlabel ("probability") 520s ylabel ("values in x") 520s ***** test 520s p = 0.1:0.1:0.9; 520s k = 0; 520s sigma = 1; 520s mu = 0; 520s x = gevinv (p, k, sigma, mu); 520s c = gevcdf(x, k, sigma, mu); 520s assert (c, p, 0.001); 520s ***** test 520s p = 0.1:0.1:0.9; 520s k = 1; 520s sigma = 1; 520s mu = 0; 520s x = gevinv (p, k, sigma, mu); 520s c = gevcdf(x, k, sigma, mu); 520s assert (c, p, 0.001); 520s ***** test 520s p = 0.1:0.1:0.9; 520s k = 0.3; 520s sigma = 1; 520s mu = 0; 520s x = gevinv (p, k, sigma, mu); 520s c = gevcdf(x, k, sigma, mu); 520s assert (c, p, 0.001); 520s ***** error gevinv () 520s ***** error gevinv (1) 520s ***** error gevinv (1, 2) 520s ***** error gevinv (1, 2, 3) 520s ***** error ... 520s gevinv (ones (3), ones (2), ones(2), ones(2)) 520s ***** error ... 520s gevinv (ones (2), ones (3), ones(2), ones(2)) 520s ***** error ... 520s gevinv (ones (2), ones (2), ones(3), ones(2)) 520s ***** error ... 520s gevinv (ones (2), ones (2), ones(2), ones(3)) 520s ***** error gevinv (i, 2, 3, 4) 520s ***** error gevinv (1, i, 3, 4) 520s ***** error gevinv (1, 2, i, 4) 520s ***** error gevinv (1, 2, 3, i) 520s 15 tests, 15 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/chi2inv.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/chi2inv.m 520s ***** demo 520s ## Plot various iCDFs from the chi-squared distribution 520s p = 0.001:0.001:0.999; 520s x1 = chi2inv (p, 1); 520s x2 = chi2inv (p, 2); 520s x3 = chi2inv (p, 3); 520s x4 = chi2inv (p, 4); 520s x5 = chi2inv (p, 6); 520s x6 = chi2inv (p, 9); 520s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", ... 520s p, x4, "-c", p, x5, "-m", p, x6, "-y") 520s grid on 520s ylim ([0, 8]) 520s legend ({"df = 1", "df = 2", "df = 3", ... 520s "df = 4", "df = 6", "df = 9"}, "location", "northwest") 520s title ("Chi-squared iCDF") 520s xlabel ("probability") 520s ylabel ("values in x") 520s ***** shared p 520s p = [-1 0 0.3934693402873666 1 2]; 520s ***** assert (chi2inv (p, 2*ones (1,5)), [NaN 0 1 Inf NaN], 5*eps) 520s ***** assert (chi2inv (p, 2), [NaN 0 1 Inf NaN], 5*eps) 520s ***** assert (chi2inv (p, 2*[0 1 NaN 1 1]), [NaN 0 NaN Inf NaN], 5*eps) 520s ***** assert (chi2inv ([p(1:2) NaN p(4:5)], 2), [NaN 0 NaN Inf NaN], 5*eps) 520s ***** assert (chi2inv ([p, NaN], 2), [NaN 0 1 Inf NaN NaN], 5*eps) 520s ***** assert (chi2inv (single ([p, NaN]), 2), single ([NaN 0 1 Inf NaN NaN]), 5*eps ("single")) 520s ***** assert (chi2inv ([p, NaN], single (2)), single ([NaN 0 1 Inf NaN NaN]), 5*eps ("single")) 520s ***** error chi2inv () 520s ***** error chi2inv (1) 520s ***** error chi2inv (1,2,3) 520s ***** error ... 520s chi2inv (ones (3), ones (2)) 520s ***** error ... 520s chi2inv (ones (2), ones (3)) 520s ***** error chi2inv (i, 2) 520s ***** error chi2inv (2, i) 520s 14 tests, 14 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/nbinrnd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nbinrnd.m 520s ***** assert (size (nbinrnd (1, 0.5)), [1 1]) 520s ***** assert (size (nbinrnd (1, 0.5 * ones (2,1))), [2, 1]) 520s ***** assert (size (nbinrnd (1, 0.5 * ones (2,2))), [2, 2]) 520s ***** assert (size (nbinrnd (ones (2,1), 0.5)), [2, 1]) 520s ***** assert (size (nbinrnd (ones (2,2), 0.5)), [2, 2]) 520s ***** assert (size (nbinrnd (1, 0.5, 3)), [3, 3]) 520s ***** assert (size (nbinrnd (1, 0.5, [4, 1])), [4, 1]) 520s ***** assert (size (nbinrnd (1, 0.5, 4, 1)), [4, 1]) 520s ***** assert (size (nbinrnd (1, 0.5, 4, 1, 5)), [4, 1, 5]) 520s ***** assert (size (nbinrnd (1, 0.5, 0, 1)), [0, 1]) 520s ***** assert (size (nbinrnd (1, 0.5, 1, 0)), [1, 0]) 520s ***** assert (size (nbinrnd (1, 0.5, 1, 2, 0, 5)), [1, 2, 0, 5]) 520s ***** assert (class (nbinrnd (1, 0.5)), "double") 520s ***** assert (class (nbinrnd (1, single (0.5))), "single") 520s ***** assert (class (nbinrnd (1, single ([0.5, 0.5]))), "single") 520s ***** assert (class (nbinrnd (single (1), 0.5)), "single") 520s ***** assert (class (nbinrnd (single ([1, 1]), 0.5)), "single") 520s ***** error nbinrnd () 520s ***** error nbinrnd (1) 520s ***** error ... 520s nbinrnd (ones (3), ones (2)) 520s ***** error ... 520s nbinrnd (ones (2), ones (3)) 520s ***** error nbinrnd (i, 2, 3) 520s ***** error nbinrnd (1, i, 3) 520s ***** error ... 520s nbinrnd (1, 2, -1) 520s ***** error ... 520s nbinrnd (1, 2, 1.2) 520s ***** error ... 520s nbinrnd (1, 2, ones (2)) 520s ***** error ... 520s nbinrnd (1, 2, [2 -1 2]) 520s ***** error ... 520s nbinrnd (1, 2, [2 0 2.5]) 520s ***** error ... 520s nbinrnd (1, 2, 2, -1, 5) 520s ***** error ... 520s nbinrnd (1, 2, 2, 1.5, 5) 520s ***** error ... 520s nbinrnd (2, ones (2), 3) 520s ***** error ... 520s nbinrnd (2, ones (2), [3, 2]) 520s ***** error ... 520s nbinrnd (2, ones (2), 3, 2) 520s 33 tests, 33 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/exprnd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/exprnd.m 520s ***** assert (size (exprnd (2)), [1, 1]) 520s ***** assert (size (exprnd (ones (2,1))), [2, 1]) 520s ***** assert (size (exprnd (ones (2,2))), [2, 2]) 520s ***** assert (size (exprnd (1, 3)), [3, 3]) 520s ***** assert (size (exprnd (1, [4 1])), [4, 1]) 520s ***** assert (size (exprnd (1, 4, 1)), [4, 1]) 520s ***** assert (size (exprnd (1, 4, 1)), [4, 1]) 520s ***** assert (size (exprnd (1, 4, 1, 5)), [4, 1, 5]) 520s ***** assert (size (exprnd (1, 0, 1)), [0, 1]) 520s ***** assert (size (exprnd (1, 1, 0)), [1, 0]) 520s ***** assert (size (exprnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 520s ***** assert (class (exprnd (2)), "double") 520s ***** assert (class (exprnd (single (2))), "single") 520s ***** assert (class (exprnd (single ([2 2]))), "single") 520s ***** error exprnd () 520s ***** error exprnd (i) 520s ***** error ... 520s exprnd (1, -1) 520s ***** error ... 520s exprnd (1, 1.2) 520s ***** error ... 520s exprnd (1, ones (2)) 520s ***** error ... 520s exprnd (1, [2 -1 2]) 520s ***** error ... 520s exprnd (1, [2 0 2.5]) 520s ***** error ... 520s exprnd (ones (2), ones (2)) 520s ***** error ... 520s exprnd (1, 2, -1, 5) 520s ***** error ... 520s exprnd (1, 2, 1.5, 5) 520s ***** error exprnd (ones (2,2), 3) 520s ***** error exprnd (ones (2,2), [3, 2]) 520s ***** error exprnd (ones (2,2), 2, 3) 520s 27 tests, 27 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/hnrnd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hnrnd.m 520s ***** assert (size (hnrnd (1, 1, 1)), [1, 1]) 520s ***** assert (size (hnrnd (1, 1, 2)), [2, 2]) 520s ***** assert (size (hnrnd (1, 1, [2, 1])), [2, 1]) 520s ***** assert (size (hnrnd (1, zeros (2, 2))), [2, 2]) 520s ***** assert (size (hnrnd (1, ones (2, 1))), [2, 1]) 520s ***** assert (size (hnrnd (1, ones (2, 2))), [2, 2]) 520s ***** assert (size (hnrnd (ones (2, 1), 1)), [2, 1]) 520s ***** assert (size (hnrnd (ones (2, 2), 1)), [2, 2]) 520s ***** assert (size (hnrnd (1, 1, 3)), [3, 3]) 520s ***** assert (size (hnrnd (1, 1, [4 1])), [4, 1]) 520s ***** assert (size (hnrnd (1, 1, 4, 1)), [4, 1]) 520s ***** test 520s r = hnrnd (1, [1, 0, -1]); 520s assert (r([2:3]), [NaN, NaN]) 520s ***** assert (class (hnrnd (1, 0)), "double") 520s ***** assert (class (hnrnd (1, single (0))), "single") 520s ***** assert (class (hnrnd (1, single ([0 0]))), "single") 520s ***** assert (class (hnrnd (1, single (1))), "single") 520s ***** assert (class (hnrnd (1, single ([1 1]))), "single") 520s ***** assert (class (hnrnd (single (1), 1)), "single") 520s ***** assert (class (hnrnd (single ([1 1]), 1)), "single") 520s ***** error hnrnd () 520s ***** error hnrnd (1) 520s ***** error ... 520s hnrnd (ones (3), ones (2)) 520s ***** error ... 520s hnrnd (ones (2), ones (3)) 520s ***** error hnrnd (i, 2, 3) 520s ***** error hnrnd (1, i, 3) 520s ***** error ... 520s hnrnd (1, 2, -1) 520s ***** error ... 520s hnrnd (1, 2, 1.2) 520s ***** error ... 520s hnrnd (1, 2, ones (2)) 520s ***** error ... 520s hnrnd (1, 2, [2 -1 2]) 520s ***** error ... 520s hnrnd (1, 2, [2 0 2.5]) 520s ***** error ... 520s hnrnd (1, 2, 2, -1, 5) 520s ***** error ... 520s hnrnd (1, 2, 2, 1.5, 5) 520s ***** error ... 520s hnrnd (2, ones (2), 3) 520s ***** error ... 520s hnrnd (2, ones (2), [3, 2]) 520s ***** error ... 520s hnrnd (2, ones (2), 3, 2) 520s 35 tests, 35 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/chi2rnd.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/chi2rnd.m 520s ***** assert (size (chi2rnd (2)), [1, 1]) 520s ***** assert (size (chi2rnd (ones (2,1))), [2, 1]) 520s ***** assert (size (chi2rnd (ones (2,2))), [2, 2]) 520s ***** assert (size (chi2rnd (1, 3)), [3, 3]) 520s ***** assert (size (chi2rnd (1, [4 1])), [4, 1]) 520s ***** assert (size (chi2rnd (1, 4, 1)), [4, 1]) 520s ***** assert (size (chi2rnd (1, 4, 1)), [4, 1]) 520s ***** assert (size (chi2rnd (1, 4, 1, 5)), [4, 1, 5]) 520s ***** assert (size (chi2rnd (1, 0, 1)), [0, 1]) 520s ***** assert (size (chi2rnd (1, 1, 0)), [1, 0]) 520s ***** assert (size (chi2rnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 520s ***** assert (class (chi2rnd (2)), "double") 520s ***** assert (class (chi2rnd (single (2))), "single") 520s ***** assert (class (chi2rnd (single ([2 2]))), "single") 520s ***** error chi2rnd () 520s ***** error chi2rnd (i) 520s ***** error ... 520s chi2rnd (1, -1) 520s ***** error ... 520s chi2rnd (1, 1.2) 520s ***** error ... 520s chi2rnd (1, ones (2)) 520s ***** error ... 520s chi2rnd (1, [2 -1 2]) 520s ***** error ... 520s chi2rnd (1, [2 0 2.5]) 520s ***** error ... 520s chi2rnd (ones (2), ones (2)) 520s ***** error ... 520s chi2rnd (1, 2, -1, 5) 520s ***** error ... 520s chi2rnd (1, 2, 1.5, 5) 520s ***** error chi2rnd (ones (2,2), 3) 520s ***** error chi2rnd (ones (2,2), [3, 2]) 520s ***** error chi2rnd (ones (2,2), 2, 3) 520s 27 tests, 27 passed, 0 known failure, 0 skipped 520s [inst/dist_fun/wishpdf.m] 520s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wishpdf.m 520s ***** assert(wishpdf(4, 3, 3.1), 0.07702496, 1E-7); 520s ***** assert(wishpdf([2 -0.3;-0.3 4], [1 0.3;0.3 1], 4), 0.004529741, 1E-7); 520s ***** assert(wishpdf([6 2 5; 2 10 -5; 5 -5 25], [9 5 5; 5 10 -8; 5 -8 22], 5.1), 4.474865e-10, 1E-15); 520s ***** error wishpdf () 521s ***** error wishpdf (1, 2) 521s ***** error wishpdf (1, 2, 0) 521s ***** error wishpdf (1, 2) 521s 7 tests, 7 passed, 0 known failure, 0 skipped 521s [inst/dist_fun/nakacdf.m] 521s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nakacdf.m 521s ***** demo 521s ## Plot various CDFs from the Nakagami distribution 521s x = 0:0.01:3; 521s p1 = nakacdf (x, 0.5, 1); 521s p2 = nakacdf (x, 1, 1); 521s p3 = nakacdf (x, 1, 2); 521s p4 = nakacdf (x, 1, 3); 521s p5 = nakacdf (x, 2, 1); 521s p6 = nakacdf (x, 2, 2); 521s p7 = nakacdf (x, 5, 1); 521s plot (x, p1, "-r", x, p2, "-g", x, p3, "-y", x, p4, "-m", ... 521s x, p5, "-k", x, p6, "-b", x, p7, "-c") 521s grid on 521s xlim ([0, 3]) 521s legend ({"μ = 0.5, ω = 1", "μ = 1, ω = 1", "μ = 1, ω = 2", ... 521s "μ = 1, ω = 3", "μ = 2, ω = 1", "μ = 2, ω = 2", ... 521s "μ = 5, ω = 1"}, "location", "southeast") 521s title ("Nakagami CDF") 521s xlabel ("values in x") 521s ylabel ("probability") 521s ***** shared x, y 521s x = [-1, 0, 1, 2, Inf]; 521s y = [0, 0, 0.63212055882855778, 0.98168436111126578, 1]; 521s ***** assert (nakacdf (x, ones (1,5), ones (1,5)), y, eps) 521s ***** assert (nakacdf (x, 1, 1), y, eps) 521s ***** assert (nakacdf (x, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)]) 521s ***** assert (nakacdf (x, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)]) 521s ***** assert (nakacdf ([x, NaN], 1, 1), [y, NaN], eps) 521s ***** assert (nakacdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps("single")) 521s ***** assert (nakacdf ([x, NaN], single (1), 1), single ([y, NaN]), eps("single")) 521s ***** assert (nakacdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps("single")) 521s ***** error nakacdf () 521s ***** error nakacdf (1) 521s ***** error nakacdf (1, 2) 521s ***** error nakacdf (1, 2, 3, "tail") 521s ***** error nakacdf (1, 2, 3, 4) 521s ***** error ... 521s nakacdf (ones (3), ones (2), ones (2)) 521s ***** error ... 521s nakacdf (ones (2), ones (3), ones (2)) 521s ***** error ... 521s nakacdf (ones (2), ones (2), ones (3)) 521s ***** error nakacdf (i, 2, 2) 521s ***** error nakacdf (2, i, 2) 521s ***** error nakacdf (2, 2, i) 521s 19 tests, 19 passed, 0 known failure, 0 skipped 521s [inst/dist_fun/bisapdf.m] 521s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bisapdf.m 521s ***** demo 521s ## Plot various PDFs from the Birnbaum-Saunders distribution 521s x = 0.01:0.01:4; 521s y1 = bisapdf (x, 1, 0.5); 521s y2 = bisapdf (x, 1, 1); 521s y3 = bisapdf (x, 1, 2); 521s y4 = bisapdf (x, 1, 5); 521s y5 = bisapdf (x, 1, 10); 521s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 521s grid on 521s ylim ([0, 1.5]) 521s legend ({"β = 1 ,γ = 0.5", "β = 1, γ = 1", "β = 1, γ = 2", ... 521s "β = 1, γ = 5", "β = 1, γ = 10"}, "location", "northeast") 521s title ("Birnbaum-Saunders PDF") 521s xlabel ("values in x") 521s ylabel ("density") 521s ***** demo 521s ## Plot various PDFs from the Birnbaum-Saunders distribution 521s x = 0.01:0.01:6; 521s y1 = bisapdf (x, 1, 0.3); 521s y2 = bisapdf (x, 2, 0.3); 521s y3 = bisapdf (x, 1, 0.5); 521s y4 = bisapdf (x, 3, 0.5); 521s y5 = bisapdf (x, 5, 0.5); 521s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 521s grid on 521s ylim ([0, 1.5]) 521s legend ({"β = 1, γ = 0.3", "β = 2, γ = 0.3", "β = 1, γ = 0.5", ... 521s "β = 3, γ = 0.5", "β = 5, γ = 0.5"}, "location", "northeast") 521s title ("Birnbaum-Saunders CDF") 521s xlabel ("values in x") 521s ylabel ("density") 521s ***** shared x, y 521s x = [-1, 0, 1, 2, Inf]; 521s y = [0, 0, 0.3989422804014327, 0.1647717335503959, 0]; 521s ***** assert (bisapdf (x, ones (1,5), ones (1,5)), y, eps) 521s ***** assert (bisapdf (x, 1, 1), y, eps) 521s ***** assert (bisapdf (x, 1, ones (1,5)), y, eps) 521s ***** assert (bisapdf (x, ones (1,5), 1), y, eps) 521s ***** assert (bisapdf (x, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)], eps) 521s ***** assert (bisapdf (x, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)], eps) 521s ***** assert (bisapdf ([x, NaN], 1, 1), [y, NaN], eps) 521s ***** assert (bisapdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 521s ***** assert (bisapdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 521s ***** assert (bisapdf ([x, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 521s ***** error bisapdf () 521s ***** error bisapdf (1) 521s ***** error bisapdf (1, 2) 521s ***** error bisapdf (1, 2, 3, 4) 521s ***** error ... 521s bisapdf (ones (3), ones (2), ones(2)) 521s ***** error ... 521s bisapdf (ones (2), ones (3), ones(2)) 521s ***** error ... 521s bisapdf (ones (2), ones (2), ones(3)) 521s ***** error bisapdf (i, 4, 3) 521s ***** error bisapdf (1, i, 3) 521s ***** error bisapdf (1, 4, i) 521s 20 tests, 20 passed, 0 known failure, 0 skipped 521s [inst/dist_fun/hygecdf.m] 521s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hygecdf.m 521s ***** demo 521s ## Plot various CDFs from the hypergeometric distribution 521s x = 0:60; 521s p1 = hygecdf (x, 500, 50, 100); 521s p2 = hygecdf (x, 500, 60, 200); 521s p3 = hygecdf (x, 500, 70, 300); 521s plot (x, p1, "*b", x, p2, "*g", x, p3, "*r") 521s grid on 521s xlim ([0, 60]) 521s legend ({"t = 500, m = 50, μ = 100", "t = 500, m = 60, μ = 200", ... 521s "t = 500, m = 70, μ = 300"}, "location", "southeast") 521s title ("Hypergeometric CDF") 521s xlabel ("values in x (number of successes)") 521s ylabel ("probability") 521s ***** shared x, y 521s x = [-1 0 1 2 3]; 521s y = [0 1/6 5/6 1 1]; 521s ***** assert (hygecdf (x, 4*ones (1,5), 2, 2), y, 5*eps) 521s ***** assert (hygecdf (x, 4, 2*ones (1,5), 2), y, 5*eps) 521s ***** assert (hygecdf (x, 4, 2, 2*ones (1,5)), y, 5*eps) 521s ***** assert (hygecdf (x, 4*[1 -1 NaN 1.1 1], 2, 2), [y(1) NaN NaN NaN y(5)], 5*eps) 521s ***** assert (hygecdf (x, 4*[1 -1 NaN 1.1 1], 2, 2, "upper"), ... 521s [y(5) NaN NaN NaN y(1)], 5*eps) 521s ***** assert (hygecdf (x, 4, 2*[1 -1 NaN 1.1 1], 2), [y(1) NaN NaN NaN y(5)], 5*eps) 521s ***** assert (hygecdf (x, 4, 2*[1 -1 NaN 1.1 1], 2, "upper"), ... 521s [y(5) NaN NaN NaN y(1)], 5*eps) 521s ***** assert (hygecdf (x, 4, 5, 2), [NaN NaN NaN NaN NaN]) 521s ***** assert (hygecdf (x, 4, 2, 2*[1 -1 NaN 1.1 1]), [y(1) NaN NaN NaN y(5)], 5*eps) 521s ***** assert (hygecdf (x, 4, 2, 2*[1 -1 NaN 1.1 1], "upper"), ... 521s [y(5) NaN NaN NaN y(1)], 5*eps) 521s ***** assert (hygecdf (x, 4, 2, 5), [NaN NaN NaN NaN NaN]) 521s ***** assert (hygecdf ([x(1:2) NaN x(4:5)], 4, 2, 2), [y(1:2) NaN y(4:5)], 5*eps) 521s ***** test 521s p = hygecdf (x, 10, [1 2 3 4 5], 2, "upper"); 521s assert (p, [1, 34/90, 2/30, 0, 0], 10*eps); 521s ***** test 521s p = hygecdf (2*x, 10, [1 2 3 4 5], 2, "upper"); 521s assert (p, [1, 34/90, 0, 0, 0], 10*eps); 521s ***** assert (hygecdf ([x, NaN], 4, 2, 2), [y, NaN], 5*eps) 521s ***** assert (hygecdf (single ([x, NaN]), 4, 2, 2), single ([y, NaN]), ... 521s eps ("single")) 521s ***** assert (hygecdf ([x, NaN], single (4), 2, 2), single ([y, NaN]), ... 521s eps ("single")) 521s ***** assert (hygecdf ([x, NaN], 4, single (2), 2), single ([y, NaN]), ... 521s eps ("single")) 521s ***** assert (hygecdf ([x, NaN], 4, 2, single (2)), single ([y, NaN]), ... 521s eps ("single")) 521s ***** error hygecdf () 521s ***** error hygecdf (1) 521s ***** error hygecdf (1,2) 521s ***** error hygecdf (1,2,3) 521s ***** error hygecdf (1,2,3,4,5) 521s ***** error hygecdf (1,2,3,4,"uper") 521s ***** error ... 521s hygecdf (ones (2), ones (3), 1, 1) 521s ***** error ... 521s hygecdf (1, ones (2), ones (3), 1) 521s ***** error ... 521s hygecdf (1, 1, ones (2), ones (3)) 521s ***** error hygecdf (i, 2, 2, 2) 521s ***** error hygecdf (2, i, 2, 2) 521s ***** error hygecdf (2, 2, i, 2) 521s ***** error hygecdf (2, 2, 2, i) 522s 32 tests, 32 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/geornd.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/geornd.m 522s ***** assert (size (geornd (0.5)), [1, 1]) 522s ***** assert (size (geornd (0.5*ones (2,1))), [2, 1]) 522s ***** assert (size (geornd (0.5*ones (2,2))), [2, 2]) 522s ***** assert (size (geornd (0.5, 3)), [3, 3]) 522s ***** assert (size (geornd (0.5, [4 1])), [4, 1]) 522s ***** assert (size (geornd (0.5, 4, 1)), [4, 1]) 522s ***** assert (class (geornd (0.5)), "double") 522s ***** assert (class (geornd (single (0.5))), "single") 522s ***** assert (class (geornd (single ([0.5 0.5]))), "single") 522s ***** assert (class (geornd (single (0))), "single") 522s ***** assert (class (geornd (single (1))), "single") 522s ***** error geornd () 522s ***** error geornd (i) 522s ***** error ... 522s geornd (1, -1) 522s ***** error ... 522s geornd (1, 1.2) 522s ***** error ... 522s geornd (1, ones (2)) 522s ***** error ... 522s geornd (1, [2 -1 2]) 522s ***** error ... 522s geornd (1, [2 0 2.5]) 522s ***** error ... 522s geornd (ones (2), ones (2)) 522s ***** error ... 522s geornd (1, 2, -1, 5) 522s ***** error ... 522s geornd (1, 2, 1.5, 5) 522s ***** error geornd (ones (2,2), 3) 522s ***** error geornd (ones (2,2), [3, 2]) 522s ***** error geornd (ones (2,2), 2, 3) 522s 24 tests, 24 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/chi2pdf.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/chi2pdf.m 522s ***** demo 522s ## Plot various PDFs from the chi-squared distribution 522s x = 0:0.01:8; 522s y1 = chi2pdf (x, 1); 522s y2 = chi2pdf (x, 2); 522s y3 = chi2pdf (x, 3); 522s y4 = chi2pdf (x, 4); 522s y5 = chi2pdf (x, 6); 522s y6 = chi2pdf (x, 9); 522s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", ... 522s x, y4, "-c", x, y5, "-m", x, y6, "-y") 522s grid on 522s xlim ([0, 8]) 522s ylim ([0, 0.5]) 522s legend ({"df = 1", "df = 2", "df = 3", ... 522s "df = 4", "df = 6", "df = 9"}, "location", "northeast") 522s title ("Chi-squared PDF") 522s xlabel ("values in x") 522s ylabel ("density") 522s ***** shared x, y 522s x = [-1 0 0.5 1 Inf]; 522s y = [0, 1/2 * exp(-x(2:5)/2)]; 522s ***** assert (chi2pdf (x, 2*ones (1,5)), y) 522s ***** assert (chi2pdf (x, 2), y) 522s ***** assert (chi2pdf (x, 2*[1 0 NaN 1 1]), [y(1) NaN NaN y(4:5)]) 522s ***** assert (chi2pdf ([x, NaN], 2), [y, NaN]) 522s ***** assert (chi2pdf (single ([x, NaN]), 2), single ([y, NaN])) 522s ***** assert (chi2pdf ([x, NaN], single (2)), single ([y, NaN])) 522s ***** error chi2pdf () 522s ***** error chi2pdf (1) 522s ***** error chi2pdf (1,2,3) 522s ***** error ... 522s chi2pdf (ones (3), ones (2)) 522s ***** error ... 522s chi2pdf (ones (2), ones (3)) 522s ***** error chi2pdf (i, 2) 522s ***** error chi2pdf (2, i) 522s 13 tests, 13 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/frnd.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/frnd.m 522s ***** assert (size (frnd (1, 1)), [1 1]) 522s ***** assert (size (frnd (1, ones (2,1))), [2, 1]) 522s ***** assert (size (frnd (1, ones (2,2))), [2, 2]) 522s ***** assert (size (frnd (ones (2,1), 1)), [2, 1]) 522s ***** assert (size (frnd (ones (2,2), 1)), [2, 2]) 522s ***** assert (size (frnd (1, 1, 3)), [3, 3]) 522s ***** assert (size (frnd (1, 1, [4, 1])), [4, 1]) 522s ***** assert (size (frnd (1, 1, 4, 1)), [4, 1]) 522s ***** assert (size (frnd (1, 1, 4, 1, 5)), [4, 1, 5]) 522s ***** assert (size (frnd (1, 1, 0, 1)), [0, 1]) 522s ***** assert (size (frnd (1, 1, 1, 0)), [1, 0]) 522s ***** assert (size (frnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 522s ***** assert (class (frnd (1, 1)), "double") 522s ***** assert (class (frnd (1, single (1))), "single") 522s ***** assert (class (frnd (1, single ([1, 1]))), "single") 522s ***** assert (class (frnd (single (1), 1)), "single") 522s ***** assert (class (frnd (single ([1, 1]), 1)), "single") 522s ***** error frnd () 522s ***** error frnd (1) 522s ***** error ... 522s frnd (ones (3), ones (2)) 522s ***** error ... 522s frnd (ones (2), ones (3)) 522s ***** error frnd (i, 2, 3) 522s ***** error frnd (1, i, 3) 522s ***** error ... 522s frnd (1, 2, -1) 522s ***** error ... 522s frnd (1, 2, 1.2) 522s ***** error ... 522s frnd (1, 2, ones (2)) 522s ***** error ... 522s frnd (1, 2, [2 -1 2]) 522s ***** error ... 522s frnd (1, 2, [2 0 2.5]) 522s ***** error ... 522s frnd (1, 2, 2, -1, 5) 522s ***** error ... 522s frnd (1, 2, 2, 1.5, 5) 522s ***** error ... 522s frnd (2, ones (2), 3) 522s ***** error ... 522s frnd (2, ones (2), [3, 2]) 522s ***** error ... 522s frnd (2, ones (2), 3, 2) 522s 33 tests, 33 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/tpdf.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/tpdf.m 522s ***** demo 522s ## Plot various PDFs from the Student's T distribution 522s x = -5:0.01:5; 522s y1 = tpdf (x, 1); 522s y2 = tpdf (x, 2); 522s y3 = tpdf (x, 5); 522s y4 = tpdf (x, Inf); 522s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-m") 522s grid on 522s xlim ([-5, 5]) 522s ylim ([0, 0.41]) 522s legend ({"df = 1", "df = 2", ... 522s "df = 5", 'df = \infty'}, "location", "northeast") 522s title ("Student's T PDF") 522s xlabel ("values in x") 522s ylabel ("density") 522s ***** test 522s x = rand (10,1); 522s y = 1./(pi * (1 + x.^2)); 522s assert (tpdf (x, 1), y, 5*eps); 522s ***** shared x, y 522s x = [-Inf 0 0.5 1 Inf]; 522s y = 1./(pi * (1 + x.^2)); 522s ***** assert (tpdf (x, ones (1,5)), y, eps) 522s ***** assert (tpdf (x, 1), y, eps) 522s ***** assert (tpdf (x, [0 NaN 1 1 1]), [NaN NaN y(3:5)], eps) 522s ***** assert (tpdf (x, Inf), normpdf (x)) 522s ***** assert (tpdf ([x, NaN], 1), [y, NaN], eps) 522s ***** assert (tpdf (single ([x, NaN]), 1), single ([y, NaN]), eps ("single")) 522s ***** assert (tpdf ([x, NaN], single (1)), single ([y, NaN]), eps ("single")) 522s ***** error tpdf () 522s ***** error tpdf (1) 522s ***** error ... 522s tpdf (ones (3), ones (2)) 522s ***** error ... 522s tpdf (ones (2), ones (3)) 522s ***** error tpdf (i, 2) 522s ***** error tpdf (2, i) 522s 14 tests, 14 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/bisacdf.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bisacdf.m 522s ***** demo 522s ## Plot various CDFs from the Birnbaum-Saunders distribution 522s x = 0.01:0.01:4; 522s p1 = bisacdf (x, 1, 0.5); 522s p2 = bisacdf (x, 1, 1); 522s p3 = bisacdf (x, 1, 2); 522s p4 = bisacdf (x, 1, 5); 522s p5 = bisacdf (x, 1, 10); 522s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 522s grid on 522s legend ({"β = 1, γ = 0.5", "β = 1, γ = 1", "β = 1, γ = 2", ... 522s "β = 1, γ = 5", "β = 1, γ = 10"}, "location", "southeast") 522s title ("Birnbaum-Saunders CDF") 522s xlabel ("values in x") 522s ylabel ("probability") 522s ***** demo 522s ## Plot various CDFs from the Birnbaum-Saunders distribution 522s x = 0.01:0.01:6; 522s p1 = bisacdf (x, 1, 0.3); 522s p2 = bisacdf (x, 2, 0.3); 522s p3 = bisacdf (x, 1, 0.5); 522s p4 = bisacdf (x, 3, 0.5); 522s p5 = bisacdf (x, 5, 0.5); 522s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 522s grid on 522s legend ({"β = 1, γ = 0.3", "β = 2, γ = 0.3", "β = 1, γ = 0.5", ... 522s "β = 3, γ = 0.5", "β = 5, γ = 0.5"}, "location", "southeast") 522s title ("Birnbaum-Saunders CDF") 522s xlabel ("values in x") 522s ylabel ("probability") 522s ***** shared x, y 522s x = [-1, 0, 1, 2, Inf]; 522s y = [0, 0, 1/2, 0.76024993890652337, 1]; 522s ***** assert (bisacdf (x, ones (1,5), ones (1,5)), y, eps) 522s ***** assert (bisacdf (x, 1, 1), y, eps) 522s ***** assert (bisacdf (x, 1, ones (1,5)), y, eps) 522s ***** assert (bisacdf (x, ones (1,5), 1), y, eps) 522s ***** assert (bisacdf (x, 1, 1), y, eps) 522s ***** assert (bisacdf (x, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)], eps) 522s ***** assert (bisacdf (x, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)], eps) 522s ***** assert (bisacdf ([x, NaN], 1, 1), [y, NaN], eps) 522s ***** assert (bisacdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 522s ***** assert (bisacdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 522s ***** assert (bisacdf ([x, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 522s ***** error bisacdf () 522s ***** error bisacdf (1) 522s ***** error bisacdf (1, 2) 522s ***** error ... 522s bisacdf (1, 2, 3, 4, 5) 522s ***** error bisacdf (1, 2, 3, "tail") 522s ***** error bisacdf (1, 2, 3, 4) 522s ***** error ... 522s bisacdf (ones (3), ones (2), ones(2)) 522s ***** error ... 522s bisacdf (ones (2), ones (3), ones(2)) 522s ***** error ... 522s bisacdf (ones (2), ones (2), ones(3)) 522s ***** error bisacdf (i, 4, 3) 522s ***** error bisacdf (1, i, 3) 522s ***** error bisacdf (1, 4, i) 522s 23 tests, 23 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/betarnd.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/betarnd.m 522s ***** assert (size (betarnd (2, 1/2)), [1 1]) 522s ***** assert (size (betarnd (2 * ones (2, 1), 1/2)), [2, 1]) 522s ***** assert (size (betarnd (2 * ones (2, 2), 1/2)), [2, 2]) 522s ***** assert (size (betarnd (2, 1/2 * ones (2, 1))), [2, 1]) 522s ***** assert (size (betarnd (1, 1/2 * ones (2, 2))), [2, 2]) 522s ***** assert (size (betarnd (ones (2, 1), 1)), [2, 1]) 522s ***** assert (size (betarnd (ones (2, 2), 1)), [2, 2]) 522s ***** assert (size (betarnd (2, 1/2, 3)), [3, 3]) 522s ***** assert (size (betarnd (1, 1, [4, 1])), [4, 1]) 522s ***** assert (size (betarnd (1, 1, 4, 1)), [4, 1]) 522s ***** assert (size (betarnd (1, 1, 4, 1, 5)), [4, 1, 5]) 522s ***** assert (size (betarnd (1, 1, 0, 1)), [0, 1]) 522s ***** assert (size (betarnd (1, 1, 1, 0)), [1, 0]) 522s ***** assert (size (betarnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 522s ***** assert (class (betarnd (1, 1)), "double") 522s ***** assert (class (betarnd (1, single (0))), "single") 522s ***** assert (class (betarnd (1, single ([0, 0]))), "single") 522s ***** assert (class (betarnd (1, single (1), 2)), "single") 522s ***** assert (class (betarnd (1, single ([1, 1]), 1, 2)), "single") 522s ***** assert (class (betarnd (single (1), 1, 2)), "single") 522s ***** assert (class (betarnd (single ([1, 1]), 1, 1, 2)), "single") 522s ***** error betarnd () 522s ***** error betarnd (1) 522s ***** error ... 522s betarnd (ones (3), ones (2)) 522s ***** error ... 522s betarnd (ones (2), ones (3)) 522s ***** error betarnd (i, 2) 522s ***** error betarnd (1, i) 522s ***** error ... 522s betarnd (1, 1/2, -1) 522s ***** error ... 522s betarnd (1, 1/2, 1.2) 522s ***** error ... 522s betarnd (1, 1/2, ones (2)) 522s ***** error ... 522s betarnd (1, 1/2, [2 -1 2]) 522s ***** error ... 522s betarnd (1, 1/2, [2 0 2.5]) 522s ***** error ... 522s betarnd (1, 1/2, 2, -1, 5) 522s ***** error ... 522s betarnd (1, 1/2, 2, 1.5, 5) 522s ***** error ... 522s betarnd (2, 1/2 * ones (2), 3) 522s ***** error ... 522s betarnd (2, 1/2 * ones (2), [3, 2]) 522s ***** error ... 522s betarnd (2, 1/2 * ones (2), 3, 2) 522s ***** error ... 522s betarnd (2 * ones (2), 1/2, 3) 522s ***** error ... 522s betarnd (2 * ones (2), 1/2, [3, 2]) 522s ***** error ... 522s betarnd (2 * ones (2), 1/2, 3, 2) 522s 40 tests, 40 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/hygernd.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hygernd.m 522s ***** assert (size (hygernd (4,2,2)), [1, 1]) 522s ***** assert (size (hygernd (4*ones (2,1), 2,2)), [2, 1]) 522s ***** assert (size (hygernd (4*ones (2,2), 2,2)), [2, 2]) 522s ***** assert (size (hygernd (4, 2*ones (2,1), 2)), [2, 1]) 522s ***** assert (size (hygernd (4, 2*ones (2,2), 2)), [2, 2]) 522s ***** assert (size (hygernd (4, 2, 2*ones (2,1))), [2, 1]) 522s ***** assert (size (hygernd (4, 2, 2*ones (2,2))), [2, 2]) 522s ***** assert (size (hygernd (4, 2, 2, 3)), [3, 3]) 522s ***** assert (size (hygernd (4, 2, 2, [4 1])), [4, 1]) 522s ***** assert (size (hygernd (4, 2, 2, 4, 1)), [4, 1]) 522s ***** assert (class (hygernd (4,2,2)), "double") 522s ***** assert (class (hygernd (single (4),2,2)), "single") 522s ***** assert (class (hygernd (single ([4 4]),2,2)), "single") 522s ***** assert (class (hygernd (4,single (2),2)), "single") 522s ***** assert (class (hygernd (4,single ([2 2]),2)), "single") 522s ***** assert (class (hygernd (4,2,single (2))), "single") 522s ***** assert (class (hygernd (4,2,single ([2 2]))), "single") 522s ***** error hygernd () 522s ***** error hygernd (1) 522s ***** error hygernd (1, 2) 522s ***** error ... 522s hygernd (ones (3), ones (2), ones (2)) 522s ***** error ... 522s hygernd (ones (2), ones (3), ones (2)) 522s ***** error ... 522s hygernd (ones (2), ones (2), ones (3)) 522s ***** error hygernd (i, 2, 3) 522s ***** error hygernd (1, i, 3) 522s ***** error hygernd (1, 2, i) 522s ***** error ... 522s hygernd (1, 2, 3, -1) 522s ***** error ... 522s hygernd (1, 2, 3, 1.2) 522s ***** error ... 522s hygernd (1, 2, 3, ones (2)) 522s ***** error ... 522s hygernd (1, 2, 3, [2 -1 2]) 522s ***** error ... 522s hygernd (1, 2, 3, [2 0 2.5]) 522s ***** error ... 522s hygernd (1, 2, 3, 2, -1, 5) 522s ***** error ... 522s hygernd (1, 2, 3, 2, 1.5, 5) 522s ***** error ... 522s hygernd (2, ones (2), 2, 3) 522s ***** error ... 522s hygernd (2, ones (2), 2, [3, 2]) 522s ***** error ... 522s hygernd (2, ones (2), 2, 3, 2) 522s 36 tests, 36 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/unidcdf.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unidcdf.m 522s ***** demo 522s ## Plot various CDFs from the discrete uniform distribution 522s x = 0:10; 522s p1 = unidcdf (x, 5); 522s p2 = unidcdf (x, 9); 522s plot (x, p1, "*b", x, p2, "*g") 522s grid on 522s xlim ([0, 10]) 522s ylim ([0, 1]) 522s legend ({"N = 5", "N = 9"}, "location", "southeast") 522s title ("Discrete uniform CDF") 522s xlabel ("values in x") 522s ylabel ("probability") 522s ***** shared x, y 522s x = [0 1 2.5 10 11]; 522s y = [0, 0.1 0.2 1.0 1.0]; 522s ***** assert (unidcdf (x, 10*ones (1,5)), y) 522s ***** assert (unidcdf (x, 10*ones (1,5), "upper"), 1 - y) 522s ***** assert (unidcdf (x, 10), y) 522s ***** assert (unidcdf (x, 10, "upper"), 1 - y) 522s ***** assert (unidcdf (x, 10*[0 1 NaN 1 1]), [NaN 0.1 NaN y(4:5)]) 522s ***** assert (unidcdf ([x(1:2) NaN Inf x(5)], 10), [y(1:2) NaN 1 y(5)]) 522s ***** assert (unidcdf ([x, NaN], 10), [y, NaN]) 522s ***** assert (unidcdf (single ([x, NaN]), 10), single ([y, NaN])) 522s ***** assert (unidcdf ([x, NaN], single (10)), single ([y, NaN])) 522s ***** error unidcdf () 522s ***** error unidcdf (1) 522s ***** error unidcdf (1, 2, 3) 522s ***** error unidcdf (1, 2, "tail") 522s ***** error ... 522s unidcdf (ones (3), ones (2)) 522s ***** error ... 522s unidcdf (ones (2), ones (3)) 522s ***** error unidcdf (i, 2) 522s ***** error unidcdf (2, i) 522s 17 tests, 17 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/gumbelinv.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gumbelinv.m 522s ***** demo 522s ## Plot various iCDFs from the Gumbel distribution 522s p = 0.001:0.001:0.999; 522s x1 = gumbelinv (p, 0.5, 2); 522s x2 = gumbelinv (p, 1.0, 2); 522s x3 = gumbelinv (p, 1.5, 3); 522s x4 = gumbelinv (p, 3.0, 4); 522s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 522s grid on 522s ylim ([-5, 20]) 522s legend ({"μ = 0.5, β = 2", "μ = 1.0, β = 2", ... 522s "μ = 1.5, β = 3", "μ = 3.0, β = 4"}, "location", "northwest") 522s title ("Gumbel iCDF") 522s xlabel ("probability") 522s ylabel ("values in x") 522s ***** shared p, x 522s p = [0, 0.05, 0.5 0.95]; 522s x = [-Inf, -1.0972, 0.3665, 2.9702]; 522s ***** assert (gumbelinv (p), x, 1e-4) 522s ***** assert (gumbelinv (p, zeros (1,4), ones (1,4)), x, 1e-4) 522s ***** assert (gumbelinv (p, 0, ones (1,4)), x, 1e-4) 522s ***** assert (gumbelinv (p, zeros (1,4), 1), x, 1e-4) 522s ***** assert (gumbelinv (p, [0, -Inf, NaN, Inf], 1), [-Inf, Inf, NaN, -Inf], 1e-4) 522s ***** assert (gumbelinv (p, 0, [Inf, NaN, -1, 0]), [-Inf, NaN, NaN, NaN], 1e-4) 522s ***** assert (gumbelinv ([p(1:2), NaN, p(4)], 0, 1), [x(1:2), NaN, x(4)], 1e-4) 522s ***** assert (gumbelinv ([p, NaN], 0, 1), [x, NaN], 1e-4) 522s ***** assert (gumbelinv (single ([p, NaN]), 0, 1), single ([x, NaN]), 1e-4) 522s ***** assert (gumbelinv ([p, NaN], single (0), 1), single ([x, NaN]), 1e-4) 522s ***** assert (gumbelinv ([p, NaN], 0, single (1)), single ([x, NaN]), 1e-4) 522s ***** error gumbelinv () 522s ***** error gumbelinv (1,2,3,4,5,6) 522s ***** error ... 522s gumbelinv (ones (3), ones (2), ones (2)) 522s ***** error ... 522s [p, plo, pup] = gumbelinv (2, 3, 4, [1, 2]) 522s ***** error ... 522s [p, plo, pup] = gumbelinv (1, 2, 3) 522s ***** error [p, plo, pup] = ... 522s gumbelinv (1, 2, 3, [1, 0; 0, 1], 0) 522s ***** error [p, plo, pup] = ... 522s gumbelinv (1, 2, 3, [1, 0; 0, 1], 1.22) 522s ***** error gumbelinv (i, 2, 2) 522s ***** error gumbelinv (2, i, 2) 522s ***** error gumbelinv (2, 2, i) 522s ***** error ... 522s [p, plo, pup] = gumbelinv (1, 2, 3, [-1, 10; -Inf, -Inf], 0.04) 522s 22 tests, 22 passed, 0 known failure, 0 skipped 522s [inst/dist_fun/vminv.m] 522s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/vminv.m 522s ***** demo 522s ## Plot various iCDFs from the von Mises distribution 522s p1 = [0,0.005,0.01:0.01:0.1,0.15,0.2:0.1:0.8,0.85,0.9:0.01:0.99,0.995,1]; 522s x1 = vminv (p1, 0, 0.5); 522s x2 = vminv (p1, 0, 1); 522s x3 = vminv (p1, 0, 2); 522s x4 = vminv (p1, 0, 4); 522s plot (p1, x1, "-r", p1, x2, "-g", p1, x3, "-b", p1, x4, "-c") 522s grid on 522s ylim ([-pi, pi]) 522s legend ({"μ = 0, k = 0.5", "μ = 0, k = 1", ... 522s "μ = 0, k = 2", "μ = 0, k = 4"}, "location", "northwest") 522s title ("Von Mises iCDF") 522s xlabel ("probability") 522s ylabel ("values in x") 522s ***** shared x, p0, p1 522s x = [-pi:pi/2:pi]; 522s p0 = [0, 0.10975, 0.5, 0.89025, 1]; 522s p1 = [0, 0.03752, 0.5, 0.99622, 1]; 522s ***** assert (vminv (p0, 0, 1), x, 5e-5) 523s ***** assert (vminv (p0, zeros (1,5), ones (1,5)), x, 5e-5) 523s ***** assert (vminv (p1, 0, [1 2 3 4 5]), x, [5e-5, 5e-4, 5e-5, 5e-4, 5e-5]) 525s ***** error vminv () 525s ***** error vminv (1) 525s ***** error vminv (1, 2) 525s ***** error ... 525s vminv (ones (3), ones (2), ones (2)) 525s ***** error ... 525s vminv (ones (2), ones (3), ones (2)) 525s ***** error ... 525s vminv (ones (2), ones (2), ones (3)) 525s ***** error vminv (i, 2, 2) 525s ***** error vminv (2, i, 2) 525s ***** error vminv (2, 2, i) 525s 12 tests, 12 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/expcdf.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/expcdf.m 525s ***** demo 525s ## Plot various CDFs from the exponential distribution 525s x = 0:0.01:5; 525s p1 = expcdf (x, 2/3); 525s p2 = expcdf (x, 1.0); 525s p3 = expcdf (x, 2.0); 525s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r") 525s grid on 525s legend ({"μ = 2/3", "μ = 1", "μ = 2"}, "location", "southeast") 525s title ("Exponential CDF") 525s xlabel ("values in x") 525s ylabel ("probability") 525s ***** shared x, p 525s x = [-1 0 0.5 1 Inf]; 525s p = [0, 1 - exp(-x(2:end)/2)]; 525s ***** assert (expcdf (x, 2*ones (1,5)), p) 525s ***** assert (expcdf (x, 2), p) 525s ***** assert (expcdf (x, 2*[1 0 NaN 1 1]), [0 NaN NaN p(4:5)]) 525s ***** assert (expcdf ([x, NaN], 2), [p, NaN]) 525s ***** assert (expcdf (single ([x, NaN]), 2), single ([p, NaN])) 525s ***** assert (expcdf ([x, NaN], single (2)), single ([p, NaN])) 525s ***** test 525s [p, plo, pup] = expcdf (1, 2, 3); 525s assert (p, 0.39346934028737, 1e-14); 525s assert (plo, 0.08751307220484, 1e-14); 525s assert (pup, 0.93476821257933, 1e-14); 525s ***** test 525s [p, plo, pup] = expcdf (1, 2, 2, 0.1); 525s assert (p, 0.39346934028737, 1e-14); 525s assert (plo, 0.14466318041675, 1e-14); 525s assert (pup, 0.79808291849140, 1e-14); 525s ***** test 525s [p, plo, pup] = expcdf (1, 2, 2, 0.1, "upper"); 525s assert (p, 0.60653065971263, 1e-14); 525s assert (plo, 0.20191708150860, 1e-14); 525s assert (pup, 0.85533681958325, 1e-14); 525s ***** error expcdf () 525s ***** error expcdf (1, 2 ,3 ,4 ,5, 6) 525s ***** error expcdf (1, 2, 3, 4, "uper") 525s ***** error ... 525s expcdf (ones (3), ones (2)) 525s ***** error ... 525s expcdf (2, 3, [1, 2]) 525s ***** error ... 525s [p, plo, pup] = expcdf (1, 2) 525s ***** error [p, plo, pup] = ... 525s expcdf (1, 2, 3, 0) 525s ***** error [p, plo, pup] = ... 525s expcdf (1, 2, 3, 1.22) 525s ***** error [p, plo, pup] = ... 525s expcdf (1, 2, 3, "alpha", "upper") 525s ***** error expcdf (i, 2) 525s ***** error expcdf (2, i) 525s ***** error ... 525s [p, plo, pup] = expcdf (1, 2, -1, 0.04) 525s 21 tests, 21 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/logninv.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logninv.m 525s ***** demo 525s ## Plot various iCDFs from the log-normal distribution 525s p = 0.001:0.001:0.999; 525s x1 = logninv (p, 0, 1); 525s x2 = logninv (p, 0, 0.5); 525s x3 = logninv (p, 0, 0.25); 525s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 525s grid on 525s ylim ([0, 3]) 525s legend ({"μ = 0, σ = 1", "μ = 0, σ = 0.5", "μ = 0, σ = 0.25"}, ... 525s "location", "northwest") 525s title ("Log-normal iCDF") 525s xlabel ("probability") 525s ylabel ("values in x") 525s ***** shared p 525s p = [-1 0 0.5 1 2]; 525s ***** assert (logninv (p, ones (1,5), ones (1,5)), [NaN 0 e Inf NaN]) 525s ***** assert (logninv (p, 1, ones (1,5)), [NaN 0 e Inf NaN]) 525s ***** assert (logninv (p, ones (1,5), 1), [NaN 0 e Inf NaN]) 525s ***** assert (logninv (p, [1 1 NaN 0 1], 1), [NaN 0 NaN Inf NaN]) 525s ***** assert (logninv (p, 1, [1 0 NaN Inf 1]), [NaN NaN NaN NaN NaN]) 525s ***** assert (logninv ([p(1:2) NaN p(4:5)], 1, 2), [NaN 0 NaN Inf NaN]) 525s ***** assert (logninv ([p, NaN], 1, 1), [NaN 0 e Inf NaN NaN]) 525s ***** assert (logninv (single ([p, NaN]), 1, 1), single ([NaN 0 e Inf NaN NaN])) 525s ***** assert (logninv ([p, NaN], single (1), 1), single ([NaN 0 e Inf NaN NaN])) 525s ***** assert (logninv ([p, NaN], 1, single (1)), single ([NaN 0 e Inf NaN NaN])) 525s ***** error logninv () 525s ***** error logninv (1,2,3,4) 525s ***** error logninv (ones (3), ones (2), ones (2)) 525s ***** error logninv (ones (2), ones (3), ones (2)) 525s ***** error logninv (ones (2), ones (2), ones (3)) 525s ***** error logninv (i, 2, 2) 525s ***** error logninv (2, i, 2) 525s ***** error logninv (2, 2, i) 525s 18 tests, 18 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/bvtcdf.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bvtcdf.m 525s ***** test 525s x = [1, 2]; 525s rho = [1, 0.5; 0.5, 1]; 525s df = 4; 525s assert (bvtcdf(x, rho(2), df), mvtcdf(x, rho, df), 1e-14); 525s ***** test 525s x = [3, 2;2, 4;1, 5]; 525s rho = [1, 0.5; 0.5, 1]; 525s df = 4; 525s assert (bvtcdf(x, rho(2), df), mvtcdf(x, rho, df), 1e-14); 525s 2 tests, 2 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/wishrnd.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wishrnd.m 525s ***** assert(size (wishrnd (1,2)), [1, 1]); 525s ***** assert(size (wishrnd (1,2,[])), [1, 1]); 525s ***** assert(size (wishrnd (1,2,1)), [1, 1]); 525s ***** assert(size (wishrnd ([],2,1)), [1, 1]); 525s ***** assert(size (wishrnd ([3 1; 1 3], 2.00001, [], 1)), [2, 2]); 525s ***** assert(size (wishrnd (eye(2), 2, [], 3)), [2, 2, 3]); 525s ***** error wishrnd () 525s ***** error wishrnd (1) 525s ***** error wishrnd ([1; 1], 2) 525s 9 tests, 9 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/wienrnd.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wienrnd.m 525s ***** error wienrnd (0) 525s ***** error wienrnd (1, 3, -50) 525s ***** error wienrnd (5, 0) 525s ***** error wienrnd (0.4, 3, 5) 525s ***** error wienrnd ([1 4], 3, 5) 525s 5 tests, 5 passed, 0 known failure, 0 skipped 525s [inst/dist_fun/loglrnd.m] 525s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/loglrnd.m 525s ***** assert (size (loglrnd (1, 1)), [1 1]) 525s ***** assert (size (loglrnd (1, ones (2,1))), [2, 1]) 525s ***** assert (size (loglrnd (1, ones (2,2))), [2, 2]) 525s ***** assert (size (loglrnd (ones (2,1), 1)), [2, 1]) 525s ***** assert (size (loglrnd (ones (2,2), 1)), [2, 2]) 525s ***** assert (size (loglrnd (1, 1, 3)), [3, 3]) 525s ***** assert (size (loglrnd (1, 1, [4, 1])), [4, 1]) 525s ***** assert (size (loglrnd (1, 1, 4, 1)), [4, 1]) 525s ***** assert (size (loglrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 525s ***** assert (size (loglrnd (1, 1, 0, 1)), [0, 1]) 525s ***** assert (size (loglrnd (1, 1, 1, 0)), [1, 0]) 525s ***** assert (size (loglrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 525s ***** assert (class (loglrnd (1, 1)), "double") 525s ***** assert (class (loglrnd (1, single (1))), "single") 525s ***** assert (class (loglrnd (1, single ([1, 1]))), "single") 525s ***** assert (class (loglrnd (single (1), 1)), "single") 525s ***** assert (class (loglrnd (single ([1, 1]), 1)), "single") 525s ***** error loglrnd () 525s ***** error loglrnd (1) 525s ***** error ... 525s loglrnd (ones (3), ones (2)) 525s ***** error ... 525s loglrnd (ones (2), ones (3)) 525s ***** error loglrnd (i, 2, 3) 525s ***** error loglrnd (1, i, 3) 525s ***** error ... 525s loglrnd (1, 2, -1) 525s ***** error ... 525s loglrnd (1, 2, 1.2) 525s ***** error ... 525s loglrnd (1, 2, ones (2)) 525s ***** error ... 525s loglrnd (1, 2, [2 -1 2]) 525s ***** error ... 525s loglrnd (1, 2, [2 0 2.5]) 525s ***** error ... 525s loglrnd (1, 2, 2, -1, 5) 525s ***** error ... 525s loglrnd (1, 2, 2, 1.5, 5) 525s ***** error ... 525s loglrnd (2, ones (2), 3) 525s ***** error ... 525s loglrnd (2, ones (2), [3, 2]) 526s ***** error ... 526s loglrnd (2, ones (2), 3, 2) 526s 33 tests, 33 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/hygeinv.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hygeinv.m 526s ***** demo 526s ## Plot various iCDFs from the hypergeometric distribution 526s p = 0.001:0.001:0.999; 526s x1 = hygeinv (p, 500, 50, 100); 526s x2 = hygeinv (p, 500, 60, 200); 526s x3 = hygeinv (p, 500, 70, 300); 526s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 526s grid on 526s ylim ([0, 60]) 526s legend ({"t = 500, m = 50, μ = 100", "t = 500, m = 60, μ = 200", ... 526s "t = 500, m = 70, μ = 300"}, "location", "northwest") 526s title ("Hypergeometric iCDF") 526s xlabel ("probability") 526s ylabel ("values in p (number of successes)") 526s ***** shared p 526s p = [-1 0 0.5 1 2]; 526s ***** assert (hygeinv (p, 4*ones (1,5), 2*ones (1,5), 2*ones (1,5)), [NaN 0 1 2 NaN]) 526s ***** assert (hygeinv (p, 4*ones (1,5), 2, 2), [NaN 0 1 2 NaN]) 526s ***** assert (hygeinv (p, 4, 2*ones (1,5), 2), [NaN 0 1 2 NaN]) 526s ***** assert (hygeinv (p, 4, 2, 2*ones (1,5)), [NaN 0 1 2 NaN]) 526s ***** assert (hygeinv (p, 4*[1 -1 NaN 1.1 1], 2, 2), [NaN NaN NaN NaN NaN]) 526s ***** assert (hygeinv (p, 4, 2*[1 -1 NaN 1.1 1], 2), [NaN NaN NaN NaN NaN]) 526s ***** assert (hygeinv (p, 4, 5, 2), [NaN NaN NaN NaN NaN]) 526s ***** assert (hygeinv (p, 4, 2, 2*[1 -1 NaN 1.1 1]), [NaN NaN NaN NaN NaN]) 526s ***** assert (hygeinv (p, 4, 2, 5), [NaN NaN NaN NaN NaN]) 526s ***** assert (hygeinv ([p(1:2) NaN p(4:5)], 4, 2, 2), [NaN 0 NaN 2 NaN]) 526s ***** assert (hygeinv ([p, NaN], 4, 2, 2), [NaN 0 1 2 NaN NaN]) 526s ***** assert (hygeinv (single ([p, NaN]), 4, 2, 2), single ([NaN 0 1 2 NaN NaN])) 526s ***** assert (hygeinv ([p, NaN], single (4), 2, 2), single ([NaN 0 1 2 NaN NaN])) 526s ***** assert (hygeinv ([p, NaN], 4, single (2), 2), single ([NaN 0 1 2 NaN NaN])) 526s ***** assert (hygeinv ([p, NaN], 4, 2, single (2)), single ([NaN 0 1 2 NaN NaN])) 526s ***** error hygeinv () 526s ***** error hygeinv (1) 526s ***** error hygeinv (1,2) 526s ***** error hygeinv (1,2,3) 526s ***** error ... 526s hygeinv (ones (2), ones (3), 1, 1) 526s ***** error ... 526s hygeinv (1, ones (2), ones (3), 1) 526s ***** error ... 526s hygeinv (1, 1, ones (2), ones (3)) 526s ***** error hygeinv (i, 2, 2, 2) 526s ***** error hygeinv (2, i, 2, 2) 526s ***** error hygeinv (2, 2, i, 2) 526s ***** error hygeinv (2, 2, 2, i) 526s 26 tests, 26 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/wblcdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wblcdf.m 526s ***** demo 526s ## Plot various CDFs from the Weibull distribution 526s x = 0:0.001:2.5; 526s p1 = wblcdf (x, 1, 0.5); 526s p2 = wblcdf (x, 1, 1); 526s p3 = wblcdf (x, 1, 1.5); 526s p4 = wblcdf (x, 1, 5); 526s plot (x, p1, "-b", x, p2, "-r", x, p3, "-m", x, p4, "-g") 526s grid on 526s legend ({"λ = 1, k = 0.5", "λ = 1, k = 1", ... 526s "λ = 1, k = 1.5", "λ = 1, k = 5"}, "location", "southeast") 526s title ("Weibull CDF") 526s xlabel ("values in x") 526s ylabel ("probability") 526s ***** shared x, y 526s x = [-1 0 0.5 1 Inf]; 526s y = [0, 1-exp(-x(2:4)), 1]; 526s ***** assert (wblcdf (x, ones (1,5), ones (1,5)), y) 526s ***** assert (wblcdf (x, ones (1,5), ones (1,5), "upper"), 1 - y) 526s ***** assert (wblcdf (x, "upper"), 1 - y) 526s ***** assert (wblcdf (x, 1, ones (1,5)), y) 526s ***** assert (wblcdf (x, ones (1,5), 1), y) 526s ***** assert (wblcdf (x, [0 1 NaN Inf 1], 1), [NaN 0 NaN 0 1]) 526s ***** assert (wblcdf (x, [0 1 NaN Inf 1], 1, "upper"), 1 - [NaN 0 NaN 0 1]) 526s ***** assert (wblcdf (x, 1, [0 1 NaN Inf 1]), [NaN 0 NaN y(4:5)]) 526s ***** assert (wblcdf (x, 1, [0 1 NaN Inf 1], "upper"), 1 - [NaN 0 NaN y(4:5)]) 526s ***** assert (wblcdf ([x(1:2) NaN x(4:5)], 1, 1), [y(1:2) NaN y(4:5)]) 526s ***** assert (wblcdf ([x(1:2) NaN x(4:5)], 1, 1, "upper"), 1 - [y(1:2) NaN y(4:5)]) 526s ***** assert (wblcdf ([x, NaN], 1, 1), [y, NaN]) 526s ***** assert (wblcdf (single ([x, NaN]), 1, 1), single ([y, NaN])) 526s ***** assert (wblcdf ([x, NaN], single (1), 1), single ([y, NaN])) 526s ***** assert (wblcdf ([x, NaN], 1, single (1)), single ([y, NaN])) 526s ***** error wblcdf () 526s ***** error wblcdf (1,2,3,4,5,6,7) 526s ***** error wblcdf (1, 2, 3, 4, "uper") 526s ***** error ... 526s wblcdf (ones (3), ones (2), ones (2)) 526s ***** error wblcdf (2, 3, 4, [1, 2]) 526s ***** error ... 526s [p, plo, pup] = wblcdf (1, 2, 3) 526s ***** error [p, plo, pup] = ... 526s wblcdf (1, 2, 3, [1, 0; 0, 1], 0) 526s ***** error [p, plo, pup] = ... 526s wblcdf (1, 2, 3, [1, 0; 0, 1], 1.22) 526s ***** error [p, plo, pup] = ... 526s wblcdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 526s ***** error wblcdf (i, 2, 2) 526s ***** error wblcdf (2, i, 2) 526s ***** error wblcdf (2, 2, i) 526s ***** error ... 526s [p, plo, pup] =wblcdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 526s 28 tests, 28 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/logncdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logncdf.m 526s ***** demo 526s ## Plot various CDFs from the log-normal distribution 526s x = 0:0.01:3; 526s p1 = logncdf (x, 0, 1); 526s p2 = logncdf (x, 0, 0.5); 526s p3 = logncdf (x, 0, 0.25); 526s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r") 526s grid on 526s legend ({"μ = 0, σ = 1", "μ = 0, σ = 0.5", "μ = 0, σ = 0.25"}, ... 526s "location", "southeast") 526s title ("Log-normal CDF") 526s xlabel ("values in x") 526s ylabel ("probability") 526s ***** shared x, y 526s x = [-1, 0, 1, e, Inf]; 526s y = [0, 0, 0.5, 1/2+1/2*erf(1/2), 1]; 526s ***** assert (logncdf (x, zeros (1,5), sqrt(2)*ones (1,5)), y, eps) 526s ***** assert (logncdf (x, zeros (1,5), sqrt(2)*ones (1,5), []), y, eps) 526s ***** assert (logncdf (x, 0, sqrt(2)*ones (1,5)), y, eps) 526s ***** assert (logncdf (x, zeros (1,5), sqrt(2)), y, eps) 526s ***** assert (logncdf (x, [0 1 NaN 0 1], sqrt(2)), [0 0 NaN y(4:5)], eps) 526s ***** assert (logncdf (x, 0, sqrt(2)*[0 NaN Inf 1 1]), [NaN NaN y(3:5)], eps) 526s ***** assert (logncdf ([x(1:3) NaN x(5)], 0, sqrt(2)), [y(1:3) NaN y(5)], eps) 526s ***** assert (logncdf ([x, NaN], 0, sqrt(2)), [y, NaN], eps) 526s ***** assert (logncdf (single ([x, NaN]), 0, sqrt(2)), single ([y, NaN]), eps ("single")) 526s ***** assert (logncdf ([x, NaN], single (0), sqrt(2)), single ([y, NaN]), eps ("single")) 526s ***** assert (logncdf ([x, NaN], 0, single (sqrt(2))), single ([y, NaN]), eps ("single")) 526s ***** error logncdf () 526s ***** error logncdf (1,2,3,4,5,6,7) 526s ***** error logncdf (1, 2, 3, 4, "uper") 526s ***** error ... 526s logncdf (ones (3), ones (2), ones (2)) 526s ***** error logncdf (2, 3, 4, [1, 2]) 526s ***** error ... 526s [p, plo, pup] = logncdf (1, 2, 3) 526s ***** error [p, plo, pup] = ... 526s logncdf (1, 2, 3, [1, 0; 0, 1], 0) 526s ***** error [p, plo, pup] = ... 526s logncdf (1, 2, 3, [1, 0; 0, 1], 1.22) 526s ***** error [p, plo, pup] = ... 526s logncdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 526s ***** error logncdf (i, 2, 2) 526s ***** error logncdf (2, i, 2) 526s ***** error logncdf (2, 2, i) 526s ***** error ... 526s [p, plo, pup] =logncdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 526s 24 tests, 24 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/exppdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/exppdf.m 526s ***** demo 526s ## Plot various PDFs from the exponential distribution 526s x = 0:0.01:5; 526s y1 = exppdf (x, 2/3); 526s y2 = exppdf (x, 1.0); 526s y3 = exppdf (x, 2.0); 526s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r") 526s grid on 526s ylim ([0, 1.5]) 526s legend ({"μ = 2/3", "μ = 1", "μ = 2"}, "location", "northeast") 526s title ("Exponential PDF") 526s xlabel ("values in x") 526s ylabel ("density") 526s ***** shared x,y 526s x = [-1 0 0.5 1 Inf]; 526s y = gampdf (x, 1, 2); 526s ***** assert (exppdf (x, 2*ones (1,5)), y) 526s ***** assert (exppdf (x, 2*[1 0 NaN 1 1]), [y(1) NaN NaN y(4:5)]) 526s ***** assert (exppdf ([x, NaN], 2), [y, NaN]) 526s ***** assert (exppdf (single ([x, NaN]), 2), single ([y, NaN])) 526s ***** assert (exppdf ([x, NaN], single (2)), single ([y, NaN])) 526s ***** error exppdf () 526s ***** error exppdf (1,2,3) 526s ***** error ... 526s exppdf (ones (3), ones (2)) 526s ***** error ... 526s exppdf (ones (2), ones (3)) 526s ***** error exppdf (i, 2) 526s ***** error exppdf (2, i) 526s 11 tests, 11 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/vmrnd.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/vmrnd.m 526s ***** assert (size (vmrnd (1, 1)), [1 1]) 526s ***** assert (size (vmrnd (1, ones (2,1))), [2, 1]) 526s ***** assert (size (vmrnd (1, ones (2,2))), [2, 2]) 526s ***** assert (size (vmrnd (ones (2,1), 1)), [2, 1]) 526s ***** assert (size (vmrnd (ones (2,2), 1)), [2, 2]) 526s ***** assert (size (vmrnd (1, 1, 3)), [3, 3]) 526s ***** assert (size (vmrnd (1, 1, [4, 1])), [4, 1]) 526s ***** assert (size (vmrnd (1, 1, 4, 1)), [4, 1]) 526s ***** assert (size (vmrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 526s ***** assert (size (vmrnd (1, 1, 0, 1)), [0, 1]) 526s ***** assert (size (vmrnd (1, 1, 1, 0)), [1, 0]) 526s ***** assert (size (vmrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 526s ***** assert (class (vmrnd (1, 1)), "double") 526s ***** assert (class (vmrnd (1, single (1))), "single") 526s ***** assert (class (vmrnd (1, single ([1, 1]))), "single") 526s ***** assert (class (vmrnd (single (1), 1)), "single") 526s ***** assert (class (vmrnd (single ([1, 1]), 1)), "single") 526s ***** error vmrnd () 526s ***** error vmrnd (1) 526s ***** error ... 526s vmrnd (ones (3), ones (2)) 526s ***** error ... 526s vmrnd (ones (2), ones (3)) 526s ***** error vmrnd (i, 2, 3) 526s ***** error vmrnd (1, i, 3) 526s ***** error ... 526s vmrnd (1, 2, -1) 526s ***** error ... 526s vmrnd (1, 2, 1.2) 526s ***** error ... 526s vmrnd (1, 2, ones (2)) 526s ***** error ... 526s vmrnd (1, 2, [2 -1 2]) 526s ***** error ... 526s vmrnd (1, 2, [2 0 2.5]) 526s ***** error ... 526s vmrnd (1, 2, 2, -1, 5) 526s ***** error ... 526s vmrnd (1, 2, 2, 1.5, 5) 526s ***** error ... 526s vmrnd (2, ones (2), 3) 526s ***** error ... 526s vmrnd (2, ones (2), [3, 2]) 526s ***** error ... 526s vmrnd (2, ones (2), 3, 2) 526s 33 tests, 33 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/gpcdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gpcdf.m 526s ***** demo 526s ## Plot various CDFs from the generalized Pareto distribution 526s x = 0:0.001:5; 526s p1 = gpcdf (x, 1, 1, 0); 526s p2 = gpcdf (x, 5, 1, 0); 526s p3 = gpcdf (x, 20, 1, 0); 526s p4 = gpcdf (x, 1, 2, 0); 526s p5 = gpcdf (x, 5, 2, 0); 526s p6 = gpcdf (x, 20, 2, 0); 526s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", ... 526s x, p4, "-c", x, p5, "-m", x, p6, "-k") 526s grid on 526s xlim ([0, 5]) 526s legend ({"ξ = 1, σ = 1, μ = 0", "ξ = 5, σ = 1, μ = 0", ... 526s "ξ = 20, σ = 1, μ = 0", "ξ = 1, σ = 2, μ = 0", ... 526s "ξ = 5, σ = 2, μ = 0", "ξ = 20, σ = 2, μ = 0"}, ... 526s "location", "northwest") 526s title ("Generalized Pareto CDF") 526s xlabel ("values in x") 526s ylabel ("probability") 526s ***** shared x, y1, y1u, y2, y2u, y3, y3u 526s x = [-Inf, -1, 0, 1/2, 1, Inf]; 526s y1 = [0, 0, 0, 0.3934693402873666, 0.6321205588285577, 1]; 526s y1u = [1, 1, 1, 0.6065306597126334, 0.3678794411714423, 0]; 526s y2 = [0, 0, 0, 1/3, 1/2, 1]; 526s y2u = [1, 1, 1, 2/3, 1/2, 0]; 526s y3 = [0, 0, 0, 1/2, 1, 1]; 526s y3u = [1, 1, 1, 1/2, 0, 0]; 526s ***** assert (gpcdf (x, zeros (1,6), ones (1,6), zeros (1,6)), y1, eps) 526s ***** assert (gpcdf (x, 0, 1, zeros (1,6)), y1, eps) 526s ***** assert (gpcdf (x, 0, ones (1,6), 0), y1, eps) 526s ***** assert (gpcdf (x, zeros (1,6), 1, 0), y1, eps) 526s ***** assert (gpcdf (x, 0, 1, 0), y1, eps) 526s ***** assert (gpcdf (x, 0, 1, [0, 0, 0, NaN, 0, 0]), [y1(1:3), NaN, y1(5:6)], eps) 526s ***** assert (gpcdf (x, 0, [1, 1, 1, NaN, 1, 1], 0), [y1(1:3), NaN, y1(5:6)], eps) 526s ***** assert (gpcdf (x, [0, 0, 0, NaN, 0, 0], 1, 0), [y1(1:3), NaN, y1(5:6)], eps) 526s ***** assert (gpcdf ([x(1:3), NaN, x(5:6)], 0, 1, 0), [y1(1:3), NaN, y1(5:6)], eps) 526s ***** assert (gpcdf (x, zeros (1,6), ones (1,6), zeros (1,6), "upper"), y1u, eps) 526s ***** assert (gpcdf (x, 0, 1, zeros (1,6), "upper"), y1u, eps) 526s ***** assert (gpcdf (x, 0, ones (1,6), 0, "upper"), y1u, eps) 526s ***** assert (gpcdf (x, zeros (1,6), 1, 0, "upper"), y1u, eps) 526s ***** assert (gpcdf (x, 0, 1, 0, "upper"), y1u, eps) 526s ***** assert (gpcdf (x, ones (1,6), ones (1,6), zeros (1,6)), y2, eps) 526s ***** assert (gpcdf (x, 1, 1, zeros (1,6)), y2, eps) 526s ***** assert (gpcdf (x, 1, ones (1,6), 0), y2, eps) 526s ***** assert (gpcdf (x, ones (1,6), 1, 0), y2, eps) 526s ***** assert (gpcdf (x, 1, 1, 0), y2, eps) 526s ***** assert (gpcdf (x, 1, 1, [0, 0, 0, NaN, 0, 0]), [y2(1:3), NaN, y2(5:6)], eps) 526s ***** assert (gpcdf (x, 1, [1, 1, 1, NaN, 1, 1], 0), [y2(1:3), NaN, y2(5:6)], eps) 526s ***** assert (gpcdf (x, [1, 1, 1, NaN, 1, 1], 1, 0), [y2(1:3), NaN, y2(5:6)], eps) 526s ***** assert (gpcdf ([x(1:3), NaN, x(5:6)], 1, 1, 0), [y2(1:3), NaN, y2(5:6)], eps) 526s ***** assert (gpcdf (x, ones (1,6), ones (1,6), zeros (1,6), "upper"), y2u, eps) 526s ***** assert (gpcdf (x, 1, 1, zeros (1,6), "upper"), y2u, eps) 526s ***** assert (gpcdf (x, 1, ones (1,6), 0, "upper"), y2u, eps) 526s ***** assert (gpcdf (x, ones (1,6), 1, 0, "upper"), y2u, eps) 526s ***** assert (gpcdf (x, 1, 1, 0, "upper"), y2u, eps) 526s ***** assert (gpcdf (x, 1, 1, [0, 0, 0, NaN, 0, 0], "upper"), ... 526s [y2u(1:3), NaN, y2u(5:6)], eps) 526s ***** assert (gpcdf (x, 1, [1, 1, 1, NaN, 1, 1], 0, "upper"), ... 526s [y2u(1:3), NaN, y2u(5:6)], eps) 526s ***** assert (gpcdf (x, [1, 1, 1, NaN, 1, 1], 1, 0, "upper"), ... 526s [y2u(1:3), NaN, y2u(5:6)], eps) 526s ***** assert (gpcdf ([x(1:3), NaN, x(5:6)], 1, 1, 0, "upper"), ... 526s [y2u(1:3), NaN, y2u(5:6)], eps) 526s ***** assert (gpcdf (x, -ones (1,6), ones (1,6), zeros (1,6)), y3, eps) 526s ***** assert (gpcdf (x, -1, 1, zeros (1,6)), y3, eps) 526s ***** assert (gpcdf (x, -1, ones (1,6), 0), y3, eps) 526s ***** assert (gpcdf (x, -ones (1,6), 1, 0), y3, eps) 526s ***** assert (gpcdf (x, -1, 1, 0), y3, eps) 526s ***** assert (gpcdf (x, -1, 1, [0, 0, 0, NaN, 0, 0]), [y3(1:3), NaN, y3(5:6)], eps) 526s ***** assert (gpcdf (x, -1, [1, 1, 1, NaN, 1, 1], 0), [y3(1:3), NaN, y3(5:6)], eps) 526s ***** assert (gpcdf (x, [-1, -1, -1, NaN, -1, -1], 1, 0), [y3(1:3), NaN, y3(5:6)], eps) 526s ***** assert (gpcdf ([x(1:3), NaN, x(5:6)], -1, 1, 0), [y3(1:3), NaN, y3(5:6)], eps) 526s ***** assert (gpcdf (x, -ones (1,6), ones (1,6), zeros (1,6), "upper"), y3u, eps) 526s ***** assert (gpcdf (x, -1, 1, zeros (1,6), "upper"), y3u, eps) 526s ***** assert (gpcdf (x, -1, ones (1,6), 0, "upper"), y3u, eps) 526s ***** assert (gpcdf (x, -ones (1,6), 1, 0, "upper"), y3u, eps) 526s ***** assert (gpcdf (x, -1, 1, 0, "upper"), y3u, eps) 526s ***** assert (gpcdf (x, -1, 1, [0, 0, 0, NaN, 0, 0], "upper"), ... 526s [y3u(1:3), NaN, y3u(5:6)], eps) 526s ***** assert (gpcdf (x, -1, [1, 1, 1, NaN, 1, 1], 0, "upper"), ... 526s [y3u(1:3), NaN, y3u(5:6)], eps) 526s ***** assert (gpcdf (x, [-1, -1, -1, NaN, -1, -1], 1, 0, "upper"), ... 526s [y3u(1:3), NaN, y3u(5:6)], eps) 526s ***** assert (gpcdf ([x(1:3), NaN, x(5:6)], -1, 1, 0, "upper"), ... 526s [y3u(1:3), NaN, y3u(5:6)], eps) 526s ***** assert (gpcdf (single ([x, NaN]), 0, 1, 0), single ([y1, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], 0, 1, single (0)), single ([y1, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], 0, single (1), 0), single ([y1, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], single (0), 1, 0), single ([y1, NaN]), eps("single")) 526s ***** assert (gpcdf (single ([x, NaN]), 1, 1, 0), single ([y2, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], 1, 1, single (0)), single ([y2, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], 1, single (1), 0), single ([y2, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], single (1), 1, 0), single ([y2, NaN]), eps("single")) 526s ***** assert (gpcdf (single ([x, NaN]), -1, 1, 0), single ([y3, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], -1, 1, single (0)), single ([y3, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], -1, single (1), 0), single ([y3, NaN]), eps("single")) 526s ***** assert (gpcdf ([x, NaN], single (-1), 1, 0), single ([y3, NaN]), eps("single")) 526s ***** error gpcdf () 526s ***** error gpcdf (1) 526s ***** error gpcdf (1, 2) 526s ***** error gpcdf (1, 2, 3) 526s ***** error gpcdf (1, 2, 3, 4, "tail") 526s ***** error gpcdf (1, 2, 3, 4, 5) 526s ***** error ... 526s gpcdf (ones (3), ones (2), ones(2), ones(2)) 526s ***** error ... 526s gpcdf (ones (2), ones (3), ones(2), ones(2)) 526s ***** error ... 526s gpcdf (ones (2), ones (2), ones(3), ones(2)) 526s ***** error ... 526s gpcdf (ones (2), ones (2), ones(2), ones(3)) 526s ***** error gpcdf (i, 2, 3, 4) 526s ***** error gpcdf (1, i, 3, 4) 526s ***** error gpcdf (1, 2, i, 4) 526s ***** error gpcdf (1, 2, 3, i) 526s 76 tests, 76 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/unifinv.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unifinv.m 526s ***** demo 526s ## Plot various iCDFs from the continuous uniform distribution 526s p = 0.001:0.001:0.999; 526s x1 = unifinv (p, 2, 5); 526s x2 = unifinv (p, 3, 9); 526s plot (p, x1, "-b", p, x2, "-g") 526s grid on 526s xlim ([0, 1]) 526s ylim ([0, 10]) 526s legend ({"a = 2, b = 5", "a = 3, b = 9"}, "location", "northwest") 526s title ("Continuous uniform iCDF") 526s xlabel ("probability") 526s ylabel ("values in x") 526s ***** shared p 526s p = [-1 0 0.5 1 2]; 526s ***** assert (unifinv (p, ones (1,5), 2*ones (1,5)), [NaN 1 1.5 2 NaN]) 526s ***** assert (unifinv (p, 0, 1), [NaN 1 1.5 2 NaN] - 1) 526s ***** assert (unifinv (p, 1, 2*ones (1,5)), [NaN 1 1.5 2 NaN]) 526s ***** assert (unifinv (p, ones (1,5), 2), [NaN 1 1.5 2 NaN]) 526s ***** assert (unifinv (p, [1 2 NaN 1 1], 2), [NaN NaN NaN 2 NaN]) 526s ***** assert (unifinv (p, 1, 2*[1 0 NaN 1 1]), [NaN NaN NaN 2 NaN]) 526s ***** assert (unifinv ([p(1:2) NaN p(4:5)], 1, 2), [NaN 1 NaN 2 NaN]) 526s ***** assert (unifinv ([p, NaN], 1, 2), [NaN 1 1.5 2 NaN NaN]) 526s ***** assert (unifinv (single ([p, NaN]), 1, 2), single ([NaN 1 1.5 2 NaN NaN])) 526s ***** assert (unifinv ([p, NaN], single (1), 2), single ([NaN 1 1.5 2 NaN NaN])) 526s ***** assert (unifinv ([p, NaN], 1, single (2)), single ([NaN 1 1.5 2 NaN NaN])) 526s ***** error unifinv () 526s ***** error unifinv (1, 2) 526s ***** error ... 526s unifinv (ones (3), ones (2), ones (2)) 526s ***** error ... 526s unifinv (ones (2), ones (3), ones (2)) 526s ***** error ... 526s unifinv (ones (2), ones (2), ones (3)) 526s ***** error unifinv (i, 2, 2) 526s ***** error unifinv (2, i, 2) 526s ***** error unifinv (2, 2, i) 526s 19 tests, 19 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/geocdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/geocdf.m 526s ***** demo 526s ## Plot various CDFs from the geometric distribution 526s x = 0:10; 526s p1 = geocdf (x, 0.2); 526s p2 = geocdf (x, 0.5); 526s p3 = geocdf (x, 0.7); 526s plot (x, p1, "*b", x, p2, "*g", x, p3, "*r") 526s grid on 526s xlim ([0, 10]) 526s legend ({"ps = 0.2", "ps = 0.5", "ps = 0.7"}, "location", "southeast") 526s title ("Geometric CDF") 526s xlabel ("values in x (number of failures)") 526s ylabel ("probability") 526s ***** test 526s p = geocdf ([1, 2, 3, 4], 0.25); 526s assert (p(1), 0.4375000000, 1e-14); 526s assert (p(2), 0.5781250000, 1e-14); 526s assert (p(3), 0.6835937500, 1e-14); 526s assert (p(4), 0.7626953125, 1e-14); 526s ***** test 526s p = geocdf ([1, 2, 3, 4], 0.25, "upper"); 526s assert (p(1), 0.5625000000, 1e-14); 526s assert (p(2), 0.4218750000, 1e-14); 526s assert (p(3), 0.3164062500, 1e-14); 526s assert (p(4), 0.2373046875, 1e-14); 526s ***** shared x, p 526s x = [-1 0 1 Inf]; 526s p = [0 0.5 0.75 1]; 526s ***** assert (geocdf (x, 0.5*ones (1,4)), p) 526s ***** assert (geocdf (x, 0.5), p) 526s ***** assert (geocdf (x, 0.5*[-1 NaN 4 1]), [NaN NaN NaN p(4)]) 526s ***** assert (geocdf ([x(1:2) NaN x(4)], 0.5), [p(1:2) NaN p(4)]) 526s ***** assert (geocdf ([x, NaN], 0.5), [p, NaN]) 526s ***** assert (geocdf (single ([x, NaN]), 0.5), single ([p, NaN])) 526s ***** assert (geocdf ([x, NaN], single (0.5)), single ([p, NaN])) 526s ***** error geocdf () 526s ***** error geocdf (1) 526s ***** error ... 526s geocdf (ones (3), ones (2)) 526s ***** error ... 526s geocdf (ones (2), ones (3)) 526s ***** error geocdf (i, 2) 526s ***** error geocdf (2, i) 526s ***** error geocdf (2, 3, "tail") 526s ***** error geocdf (2, 3, 5) 526s 17 tests, 17 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/nakapdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nakapdf.m 526s ***** demo 526s ## Plot various PDFs from the Nakagami distribution 526s x = 0:0.01:3; 526s y1 = nakapdf (x, 0.5, 1); 526s y2 = nakapdf (x, 1, 1); 526s y3 = nakapdf (x, 1, 2); 526s y4 = nakapdf (x, 1, 3); 526s y5 = nakapdf (x, 2, 1); 526s y6 = nakapdf (x, 2, 2); 526s y7 = nakapdf (x, 5, 1); 526s plot (x, y1, "-r", x, y2, "-g", x, y3, "-y", x, y4, "-m", ... 526s x, y5, "-k", x, y6, "-b", x, y7, "-c") 526s grid on 526s xlim ([0, 3]) 526s ylim ([0, 2]) 526s legend ({"μ = 0.5, ω = 1", "μ = 1, ω = 1", "μ = 1, ω = 2", ... 526s "μ = 1, ω = 3", "μ = 2, ω = 1", "μ = 2, ω = 2", ... 526s "μ = 5, ω = 1"}, "location", "northeast") 526s title ("Nakagami PDF") 526s xlabel ("values in x") 526s ylabel ("density") 526s ***** shared x, y 526s x = [-1, 0, 1, 2, Inf]; 526s y = [0, 0, 0.73575888234288467, 0.073262555554936715, 0]; 526s ***** assert (nakapdf (x, ones (1,5), ones (1,5)), y, eps) 526s ***** assert (nakapdf (x, 1, 1), y, eps) 526s ***** assert (nakapdf (x, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)], eps) 526s ***** assert (nakapdf (x, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)], eps) 526s ***** assert (nakapdf ([x, NaN], 1, 1), [y, NaN], eps) 526s ***** assert (nakapdf (single ([x, NaN]), 1, 1), single ([y, NaN])) 526s ***** assert (nakapdf ([x, NaN], single (1), 1), single ([y, NaN])) 526s ***** assert (nakapdf ([x, NaN], 1, single (1)), single ([y, NaN])) 526s ***** error nakapdf () 526s ***** error nakapdf (1) 526s ***** error nakapdf (1, 2) 526s ***** error ... 526s nakapdf (ones (3), ones (2), ones(2)) 526s ***** error ... 526s nakapdf (ones (2), ones (3), ones(2)) 526s ***** error ... 526s nakapdf (ones (2), ones (2), ones(3)) 526s ***** error nakapdf (i, 4, 3) 526s ***** error nakapdf (1, i, 3) 526s ***** error nakapdf (1, 4, i) 526s 17 tests, 17 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/gevcdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gevcdf.m 526s ***** demo 526s ## Plot various CDFs from the generalized extreme value distribution 526s x = -1:0.001:10; 526s p1 = gevcdf (x, 1, 1, 1); 526s p2 = gevcdf (x, 0.5, 1, 1); 526s p3 = gevcdf (x, 1, 1, 5); 526s p4 = gevcdf (x, 1, 2, 5); 526s p5 = gevcdf (x, 1, 5, 5); 526s p6 = gevcdf (x, 1, 0.5, 5); 526s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", ... 526s x, p4, "-c", x, p5, "-m", x, p6, "-k") 526s grid on 526s xlim ([-1, 10]) 526s legend ({"ξ = 1, σ = 1, μ = 1", "ξ = 0.5, σ = 1, μ = 1", ... 526s "ξ = 1, σ = 1, μ = 5", "ξ = 1, σ = 2, μ = 5", ... 526s "ξ = 1, σ = 5, μ = 5", "ξ = 1, σ = 0.5, μ = 5"}, ... 526s "location", "southeast") 526s title ("Generalized extreme value CDF") 526s xlabel ("values in x") 526s ylabel ("probability") 526s ***** test 526s x = 0:0.5:2.5; 526s sigma = 1:6; 526s k = 1; 526s mu = 0; 526s p = gevcdf (x, k, sigma, mu); 526s expected_p = [0.36788, 0.44933, 0.47237, 0.48323, 0.48954, 0.49367]; 526s assert (p, expected_p, 0.001); 526s ***** test 526s x = -0.5:0.5:2.5; 526s sigma = 0.5; 526s k = 1; 526s mu = 0; 526s p = gevcdf (x, k, sigma, mu); 526s expected_p = [0, 0.36788, 0.60653, 0.71653, 0.77880, 0.81873, 0.84648]; 526s assert (p, expected_p, 0.001); 526s ***** test # check for continuity for k near 0 526s x = 1; 526s sigma = 0.5; 526s k = -0.03:0.01:0.03; 526s mu = 0; 526s p = gevcdf (x, k, sigma, mu); 526s expected_p = [0.88062, 0.87820, 0.87580, 0.87342, 0.87107, 0.86874, 0.86643]; 526s assert (p, expected_p, 0.001); 526s ***** error gevcdf () 526s ***** error gevcdf (1) 526s ***** error gevcdf (1, 2) 526s ***** error gevcdf (1, 2, 3) 526s ***** error ... 526s gevcdf (1, 2, 3, 4, 5, 6) 526s ***** error gevcdf (1, 2, 3, 4, "tail") 526s ***** error gevcdf (1, 2, 3, 4, 5) 526s ***** error ... 526s gevcdf (ones (3), ones (2), ones(2), ones(2)) 526s ***** error ... 526s gevcdf (ones (2), ones (3), ones(2), ones(2)) 526s ***** error ... 526s gevcdf (ones (2), ones (2), ones(3), ones(2)) 526s ***** error ... 526s gevcdf (ones (2), ones (2), ones(2), ones(3)) 526s ***** error gevcdf (i, 2, 3, 4) 526s ***** error gevcdf (1, i, 3, 4) 526s ***** error gevcdf (1, 2, i, 4) 526s ***** error gevcdf (1, 2, 3, i) 526s 18 tests, 18 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/mnpdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mnpdf.m 526s ***** test 526s x = [1, 4, 2]; 526s pk = [0.2, 0.5, 0.3]; 526s y = mnpdf (x, pk); 526s assert (y, 0.11812, 0.001); 526s ***** test 526s x = [1, 4, 2; 1, 0, 9]; 526s pk = [0.2, 0.5, 0.3; 0.1, 0.1, 0.8]; 526s y = mnpdf (x, pk); 526s assert (y, [0.11812; 0.13422], 0.001); 526s 2 tests, 2 passed, 0 known failure, 0 skipped 526s [inst/dist_fun/fcdf.m] 526s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/fcdf.m 526s ***** demo 526s ## Plot various CDFs from the F distribution 526s x = 0.01:0.01:4; 526s p1 = fcdf (x, 1, 2); 526s p2 = fcdf (x, 2, 1); 526s p3 = fcdf (x, 5, 2); 526s p4 = fcdf (x, 10, 1); 526s p5 = fcdf (x, 100, 100); 526s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 526s grid on 526s legend ({"df1 = 1, df2 = 2", "df1 = 2, df2 = 1", ... 526s "df1 = 5, df2 = 2", "df1 = 10, df2 = 1", ... 526s "df1 = 100, df2 = 100"}, "location", "southeast") 526s title ("F CDF") 526s xlabel ("values in x") 526s ylabel ("probability") 526s ***** shared x, y 526s x = [-1, 0, 0.5, 1, 2, Inf]; 526s y = [0, 0, 1/3, 1/2, 2/3, 1]; 526s ***** assert (fcdf (x, 2*ones (1,6), 2*ones (1,6)), y, eps) 526s ***** assert (fcdf (x, 2, 2*ones (1,6)), y, eps) 526s ***** assert (fcdf (x, 2*ones (1,6), 2), y, eps) 526s ***** assert (fcdf (x, [0 NaN Inf 2 2 2], 2), [NaN NaN 0.1353352832366127 y(4:6)], eps) 526s ***** assert (fcdf (x, 2, [0 NaN Inf 2 2 2]), [NaN NaN 0.3934693402873666 y(4:6)], eps) 526s ***** assert (fcdf ([x(1:2) NaN x(4:6)], 2, 2), [y(1:2) NaN y(4:6)], eps) 526s ***** assert (fcdf ([x, NaN], 2, 2), [y, NaN], eps) 526s ***** assert (fcdf (single ([x, NaN]), 2, 2), single ([y, NaN]), eps ("single")) 526s ***** assert (fcdf ([x, NaN], single (2), 2), single ([y, NaN]), eps ("single")) 526s ***** assert (fcdf ([x, NaN], 2, single (2)), single ([y, NaN]), eps ("single")) 526s ***** error fcdf () 526s ***** error fcdf (1) 526s ***** error fcdf (1, 2) 526s ***** error fcdf (1, 2, 3, 4) 526s ***** error fcdf (1, 2, 3, "tail") 526s ***** error ... 526s fcdf (ones (3), ones (2), ones (2)) 526s ***** error ... 526s fcdf (ones (2), ones (3), ones (2)) 526s ***** error ... 526s fcdf (ones (2), ones (2), ones (3)) 526s ***** error fcdf (i, 2, 2) 526s ***** error fcdf (2, i, 2) 526s ***** error fcdf (2, 2, i) 527s 21 tests, 21 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/unifpdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unifpdf.m 527s ***** demo 527s ## Plot various PDFs from the continuous uniform distribution 527s x = 0:0.001:10; 527s y1 = unifpdf (x, 2, 5); 527s y2 = unifpdf (x, 3, 9); 527s plot (x, y1, "-b", x, y2, "-g") 527s grid on 527s xlim ([0, 10]) 527s ylim ([0, 0.4]) 527s legend ({"a = 2, b = 5", "a = 3, b = 9"}, "location", "northeast") 527s title ("Continuous uniform PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** shared x, y 527s x = [-1 0 0.5 1 2] + 1; 527s y = [0 1 1 1 0]; 527s ***** assert (unifpdf (x, ones (1,5), 2*ones (1,5)), y) 527s ***** assert (unifpdf (x, 1, 2*ones (1,5)), y) 527s ***** assert (unifpdf (x, ones (1,5), 2), y) 527s ***** assert (unifpdf (x, [2 NaN 1 1 1], 2), [NaN NaN y(3:5)]) 527s ***** assert (unifpdf (x, 1, 2*[0 NaN 1 1 1]), [NaN NaN y(3:5)]) 527s ***** assert (unifpdf ([x, NaN], 1, 2), [y, NaN]) 527s ***** assert (unifpdf (x, 0, 1), [1 1 0 0 0]) 527s ***** assert (unifpdf (single ([x, NaN]), 1, 2), single ([y, NaN])) 527s ***** assert (unifpdf (single ([x, NaN]), single (1), 2), single ([y, NaN])) 527s ***** assert (unifpdf ([x, NaN], 1, single (2)), single ([y, NaN])) 527s ***** error unifpdf () 527s ***** error unifpdf (1) 527s ***** error unifpdf (1, 2) 527s ***** error ... 527s unifpdf (ones (3), ones (2), ones (2)) 527s ***** error ... 527s unifpdf (ones (2), ones (3), ones (2)) 527s ***** error ... 527s unifpdf (ones (2), ones (2), ones (3)) 527s ***** error unifpdf (i, 2, 2) 527s ***** error unifpdf (2, i, 2) 527s ***** error unifpdf (2, 2, i) 527s 19 tests, 19 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/tricdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/tricdf.m 527s ***** demo 527s ## Plot various CDFs from the triangular distribution 527s x = 0.001:0.001:10; 527s p1 = tricdf (x, 3, 6, 4); 527s p2 = tricdf (x, 1, 5, 2); 527s p3 = tricdf (x, 2, 9, 3); 527s p4 = tricdf (x, 2, 9, 5); 527s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 527s grid on 527s xlim ([0, 10]) 527s legend ({"a = 3, b = 6, c = 4", "a = 1, b = 5, c = 2", ... 527s "a = 2, b = 9, c = 3", "a = 2, b = 9, c = 5"}, ... 527s "location", "southeast") 527s title ("Triangular CDF") 527s xlabel ("values in x") 527s ylabel ("probability") 527s ***** shared x, y 527s x = [-1, 0, 0.1, 0.5, 0.9, 1, 2] + 1; 527s y = [0, 0, 0.02, 0.5, 0.98, 1 1]; 527s ***** assert (tricdf (x, ones (1,7), 2*ones (1,7), 1.5*ones (1,7)), y, eps) 527s ***** assert (tricdf (x, 1*ones (1,7), 2, 1.5), y, eps) 527s ***** assert (tricdf (x, 1*ones (1,7), 2, 1.5, "upper"), 1 - y, eps) 527s ***** assert (tricdf (x, 1, 2*ones (1,7), 1.5), y, eps) 527s ***** assert (tricdf (x, 1, 2, 1.5*ones (1,7)), y, eps) 527s ***** assert (tricdf (x, 1, 2, 1.5), y, eps) 527s ***** assert (tricdf (x, [1, 1, NaN, 1, 1, 1, 1], 2, 1.5), ... 527s [y(1:2), NaN, y(4:7)], eps) 527s ***** assert (tricdf (x, 1, 2*[1, 1, NaN, 1, 1, 1, 1], 1.5), ... 527s [y(1:2), NaN, y(4:7)], eps) 527s ***** assert (tricdf (x, 1, 2, 1.5*[1, 1, NaN, 1, 1, 1, 1]), ... 527s [y(1:2), NaN, y(4:7)], eps) 527s ***** assert (tricdf ([x, NaN], 1, 2, 1.5), [y, NaN], eps) 527s ***** assert (tricdf (single ([x, NaN]), 1, 2, 1.5), ... 527s single ([y, NaN]), eps("single")) 527s ***** assert (tricdf ([x, NaN], single (1), 2, 1.5), ... 527s single ([y, NaN]), eps("single")) 527s ***** assert (tricdf ([x, NaN], 1, single (2), 1.5), ... 527s single ([y, NaN]), eps("single")) 527s ***** assert (tricdf ([x, NaN], 1, 2, single (1.5)), ... 527s single ([y, NaN]), eps("single")) 527s ***** error tricdf () 527s ***** error tricdf (1) 527s ***** error tricdf (1, 2) 527s ***** error tricdf (1, 2, 3) 527s ***** error ... 527s tricdf (1, 2, 3, 4, 5, 6) 527s ***** error tricdf (1, 2, 3, 4, "tail") 527s ***** error tricdf (1, 2, 3, 4, 5) 527s ***** error ... 527s tricdf (ones (3), ones (2), ones(2), ones(2)) 527s ***** error ... 527s tricdf (ones (2), ones (3), ones(2), ones(2)) 527s ***** error ... 527s tricdf (ones (2), ones (2), ones(3), ones(2)) 527s ***** error ... 527s tricdf (ones (2), ones (2), ones(2), ones(3)) 527s ***** error tricdf (i, 2, 3, 4) 527s ***** error tricdf (1, i, 3, 4) 527s ***** error tricdf (1, 2, i, 4) 527s ***** error tricdf (1, 2, 3, i) 527s 29 tests, 29 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/raylcdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/raylcdf.m 527s ***** demo 527s ## Plot various CDFs from the Rayleigh distribution 527s x = 0:0.01:10; 527s p1 = raylcdf (x, 0.5); 527s p2 = raylcdf (x, 1); 527s p3 = raylcdf (x, 2); 527s p4 = raylcdf (x, 3); 527s p5 = raylcdf (x, 4); 527s plot (x, p1, "-b", x, p2, "g", x, p3, "-r", x, p4, "-m", x, p5, "-k") 527s grid on 527s ylim ([0, 1]) 527s legend ({"σ = 0.5", "σ = 1", "σ = 2", ... 527s "σ = 3", "σ = 4"}, "location", "southeast") 527s title ("Rayleigh CDF") 527s xlabel ("values in x") 527s ylabel ("probability") 527s ***** test 527s x = 0:0.5:2.5; 527s sigma = 1:6; 527s p = raylcdf (x, sigma); 527s expected_p = [0.0000, 0.0308, 0.0540, 0.0679, 0.0769, 0.0831]; 527s assert (p, expected_p, 0.001); 527s ***** test 527s x = 0:0.5:2.5; 527s p = raylcdf (x, 0.5); 527s expected_p = [0.0000, 0.3935, 0.8647, 0.9889, 0.9997, 1.0000]; 527s assert (p, expected_p, 0.001); 527s ***** shared x, p 527s x = [-1, 0, 1, 2, Inf]; 527s p = [0, 0, 0.39346934028737, 0.86466471676338, 1]; 527s ***** assert (raylcdf (x, 1), p, 1e-14) 527s ***** assert (raylcdf (x, 1, "upper"), 1 - p, 1e-14) 527s ***** error raylcdf () 527s ***** error raylcdf (1) 527s ***** error raylcdf (1, 2, "uper") 527s ***** error raylcdf (1, 2, 3) 527s ***** error ... 527s raylcdf (ones (3), ones (2)) 527s ***** error ... 527s raylcdf (ones (2), ones (3)) 527s ***** error raylcdf (i, 2) 527s ***** error raylcdf (2, i) 527s 12 tests, 12 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/cauchyrnd.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/cauchyrnd.m 527s ***** assert (size (cauchyrnd (1, 1)), [1 1]) 527s ***** assert (size (cauchyrnd (1, ones (2,1))), [2, 1]) 527s ***** assert (size (cauchyrnd (1, ones (2,2))), [2, 2]) 527s ***** assert (size (cauchyrnd (ones (2,1), 1)), [2, 1]) 527s ***** assert (size (cauchyrnd (ones (2,2), 1)), [2, 2]) 527s ***** assert (size (cauchyrnd (1, 1, 3)), [3, 3]) 527s ***** assert (size (cauchyrnd (1, 1, [4, 1])), [4, 1]) 527s ***** assert (size (cauchyrnd (1, 1, 4, 1)), [4, 1]) 527s ***** assert (size (cauchyrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 527s ***** assert (size (cauchyrnd (1, 1, 0, 1)), [0, 1]) 527s ***** assert (size (cauchyrnd (1, 1, 1, 0)), [1, 0]) 527s ***** assert (size (cauchyrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 527s ***** assert (class (cauchyrnd (1, 1)), "double") 527s ***** assert (class (cauchyrnd (1, single (1))), "single") 527s ***** assert (class (cauchyrnd (1, single ([1, 1]))), "single") 527s ***** assert (class (cauchyrnd (single (1), 1)), "single") 527s ***** assert (class (cauchyrnd (single ([1, 1]), 1)), "single") 527s ***** error cauchyrnd () 527s ***** error cauchyrnd (1) 527s ***** error ... 527s cauchyrnd (ones (3), ones (2)) 527s ***** error ... 527s cauchyrnd (ones (2), ones (3)) 527s ***** error cauchyrnd (i, 2, 3) 527s ***** error cauchyrnd (1, i, 3) 527s ***** error ... 527s cauchyrnd (1, 2, -1) 527s ***** error ... 527s cauchyrnd (1, 2, 1.2) 527s ***** error ... 527s cauchyrnd (1, 2, ones (2)) 527s ***** error ... 527s cauchyrnd (1, 2, [2 -1 2]) 527s ***** error ... 527s cauchyrnd (1, 2, [2 0 2.5]) 527s ***** error ... 527s cauchyrnd (1, 2, 2, -1, 5) 527s ***** error ... 527s cauchyrnd (1, 2, 2, 1.5, 5) 527s ***** error ... 527s cauchyrnd (2, ones (2), 3) 527s ***** error ... 527s cauchyrnd (2, ones (2), [3, 2]) 527s ***** error ... 527s cauchyrnd (2, ones (2), 3, 2) 527s 33 tests, 33 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/hnpdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hnpdf.m 527s ***** demo 527s ## Plot various PDFs from the half-normal distribution 527s x = 0:0.001:10; 527s y1 = hnpdf (x, 0, 1); 527s y2 = hnpdf (x, 0, 2); 527s y3 = hnpdf (x, 0, 3); 527s y4 = hnpdf (x, 0, 5); 527s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 527s grid on 527s xlim ([0, 10]) 527s ylim ([0, 0.9]) 527s legend ({"μ = 0, σ = 1", "μ = 0, σ = 2", ... 527s "μ = 0, σ = 3", "μ = 0, σ = 5"}, "location", "northeast") 527s title ("Half-normal PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** demo 527s ## Plot half-normal against normal probability density function 527s x = -5:0.001:5; 527s y1 = hnpdf (x, 0, 1); 527s y2 = normpdf (x); 527s plot (x, y1, "-b", x, y2, "-g") 527s grid on 527s xlim ([-5, 5]) 527s ylim ([0, 0.9]) 527s legend ({"half-normal with μ = 0, σ = 1", ... 527s "standart normal (μ = 0, σ = 1)"}, "location", "northeast") 527s title ("Half-normal against standard normal PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** shared x, y 527s x = [-Inf, -1, 0, 1/2, 1, Inf]; 527s y = [0, 0, 0.7979, 0.7041, 0.4839, 0]; 527s ***** assert (hnpdf ([x, NaN], 0, 1), [y, NaN], 1e-4) 527s ***** assert (hnpdf (x, 0, [-2, -1, 0, 1, 1, 1]), [nan(1,3), y([4:6])], 1e-4) 527s ***** assert (class (hncdf (single ([x, NaN]), 0, 1)), "single") 527s ***** assert (class (hncdf ([x, NaN], 0, single (1))), "single") 527s ***** assert (class (hncdf ([x, NaN], single (0), 1)), "single") 527s ***** error hnpdf () 527s ***** error hnpdf (1) 527s ***** error hnpdf (1, 2) 527s ***** error ... 527s hnpdf (1, ones (2), ones (3)) 527s ***** error ... 527s hnpdf (ones (2), 1, ones (3)) 527s ***** error ... 527s hnpdf (ones (2), ones (3), 1) 527s ***** error hnpdf (i, 2, 3) 527s ***** error hnpdf (1, i, 3) 527s ***** error hnpdf (1, 2, i) 527s 14 tests, 14 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/logiinv.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logiinv.m 527s ***** demo 527s ## Plot various iCDFs from the logistic distribution 527s p = 0.001:0.001:0.999; 527s x1 = logiinv (p, 5, 2); 527s x2 = logiinv (p, 9, 3); 527s x3 = logiinv (p, 9, 4); 527s x4 = logiinv (p, 6, 2); 527s x5 = logiinv (p, 2, 1); 527s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 527s grid on 527s legend ({"μ = 5, s = 2", "μ = 9, s = 3", "μ = 9, s = 4", ... 527s "μ = 6, s = 2", "μ = 2, s = 1"}, "location", "southeast") 527s title ("Logistic iCDF") 527s xlabel ("probability") 527s ylabel ("x") 527s ***** test 527s p = [0.01:0.01:0.99]; 527s assert (logiinv (p, 0, 1), log (p ./ (1-p)), 25*eps); 527s ***** shared p 527s p = [-1 0 0.5 1 2]; 527s ***** assert (logiinv (p, 0, 1), [NaN -Inf 0 Inf NaN]) 527s ***** assert (logiinv (p, 0, [-1, 0, 1, 2, 3]), [NaN NaN 0 Inf NaN]) 527s ***** assert (logiinv ([p, NaN], 0, 1), [NaN -Inf 0 Inf NaN NaN]) 527s ***** assert (logiinv (single ([p, NaN]), 0, 1), single ([NaN -Inf 0 Inf NaN NaN])) 527s ***** assert (logiinv ([p, NaN], single (0), 1), single ([NaN -Inf 0 Inf NaN NaN])) 527s ***** assert (logiinv ([p, NaN], 0, single (1)), single ([NaN -Inf 0 Inf NaN NaN])) 527s ***** error logiinv () 527s ***** error logiinv (1) 527s ***** error ... 527s logiinv (1, 2) 527s ***** error ... 527s logiinv (1, ones (2), ones (3)) 527s ***** error ... 527s logiinv (ones (2), 1, ones (3)) 527s ***** error ... 527s logiinv (ones (2), ones (3), 1) 527s ***** error logiinv (i, 2, 3) 527s ***** error logiinv (1, i, 3) 527s ***** error logiinv (1, 2, i) 527s 16 tests, 16 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/raylpdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/raylpdf.m 527s ***** demo 527s ## Plot various PDFs from the Rayleigh distribution 527s x = 0:0.01:10; 527s y1 = raylpdf (x, 0.5); 527s y2 = raylpdf (x, 1); 527s y3 = raylpdf (x, 2); 527s y4 = raylpdf (x, 3); 527s y5 = raylpdf (x, 4); 527s plot (x, y1, "-b", x, y2, "g", x, y3, "-r", x, y4, "-m", x, y5, "-k") 527s grid on 527s ylim ([0, 1.25]) 527s legend ({"σ = 0,5", "σ = 1", "σ = 2", ... 527s "σ = 3", "σ = 4"}, "location", "northeast") 527s title ("Rayleigh PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** test 527s x = 0:0.5:2.5; 527s sigma = 1:6; 527s y = raylpdf (x, sigma); 527s expected_y = [0.0000, 0.1212, 0.1051, 0.0874, 0.0738, 0.0637]; 527s assert (y, expected_y, 0.001); 527s ***** test 527s x = 0:0.5:2.5; 527s y = raylpdf (x, 0.5); 527s expected_y = [0.0000, 1.2131, 0.5413, 0.0667, 0.0027, 0.0000]; 527s assert (y, expected_y, 0.001); 527s ***** error raylpdf () 527s ***** error raylpdf (1) 527s ***** error ... 527s raylpdf (ones (3), ones (2)) 527s ***** error ... 527s raylpdf (ones (2), ones (3)) 527s ***** error raylpdf (i, 2) 527s ***** error raylpdf (2, i) 527s 8 tests, 8 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/ncfrnd.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncfrnd.m 527s ***** assert (size (ncfrnd (1, 1, 1)), [1 1]) 527s ***** assert (size (ncfrnd (1, ones (2,1), 1)), [2, 1]) 527s ***** assert (size (ncfrnd (1, ones (2,2), 1)), [2, 2]) 527s ***** assert (size (ncfrnd (ones (2,1), 1, 1)), [2, 1]) 527s ***** assert (size (ncfrnd (ones (2,2), 1, 1)), [2, 2]) 527s ***** assert (size (ncfrnd (1, 1, 1, 3)), [3, 3]) 527s ***** assert (size (ncfrnd (1, 1, 1, [4, 1])), [4, 1]) 527s ***** assert (size (ncfrnd (1, 1, 1, 4, 1)), [4, 1]) 527s ***** assert (size (ncfrnd (1, 1, 1, 4, 1, 5)), [4, 1, 5]) 527s ***** assert (size (ncfrnd (1, 1, 1, 0, 1)), [0, 1]) 527s ***** assert (size (ncfrnd (1, 1, 1, 1, 0)), [1, 0]) 527s ***** assert (size (ncfrnd (1, 1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 527s ***** assert (class (ncfrnd (1, 1, 1)), "double") 527s ***** assert (class (ncfrnd (1, single (1), 1)), "single") 527s ***** assert (class (ncfrnd (1, 1, single (1))), "single") 527s ***** assert (class (ncfrnd (1, single ([1, 1]), 1)), "single") 527s ***** assert (class (ncfrnd (1, 1, single ([1, 1]))), "single") 527s ***** assert (class (ncfrnd (single (1), 1, 1)), "single") 527s ***** assert (class (ncfrnd (single ([1, 1]), 1, 1)), "single") 527s ***** error ncfrnd () 527s ***** error ncfrnd (1) 527s ***** error ncfrnd (1, 2) 527s ***** error ... 527s ncfrnd (ones (3), ones (2), ones (2)) 527s ***** error ... 527s ncfrnd (ones (2), ones (3), ones (2)) 527s ***** error ... 527s ncfrnd (ones (2), ones (2), ones (3)) 527s ***** error ncfrnd (i, 2, 3) 527s ***** error ncfrnd (1, i, 3) 527s ***** error ncfrnd (1, 2, i) 527s ***** error ... 527s ncfrnd (1, 2, 3, -1) 527s ***** error ... 527s ncfrnd (1, 2, 3, 1.2) 527s ***** error ... 527s ncfrnd (1, 2, 3, ones (2)) 527s ***** error ... 527s ncfrnd (1, 2, 3, [2 -1 2]) 527s ***** error ... 527s ncfrnd (1, 2, 3, [2 0 2.5]) 527s ***** error ... 527s ncfrnd (1, 2, 3, 2, -1, 5) 527s ***** error ... 527s ncfrnd (1, 2, 3, 2, 1.5, 5) 527s ***** error ... 527s ncfrnd (2, ones (2), 2, 3) 527s ***** error ... 527s ncfrnd (2, ones (2), 2, [3, 2]) 527s ***** error ... 527s ncfrnd (2, ones (2), 2, 3, 2) 527s 38 tests, 38 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/raylinv.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/raylinv.m 527s ***** demo 527s ## Plot various iCDFs from the Rayleigh distribution 527s p = 0.001:0.001:0.999; 527s x1 = raylinv (p, 0.5); 527s x2 = raylinv (p, 1); 527s x3 = raylinv (p, 2); 527s x4 = raylinv (p, 3); 527s x5 = raylinv (p, 4); 527s plot (p, x1, "-b", p, x2, "g", p, x3, "-r", p, x4, "-m", p, x5, "-k") 527s grid on 527s ylim ([0, 10]) 527s legend ({"σ = 0,5", "σ = 1", "σ = 2", ... 527s "σ = 3", "σ = 4"}, "location", "northwest") 527s title ("Rayleigh iCDF") 527s xlabel ("probability") 527s ylabel ("values in x") 527s ***** test 527s p = 0:0.1:0.5; 527s sigma = 1:6; 527s x = raylinv (p, sigma); 527s expected_x = [0.0000, 0.9181, 2.0041, 3.3784, 5.0538, 7.0645]; 527s assert (x, expected_x, 0.001); 527s ***** test 527s p = 0:0.1:0.5; 527s x = raylinv (p, 0.5); 527s expected_x = [0.0000, 0.2295, 0.3340, 0.4223, 0.5054, 0.5887]; 527s assert (x, expected_x, 0.001); 527s ***** error raylinv () 527s ***** error raylinv (1) 527s ***** error ... 527s raylinv (ones (3), ones (2)) 527s ***** error ... 527s raylinv (ones (2), ones (3)) 527s ***** error raylinv (i, 2) 527s ***** error raylinv (2, i) 527s 8 tests, 8 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/wblpdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wblpdf.m 527s ***** demo 527s ## Plot various PDFs from the Weibul distribution 527s x = 0:0.001:2.5; 527s y1 = wblpdf (x, 1, 0.5); 527s y2 = wblpdf (x, 1, 1); 527s y3 = wblpdf (x, 1, 1.5); 527s y4 = wblpdf (x, 1, 5); 527s plot (x, y1, "-b", x, y2, "-r", x, y3, "-m", x, y4, "-g") 527s grid on 527s ylim ([0, 2.5]) 527s legend ({"λ = 5, k = 0.5", "λ = 9, k = 1", ... 527s "λ = 6, k = 1.5", "λ = 2, k = 5"}, "location", "northeast") 527s title ("Weibul PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** shared x,y 527s x = [-1 0 0.5 1 Inf]; 527s y = [0, exp(-x(2:4)), NaN]; 527s ***** assert (wblpdf (x, ones (1,5), ones (1,5)), y) 527s ***** assert (wblpdf (x, 1, ones (1,5)), y) 527s ***** assert (wblpdf (x, ones (1,5), 1), y) 527s ***** assert (wblpdf (x, [0 NaN Inf 1 1], 1), [NaN NaN NaN y(4:5)]) 527s ***** assert (wblpdf (x, 1, [0 NaN Inf 1 1]), [NaN NaN NaN y(4:5)]) 527s ***** assert (wblpdf ([x, NaN], 1, 1), [y, NaN]) 527s ***** assert (wblpdf (single ([x, NaN]), 1, 1), single ([y, NaN])) 527s ***** assert (wblpdf ([x, NaN], single (1), 1), single ([y, NaN])) 527s ***** assert (wblpdf ([x, NaN], 1, single (1)), single ([y, NaN])) 527s ***** error wblpdf () 527s ***** error wblpdf (1,2,3,4) 527s ***** error wblpdf (ones (3), ones (2), ones (2)) 527s ***** error wblpdf (ones (2), ones (3), ones (2)) 527s ***** error wblpdf (ones (2), ones (2), ones (3)) 527s ***** error wblpdf (i, 2, 2) 527s ***** error wblpdf (2, i, 2) 527s ***** error wblpdf (2, 2, i) 527s 17 tests, 17 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/copulacdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/copulacdf.m 527s ***** test 527s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 527s theta = [1; 2]; 527s p = copulacdf ("Clayton", x, theta); 527s expected_p = [0.1395; 0.1767]; 527s assert (p, expected_p, 0.001); 527s ***** test 527s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 527s p = copulacdf ("Gumbel", x, 2); 527s expected_p = [0.1464; 0.1464]; 527s assert (p, expected_p, 0.001); 527s ***** test 527s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 527s theta = [1; 2]; 527s p = copulacdf ("Frank", x, theta); 527s expected_p = [0.0699; 0.0930]; 527s assert (p, expected_p, 0.001); 527s ***** test 527s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 527s theta = [0.3; 0.7]; 527s p = copulacdf ("AMH", x, theta); 527s expected_p = [0.0629; 0.0959]; 527s assert (p, expected_p, 0.001); 527s ***** test 527s x = [0.2:0.2:0.6; 0.2:0.1:0.4]; 527s theta = [0.2, 0.1, 0.1, 0.05]; 527s p = copulacdf ("FGM", x, theta); 527s expected_p = [0.0558; 0.0293]; 527s assert (p, expected_p, 0.001); 527s 5 tests, 5 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/ncfcdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncfcdf.m 527s ***** demo 527s ## Plot various CDFs from the noncentral F distribution 527s x = 0:0.01:5; 527s p1 = ncfcdf (x, 2, 5, 1); 527s p2 = ncfcdf (x, 2, 5, 2); 527s p3 = ncfcdf (x, 5, 10, 1); 527s p4 = ncfcdf (x, 10, 20, 10); 527s plot (x, p1, "-r", x, p2, "-g", x, p3, "-k", x, p4, "-m") 527s grid on 527s xlim ([0, 5]) 527s legend ({"df1 = 2, df2 = 5, λ = 1", "df1 = 2, df2 = 5, λ = 2", ... 527s "df1 = 5, df2 = 10, λ = 1", "df1 = 10, df2 = 20, λ = 10"}, ... 527s "location", "southeast") 527s title ("Noncentral F CDF") 527s xlabel ("values in x") 527s ylabel ("probability") 527s ***** demo 527s ## Compare the noncentral F CDF with LAMBDA = 10 to the F CDF with the 527s ## same number of numerator and denominator degrees of freedom (5, 20) 527s 527s x = 0.01:0.1:10.01; 527s p1 = ncfcdf (x, 5, 20, 10); 527s p2 = fcdf (x, 5, 20); 527s plot (x, p1, "-", x, p2, "-"); 527s grid on 527s xlim ([0, 10]) 527s legend ({"Noncentral F(5,20,10)", "F(5,20)"}, "location", "southeast") 527s title ("Noncentral F vs F CDFs") 527s xlabel ("values in x") 527s ylabel ("probability") 527s ***** test 527s x = -2:0.1:2; 527s p = ncfcdf (x, 10, 1, 3); 527s assert (p([1:21]), zeros (1, 21), 1e-76); 527s assert (p(22), 0.004530737275319753, 1e-14); 527s assert (p(30), 0.255842099135669, 1e-14); 527s assert (p(41), 0.4379890998457305, 1e-14); 527s ***** test 527s p = ncfcdf (12, 10, 3, 2); 527s assert (p, 0.9582287900447416, 1e-14); 527s ***** test 527s p = ncfcdf (2, 3, 2, 1); 527s assert (p, 0.5731985522994989, 1e-14); 527s ***** test 527s p = ncfcdf (2, 3, 2, 1, "upper"); 527s assert (p, 0.4268014477004823, 1e-14); 527s ***** test 527s p = ncfcdf ([3, 6], 3, 2, 5, "upper"); 527s assert (p, [0.530248523596927, 0.3350482341323044], 1e-14); 527s ***** error ncfcdf () 527s ***** error ncfcdf (1) 527s ***** error ncfcdf (1, 2) 527s ***** error ncfcdf (1, 2, 3) 527s ***** error ncfcdf (1, 2, 3, 4, "tail") 527s ***** error ncfcdf (1, 2, 3, 4, 5) 527s ***** error ... 527s ncfcdf (ones (3), ones (2), ones (2), ones (2)) 527s ***** error ... 527s ncfcdf (ones (2), ones (3), ones (2), ones (2)) 527s ***** error ... 527s ncfcdf (ones (2), ones (2), ones (3), ones (2)) 527s ***** error ... 527s ncfcdf (ones (2), ones (2), ones (2), ones (3)) 527s ***** error ncfcdf (i, 2, 2, 2) 527s ***** error ncfcdf (2, i, 2, 2) 527s ***** error ncfcdf (2, 2, i, 2) 527s ***** error ncfcdf (2, 2, 2, i) 527s 19 tests, 19 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/ncfpdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncfpdf.m 527s ***** demo 527s ## Plot various PDFs from the noncentral F distribution 527s x = 0:0.01:5; 527s y1 = ncfpdf (x, 2, 5, 1); 527s y2 = ncfpdf (x, 2, 5, 2); 527s y3 = ncfpdf (x, 5, 10, 1); 527s y4 = ncfpdf (x, 10, 20, 10); 527s plot (x, y1, "-r", x, y2, "-g", x, y3, "-k", x, y4, "-m") 527s grid on 527s xlim ([0, 5]) 527s ylim ([0, 0.8]) 527s legend ({"df1 = 2, df2 = 5, λ = 1", "df1 = 2, df2 = 5, λ = 2", ... 527s "df1 = 5, df2 = 10, λ = 1", "df1 = 10, df2 = 20, λ = 10"}, ... 527s "location", "northeast") 527s title ("Noncentral F PDF") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** demo 527s ## Compare the noncentral F PDF with LAMBDA = 10 to the F PDF with the 527s ## same number of numerator and denominator degrees of freedom (5, 20) 527s 527s x = 0.01:0.1:10.01; 527s y1 = ncfpdf (x, 5, 20, 10); 527s y2 = fpdf (x, 5, 20); 527s plot (x, y1, "-", x, y2, "-"); 527s grid on 527s xlim ([0, 10]) 527s ylim ([0, 0.8]) 527s legend ({"Noncentral F(5,20,10)", "F(5,20)"}, "location", "northeast") 527s title ("Noncentral F vs F PDFs") 527s xlabel ("values in x") 527s ylabel ("density") 527s ***** shared x1, df1, df2, lambda 527s x1 = [-Inf, 2, NaN, 4, Inf]; 527s df1 = [2, 0, -1, 1, 4]; 527s df2 = [2, 4, 5, 6, 8]; 527s lambda = [1, NaN, 3, -1, 2]; 527s ***** assert (ncfpdf (x1, df1, df2, lambda), [0, NaN, NaN, NaN, NaN]); 527s ***** assert (ncfpdf (x1, df1, df2, 1), [0, NaN, NaN, ... 527s 0.05607937264237208, NaN], 1e-14); 527s ***** assert (ncfpdf (x1, df1, df2, 3), [0, NaN, NaN, ... 527s 0.080125760971946518, NaN], 1e-14); 527s ***** assert (ncfpdf (x1, df1, df2, 2), [0, NaN, NaN, ... 527s 0.0715902008258656, NaN], 1e-14); 527s ***** assert (ncfpdf (x1, 3, 5, lambda), [0, NaN, NaN, NaN, NaN]); 527s ***** assert (ncfpdf (2, df1, df2, lambda), [0.1254046999837947, NaN, NaN, ... 527s NaN, 0.2152571783045893], 1e-14); 527s ***** assert (ncfpdf (4, df1, df2, lambda), [0.05067089541001374, NaN, NaN, ... 527s NaN, 0.05560846335398539], 1e-14); 527s ***** error ncfpdf () 527s ***** error ncfpdf (1) 527s ***** error ncfpdf (1, 2) 527s ***** error ncfpdf (1, 2, 3) 527s ***** error ... 527s ncfpdf (ones (3), ones (2), ones (2), ones (2)) 527s ***** error ... 527s ncfpdf (ones (2), ones (3), ones (2), ones (2)) 527s ***** error ... 527s ncfpdf (ones (2), ones (2), ones (3), ones (2)) 527s ***** error ... 527s ncfpdf (ones (2), ones (2), ones (2), ones (3)) 527s ***** error ncfpdf (i, 2, 2, 2) 527s ***** error ncfpdf (2, i, 2, 2) 527s ***** error ncfpdf (2, 2, i, 2) 527s ***** error ncfpdf (2, 2, 2, i) 527s 19 tests, 19 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/gamrnd.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gamrnd.m 527s ***** assert (size (gamrnd (1, 1)), [1 1]) 527s ***** assert (size (gamrnd (1, ones (2,1))), [2, 1]) 527s ***** assert (size (gamrnd (1, ones (2,2))), [2, 2]) 527s ***** assert (size (gamrnd (ones (2,1), 1)), [2, 1]) 527s ***** assert (size (gamrnd (ones (2,2), 1)), [2, 2]) 527s ***** assert (size (gamrnd (1, 1, 3)), [3, 3]) 527s ***** assert (size (gamrnd (1, 1, [4, 1])), [4, 1]) 527s ***** assert (size (gamrnd (1, 1, 4, 1)), [4, 1]) 527s ***** assert (size (gamrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 527s ***** assert (size (gamrnd (1, 1, 0, 1)), [0, 1]) 527s ***** assert (size (gamrnd (1, 1, 1, 0)), [1, 0]) 527s ***** assert (size (gamrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 527s ***** assert (class (gamrnd (1, 1)), "double") 527s ***** assert (class (gamrnd (1, single (1))), "single") 527s ***** assert (class (gamrnd (1, single ([1, 1]))), "single") 527s ***** assert (class (gamrnd (single (1), 1)), "single") 527s ***** assert (class (gamrnd (single ([1, 1]), 1)), "single") 527s ***** error gamrnd () 527s ***** error gamrnd (1) 527s ***** error ... 527s gamrnd (ones (3), ones (2)) 527s ***** error ... 527s gamrnd (ones (2), ones (3)) 527s ***** error gamrnd (i, 2, 3) 527s ***** error gamrnd (1, i, 3) 527s ***** error ... 527s gamrnd (1, 2, -1) 527s ***** error ... 527s gamrnd (1, 2, 1.2) 527s ***** error ... 527s gamrnd (1, 2, ones (2)) 527s ***** error ... 527s gamrnd (1, 2, [2 -1 2]) 527s ***** error ... 527s gamrnd (1, 2, [2 0 2.5]) 527s ***** error ... 527s gamrnd (1, 2, 2, -1, 5) 527s ***** error ... 527s gamrnd (1, 2, 2, 1.5, 5) 527s ***** error ... 527s gamrnd (2, ones (2), 3) 527s ***** error ... 527s gamrnd (2, ones (2), [3, 2]) 527s ***** error ... 527s gamrnd (2, ones (2), 3, 2) 527s 33 tests, 33 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/bisarnd.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bisarnd.m 527s ***** assert (size (bisarnd (1, 1)), [1 1]) 527s ***** assert (size (bisarnd (1, ones (2,1))), [2, 1]) 527s ***** assert (size (bisarnd (1, ones (2,2))), [2, 2]) 527s ***** assert (size (bisarnd (ones (2,1), 1)), [2, 1]) 527s ***** assert (size (bisarnd (ones (2,2), 1)), [2, 2]) 527s ***** assert (size (bisarnd (1, 1, 3)), [3, 3]) 527s ***** assert (size (bisarnd (1, 1, [4, 1])), [4, 1]) 527s ***** assert (size (bisarnd (1, 1, 4, 1)), [4, 1]) 527s ***** assert (size (bisarnd (1, 1, 4, 1, 5)), [4, 1, 5]) 527s ***** assert (size (bisarnd (1, 1, 0, 1)), [0, 1]) 527s ***** assert (size (bisarnd (1, 1, 1, 0)), [1, 0]) 527s ***** assert (size (bisarnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 527s ***** assert (class (bisarnd (1, 1)), "double") 527s ***** assert (class (bisarnd (1, single (1))), "single") 527s ***** assert (class (bisarnd (1, single ([1, 1]))), "single") 527s ***** assert (class (bisarnd (single (1), 1)), "single") 527s ***** assert (class (bisarnd (single ([1, 1]), 1)), "single") 527s ***** error bisarnd () 527s ***** error bisarnd (1) 527s ***** error ... 527s bisarnd (ones (3), ones (2)) 527s ***** error ... 527s bisarnd (ones (2), ones (3)) 527s ***** error bisarnd (i, 2, 3) 527s ***** error bisarnd (1, i, 3) 527s ***** error ... 527s bisarnd (1, 2, -1) 527s ***** error ... 527s bisarnd (1, 2, 1.2) 527s ***** error ... 527s bisarnd (1, 2, ones (2)) 527s ***** error ... 527s bisarnd (1, 2, [2 -1 2]) 527s ***** error ... 527s bisarnd (1, 2, [2 0 2.5]) 527s ***** error ... 527s bisarnd (1, 2, 2, -1, 5) 527s ***** error ... 527s bisarnd (1, 2, 2, 1.5, 5) 527s ***** error ... 527s bisarnd (2, ones (2), 3) 527s ***** error ... 527s bisarnd (2, ones (2), [3, 2]) 527s ***** error ... 527s bisarnd (2, ones (2), 3, 2) 527s 33 tests, 33 passed, 0 known failure, 0 skipped 527s [inst/dist_fun/mvtcdf.m] 527s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvtcdf.m 527s ***** demo 527s ## Compute the cdf of a multivariate Student's t distribution with 527s ## correlation parameters rho = [1, 0.4; 0.4, 1] and 2 degrees of freedom. 527s 527s rho = [1, 0.4; 0.4, 1]; 527s df = 2; 527s [X1, X2] = meshgrid (linspace (-2, 2, 25)', linspace (-2, 2, 25)'); 527s X = [X1(:), X2(:)]; 527s p = mvtcdf (X, rho, df); 527s surf (X1, X2, reshape (p, 25, 25)); 527s title ("Bivariate Student's t cummulative distribution function"); 527s ***** test 527s x = [1, 2]; 527s rho = [1, 0.5; 0.5, 1]; 527s df = 4; 527s a = [-1, 0]; 527s assert (mvtcdf(a, x, rho, df), 0.294196905339283, 1e-14); 527s ***** test 527s x = [1, 2;2, 4;1, 5]; 527s rho = [1, 0.5; 0.5, 1]; 527s df = 4; 527s p =[0.790285178602166; 0.938703291727784; 0.81222737321336]; 527s assert (mvtcdf(x, rho, df), p, 1e-14); 527s ***** test 527s x = [1, 2, 2, 4, 1, 5]; 527s rho = eye (6); 527s rho(rho == 0) = 0.5; 527s df = 4; 527s assert (mvtcdf(x, rho, df), 0.6874, 1e-4); 545s ***** error mvtcdf (1) 545s ***** error mvtcdf (1, 2) 545s ***** error ... 545s mvtcdf (1, [2, 3; 3, 2], 1) 545s ***** error ... 545s mvtcdf ([2, 3, 4], ones (2), 1) 545s ***** error ... 545s mvtcdf ([1, 2, 3], [2, 3], ones (2), 1) 546s ***** error ... 546s mvtcdf ([2, 3], ones (2), [1, 2, 3]) 546s ***** error ... 546s mvtcdf ([2, 3], [1, 0.5; 0.5, 1], [1, 2, 3]) 546s 10 tests, 10 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/nctpdf.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nctpdf.m 546s ***** demo 546s ## Plot various PDFs from the noncentral T distribution 546s x = -5:0.01:10; 546s y1 = nctpdf (x, 1, 0); 546s y2 = nctpdf (x, 4, 0); 546s y3 = nctpdf (x, 1, 2); 546s y4 = nctpdf (x, 4, 2); 546s plot (x, y1, "-r", x, y2, "-g", x, y3, "-k", x, y4, "-m") 546s grid on 546s xlim ([-5, 10]) 546s ylim ([0, 0.4]) 546s legend ({"df = 1, μ = 0", "df = 4, μ = 0", ... 546s "df = 1, μ = 2", "df = 4, μ = 2"}, "location", "northeast") 546s title ("Noncentral T PDF") 546s xlabel ("values in x") 546s ylabel ("density") 546s ***** demo 546s ## Compare the noncentral T PDF with MU = 1 to the T PDF 546s ## with the same number of degrees of freedom (10). 546s 546s x = -5:0.1:5; 546s y1 = nctpdf (x, 10, 1); 546s y2 = tpdf (x, 10); 546s plot (x, y1, "-", x, y2, "-"); 546s grid on 546s xlim ([-5, 5]) 546s ylim ([0, 0.4]) 546s legend ({"Noncentral χ^2(4,2)", "χ^2(4)"}, "location", "northwest") 546s title ("Noncentral T vs T PDFs") 546s xlabel ("values in x") 546s ylabel ("density") 546s ***** shared x1, df, mu 546s x1 = [-Inf, 2, NaN, 4, Inf]; 546s df = [2, 0, -1, 1, 4]; 546s mu = [1, NaN, 3, -1, 2]; 546s ***** assert (nctpdf (x1, df, mu), [0, NaN, NaN, 0.00401787561306999, 0], 1e-14); 546s ***** assert (nctpdf (x1, df, 1), [0, NaN, NaN, 0.0482312135423008, 0], 1e-14); 546s ***** assert (nctpdf (x1, df, 3), [0, NaN, NaN, 0.1048493126401585, 0], 1e-14); 546s ***** assert (nctpdf (x1, df, 2), [0, NaN, NaN, 0.08137377919890307, 0], 1e-14); 546s ***** assert (nctpdf (x1, 3, mu), [0, NaN, NaN, 0.001185305171654381, 0], 1e-14); 546s ***** assert (nctpdf (2, df, mu), [0.1791097459405861, NaN, NaN, ... 546s 0.0146500727180389, 0.3082302682110299], 1e-14); 546s ***** assert (nctpdf (4, df, mu), [0.04467929612254971, NaN, NaN, ... 546s 0.00401787561306999, 0.0972086534042828], 1e-14); 546s ***** error nctpdf () 546s ***** error nctpdf (1) 546s ***** error nctpdf (1, 2) 546s ***** error ... 546s nctpdf (ones (3), ones (2), ones (2)) 546s ***** error ... 546s nctpdf (ones (2), ones (3), ones (2)) 546s ***** error ... 546s nctpdf (ones (2), ones (2), ones (3)) 546s ***** error nctpdf (i, 2, 2) 546s ***** error nctpdf (2, i, 2) 546s ***** error nctpdf (2, 2, i) 546s 16 tests, 16 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/nctrnd.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nctrnd.m 546s ***** assert (size (nctrnd (1, 1)), [1 1]) 546s ***** assert (size (nctrnd (1, ones (2,1))), [2, 1]) 546s ***** assert (size (nctrnd (1, ones (2,2))), [2, 2]) 546s ***** assert (size (nctrnd (ones (2,1), 1)), [2, 1]) 546s ***** assert (size (nctrnd (ones (2,2), 1)), [2, 2]) 546s ***** assert (size (nctrnd (1, 1, 3)), [3, 3]) 546s ***** assert (size (nctrnd (1, 1, [4, 1])), [4, 1]) 546s ***** assert (size (nctrnd (1, 1, 4, 1)), [4, 1]) 546s ***** assert (size (nctrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 546s ***** assert (size (nctrnd (1, 1, 0, 1)), [0, 1]) 546s ***** assert (size (nctrnd (1, 1, 1, 0)), [1, 0]) 546s ***** assert (size (nctrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 546s ***** assert (class (nctrnd (1, 1)), "double") 546s ***** assert (class (nctrnd (1, single (1))), "single") 546s ***** assert (class (nctrnd (1, single ([1, 1]))), "single") 546s ***** assert (class (nctrnd (single (1), 1)), "single") 546s ***** assert (class (nctrnd (single ([1, 1]), 1)), "single") 546s ***** error nctrnd () 546s ***** error nctrnd (1) 546s ***** error ... 546s nctrnd (ones (3), ones (2)) 546s ***** error ... 546s nctrnd (ones (2), ones (3)) 546s ***** error nctrnd (i, 2) 546s ***** error nctrnd (1, i) 546s ***** error ... 546s nctrnd (1, 2, -1) 546s ***** error ... 546s nctrnd (1, 2, 1.2) 546s ***** error ... 546s nctrnd (1, 2, ones (2)) 546s ***** error ... 546s nctrnd (1, 2, [2 -1 2]) 546s ***** error ... 546s nctrnd (1, 2, [2 0 2.5]) 546s ***** error ... 546s nctrnd (1, 2, 2, -1, 5) 546s ***** error ... 546s nctrnd (1, 2, 2, 1.5, 5) 546s ***** error ... 546s nctrnd (2, ones (2), 3) 546s ***** error ... 546s nctrnd (2, ones (2), [3, 2]) 546s ***** error ... 546s nctrnd (2, ones (2), 3, 2) 546s 33 tests, 33 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/nakarnd.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nakarnd.m 546s ***** assert (size (nakarnd (1, 1)), [1 1]) 546s ***** assert (size (nakarnd (1, ones (2,1))), [2, 1]) 546s ***** assert (size (nakarnd (1, ones (2,2))), [2, 2]) 546s ***** assert (size (nakarnd (ones (2,1), 1)), [2, 1]) 546s ***** assert (size (nakarnd (ones (2,2), 1)), [2, 2]) 546s ***** assert (size (nakarnd (1, 1, 3)), [3, 3]) 546s ***** assert (size (nakarnd (1, 1, [4, 1])), [4, 1]) 546s ***** assert (size (nakarnd (1, 1, 4, 1)), [4, 1]) 546s ***** assert (size (nakarnd (1, 1, 4, 1, 5)), [4, 1, 5]) 546s ***** assert (size (nakarnd (1, 1, 0, 1)), [0, 1]) 546s ***** assert (size (nakarnd (1, 1, 1, 0)), [1, 0]) 546s ***** assert (size (nakarnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 546s ***** assert (class (nakarnd (1, 1)), "double") 546s ***** assert (class (nakarnd (1, single (1))), "single") 546s ***** assert (class (nakarnd (1, single ([1, 1]))), "single") 546s ***** assert (class (nakarnd (single (1), 1)), "single") 546s ***** assert (class (nakarnd (single ([1, 1]), 1)), "single") 546s ***** error nakarnd () 546s ***** error nakarnd (1) 546s ***** error ... 546s nakarnd (ones (3), ones (2)) 546s ***** error ... 546s nakarnd (ones (2), ones (3)) 546s ***** error nakarnd (i, 2, 3) 546s ***** error nakarnd (1, i, 3) 546s ***** error ... 546s nakarnd (1, 2, -1) 546s ***** error ... 546s nakarnd (1, 2, 1.2) 546s ***** error ... 546s nakarnd (1, 2, ones (2)) 546s ***** error ... 546s nakarnd (1, 2, [2 -1 2]) 546s ***** error ... 546s nakarnd (1, 2, [2 0 2.5]) 546s ***** error ... 546s nakarnd (1, 2, 2, -1, 5) 546s ***** error ... 546s nakarnd (1, 2, 2, 1.5, 5) 546s ***** error ... 546s nakarnd (2, ones (2), 3) 546s ***** error ... 546s nakarnd (2, ones (2), [3, 2]) 546s ***** error ... 546s nakarnd (2, ones (2), 3, 2) 546s 33 tests, 33 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/evrnd.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/evrnd.m 546s ***** assert (size (evrnd (1, 1)), [1 1]) 546s ***** assert (size (evrnd (1, ones (2,1))), [2, 1]) 546s ***** assert (size (evrnd (1, ones (2,2))), [2, 2]) 546s ***** assert (size (evrnd (ones (2,1), 1)), [2, 1]) 546s ***** assert (size (evrnd (ones (2,2), 1)), [2, 2]) 546s ***** assert (size (evrnd (1, 1, 3)), [3, 3]) 546s ***** assert (size (evrnd (1, 1, [4, 1])), [4, 1]) 546s ***** assert (size (evrnd (1, 1, 4, 1)), [4, 1]) 546s ***** assert (size (evrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 546s ***** assert (size (evrnd (1, 1, 0, 1)), [0, 1]) 546s ***** assert (size (evrnd (1, 1, 1, 0)), [1, 0]) 546s ***** assert (size (evrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 546s ***** assert (class (evrnd (1, 1)), "double") 546s ***** assert (class (evrnd (1, single (1))), "single") 546s ***** assert (class (evrnd (1, single ([1, 1]))), "single") 546s ***** assert (class (evrnd (single (1), 1)), "single") 546s ***** assert (class (evrnd (single ([1, 1]), 1)), "single") 546s ***** error evrnd () 546s ***** error evrnd (1) 546s ***** error ... 546s evrnd (ones (3), ones (2)) 546s ***** error ... 546s evrnd (ones (2), ones (3)) 546s ***** error evrnd (i, 2, 3) 546s ***** error evrnd (1, i, 3) 546s ***** error ... 546s evrnd (1, 2, -1) 546s ***** error ... 546s evrnd (1, 2, 1.2) 546s ***** error ... 546s evrnd (1, 2, ones (2)) 546s ***** error ... 546s evrnd (1, 2, [2 -1 2]) 546s ***** error ... 546s evrnd (1, 2, [2 0 2.5]) 546s ***** error ... 546s evrnd (1, 2, 2, -1, 5) 546s ***** error ... 546s evrnd (1, 2, 2, 1.5, 5) 546s ***** error ... 546s evrnd (2, ones (2), 3) 546s ***** error ... 546s evrnd (2, ones (2), [3, 2]) 546s ***** error ... 546s evrnd (2, ones (2), 3, 2) 546s 33 tests, 33 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/nctcdf.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nctcdf.m 546s ***** demo 546s ## Plot various CDFs from the noncentral Τ distribution 546s x = -5:0.01:5; 546s p1 = nctcdf (x, 1, 0); 546s p2 = nctcdf (x, 4, 0); 546s p3 = nctcdf (x, 1, 2); 546s p4 = nctcdf (x, 4, 2); 546s plot (x, p1, "-r", x, p2, "-g", x, p3, "-k", x, p4, "-m") 546s grid on 546s xlim ([-5, 5]) 546s legend ({"df = 1, μ = 0", "df = 4, μ = 0", ... 546s "df = 1, μ = 2", "df = 4, μ = 2"}, "location", "southeast") 546s title ("Noncentral Τ CDF") 546s xlabel ("values in x") 546s ylabel ("probability") 546s ***** demo 546s ## Compare the noncentral T CDF with MU = 1 to the T CDF 546s ## with the same number of degrees of freedom (10). 546s 546s x = -5:0.1:5; 546s p1 = nctcdf (x, 10, 1); 546s p2 = tcdf (x, 10); 546s plot (x, p1, "-", x, p2, "-") 546s grid on 546s xlim ([-5, 5]) 546s legend ({"Noncentral T(10,1)", "T(10)"}, "location", "southeast") 546s title ("Noncentral T vs T CDFs") 546s xlabel ("values in x") 546s ylabel ("probability") 546s ***** test 546s x = -2:0.1:2; 546s p = nctcdf (x, 10, 1); 546s assert (p(1), 0.003302485766631558, 1e-14); 546s assert (p(2), 0.004084668193532631, 1e-14); 546s assert (p(3), 0.005052800319478737, 1e-14); 546s assert (p(41), 0.8076115625303751, 1e-14); 546s ***** test 546s p = nctcdf (12, 10, 3); 546s assert (p, 0.9997719343243797, 1e-14); 546s ***** test 546s p = nctcdf (2, 3, 2); 546s assert (p, 0.4430757822176028, 1e-14); 546s ***** test 546s p = nctcdf (2, 3, 2, "upper"); 546s assert (p, 0.5569242177823971, 1e-14); 546s ***** test 546s p = nctcdf ([3, 6], 3, 2, "upper"); 546s assert (p, [0.3199728259444777, 0.07064855592441913], 1e-14); 546s ***** error nctcdf () 546s ***** error nctcdf (1) 546s ***** error nctcdf (1, 2) 546s ***** error nctcdf (1, 2, 3, "tail") 546s ***** error nctcdf (1, 2, 3, 4) 546s ***** error ... 546s nctcdf (ones (3), ones (2), ones (2)) 546s ***** error ... 546s nctcdf (ones (2), ones (3), ones (2)) 546s ***** error ... 546s nctcdf (ones (2), ones (2), ones (3)) 546s ***** error nctcdf (i, 2, 2) 546s ***** error nctcdf (2, i, 2) 546s ***** error nctcdf (2, 2, i) 546s 16 tests, 16 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/bisainv.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bisainv.m 546s ***** demo 546s ## Plot various iCDFs from the Birnbaum-Saunders distribution 546s p = 0.001:0.001:0.999; 546s x1 = bisainv (p, 1, 0.5); 546s x2 = bisainv (p, 1, 1); 546s x3 = bisainv (p, 1, 2); 546s x4 = bisainv (p, 1, 5); 546s x5 = bisainv (p, 1, 10); 546s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 546s grid on 546s ylim ([0, 10]) 546s legend ({"β = 1, γ = 0.5", "β = 1, γ = 1", "β = 1, γ = 2", ... 546s "β = 1, γ = 5", "β = 1, γ = 10"}, "location", "northwest") 546s title ("Birnbaum-Saunders iCDF") 546s xlabel ("probability") 546s ylabel ("values in x") 546s ***** demo 546s ## Plot various iCDFs from the Birnbaum-Saunders distribution 546s p = 0.001:0.001:0.999; 546s x1 = bisainv (p, 1, 0.3); 546s x2 = bisainv (p, 2, 0.3); 546s x3 = bisainv (p, 1, 0.5); 546s x4 = bisainv (p, 3, 0.5); 546s x5 = bisainv (p, 5, 0.5); 546s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 546s grid on 546s ylim ([0, 10]) 546s legend ({"β = 1, γ = 0.3", "β = 2, γ = 0.3", "β = 1, γ = 0.5", ... 546s "β = 3, γ = 0.5", "β = 5, γ = 0.5"}, "location", "northwest") 546s title ("Birnbaum-Saunders iCDF") 546s xlabel ("probability") 546s ylabel ("values in x") 546s ***** shared p, y, f 546s f = @(p,b,c) (b * (c * norminv (p) + sqrt (4 + (c * norminv(p))^2))^2) / 4; 546s p = [-1, 0, 1/4, 1/2, 1, 2]; 546s y = [NaN, 0, f(1/4, 1, 1), 1, Inf, NaN]; 546s ***** assert (bisainv (p, ones (1,6), ones (1,6)), y) 546s ***** assert (bisainv (p, 1, ones (1,6)), y) 546s ***** assert (bisainv (p, ones (1,6), 1), y) 546s ***** assert (bisainv (p, 1, 1), y) 546s ***** assert (bisainv (p, 1, [1, 1, 1, NaN, 1, 1]), [y(1:3), NaN, y(5:6)]) 546s ***** assert (bisainv (p, [1, 1, 1, NaN, 1, 1], 1), [y(1:3), NaN, y(5:6)]) 546s ***** assert (bisainv ([p, NaN], 1, 1), [y, NaN]) 546s ***** assert (bisainv (single ([p, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 546s ***** assert (bisainv ([p, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 546s ***** assert (bisainv ([p, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 546s ***** error bisainv () 546s ***** error bisainv (1) 546s ***** error bisainv (1, 2) 546s ***** error bisainv (1, 2, 3, 4) 546s ***** error ... 546s bisainv (ones (3), ones (2), ones(2)) 546s ***** error ... 546s bisainv (ones (2), ones (3), ones(2)) 546s ***** error ... 546s bisainv (ones (2), ones (2), ones(3)) 546s ***** error bisainv (i, 4, 3) 546s ***** error bisainv (1, i, 3) 546s ***** error bisainv (1, 4, i) 546s 20 tests, 20 passed, 0 known failure, 0 skipped 546s [inst/dist_fun/ncfinv.m] 546s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncfinv.m 546s ***** demo 546s ## Plot various iCDFs from the noncentral F distribution 546s p = 0.001:0.001:0.999; 546s x1 = ncfinv (p, 2, 5, 1); 546s x2 = ncfinv (p, 2, 5, 2); 546s x3 = ncfinv (p, 5, 10, 1); 546s x4 = ncfinv (p, 10, 20, 10); 546s plot (p, x1, "-r", p, x2, "-g", p, x3, "-k", p, x4, "-m") 546s grid on 546s ylim ([0, 5]) 546s legend ({"df1 = 2, df2 = 5, λ = 1", "df1 = 2, df2 = 5, λ = 2", ... 546s "df1 = 5, df2 = 10, λ = 1", "df1 = 10, df2 = 20, λ = 10"}, ... 546s "location", "northwest") 546s title ("Noncentral F iCDF") 546s xlabel ("probability") 546s ylabel ("values in x") 546s ***** demo 546s ## Compare the noncentral F iCDF with LAMBDA = 10 to the F iCDF with the 546s ## same number of numerator and denominator degrees of freedom (5, 20) 546s 546s p = 0.001:0.001:0.999; 546s x1 = ncfinv (p, 5, 20, 10); 546s x2 = finv (p, 5, 20); 546s plot (p, x1, "-", p, x2, "-"); 546s grid on 546s ylim ([0, 10]) 546s legend ({"Noncentral F(5,20,10)", "F(5,20)"}, "location", "northwest") 546s title ("Noncentral F vs F quantile functions") 546s xlabel ("probability") 546s ylabel ("values in x") 546s ***** test 546s x = [0,0.1775,0.3864,0.6395,0.9564,1.3712,1.9471,2.8215,4.3679,8.1865,Inf]; 546s assert (ncfinv ([0:0.1:1], 2, 3, 1), x, 1e-4); 547s ***** test 547s x = [0,0.7492,1.3539,2.0025,2.7658,3.7278,5.0324,6.9826,10.3955,18.7665,Inf]; 547s assert (ncfinv ([0:0.1:1], 2, 3, 5), x, 1e-4); 547s ***** test 547s x = [0,0.2890,0.8632,1.5653,2.4088,3.4594,4.8442,6.8286,10.0983,17.3736,Inf]; 547s assert (ncfinv ([0:0.1:1], 1, 4, 3), x, 1e-4); 547s ***** test 547s x = [0.078410, 0.212716, 0.288618, 0.335752, 0.367963, 0.391460]; 547s assert (ncfinv (0.05, [1, 2, 3, 4, 5, 6], 10, 3), x, 1e-6); 547s ***** test 547s x = [0.2574, 0.2966, 0.3188, 0.3331, 0.3432, 0.3507]; 547s assert (ncfinv (0.05, 5, [1, 2, 3, 4, 5, 6], 3), x, 1e-4); 547s ***** test 547s x = [1.6090, 1.8113, 1.9215, 1.9911, NaN, 2.0742]; 547s assert (ncfinv (0.05, 1, [1, 2, 3, 4, -1, 6], 10), x, 1e-4); 547s ***** test 547s assert (ncfinv (0.996, 3, 5, 8), 58.0912074080671, 2e-13); 547s ***** error ncfinv () 547s ***** error ncfinv (1) 547s ***** error ncfinv (1, 2) 547s ***** error ncfinv (1, 2, 3) 547s ***** error ... 547s ncfinv (ones (3), ones (2), ones (2), ones (2)) 547s ***** error ... 547s ncfinv (ones (2), ones (3), ones (2), ones (2)) 547s ***** error ... 547s ncfinv (ones (2), ones (2), ones (3), ones (2)) 547s ***** error ... 547s ncfinv (ones (2), ones (2), ones (2), ones (3)) 547s ***** error ncfinv (i, 2, 2, 2) 547s ***** error ncfinv (2, i, 2, 2) 547s ***** error ncfinv (2, 2, i, 2) 547s ***** error ncfinv (2, 2, 2, i) 547s 19 tests, 19 passed, 0 known failure, 0 skipped 547s [inst/dist_fun/nctinv.m] 547s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nctinv.m 547s ***** demo 547s ## Plot various iCDFs from the noncentral T distribution 547s p = 0.001:0.001:0.999; 547s x1 = nctinv (p, 1, 0); 547s x2 = nctinv (p, 4, 0); 547s x3 = nctinv (p, 1, 2); 547s x4 = nctinv (p, 4, 2); 547s plot (p, x1, "-r", p, x2, "-g", p, x3, "-k", p, x4, "-m") 547s grid on 547s ylim ([-5, 5]) 547s legend ({"df = 1, μ = 0", "df = 4, μ = 0", ... 547s "df = 1, μ = 2", "df = 4, μ = 2"}, "location", "northwest") 547s title ("Noncentral T iCDF") 547s xlabel ("probability") 547s ylabel ("values in x") 547s ***** demo 547s ## Compare the noncentral T iCDF with MU = 1 to the T iCDF 547s ## with the same number of degrees of freedom (10). 547s 547s p = 0.001:0.001:0.999; 547s x1 = nctinv (p, 10, 1); 547s x2 = tinv (p, 10); 547s plot (p, x1, "-", p, x2, "-"); 547s grid on 547s ylim ([-5, 5]) 547s legend ({"Noncentral T(10,1)", "T(10)"}, "location", "northwest") 547s title ("Noncentral T vs T quantile functions") 547s xlabel ("probability") 547s ylabel ("values in x") 547s ***** test 547s x = [-Inf,-0.3347,0.1756,0.5209,0.8279,1.1424,1.5021,1.9633,2.6571,4.0845,Inf]; 547s assert (nctinv ([0:0.1:1], 2, 1), x, 1e-4); 548s ***** test 548s x = [-Inf,1.5756,2.0827,2.5343,3.0043,3.5406,4.2050,5.1128,6.5510,9.6442,Inf]; 548s assert (nctinv ([0:0.1:1], 2, 3), x, 1e-4); 549s ***** test 549s x = [-Inf,2.2167,2.9567,3.7276,4.6464,5.8455,7.5619,10.3327,15.7569,31.8159,Inf]; 549s assert (nctinv ([0:0.1:1], 1, 4), x, 1e-4); 550s ***** test 550s x = [1.7791 1.9368 2.0239 2.0801 2.1195 2.1489]; 550s assert (nctinv (0.05, [1, 2, 3, 4, 5, 6], 4), x, 1e-4); 550s ***** test 550s x = [-0.7755, 0.3670, 1.2554, 2.0239, 2.7348, 3.4154]; 550s assert (nctinv (0.05, 3, [1, 2, 3, 4, 5, 6]), x, 1e-4); 551s ***** test 551s x = [-0.7183, 0.3624, 1.2878, 2.1195, -3.5413, 3.6430]; 551s assert (nctinv (0.05, 5, [1, 2, 3, 4, -1, 6]), x, 1e-4); 553s ***** test 553s assert (nctinv (0.996, 5, 8), 30.02610554063658, 2e-11); 555s ***** error nctinv () 555s ***** error nctinv (1) 555s ***** error nctinv (1, 2) 555s ***** error ... 555s nctinv (ones (3), ones (2), ones (2)) 555s ***** error ... 555s nctinv (ones (2), ones (3), ones (2)) 555s ***** error ... 555s nctinv (ones (2), ones (2), ones (3)) 555s ***** error nctinv (i, 2, 2) 555s ***** error nctinv (2, i, 2) 555s ***** error nctinv (2, 2, i) 555s 16 tests, 16 passed, 0 known failure, 0 skipped 555s [inst/dist_fun/gprnd.m] 555s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gprnd.m 555s ***** assert (size (gprnd (0, 1, 0)), [1, 1]) 555s ***** assert (size (gprnd (0, 1, zeros (2,1))), [2, 1]) 555s ***** assert (size (gprnd (0, 1, zeros (2,2))), [2, 2]) 555s ***** assert (size (gprnd (0, ones (2,1), 0)), [2, 1]) 555s ***** assert (size (gprnd (0, ones (2,2), 0)), [2, 2]) 555s ***** assert (size (gprnd (zeros (2,1), 1, 0)), [2, 1]) 555s ***** assert (size (gprnd (zeros (2,2), 1, 0)), [2, 2]) 555s ***** assert (size (gprnd (0, 1, 0, 3)), [3, 3]) 555s ***** assert (size (gprnd (0, 1, 0, [4 1])), [4, 1]) 555s ***** assert (size (gprnd (0, 1, 0, 4, 1)), [4, 1]) 555s ***** assert (size (gprnd (1,1,0)), [1, 1]) 555s ***** assert (size (gprnd (1, 1, zeros (2,1))), [2, 1]) 555s ***** assert (size (gprnd (1, 1, zeros (2,2))), [2, 2]) 555s ***** assert (size (gprnd (1, ones (2,1), 0)), [2, 1]) 555s ***** assert (size (gprnd (1, ones (2,2), 0)), [2, 2]) 555s ***** assert (size (gprnd (ones (2,1), 1, 0)), [2, 1]) 555s ***** assert (size (gprnd (ones (2,2), 1, 0)), [2, 2]) 555s ***** assert (size (gprnd (1, 1, 0, 3)), [3, 3]) 555s ***** assert (size (gprnd (1, 1, 0, [4 1])), [4, 1]) 555s ***** assert (size (gprnd (1, 1, 0, 4, 1)), [4, 1]) 555s ***** assert (size (gprnd (-1, 1, 0)), [1, 1]) 555s ***** assert (size (gprnd (-1, 1, zeros (2,1))), [2, 1]) 555s ***** assert (size (gprnd (1, -1, zeros (2,2))), [2, 2]) 555s ***** assert (size (gprnd (-1, ones (2,1), 0)), [2, 1]) 555s ***** assert (size (gprnd (-1, ones (2,2), 0)), [2, 2]) 555s ***** assert (size (gprnd (-ones (2,1), 1, 0)), [2, 1]) 555s ***** assert (size (gprnd (-ones (2,2), 1, 0)), [2, 2]) 555s ***** assert (size (gprnd (-1, 1, 0, 3)), [3, 3]) 555s ***** assert (size (gprnd (-1, 1, 0, [4, 1])), [4, 1]) 555s ***** assert (size (gprnd (-1, 1, 0, 4, 1)), [4, 1]) 555s ***** assert (class (gprnd (0, 1, 0)), "double") 555s ***** assert (class (gprnd (0, 1, single (0))), "single") 555s ***** assert (class (gprnd (0, 1, single ([0, 0]))), "single") 555s ***** assert (class (gprnd (0, single (1),0)), "single") 555s ***** assert (class (gprnd (0, single ([1, 1]),0)), "single") 555s ***** assert (class (gprnd (single (0), 1, 0)), "single") 555s ***** assert (class (gprnd (single ([0, 0]), 1, 0)), "single") 555s ***** error gprnd () 555s ***** error gprnd (1) 555s ***** error gprnd (1, 2) 555s ***** error ... 555s gprnd (ones (3), ones (2), ones (2)) 555s ***** error ... 555s gprnd (ones (2), ones (3), ones (2)) 555s ***** error ... 555s gprnd (ones (2), ones (2), ones (3)) 555s ***** error gprnd (i, 2, 3) 555s ***** error gprnd (1, i, 3) 555s ***** error gprnd (1, 2, i) 555s ***** error ... 555s gprnd (1, 2, 3, -1) 555s ***** error ... 555s gprnd (1, 2, 3, 1.2) 555s ***** error ... 555s gprnd (1, 2, 3, ones (2)) 555s ***** error ... 555s gprnd (1, 2, 3, [2 -1 2]) 555s ***** error ... 555s gprnd (1, 2, 3, [2 0 2.5]) 555s ***** error ... 555s gprnd (1, 2, 3, 2, -1, 5) 555s ***** error ... 555s gprnd (1, 2, 3, 2, 1.5, 5) 555s ***** error ... 555s gprnd (2, ones (2), 2, 3) 555s ***** error ... 555s gprnd (2, ones (2), 2, [3, 2]) 555s ***** error ... 555s gprnd (2, ones (2), 2, 3, 2) 555s 56 tests, 56 passed, 0 known failure, 0 skipped 555s [inst/dist_fun/hygepdf.m] 555s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hygepdf.m 555s ***** demo 555s ## Plot various PDFs from the hypergeometric distribution 555s x = 0:60; 555s y1 = hygepdf (x, 500, 50, 100); 555s y2 = hygepdf (x, 500, 60, 200); 555s y3 = hygepdf (x, 500, 70, 300); 555s plot (x, y1, "*b", x, y2, "*g", x, y3, "*r") 555s grid on 555s xlim ([0, 60]) 555s ylim ([0, 0.18]) 555s legend ({"t = 500, m = 50, μ = 100", "t = 500, m = 60, μ = 200", ... 555s "t = 500, m = 70, μ = 300"}, "location", "northeast") 555s title ("Hypergeometric PDF") 555s xlabel ("values in x (number of successes)") 555s ylabel ("density") 555s ***** shared x, y 555s x = [-1 0 1 2 3]; 555s y = [0 1/6 4/6 1/6 0]; 555s ***** assert (hygepdf (x, 4*ones (1,5), 2, 2), y, eps) 555s ***** assert (hygepdf (x, 4, 2*ones (1,5), 2), y, eps) 555s ***** assert (hygepdf (x, 4, 2, 2*ones (1,5)), y, eps) 555s ***** assert (hygepdf (x, 4*[1 -1 NaN 1.1 1], 2, 2), [0 NaN NaN NaN 0], eps) 555s ***** assert (hygepdf (x, 4, 2*[1 -1 NaN 1.1 1], 2), [0 NaN NaN NaN 0], eps) 555s ***** assert (hygepdf (x, 4, 5, 2), [NaN NaN NaN NaN NaN], eps) 555s ***** assert (hygepdf (x, 4, 2, 2*[1 -1 NaN 1.1 1]), [0 NaN NaN NaN 0], eps) 555s ***** assert (hygepdf (x, 4, 2, 5), [NaN NaN NaN NaN NaN], eps) 555s ***** assert (hygepdf ([x, NaN], 4, 2, 2), [y, NaN], eps) 555s ***** assert (hygepdf (single ([x, NaN]), 4, 2, 2), single ([y, NaN]), eps("single")) 555s ***** assert (hygepdf ([x, NaN], single (4), 2, 2), single ([y, NaN]), eps("single")) 555s ***** assert (hygepdf ([x, NaN], 4, single (2), 2), single ([y, NaN]), eps("single")) 555s ***** assert (hygepdf ([x, NaN], 4, 2, single (2)), single ([y, NaN]), eps("single")) 555s ***** test 555s z = zeros(3,5); 555s z([4,5,6,8,9,12]) = [1, 0.5, 1/6, 0.5, 2/3, 1/6]; 555s assert (hygepdf (x, 4, [0, 1, 2], 2, "vectorexpand"), z, eps); 555s assert (hygepdf (x, 4, [0, 1, 2]', 2, "vectorexpand"), z, eps); 555s assert (hygepdf (x', 4, [0, 1, 2], 2, "vectorexpand"), z, eps); 555s assert (hygepdf (2, 4, [0 ,1, 2], 2, "vectorexpand"), z(:,4), eps); 555s assert (hygepdf (x, 4, 1, 2, "vectorexpand"), z(2,:), eps); 555s assert (hygepdf ([NaN, x], 4, [0 1 2]', 2, "vectorexpand"), [NaN(3,1), z], eps); 555s ***** error hygepdf () 555s ***** error hygepdf (1) 555s ***** error hygepdf (1,2) 555s ***** error hygepdf (1,2,3) 555s ***** error ... 555s hygepdf (1, ones (3), ones (2), ones (2)) 555s ***** error ... 555s hygepdf (1, ones (2), ones (3), ones (2)) 555s ***** error ... 555s hygepdf (1, ones (2), ones (2), ones (3)) 555s ***** error hygepdf (i, 2, 2, 2) 555s ***** error hygepdf (2, i, 2, 2) 555s ***** error hygepdf (2, 2, i, 2) 555s ***** error hygepdf (2, 2, 2, i) 555s 25 tests, 25 passed, 0 known failure, 0 skipped 555s [inst/dist_fun/mvnrnd.m] 555s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvnrnd.m 555s ***** error mvnrnd () 555s ***** error mvnrnd ([2, 3, 4]) 555s ***** error mvnrnd (ones (2, 2, 2), ones (1, 2, 3, 4)) 555s ***** error mvnrnd (ones (1, 3), ones (1, 2, 3, 4)) 555s ***** assert (size (mvnrnd ([2, 3, 4], [2, 2, 2])), [1, 3]) 555s ***** assert (size (mvnrnd ([2, 3, 4], [2, 2, 2], 10)), [10, 3]) 555s 6 tests, 6 passed, 0 known failure, 0 skipped 555s [inst/dist_fun/unifcdf.m] 555s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unifcdf.m 555s ***** demo 555s ## Plot various CDFs from the continuous uniform distribution 555s x = 0:0.1:10; 555s p1 = unifcdf (x, 2, 5); 555s p2 = unifcdf (x, 3, 9); 555s plot (x, p1, "-b", x, p2, "-g") 555s grid on 555s xlim ([0, 10]) 555s ylim ([0, 1]) 555s legend ({"a = 2, b = 5", "a = 3, b = 9"}, "location", "southeast") 555s title ("Continuous uniform CDF") 555s xlabel ("values in x") 555s ylabel ("probability") 555s ***** shared x, y 555s x = [-1 0 0.5 1 2] + 1; 555s y = [0 0 0.5 1 1]; 555s ***** assert (unifcdf (x, ones (1,5), 2*ones (1,5)), y) 555s ***** assert (unifcdf (x, ones (1,5), 2*ones (1,5), "upper"), 1 - y) 555s ***** assert (unifcdf (x, 1, 2*ones (1,5)), y) 555s ***** assert (unifcdf (x, 1, 2*ones (1,5), "upper"), 1 - y) 555s ***** assert (unifcdf (x, ones (1,5), 2), y) 555s ***** assert (unifcdf (x, ones (1,5), 2, "upper"), 1 - y) 555s ***** assert (unifcdf (x, [2 1 NaN 1 1], 2), [NaN 0 NaN 1 1]) 555s ***** assert (unifcdf (x, [2 1 NaN 1 1], 2, "upper"), 1 - [NaN 0 NaN 1 1]) 555s ***** assert (unifcdf (x, 1, 2*[0 1 NaN 1 1]), [NaN 0 NaN 1 1]) 555s ***** assert (unifcdf (x, 1, 2*[0 1 NaN 1 1], "upper"), 1 - [NaN 0 NaN 1 1]) 555s ***** assert (unifcdf ([x(1:2) NaN x(4:5)], 1, 2), [y(1:2) NaN y(4:5)]) 555s ***** assert (unifcdf ([x(1:2) NaN x(4:5)], 1, 2, "upper"), 1 - [y(1:2) NaN y(4:5)]) 555s ***** assert (unifcdf ([x, NaN], 1, 2), [y, NaN]) 555s ***** assert (unifcdf (single ([x, NaN]), 1, 2), single ([y, NaN])) 555s ***** assert (unifcdf ([x, NaN], single (1), 2), single ([y, NaN])) 555s ***** assert (unifcdf ([x, NaN], 1, single (2)), single ([y, NaN])) 555s ***** error unifcdf () 555s ***** error unifcdf (1) 555s ***** error unifcdf (1, 2) 555s ***** error unifcdf (1, 2, 3, 4) 555s ***** error unifcdf (1, 2, 3, "tail") 555s ***** error ... 555s unifcdf (ones (3), ones (2), ones (2)) 555s ***** error ... 555s unifcdf (ones (2), ones (3), ones (2)) 555s ***** error ... 555s unifcdf (ones (2), ones (2), ones (3)) 555s ***** error unifcdf (i, 2, 2) 555s ***** error unifcdf (2, i, 2) 555s ***** error unifcdf (2, 2, i) 555s 27 tests, 27 passed, 0 known failure, 0 skipped 555s [inst/dist_fun/ncx2rnd.m] 555s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncx2rnd.m 555s ***** assert (size (ncx2rnd (1, 1)), [1 1]) 555s ***** assert (size (ncx2rnd (1, ones (2,1))), [2, 1]) 555s ***** assert (size (ncx2rnd (1, ones (2,2))), [2, 2]) 555s ***** assert (size (ncx2rnd (ones (2,1), 1)), [2, 1]) 555s ***** assert (size (ncx2rnd (ones (2,2), 1)), [2, 2]) 555s ***** assert (size (ncx2rnd (1, 1, 3)), [3, 3]) 555s ***** assert (size (ncx2rnd (1, 1, [4, 1])), [4, 1]) 555s ***** assert (size (ncx2rnd (1, 1, 4, 1)), [4, 1]) 555s ***** assert (size (ncx2rnd (1, 1, 4, 1, 5)), [4, 1, 5]) 555s ***** assert (size (ncx2rnd (1, 1, 0, 1)), [0, 1]) 555s ***** assert (size (ncx2rnd (1, 1, 1, 0)), [1, 0]) 555s ***** assert (size (ncx2rnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 555s ***** assert (class (ncx2rnd (1, 1)), "double") 555s ***** assert (class (ncx2rnd (1, single (1))), "single") 555s ***** assert (class (ncx2rnd (1, single ([1, 1]))), "single") 555s ***** assert (class (ncx2rnd (single (1), 1)), "single") 555s ***** assert (class (ncx2rnd (single ([1, 1]), 1)), "single") 555s ***** error ncx2rnd () 555s ***** error ncx2rnd (1) 555s ***** error ... 555s ncx2rnd (ones (3), ones (2)) 555s ***** error ... 555s ncx2rnd (ones (2), ones (3)) 555s ***** error ncx2rnd (i, 2) 555s ***** error ncx2rnd (1, i) 555s ***** error ... 555s ncx2rnd (1, 2, -1) 555s ***** error ... 555s ncx2rnd (1, 2, 1.2) 555s ***** error ... 555s ncx2rnd (1, 2, ones (2)) 555s ***** error ... 555s ncx2rnd (1, 2, [2 -1 2]) 555s ***** error ... 555s ncx2rnd (1, 2, [2 0 2.5]) 555s ***** error ... 555s ncx2rnd (1, 2, 2, -1, 5) 555s ***** error ... 555s ncx2rnd (1, 2, 2, 1.5, 5) 555s ***** error ... 555s ncx2rnd (2, ones (2), 3) 556s ***** error ... 556s ncx2rnd (2, ones (2), [3, 2]) 556s ***** error ... 556s ncx2rnd (2, ones (2), 3, 2) 556s 33 tests, 33 passed, 0 known failure, 0 skipped 556s [inst/dist_fun/trirnd.m] 556s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/trirnd.m 556s ***** assert (size (trirnd (1,2,1.5)), [1, 1]) 556s ***** assert (size (trirnd (1*ones (2,1), 2,1.5)), [2, 1]) 556s ***** assert (size (trirnd (1*ones (2,2), 2,1.5)), [2, 2]) 556s ***** assert (size (trirnd (1, 2*ones (2,1), 1.5)), [2, 1]) 556s ***** assert (size (trirnd (1, 2*ones (2,2), 1.5)), [2, 2]) 556s ***** assert (size (trirnd (1, 2, 1.5*ones (2,1))), [2, 1]) 556s ***** assert (size (trirnd (1, 2, 1.5*ones (2,2))), [2, 2]) 556s ***** assert (size (trirnd (1, 2, 1.5, 3)), [3, 3]) 556s ***** assert (size (trirnd (1, 2, 1.5, [4 1])), [4, 1]) 556s ***** assert (size (trirnd (1, 2, 1.5, 4, 1)), [4, 1]) 556s ***** assert (class (trirnd (1,2,1.5)), "double") 556s ***** assert (class (trirnd (single (1),2,1.5)), "single") 556s ***** assert (class (trirnd (single ([1 1]),2,1.5)), "single") 556s ***** assert (class (trirnd (1,single (2),1.5)), "single") 556s ***** assert (class (trirnd (1,single ([2 2]),1.5)), "single") 556s ***** assert (class (trirnd (1,2,single (1.5))), "single") 556s ***** assert (class (trirnd (1,2,single ([1.5 1.5]))), "single") 556s ***** error trirnd () 556s ***** error trirnd (1) 556s ***** error trirnd (1, 2) 556s ***** error ... 556s trirnd (ones (3), 5 * ones (2), ones (2)) 556s ***** error ... 556s trirnd (ones (2), 5 * ones (3), ones (2)) 556s ***** error ... 556s trirnd (ones (2), 5 * ones (2), ones (3)) 556s ***** error trirnd (i, 5, 3) 556s ***** error trirnd (1, 5+i, 3) 556s ***** error trirnd (1, 5, i) 556s ***** error ... 556s trirnd (1, 5, 3, -1) 556s ***** error ... 556s trirnd (1, 5, 3, 1.2) 556s ***** error ... 556s trirnd (1, 5, 3, ones (2)) 556s ***** error ... 556s trirnd (1, 5, 3, [2 -1 2]) 556s ***** error ... 556s trirnd (1, 5, 3, [2 0 2.5]) 556s ***** error ... 556s trirnd (1, 5, 3, 2, -1, 5) 556s ***** error ... 556s trirnd (1, 5, 3, 2, 1.5, 5) 556s ***** error ... 556s trirnd (2, 5 * ones (2), 2, 3) 556s ***** error ... 556s trirnd (2, 5 * ones (2), 2, [3, 2]) 556s ***** error ... 556s trirnd (2, 5 * ones (2), 2, 3, 2) 556s 36 tests, 36 passed, 0 known failure, 0 skipped 556s [inst/dist_fun/burrpdf.m] 556s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/burrpdf.m 556s ***** demo 556s ## Plot various PDFs from the Burr type XII distribution 556s x = 0.001:0.001:3; 556s y1 = burrpdf (x, 1, 1, 1); 556s y2 = burrpdf (x, 1, 1, 2); 556s y3 = burrpdf (x, 1, 1, 3); 556s y4 = burrpdf (x, 1, 2, 1); 556s y5 = burrpdf (x, 1, 3, 1); 556s y6 = burrpdf (x, 1, 0.5, 2); 556s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", ... 556s x, y4, "-c", x, y5, "-m", x, y6, "-k") 556s grid on 556s ylim ([0, 2]) 556s legend ({"λ = 1, c = 1, k = 1", "λ = 1, c = 1, k = 2", ... 556s "λ = 1, c = 1, k = 3", "λ = 1, c = 2, k = 1", ... 556s "λ = 1, c = 3, k = 1", "λ = 1, c = 0.5, k = 2"}, ... 556s "location", "northeast") 556s title ("Burr type XII PDF") 556s xlabel ("values in x") 556s ylabel ("density") 556s ***** shared x, y 556s x = [-1, 0, 1, 2, Inf]; 556s y = [0, 0, 1/4, 1/9, 0]; 556s ***** assert (burrpdf (x, ones(1,5), ones (1,5), ones (1,5)), y) 556s ***** assert (burrpdf (x, 1, 1, 1), y) 556s ***** assert (burrpdf (x, [1, 1, NaN, 1, 1], 1, 1), [y(1:2), NaN, y(4:5)]) 556s ***** assert (burrpdf (x, 1, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)]) 556s ***** assert (burrpdf (x, 1, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)]) 556s ***** assert (burrpdf ([x, NaN], 1, 1, 1), [y, NaN]) 556s ***** assert (burrpdf (single ([x, NaN]), 1, 1, 1), single ([y, NaN])) 556s ***** assert (burrpdf ([x, NaN], single (1), 1, 1), single ([y, NaN])) 556s ***** assert (burrpdf ([x, NaN], 1, single (1), 1), single ([y, NaN])) 556s ***** assert (burrpdf ([x, NaN], 1, 1, single (1)), single ([y, NaN])) 556s ***** error burrpdf () 556s ***** error burrpdf (1) 556s ***** error burrpdf (1, 2) 556s ***** error burrpdf (1, 2, 3) 556s ***** error ... 556s burrpdf (1, 2, 3, 4, 5) 556s ***** error ... 556s burrpdf (ones (3), ones (2), ones(2), ones(2)) 556s ***** error ... 556s burrpdf (ones (2), ones (3), ones(2), ones(2)) 556s ***** error ... 556s burrpdf (ones (2), ones (2), ones(3), ones(2)) 556s ***** error ... 556s burrpdf (ones (2), ones (2), ones(2), ones(3)) 556s ***** error burrpdf (i, 2, 3, 4) 556s ***** error burrpdf (1, i, 3, 4) 556s ***** error burrpdf (1, 2, i, 4) 556s ***** error burrpdf (1, 2, 3, i) 556s 23 tests, 23 passed, 0 known failure, 0 skipped 556s [inst/dist_fun/iwishrnd.m] 556s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/iwishrnd.m 556s ***** assert(size (iwishrnd (1,2,1)), [1, 1]); 556s ***** assert(size (iwishrnd ([],2,1)), [1, 1]); 556s ***** assert(size (iwishrnd ([3 1; 1 3], 2.00001, [], 1)), [2, 2]); 556s ***** assert(size (iwishrnd (eye(2), 2, [], 3)), [2, 2, 3]); 556s ***** error iwishrnd () 556s ***** error iwishrnd (1) 556s ***** error iwishrnd ([-3 1; 1 3],1) 556s ***** error iwishrnd ([1; 1],1) 556s 8 tests, 8 passed, 0 known failure, 0 skipped 556s [inst/dist_fun/gppdf.m] 556s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gppdf.m 556s ***** demo 556s ## Plot various PDFs from the generalized Pareto distribution 556s x = 0:0.001:5; 556s y1 = gppdf (x, 1, 1, 0); 556s y2 = gppdf (x, 5, 1, 0); 556s y3 = gppdf (x, 20, 1, 0); 556s y4 = gppdf (x, 1, 2, 0); 556s y5 = gppdf (x, 5, 2, 0); 556s y6 = gppdf (x, 20, 2, 0); 556s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", ... 556s x, y4, "-c", x, y5, "-m", x, y6, "-k") 556s grid on 556s xlim ([0, 5]) 556s ylim ([0, 1]) 556s legend ({"ξ = 1, σ = 1, μ = 0", "ξ = 5, σ = 1, μ = 0", ... 556s "ξ = 20, σ = 1, μ = 0", "ξ = 1, σ = 2, μ = 0", ... 556s "ξ = 5, σ = 2, μ = 0", "ξ = 20, σ = 2, μ = 0"}, ... 556s "location", "northeast") 556s title ("Generalized Pareto PDF") 556s xlabel ("values in x") 556s ylabel ("density") 556s ***** shared x, y1, y2, y3 556s x = [-Inf, -1, 0, 1/2, 1, Inf]; 556s y1 = [0, 0, 1, 0.6065306597126334, 0.36787944117144233, 0]; 556s y2 = [0, 0, 1, 4/9, 1/4, 0]; 556s y3 = [0, 0, 1, 1, 1, 0]; 556s ***** assert (gppdf (x, zeros (1,6), ones (1,6), zeros (1,6)), y1, eps) 556s ***** assert (gppdf (x, 0, 1, zeros (1,6)), y1, eps) 556s ***** assert (gppdf (x, 0, ones (1,6), 0), y1, eps) 556s ***** assert (gppdf (x, zeros (1,6), 1, 0), y1, eps) 556s ***** assert (gppdf (x, 0, 1, 0), y1, eps) 556s ***** assert (gppdf (x, 0, 1, [0, 0, 0, NaN, 0, 0]), [y1(1:3), NaN, y1(5:6)]) 556s ***** assert (gppdf (x, 0, [1, 1, 1, NaN, 1, 1], 0), [y1(1:3), NaN, y1(5:6)]) 556s ***** assert (gppdf (x, [0, 0, 0, NaN, 0, 0], 1, 0), [y1(1:3), NaN, y1(5:6)]) 556s ***** assert (gppdf ([x(1:3), NaN, x(5:6)], 0, 1, 0), [y1(1:3), NaN, y1(5:6)]) 556s ***** assert (gppdf (x, ones (1,6), ones (1,6), zeros (1,6)), y2, eps) 556s ***** assert (gppdf (x, 1, 1, zeros (1,6)), y2, eps) 556s ***** assert (gppdf (x, 1, ones (1,6), 0), y2, eps) 556s ***** assert (gppdf (x, ones (1,6), 1, 0), y2, eps) 556s ***** assert (gppdf (x, 1, 1, 0), y2, eps) 556s ***** assert (gppdf (x, 1, 1, [0, 0, 0, NaN, 0, 0]), [y2(1:3), NaN, y2(5:6)]) 556s ***** assert (gppdf (x, 1, [1, 1, 1, NaN, 1, 1], 0), [y2(1:3), NaN, y2(5:6)]) 556s ***** assert (gppdf (x, [1, 1, 1, NaN, 1, 1], 1, 0), [y2(1:3), NaN, y2(5:6)]) 556s ***** assert (gppdf ([x(1:3), NaN, x(5:6)], 1, 1, 0), [y2(1:3), NaN, y2(5:6)]) 556s ***** assert (gppdf (x, -ones (1,6), ones (1,6), zeros (1,6)), y3, eps) 556s ***** assert (gppdf (x, -1, 1, zeros (1,6)), y3, eps) 556s ***** assert (gppdf (x, -1, ones (1,6), 0), y3, eps) 556s ***** assert (gppdf (x, -ones (1,6), 1, 0), y3, eps) 556s ***** assert (gppdf (x, -1, 1, 0), y3, eps) 556s ***** assert (gppdf (x, -1, 1, [0, 0, 0, NaN, 0, 0]), [y3(1:3), NaN, y3(5:6)]) 556s ***** assert (gppdf (x, -1, [1, 1, 1, NaN, 1, 1], 0), [y3(1:3), NaN, y3(5:6)]) 556s ***** assert (gppdf (x, [-1, -1, -1, NaN, -1, -1], 1, 0), [y3(1:3), NaN, y3(5:6)]) 556s ***** assert (gppdf ([x(1:3), NaN, x(5:6)], -1, 1, 0), [y3(1:3), NaN, y3(5:6)]) 556s ***** assert (gppdf (single ([x, NaN]), 0, 1, 0), single ([y1, NaN])) 556s ***** assert (gppdf ([x, NaN], 0, 1, single (0)), single ([y1, NaN])) 556s ***** assert (gppdf ([x, NaN], 0, single (1), 0), single ([y1, NaN])) 556s ***** assert (gppdf ([x, NaN], single (0), 1, 0), single ([y1, NaN])) 556s ***** assert (gppdf (single ([x, NaN]), 1, 1, 0), single ([y2, NaN])) 556s ***** assert (gppdf ([x, NaN], 1, 1, single (0)), single ([y2, NaN])) 556s ***** assert (gppdf ([x, NaN], 1, single (1), 0), single ([y2, NaN])) 556s ***** assert (gppdf ([x, NaN], single (1), 1, 0), single ([y2, NaN])) 556s ***** assert (gppdf (single ([x, NaN]), -1, 1, 0), single ([y3, NaN])) 556s ***** assert (gppdf ([x, NaN], -1, 1, single (0)), single ([y3, NaN])) 556s ***** assert (gppdf ([x, NaN], -1, single (1), 0), single ([y3, NaN])) 556s ***** assert (gppdf ([x, NaN], single (-1), 1, 0), single ([y3, NaN])) 556s ***** error gpcdf () 556s ***** error gpcdf (1) 557s ***** error gpcdf (1, 2) 557s ***** error gpcdf (1, 2, 3) 557s ***** error ... 557s gpcdf (ones (3), ones (2), ones(2), ones(2)) 557s ***** error ... 557s gpcdf (ones (2), ones (3), ones(2), ones(2)) 557s ***** error ... 557s gpcdf (ones (2), ones (2), ones(3), ones(2)) 557s ***** error ... 557s gpcdf (ones (2), ones (2), ones(2), ones(3)) 557s ***** error gpcdf (i, 2, 3, 4) 557s ***** error gpcdf (1, i, 3, 4) 557s ***** error gpcdf (1, 2, i, 4) 557s ***** error gpcdf (1, 2, 3, i) 557s 51 tests, 51 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/evcdf.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/evcdf.m 557s ***** demo 557s ## Plot various CDFs from the extreme value distribution 557s x = -10:0.01:10; 557s p1 = evcdf (x, 0.5, 2); 557s p2 = evcdf (x, 1.0, 2); 557s p3 = evcdf (x, 1.5, 3); 557s p4 = evcdf (x, 3.0, 4); 557s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 557s grid on 557s legend ({"μ = 0.5, σ = 2", "μ = 1.0, σ = 2", ... 557s "μ = 1.5, σ = 3", "μ = 3.0, σ = 4"}, "location", "southeast") 557s title ("Extreme value CDF") 557s xlabel ("values in x") 557s ylabel ("probability") 557s ***** shared x, y 557s x = [-Inf, 1, 2, Inf]; 557s y = [0, 0.6321, 0.9340, 1]; 557s ***** assert (evcdf (x, ones (1,4), ones (1,4)), y, 1e-4) 557s ***** assert (evcdf (x, 1, ones (1,4)), y, 1e-4) 557s ***** assert (evcdf (x, ones (1,4), 1), y, 1e-4) 557s ***** assert (evcdf (x, [0, -Inf, NaN, Inf], 1), [0, 1, NaN, NaN], 1e-4) 557s ***** assert (evcdf (x, 1, [Inf, NaN, -1, 0]), [NaN, NaN, NaN, NaN], 1e-4) 557s ***** assert (evcdf ([x(1:2), NaN, x(4)], 1, 1), [y(1:2), NaN, y(4)], 1e-4) 557s ***** assert (evcdf (x, "upper"), [1, 0.0660, 0.0006, 0], 1e-4) 557s ***** assert (evcdf ([x, NaN], 1, 1), [y, NaN], 1e-4) 557s ***** assert (evcdf (single ([x, NaN]), 1, 1), single ([y, NaN]), 1e-4) 557s ***** assert (evcdf ([x, NaN], single (1), 1), single ([y, NaN]), 1e-4) 557s ***** assert (evcdf ([x, NaN], 1, single (1)), single ([y, NaN]), 1e-4) 557s ***** error evcdf () 557s ***** error evcdf (1,2,3,4,5,6,7) 557s ***** error evcdf (1, 2, 3, 4, "uper") 557s ***** error ... 557s evcdf (ones (3), ones (2), ones (2)) 557s ***** error evcdf (2, 3, 4, [1, 2]) 557s ***** error ... 557s [p, plo, pup] = evcdf (1, 2, 3) 557s ***** error [p, plo, pup] = ... 557s evcdf (1, 2, 3, [1, 0; 0, 1], 0) 557s ***** error [p, plo, pup] = ... 557s evcdf (1, 2, 3, [1, 0; 0, 1], 1.22) 557s ***** error [p, plo, pup] = ... 557s evcdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 557s ***** error evcdf (i, 2, 2) 557s ***** error evcdf (2, i, 2) 557s ***** error evcdf (2, 2, i) 557s ***** error ... 557s [p, plo, pup] = evcdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 557s 24 tests, 24 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/burrrnd.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/burrrnd.m 557s ***** assert (size (burrrnd (1, 1, 1)), [1 1]) 557s ***** assert (size (burrrnd (ones (2,1), 1, 1)), [2, 1]) 557s ***** assert (size (burrrnd (ones (2,2), 1, 1)), [2, 2]) 557s ***** assert (size (burrrnd (1, ones (2,1), 1)), [2, 1]) 557s ***** assert (size (burrrnd (1, ones (2,2), 1)), [2, 2]) 557s ***** assert (size (burrrnd (1, 1, ones (2,1))), [2, 1]) 557s ***** assert (size (burrrnd (1, 1, ones (2,2))), [2, 2]) 557s ***** assert (size (burrrnd (1, 1, 1, 3)), [3, 3]) 557s ***** assert (size (burrrnd (1, 1, 1, [4 1])), [4, 1]) 557s ***** assert (size (burrrnd (1, 1, 1, 4, 1)), [4, 1]) 557s ***** assert (class (burrrnd (1,1,1)), "double") 557s ***** assert (class (burrrnd (single (1),1,1)), "single") 557s ***** assert (class (burrrnd (single ([1 1]),1,1)), "single") 557s ***** assert (class (burrrnd (1,single (1),1)), "single") 557s ***** assert (class (burrrnd (1,single ([1 1]),1)), "single") 557s ***** assert (class (burrrnd (1,1,single (1))), "single") 557s ***** assert (class (burrrnd (1,1,single ([1 1]))), "single") 557s ***** error burrrnd () 557s ***** error burrrnd (1) 557s ***** error burrrnd (1, 2) 557s ***** error ... 557s burrrnd (ones (3), ones (2), ones (2)) 557s ***** error ... 557s burrrnd (ones (2), ones (3), ones (2)) 557s ***** error ... 557s burrrnd (ones (2), ones (2), ones (3)) 557s ***** error burrrnd (i, 2, 3) 557s ***** error burrrnd (1, i, 3) 557s ***** error burrrnd (1, 2, i) 557s ***** error ... 557s burrrnd (1, 2, 3, -1) 557s ***** error ... 557s burrrnd (1, 2, 3, 1.2) 557s ***** error ... 557s burrrnd (1, 2, 3, ones (2)) 557s ***** error ... 557s burrrnd (1, 2, 3, [2 -1 2]) 557s ***** error ... 557s burrrnd (1, 2, 3, [2 0 2.5]) 557s ***** error ... 557s burrrnd (1, 2, 3, 2, -1, 5) 557s ***** error ... 557s burrrnd (1, 2, 3, 2, 1.5, 5) 557s ***** error ... 557s burrrnd (2, ones (2), 2, 3) 557s ***** error ... 557s burrrnd (2, ones (2), 2, [3, 2]) 557s ***** error ... 557s burrrnd (2, ones (2), 2, 3, 2) 557s 36 tests, 36 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/unidpdf.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unidpdf.m 557s ***** demo 557s ## Plot various PDFs from the discrete uniform distribution 557s x = 0:10; 557s y1 = unidpdf (x, 5); 557s y2 = unidpdf (x, 9); 557s plot (x, y1, "*b", x, y2, "*g") 557s grid on 557s xlim ([0, 10]) 557s ylim ([0, 0.25]) 557s legend ({"N = 5", "N = 9"}, "location", "northeast") 557s title ("Descrete uniform PDF") 557s xlabel ("values in x") 557s ylabel ("density") 557s ***** shared x, y 557s x = [-1 0 1 2 10 11]; 557s y = [0 0 0.1 0.1 0.1 0]; 557s ***** assert (unidpdf (x, 10*ones (1,6)), y) 557s ***** assert (unidpdf (x, 10), y) 557s ***** assert (unidpdf (x, 10*[0 NaN 1 1 1 1]), [NaN NaN y(3:6)]) 557s ***** assert (unidpdf ([x, NaN], 10), [y, NaN]) 557s ***** assert (unidpdf (single ([x, NaN]), 10), single ([y, NaN])) 557s ***** assert (unidpdf ([x, NaN], single (10)), single ([y, NaN])) 557s ***** error unidpdf () 557s ***** error unidpdf (1) 557s ***** error ... 557s unidpdf (ones (3), ones (2)) 557s ***** error ... 557s unidpdf (ones (2), ones (3)) 557s ***** error unidpdf (i, 2) 557s ***** error unidpdf (2, i) 557s 12 tests, 12 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/gpinv.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gpinv.m 557s ***** demo 557s ## Plot various iCDFs from the generalized Pareto distribution 557s p = 0.001:0.001:0.999; 557s x1 = gpinv (p, 1, 1, 0); 557s x2 = gpinv (p, 5, 1, 0); 557s x3 = gpinv (p, 20, 1, 0); 557s x4 = gpinv (p, 1, 2, 0); 557s x5 = gpinv (p, 5, 2, 0); 557s x6 = gpinv (p, 20, 2, 0); 557s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", ... 557s p, x4, "-c", p, x5, "-m", p, x6, "-k") 557s grid on 557s ylim ([0, 5]) 557s legend ({"ξ = 1, σ = 1, μ = 0", "ξ = 5, σ = 1, μ = 0", ... 557s "ξ = 20, σ = 1, μ = 0", "ξ = 1, σ = 2, μ = 0", ... 557s "ξ = 5, σ = 2, μ = 0", "ξ = 20, σ = 2, μ = 0"}, ... 557s "location", "southeast") 557s title ("Generalized Pareto iCDF") 557s xlabel ("probability") 557s ylabel ("values in x") 557s ***** shared p, y1, y2, y3 557s p = [-1, 0, 1/2, 1, 2]; 557s y1 = [NaN, 0, 0.6931471805599453, Inf, NaN]; 557s y2 = [NaN, 0, 1, Inf, NaN]; 557s y3 = [NaN, 0, 1/2, 1, NaN]; 557s ***** assert (gpinv (p, zeros (1,5), ones (1,5), zeros (1,5)), y1) 557s ***** assert (gpinv (p, 0, 1, zeros (1,5)), y1) 557s ***** assert (gpinv (p, 0, ones (1,5), 0), y1) 557s ***** assert (gpinv (p, zeros (1,5), 1, 0), y1) 557s ***** assert (gpinv (p, 0, 1, 0), y1) 557s ***** assert (gpinv (p, 0, 1, [0, 0, NaN, 0, 0]), [y1(1:2), NaN, y1(4:5)]) 557s ***** assert (gpinv (p, 0, [1, 1, NaN, 1, 1], 0), [y1(1:2), NaN, y1(4:5)]) 557s ***** assert (gpinv (p, [0, 0, NaN, 0, 0], 1, 0), [y1(1:2), NaN, y1(4:5)]) 557s ***** assert (gpinv ([p(1:2), NaN, p(4:5)], 0, 1, 0), [y1(1:2), NaN, y1(4:5)]) 557s ***** assert (gpinv (p, ones (1,5), ones (1,5), zeros (1,5)), y2) 557s ***** assert (gpinv (p, 1, 1, zeros (1,5)), y2) 557s ***** assert (gpinv (p, 1, ones (1,5), 0), y2) 557s ***** assert (gpinv (p, ones (1,5), 1, 0), y2) 557s ***** assert (gpinv (p, 1, 1, 0), y2) 557s ***** assert (gpinv (p, 1, 1, [0, 0, NaN, 0, 0]), [y2(1:2), NaN, y2(4:5)]) 557s ***** assert (gpinv (p, 1, [1, 1, NaN, 1, 1], 0), [y2(1:2), NaN, y2(4:5)]) 557s ***** assert (gpinv (p, [1, 1, NaN, 1, 1], 1, 0), [y2(1:2), NaN, y2(4:5)]) 557s ***** assert (gpinv ([p(1:2), NaN, p(4:5)], 1, 1, 0), [y2(1:2), NaN, y2(4:5)]) 557s ***** assert (gpinv (p, -ones (1,5), ones (1,5), zeros (1,5)), y3) 557s ***** assert (gpinv (p, -1, 1, zeros (1,5)), y3) 557s ***** assert (gpinv (p, -1, ones (1,5), 0), y3) 557s ***** assert (gpinv (p, -ones (1,5), 1, 0), y3) 557s ***** assert (gpinv (p, -1, 1, 0), y3) 557s ***** assert (gpinv (p, -1, 1, [0, 0, NaN, 0, 0]), [y3(1:2), NaN, y3(4:5)]) 557s ***** assert (gpinv (p, -1, [1, 1, NaN, 1, 1], 0), [y3(1:2), NaN, y3(4:5)]) 557s ***** assert (gpinv (p, -[1, 1, NaN, 1, 1], 1, 0), [y3(1:2), NaN, y3(4:5)]) 557s ***** assert (gpinv ([p(1:2), NaN, p(4:5)], -1, 1, 0), [y3(1:2), NaN, y3(4:5)]) 557s ***** assert (gpinv (single ([p, NaN]), 0, 1, 0), single ([y1, NaN])) 557s ***** assert (gpinv ([p, NaN], 0, 1, single (0)), single ([y1, NaN])) 557s ***** assert (gpinv ([p, NaN], 0, single (1), 0), single ([y1, NaN])) 557s ***** assert (gpinv ([p, NaN], single (0), 1, 0), single ([y1, NaN])) 557s ***** assert (gpinv (single ([p, NaN]), 1, 1, 0), single ([y2, NaN])) 557s ***** assert (gpinv ([p, NaN], 1, 1, single (0)), single ([y2, NaN])) 557s ***** assert (gpinv ([p, NaN], 1, single (1), 0), single ([y2, NaN])) 557s ***** assert (gpinv ([p, NaN], single (1), 1, 0), single ([y2, NaN])) 557s ***** assert (gpinv (single ([p, NaN]), -1, 1, 0), single ([y3, NaN])) 557s ***** assert (gpinv ([p, NaN], -1, 1, single (0)), single ([y3, NaN])) 557s ***** assert (gpinv ([p, NaN], -1, single (1), 0), single ([y3, NaN])) 557s ***** assert (gpinv ([p, NaN], single (-1), 1, 0), single ([y3, NaN])) 557s ***** error gpinv () 557s ***** error gpinv (1) 557s ***** error gpinv (1, 2) 557s ***** error gpinv (1, 2, 3) 557s ***** error ... 557s gpinv (ones (3), ones (2), ones(2), ones(2)) 557s ***** error ... 557s gpinv (ones (2), ones (3), ones(2), ones(2)) 557s ***** error ... 557s gpinv (ones (2), ones (2), ones(3), ones(2)) 557s ***** error ... 557s gpinv (ones (2), ones (2), ones(2), ones(3)) 557s ***** error gpinv (i, 2, 3, 4) 557s ***** error gpinv (1, i, 3, 4) 557s ***** error gpinv (1, 2, i, 4) 557s ***** error gpinv (1, 2, 3, i) 557s 51 tests, 51 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/betainv.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/betainv.m 557s ***** demo 557s ## Plot various iCDFs from the Beta distribution 557s p = 0.001:0.001:0.999; 557s x1 = betainv (p, 0.5, 0.5); 557s x2 = betainv (p, 5, 1); 557s x3 = betainv (p, 1, 3); 557s x4 = betainv (p, 2, 2); 557s x5 = betainv (p, 2, 5); 557s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 557s grid on 557s legend ({"α = β = 0.5", "α = 5, β = 1", "α = 1, β = 3", ... 557s "α = 2, β = 2", "α = 2, β = 5"}, "location", "southeast") 557s title ("Beta iCDF") 557s xlabel ("probability") 557s ylabel ("values in x") 557s ***** shared p 557s p = [-1 0 0.75 1 2]; 557s ***** assert (betainv (p, ones (1,5), 2*ones (1,5)), [NaN 0 0.5 1 NaN], eps) 557s ***** assert (betainv (p, 1, 2*ones (1,5)), [NaN 0 0.5 1 NaN], eps) 557s ***** assert (betainv (p, ones (1,5), 2), [NaN 0 0.5 1 NaN], eps) 557s ***** assert (betainv (p, [1 0 NaN 1 1], 2), [NaN NaN NaN 1 NaN]) 557s ***** assert (betainv (p, 1, 2*[1 0 NaN 1 1]), [NaN NaN NaN 1 NaN]) 557s ***** assert (betainv ([p(1:2) NaN p(4:5)], 1, 2), [NaN 0 NaN 1 NaN]) 557s ***** assert (betainv ([p, NaN], 1, 2), [NaN 0 0.5 1 NaN NaN], eps) 557s ***** assert (betainv (single ([p, NaN]), 1, 2), single ([NaN 0 0.5 1 NaN NaN])) 557s ***** assert (betainv ([p, NaN], single (1), 2), single ([NaN 0 0.5 1 NaN NaN]), eps("single")) 557s ***** assert (betainv ([p, NaN], 1, single (2)), single ([NaN 0 0.5 1 NaN NaN]), eps("single")) 557s ***** error betainv () 557s ***** error betainv (1) 557s ***** error betainv (1,2) 557s ***** error betainv (1,2,3,4) 557s ***** error ... 557s betainv (ones (3), ones (2), ones (2)) 557s ***** error ... 557s betainv (ones (2), ones (3), ones (2)) 557s ***** error ... 557s betainv (ones (2), ones (2), ones (3)) 557s ***** error betainv (i, 2, 2) 557s ***** error betainv (2, i, 2) 557s ***** error betainv (2, 2, i) 557s 20 tests, 20 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/fpdf.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/fpdf.m 557s ***** demo 557s ## Plot various PDFs from the F distribution 557s x = 0.01:0.01:4; 557s y1 = fpdf (x, 1, 1); 557s y2 = fpdf (x, 2, 1); 557s y3 = fpdf (x, 5, 2); 557s y4 = fpdf (x, 10, 1); 557s y5 = fpdf (x, 100, 100); 557s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 557s grid on 557s ylim ([0, 2.5]) 557s legend ({"df1 = 1, df2 = 2", "df1 = 2, df2 = 1", ... 557s "df1 = 5, df2 = 2", "df1 = 10, df2 = 1", ... 557s "df1 = 100, df2 = 100"}, "location", "northeast") 557s title ("F PDF") 557s xlabel ("values in x") 557s ylabel ("density") 557s ***** shared x, y 557s x = [-1 0 0.5 1 2]; 557s y = [0 0 4/9 1/4 1/9]; 557s ***** assert (fpdf (x, 2*ones (1,5), 2*ones (1,5)), y, eps) 557s ***** assert (fpdf (x, 2, 2*ones (1,5)), y, eps) 557s ***** assert (fpdf (x, 2*ones (1,5), 2), y, eps) 557s ***** assert (fpdf (x, [0 NaN Inf 2 2], 2), [NaN NaN NaN y(4:5)], eps) 557s ***** assert (fpdf (x, 2, [0 NaN Inf 2 2]), [NaN NaN NaN y(4:5)], eps) 557s ***** assert (fpdf ([x, NaN], 2, 2), [y, NaN], eps) 557s ***** test #F (x, 1, df1) == T distribution (sqrt (x), df1) / sqrt (x) 557s xr = rand (10,1); 557s xr = xr(x > 0.1 & x < 0.9); 557s yr = tpdf (sqrt (xr), 2) ./ sqrt (xr); 557s assert (fpdf (xr, 1, 2), yr, 5*eps); 557s ***** assert (fpdf (single ([x, NaN]), 2, 2), single ([y, NaN]), eps ("single")) 557s ***** assert (fpdf ([x, NaN], single (2), 2), single ([y, NaN]), eps ("single")) 557s ***** assert (fpdf ([x, NaN], 2, single (2)), single ([y, NaN]), eps ("single")) 557s ***** error fpdf () 557s ***** error fpdf (1) 557s ***** error fpdf (1,2) 557s ***** error ... 557s fpdf (ones (3), ones (2), ones (2)) 557s ***** error ... 557s fpdf (ones (2), ones (3), ones (2)) 557s ***** error ... 557s fpdf (ones (2), ones (2), ones (3)) 557s ***** error fpdf (i, 2, 2) 557s ***** error fpdf (2, i, 2) 557s ***** error fpdf (2, 2, i) 557s 19 tests, 19 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/ncx2cdf.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncx2cdf.m 557s ***** demo 557s ## Plot various CDFs from the noncentral chi-squared distribution 557s x = 0:0.1:10; 557s p1 = ncx2cdf (x, 2, 1); 557s p2 = ncx2cdf (x, 2, 2); 557s p3 = ncx2cdf (x, 2, 3); 557s p4 = ncx2cdf (x, 4, 1); 557s p5 = ncx2cdf (x, 4, 2); 557s p6 = ncx2cdf (x, 4, 3); 557s plot (x, p1, "-r", x, p2, "-g", x, p3, "-k", ... 557s x, p4, "-m", x, p5, "-c", x, p6, "-y") 557s grid on 557s xlim ([0, 10]) 557s legend ({"df = 2, λ = 1", "df = 2, λ = 2", ... 557s "df = 2, λ = 3", "df = 4, λ = 1", ... 557s "df = 4, λ = 2", "df = 4, λ = 3"}, "location", "southeast") 557s title ("Noncentral chi-squared CDF") 557s xlabel ("values in x") 557s ylabel ("probability") 557s ***** demo 557s ## Compare the noncentral chi-squared CDF with LAMBDA = 2 to the 557s ## chi-squared CDF with the same number of degrees of freedom (4). 557s 557s x = 0:0.1:10; 557s p1 = ncx2cdf (x, 4, 2); 557s p2 = chi2cdf (x, 4); 557s plot (x, p1, "-", x, p2, "-") 557s grid on 557s xlim ([0, 10]) 557s legend ({"Noncentral χ^2(4,2)", "χ^2(4)"}, "location", "northwest") 557s title ("Noncentral chi-squared vs chi-squared CDFs") 557s xlabel ("values in x") 557s ylabel ("probability") 557s ***** test 557s x = -2:0.1:2; 557s p = ncx2cdf (x, 10, 1); 557s assert (p([1:21]), zeros (1, 21), 3e-84); 557s assert (p(22), 1.521400636466575e-09, 1e-14); 557s assert (p(30), 6.665480510026046e-05, 1e-14); 557s assert (p(41), 0.002406447308399836, 1e-14); 557s ***** test 557s p = ncx2cdf (12, 10, 3); 557s assert (p, 0.4845555602398649, 1e-14); 557s ***** test 557s p = ncx2cdf (2, 3, 2); 557s assert (p, 0.2207330870741212, 1e-14); 557s ***** test 557s p = ncx2cdf (2, 3, 2, "upper"); 557s assert (p, 0.7792669129258789, 1e-14); 557s ***** test 557s p = ncx2cdf ([3, 6], 3, 2, "upper"); 557s assert (p, [0.6423318186400054, 0.3152299878943012], 1e-14); 557s ***** error ncx2cdf () 557s ***** error ncx2cdf (1) 557s ***** error ncx2cdf (1, 2) 557s ***** error ncx2cdf (1, 2, 3, "tail") 557s ***** error ncx2cdf (1, 2, 3, 4) 557s ***** error ... 557s ncx2cdf (ones (3), ones (2), ones (2)) 557s ***** error ... 557s ncx2cdf (ones (2), ones (3), ones (2)) 557s ***** error ... 557s ncx2cdf (ones (2), ones (2), ones (3)) 557s ***** error ncx2cdf (i, 2, 2) 557s ***** error ncx2cdf (2, i, 2) 557s ***** error ncx2cdf (2, 2, i) 557s 16 tests, 16 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/logipdf.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logipdf.m 557s ***** demo 557s ## Plot various PDFs from the logistic distribution 557s x = -5:0.01:20; 557s y1 = logipdf (x, 5, 2); 557s y2 = logipdf (x, 9, 3); 557s y3 = logipdf (x, 9, 4); 557s y4 = logipdf (x, 6, 2); 557s y5 = logipdf (x, 2, 1); 557s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 557s grid on 557s ylim ([0, 0.3]) 557s legend ({"μ = 5, s = 2", "μ = 9, s = 3", "μ = 9, s = 4", ... 557s "μ = 6, s = 2", "μ = 2, s = 1"}, "location", "northeast") 557s title ("Logistic PDF") 557s xlabel ("values in x") 557s ylabel ("density") 557s ***** shared x, y 557s x = [-Inf -log(4) 0 log(4) Inf]; 557s y = [0, 0.16, 1/4, 0.16, 0]; 557s ***** assert (logipdf ([x, NaN], 0, 1), [y, NaN], eps) 557s ***** assert (logipdf (x, 0, [-2, -1, 0, 1, 2]), [nan(1, 3), y([4:5])], eps) 557s ***** assert (logipdf (single ([x, NaN]), 0, 1), single ([y, NaN]), eps ("single")) 557s ***** assert (logipdf ([x, NaN], single (0), 1), single ([y, NaN]), eps ("single")) 557s ***** assert (logipdf ([x, NaN], 0, single (1)), single ([y, NaN]), eps ("single")) 557s ***** error logipdf () 557s ***** error logipdf (1) 557s ***** error ... 557s logipdf (1, 2) 557s ***** error ... 557s logipdf (1, ones (2), ones (3)) 557s ***** error ... 557s logipdf (ones (2), 1, ones (3)) 557s ***** error ... 557s logipdf (ones (2), ones (3), 1) 557s ***** error logipdf (i, 2, 3) 557s ***** error logipdf (1, i, 3) 557s ***** error logipdf (1, 2, i) 557s 14 tests, 14 passed, 0 known failure, 0 skipped 557s [inst/dist_fun/nbininv.m] 557s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nbininv.m 557s ***** demo 557s ## Plot various iCDFs from the negative binomial distribution 557s p = 0.001:0.001:0.999; 557s x1 = nbininv (p, 2, 0.15); 557s x2 = nbininv (p, 5, 0.2); 557s x3 = nbininv (p, 4, 0.4); 557s x4 = nbininv (p, 10, 0.3); 557s plot (p, x1, "-r", p, x2, "-g", p, x3, "-k", p, x4, "-m") 557s grid on 557s ylim ([0, 40]) 557s legend ({"r = 2, ps = 0.15", "r = 5, ps = 0.2", "r = 4, p = 0.4", ... 557s "r = 10, ps = 0.3"}, "location", "northwest") 557s title ("Negative binomial iCDF") 557s xlabel ("probability") 557s ylabel ("values in x (number of failures)") 557s ***** shared p 557s p = [-1 0 3/4 1 2]; 557s ***** assert (nbininv (p, ones (1,5), 0.5*ones (1,5)), [NaN 0 1 Inf NaN]) 557s ***** assert (nbininv (p, 1, 0.5*ones (1,5)), [NaN 0 1 Inf NaN]) 557s ***** assert (nbininv (p, ones (1,5), 0.5), [NaN 0 1 Inf NaN]) 557s ***** assert (nbininv (p, [1 0 NaN Inf 1], 0.5), [NaN NaN NaN NaN NaN]) 557s ***** assert (nbininv (p, [1 0 1.5 Inf 1], 0.5), [NaN NaN 2 NaN NaN]) 557s ***** assert (nbininv (p, 1, 0.5*[1 -Inf NaN Inf 1]), [NaN NaN NaN NaN NaN]) 557s ***** assert (nbininv ([p(1:2) NaN p(4:5)], 1, 0.5), [NaN 0 NaN Inf NaN]) 557s ***** assert (nbininv ([p, NaN], 1, 0.5), [NaN 0 1 Inf NaN NaN]) 557s ***** assert (nbininv (single ([p, NaN]), 1, 0.5), single ([NaN 0 1 Inf NaN NaN])) 557s ***** assert (nbininv ([p, NaN], single (1), 0.5), single ([NaN 0 1 Inf NaN NaN])) 557s ***** assert (nbininv ([p, NaN], 1, single (0.5)), single ([NaN 0 1 Inf NaN NaN])) 558s ***** shared y, tol 558s y = magic (3) + 1; 558s tol = 1; 558s ***** assert (nbininv (nbincdf (1:10, 3, 0.1), 3, 0.1), 1:10, tol) 558s ***** assert (nbininv (nbincdf (1:10, 3./(1:10), 0.1), 3./(1:10), 0.1), 1:10, tol) 558s ***** assert (nbininv (nbincdf (y, 3./y, 1./y), 3./y, 1./y), y, tol) 558s ***** error nbininv () 558s ***** error nbininv (1) 558s ***** error nbininv (1, 2) 558s ***** error ... 558s nbininv (ones (3), ones (2), ones (2)) 558s ***** error ... 558s nbininv (ones (2), ones (3), ones (2)) 558s ***** error ... 558s nbininv (ones (2), ones (2), ones (3)) 558s ***** error nbininv (i, 2, 2) 558s ***** error nbininv (2, i, 2) 558s ***** error nbininv (2, 2, i) 558s 23 tests, 23 passed, 0 known failure, 0 skipped 558s [inst/dist_fun/wblrnd.m] 558s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wblrnd.m 558s ***** assert (size (wblrnd (1, 1)), [1 1]) 558s ***** assert (size (wblrnd (1, ones (2,1))), [2, 1]) 558s ***** assert (size (wblrnd (1, ones (2,2))), [2, 2]) 558s ***** assert (size (wblrnd (ones (2,1), 1)), [2, 1]) 558s ***** assert (size (wblrnd (ones (2,2), 1)), [2, 2]) 558s ***** assert (size (wblrnd (1, 1, 3)), [3, 3]) 558s ***** assert (size (wblrnd (1, 1, [4, 1])), [4, 1]) 558s ***** assert (size (wblrnd (1, 1, 4, 1)), [4, 1]) 558s ***** assert (size (wblrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 558s ***** assert (size (wblrnd (1, 1, 0, 1)), [0, 1]) 558s ***** assert (size (wblrnd (1, 1, 1, 0)), [1, 0]) 558s ***** assert (size (wblrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 558s ***** assert (class (wblrnd (1, 1)), "double") 558s ***** assert (class (wblrnd (1, single (1))), "single") 558s ***** assert (class (wblrnd (1, single ([1, 1]))), "single") 558s ***** assert (class (wblrnd (single (1), 1)), "single") 558s ***** assert (class (wblrnd (single ([1, 1]), 1)), "single") 558s ***** error wblrnd () 558s ***** error wblrnd (1) 558s ***** error ... 558s wblrnd (ones (3), ones (2)) 558s ***** error ... 558s wblrnd (ones (2), ones (3)) 558s ***** error wblrnd (i, 2, 3) 558s ***** error wblrnd (1, i, 3) 558s ***** error ... 558s wblrnd (1, 2, -1) 558s ***** error ... 558s wblrnd (1, 2, 1.2) 558s ***** error ... 558s wblrnd (1, 2, ones (2)) 558s ***** error ... 558s wblrnd (1, 2, [2 -1 2]) 558s ***** error ... 558s wblrnd (1, 2, [2 0 2.5]) 558s ***** error ... 558s wblrnd (1, 2, 2, -1, 5) 558s ***** error ... 558s wblrnd (1, 2, 2, 1.5, 5) 558s ***** error ... 558s wblrnd (2, ones (2), 3) 558s ***** error ... 558s wblrnd (2, ones (2), [3, 2]) 558s ***** error ... 558s wblrnd (2, ones (2), 3, 2) 558s 33 tests, 33 passed, 0 known failure, 0 skipped 558s [inst/dist_fun/raylrnd.m] 558s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/raylrnd.m 558s ***** assert (size (raylrnd (2)), [1, 1]) 558s ***** assert (size (raylrnd (ones (2,1))), [2, 1]) 558s ***** assert (size (raylrnd (ones (2,2))), [2, 2]) 558s ***** assert (size (raylrnd (1, 3)), [3, 3]) 558s ***** assert (size (raylrnd (1, [4 1])), [4, 1]) 558s ***** assert (size (raylrnd (1, 4, 1)), [4, 1]) 558s ***** assert (size (raylrnd (1, 4, 1)), [4, 1]) 558s ***** assert (size (raylrnd (1, 4, 1, 5)), [4, 1, 5]) 558s ***** assert (size (raylrnd (1, 0, 1)), [0, 1]) 558s ***** assert (size (raylrnd (1, 1, 0)), [1, 0]) 558s ***** assert (size (raylrnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 558s ***** assert (raylrnd (0, 1, 1), NaN) 558s ***** assert (raylrnd ([0, 0, 0], [1, 3]), [NaN, NaN, NaN]) 558s ***** assert (class (raylrnd (2)), "double") 558s ***** assert (class (raylrnd (single (2))), "single") 558s ***** assert (class (raylrnd (single ([2 2]))), "single") 558s ***** error raylrnd () 558s ***** error raylrnd (i) 558s ***** error ... 558s raylrnd (1, -1) 558s ***** error ... 558s raylrnd (1, 1.2) 558s ***** error ... 558s raylrnd (1, ones (2)) 558s ***** error ... 558s raylrnd (1, [2 -1 2]) 558s ***** error ... 558s raylrnd (1, [2 0 2.5]) 558s ***** error ... 558s raylrnd (ones (2), ones (2)) 558s ***** error ... 558s raylrnd (1, 2, -1, 5) 558s ***** error ... 558s raylrnd (1, 2, 1.5, 5) 558s ***** error raylrnd (ones (2,2), 3) 558s ***** error raylrnd (ones (2,2), [3, 2]) 558s ***** error raylrnd (ones (2,2), 2, 3) 558s 29 tests, 29 passed, 0 known failure, 0 skipped 558s [inst/dist_fun/ncx2pdf.m] 558s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncx2pdf.m 558s ***** demo 558s ## Plot various PDFs from the noncentral chi-squared distribution 558s x = 0:0.1:10; 558s y1 = ncx2pdf (x, 2, 1); 558s y2 = ncx2pdf (x, 2, 2); 558s y3 = ncx2pdf (x, 2, 3); 558s y4 = ncx2pdf (x, 4, 1); 558s y5 = ncx2pdf (x, 4, 2); 558s y6 = ncx2pdf (x, 4, 3); 558s plot (x, y1, "-r", x, y2, "-g", x, y3, "-k", ... 558s x, y4, "-m", x, y5, "-c", x, y6, "-y") 558s grid on 558s xlim ([0, 10]) 558s ylim ([0, 0.32]) 558s legend ({"df = 2, λ = 1", "df = 2, λ = 2", ... 558s "df = 2, λ = 3", "df = 4, λ = 1", ... 558s "df = 4, λ = 2", "df = 4, λ = 3"}, "location", "northeast") 558s title ("Noncentral chi-squared PDF") 558s xlabel ("values in x") 558s ylabel ("density") 558s ***** demo 558s ## Compare the noncentral chi-squared PDF with LAMBDA = 2 to the 558s ## chi-squared PDF with the same number of degrees of freedom (4). 558s 558s x = 0:0.1:10; 558s y1 = ncx2pdf (x, 4, 2); 558s y2 = chi2pdf (x, 4); 558s plot (x, y1, "-", x, y2, "-"); 558s grid on 558s xlim ([0, 10]) 558s ylim ([0, 0.32]) 558s legend ({"Noncentral T(10,1)", "T(10)"}, "location", "northwest") 558s title ("Noncentral chi-squared vs chi-squared PDFs") 558s xlabel ("values in x") 558s ylabel ("density") 558s ***** shared x1, df, d1 558s x1 = [-Inf, 2, NaN, 4, Inf]; 558s df = [2, 0, -1, 1, 4]; 558s d1 = [1, NaN, 3, -1, 2]; 558s ***** assert (ncx2pdf (x1, df, d1), [0, NaN, NaN, NaN, 0]); 558s ***** assert (ncx2pdf (x1, df, 1), [0, 0.07093996461786045, NaN, ... 558s 0.06160064323277038, 0], 1e-14); 558s ***** assert (ncx2pdf (x1, df, 3), [0, 0.1208364909271113, NaN, ... 558s 0.09631299762429098, 0], 1e-14); 558s ***** assert (ncx2pdf (x1, df, 2), [0, 0.1076346446244688, NaN, ... 558s 0.08430464047296625, 0], 1e-14); 558s ***** assert (ncx2pdf (x1, 2, d1), [0, NaN, NaN, NaN, 0]); 558s ***** assert (ncx2pdf (2, df, d1), [0.1747201674611283, NaN, NaN, ... 558s NaN, 0.1076346446244688], 1e-14); 558s ***** assert (ncx2pdf (4, df, d1), [0.09355987820265799, NaN, NaN, ... 558s NaN, 0.1192317192431485], 1e-14); 558s ***** error ncx2pdf () 558s ***** error ncx2pdf (1) 558s ***** error ncx2pdf (1, 2) 558s ***** error ... 558s ncx2pdf (ones (3), ones (2), ones (2)) 558s ***** error ... 558s ncx2pdf (ones (2), ones (3), ones (2)) 558s ***** error ... 558s ncx2pdf (ones (2), ones (2), ones (3)) 558s ***** error ncx2pdf (i, 2, 2) 558s ***** error ncx2pdf (2, i, 2) 558s ***** error ncx2pdf (2, 2, i) 558s 16 tests, 16 passed, 0 known failure, 0 skipped 558s [inst/dist_fun/iwishpdf.m] 558s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/iwishpdf.m 558s ***** assert(iwishpdf(4, 3, 3.1), 0.04226595, 1E-7); 558s ***** assert(iwishpdf([2 -0.3;-0.3 4], [1 0.3;0.3 1], 4), 1.60166e-05, 1E-10); 558s ***** assert(iwishpdf([6 2 5; 2 10 -5; 5 -5 25], ... 558s [9 5 5; 5 10 -8; 5 -8 22], 5.1), 4.946831e-12, 1E-17); 558s ***** error iwishpdf () 558s ***** error iwishpdf (1, 2) 559s ***** error iwishpdf (1, 2, 0) 559s 6 tests, 6 passed, 0 known failure, 0 skipped 559s [inst/dist_fun/lognpdf.m] 559s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/lognpdf.m 559s ***** demo 559s ## Plot various PDFs from the log-normal distribution 559s x = 0:0.01:5; 559s y1 = lognpdf (x, 0, 1); 559s y2 = lognpdf (x, 0, 0.5); 559s y3 = lognpdf (x, 0, 0.25); 559s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r") 559s grid on 559s ylim ([0, 2]) 559s legend ({"μ = 0, σ = 1", "μ = 0, σ = 0.5", "μ = 0, σ = 0.25"}, ... 559s "location", "northeast") 559s title ("Log-normal PDF") 559s xlabel ("values in x") 559s ylabel ("density") 559s ***** shared x, y 559s x = [-1 0 e Inf]; 559s y = [0, 0, 1/(e*sqrt(2*pi)) * exp(-1/2), 0]; 559s ***** assert (lognpdf (x, zeros (1,4), ones (1,4)), y, eps) 559s ***** assert (lognpdf (x, 0, ones (1,4)), y, eps) 559s ***** assert (lognpdf (x, zeros (1,4), 1), y, eps) 559s ***** assert (lognpdf (x, [0 1 NaN 0], 1), [0 0 NaN y(4)], eps) 559s ***** assert (lognpdf (x, 0, [0 NaN Inf 1]), [NaN NaN NaN y(4)], eps) 559s ***** assert (lognpdf ([x, NaN], 0, 1), [y, NaN], eps) 559s ***** assert (lognpdf (single ([x, NaN]), 0, 1), single ([y, NaN]), eps ("single")) 559s ***** assert (lognpdf ([x, NaN], single (0), 1), single ([y, NaN]), eps ("single")) 559s ***** assert (lognpdf ([x, NaN], 0, single (1)), single ([y, NaN]), eps ("single")) 559s ***** error lognpdf () 559s ***** error lognpdf (1,2,3,4) 559s ***** error lognpdf (ones (3), ones (2), ones (2)) 559s ***** error lognpdf (ones (2), ones (3), ones (2)) 559s ***** error lognpdf (ones (2), ones (2), ones (3)) 559s ***** error lognpdf (i, 2, 2) 559s ***** error lognpdf (2, i, 2) 559s ***** error lognpdf (2, 2, i) 559s 17 tests, 17 passed, 0 known failure, 0 skipped 559s [inst/dist_fun/normpdf.m] 559s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/normpdf.m 559s ***** demo 559s ## Plot various PDFs from the normal distribution 559s x = -5:0.01:5; 559s y1 = normpdf (x, 0, 0.5); 559s y2 = normpdf (x, 0, 1); 559s y3 = normpdf (x, 0, 2); 559s y4 = normpdf (x, -2, 0.8); 559s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 559s grid on 559s xlim ([-5, 5]) 559s ylim ([0, 0.9]) 559s legend ({"μ = 0, σ = 0.5", "μ = 0, σ = 1", ... 559s "μ = 0, σ = 2", "μ = -2, σ = 0.8"}, "location", "northeast") 559s title ("Normal PDF") 559s xlabel ("values in x") 559s ylabel ("density") 559s ***** shared x, y 559s x = [-Inf, 1, 2, Inf]; 559s y = 1 / sqrt (2 * pi) * exp (-(x - 1) .^ 2 / 2); 559s ***** assert (normpdf (x, ones (1,4), ones (1,4)), y, eps) 559s ***** assert (normpdf (x, 1, ones (1,4)), y, eps) 559s ***** assert (normpdf (x, ones (1,4), 1), y, eps) 559s ***** assert (normpdf (x, [0 -Inf NaN Inf], 1), [y(1) NaN NaN NaN], eps) 559s ***** assert (normpdf (x, 1, [Inf NaN -1 0]), [NaN NaN NaN NaN], eps) 559s ***** assert (normpdf ([x, NaN], 1, 1), [y, NaN], eps) 559s ***** assert (normpdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 559s ***** assert (normpdf ([x, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 559s ***** assert (normpdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 559s ***** error normpdf () 559s ***** error ... 559s normpdf (ones (3), ones (2), ones (2)) 559s ***** error ... 559s normpdf (ones (2), ones (3), ones (2)) 559s ***** error ... 559s normpdf (ones (2), ones (2), ones (3)) 559s ***** error normpdf (i, 2, 2) 559s ***** error normpdf (2, i, 2) 559s ***** error normpdf (2, 2, i) 559s 16 tests, 16 passed, 0 known failure, 0 skipped 559s [inst/dist_fun/tinv.m] 559s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/tinv.m 559s ***** demo 559s ## Plot various iCDFs from the Student's T distribution 559s p = 0.001:0.001:0.999; 559s x1 = tinv (p, 1); 559s x2 = tinv (p, 2); 559s x3 = tinv (p, 5); 559s x4 = tinv (p, Inf); 559s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-m") 559s grid on 559s xlim ([0, 1]) 559s ylim ([-5, 5]) 559s legend ({"df = 1", "df = 2", ... 559s "df = 5", 'df = \infty'}, "location", "northwest") 559s title ("Student's T iCDF") 559s xlabel ("probability") 559s ylabel ("values in x") 559s ***** shared p 559s p = [-1 0 0.5 1 2]; 559s ***** assert (tinv (p, ones (1,5)), [NaN -Inf 0 Inf NaN]) 559s ***** assert (tinv (p, 1), [NaN -Inf 0 Inf NaN], eps) 559s ***** assert (tinv (p, [1 0 NaN 1 1]), [NaN NaN NaN Inf NaN], eps) 559s ***** assert (tinv ([p(1:2) NaN p(4:5)], 1), [NaN -Inf NaN Inf NaN]) 559s ***** assert (tinv ([p, NaN], 1), [NaN -Inf 0 Inf NaN NaN], eps) 559s ***** assert (tinv (single ([p, NaN]), 1), single ([NaN -Inf 0 Inf NaN NaN]), eps ("single")) 559s ***** assert (tinv ([p, NaN], single (1)), single ([NaN -Inf 0 Inf NaN NaN]), eps ("single")) 559s ***** error tinv () 559s ***** error tinv (1) 559s ***** error ... 559s tinv (ones (3), ones (2)) 559s ***** error ... 559s tinv (ones (2), ones (3)) 559s ***** error tinv (i, 2) 559s ***** error tinv (2, i) 559s 13 tests, 13 passed, 0 known failure, 0 skipped 559s [inst/dist_fun/poisscdf.m] 559s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/poisscdf.m 559s ***** demo 559s ## Plot various CDFs from the Poisson distribution 559s x = 0:20; 559s p1 = poisscdf (x, 1); 559s p2 = poisscdf (x, 4); 559s p3 = poisscdf (x, 10); 559s plot (x, p1, "*b", x, p2, "*g", x, p3, "*r") 559s grid on 559s ylim ([0, 1]) 559s legend ({"λ = 1", "λ = 4", "λ = 10"}, "location", "southeast") 559s title ("Poisson CDF") 559s xlabel ("values in x (number of occurences)") 559s ylabel ("probability") 559s ***** shared x, y 559s x = [-1 0 1 2 Inf]; 559s y = [0, gammainc(1, (x(2:4) +1), "upper"), 1]; 559s ***** assert (poisscdf (x, ones (1,5)), y) 559s ***** assert (poisscdf (x, 1), y) 559s ***** assert (poisscdf (x, [1 0 NaN 1 1]), [y(1) 1 NaN y(4:5)]) 559s ***** assert (poisscdf ([x(1:2) NaN Inf x(5)], 1), [y(1:2) NaN 1 y(5)]) 559s ***** assert (poisscdf ([x, NaN], 1), [y, NaN]) 559s ***** assert (poisscdf (single ([x, NaN]), 1), single ([y, NaN]), eps ("single")) 559s ***** assert (poisscdf ([x, NaN], single (1)), single ([y, NaN]), eps ("single")) 559s ***** error poisscdf () 559s ***** error poisscdf (1) 559s ***** error poisscdf (1, 2, 3) 559s ***** error poisscdf (1, 2, "tail") 559s ***** error ... 559s poisscdf (ones (3), ones (2)) 559s ***** error ... 559s poisscdf (ones (2), ones (3)) 559s ***** error poisscdf (i, 2) 559s ***** error poisscdf (2, i) 559s 15 tests, 15 passed, 0 known failure, 0 skipped 559s [inst/dist_fun/lognrnd.m] 559s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/lognrnd.m 559s ***** assert (size (lognrnd (1, 1)), [1 1]) 559s ***** assert (size (lognrnd (1, ones (2,1))), [2, 1]) 559s ***** assert (size (lognrnd (1, ones (2,2))), [2, 2]) 559s ***** assert (size (lognrnd (ones (2,1), 1)), [2, 1]) 559s ***** assert (size (lognrnd (ones (2,2), 1)), [2, 2]) 559s ***** assert (size (lognrnd (1, 1, 3)), [3, 3]) 559s ***** assert (size (lognrnd (1, 1, [4, 1])), [4, 1]) 559s ***** assert (size (lognrnd (1, 1, 4, 1)), [4, 1]) 559s ***** assert (size (lognrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 559s ***** assert (size (lognrnd (1, 1, 0, 1)), [0, 1]) 559s ***** assert (size (lognrnd (1, 1, 1, 0)), [1, 0]) 560s ***** assert (size (lognrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 560s ***** assert (class (lognrnd (1, 1)), "double") 560s ***** assert (class (lognrnd (1, single (1))), "single") 560s ***** assert (class (lognrnd (1, single ([1, 1]))), "single") 560s ***** assert (class (lognrnd (single (1), 1)), "single") 560s ***** assert (class (lognrnd (single ([1, 1]), 1)), "single") 560s ***** error lognrnd () 560s ***** error lognrnd (1) 560s ***** error ... 560s lognrnd (ones (3), ones (2)) 560s ***** error ... 560s lognrnd (ones (2), ones (3)) 560s ***** error lognrnd (i, 2, 3) 560s ***** error lognrnd (1, i, 3) 560s ***** error ... 560s lognrnd (1, 2, -1) 560s ***** error ... 560s lognrnd (1, 2, 1.2) 560s ***** error ... 560s lognrnd (1, 2, ones (2)) 560s ***** error ... 560s lognrnd (1, 2, [2 -1 2]) 560s ***** error ... 560s lognrnd (1, 2, [2 0 2.5]) 560s ***** error ... 560s lognrnd (1, 2, 2, -1, 5) 560s ***** error ... 560s lognrnd (1, 2, 2, 1.5, 5) 560s ***** error ... 560s lognrnd (2, ones (2), 3) 560s ***** error ... 560s lognrnd (2, ones (2), [3, 2]) 560s ***** error ... 560s lognrnd (2, ones (2), 3, 2) 560s 33 tests, 33 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/gaminv.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gaminv.m 560s ***** demo 560s ## Plot various iCDFs from the Gamma distribution 560s p = 0.001:0.001:0.999; 560s x1 = gaminv (p, 1, 2); 560s x2 = gaminv (p, 2, 2); 560s x3 = gaminv (p, 3, 2); 560s x4 = gaminv (p, 5, 1); 560s x5 = gaminv (p, 9, 0.5); 560s x6 = gaminv (p, 7.5, 1); 560s x7 = gaminv (p, 0.5, 1); 560s plot (p, x1, "-r", p, x2, "-g", p, x3, "-y", p, x4, "-m", ... 560s p, x5, "-k", p, x6, "-b", p, x7, "-c") 560s ylim ([0, 20]) 560s grid on 560s legend ({"α = 1, θ = 2", "α = 2, θ = 2", "α = 3, θ = 2", ... 560s "α = 5, θ = 1", "α = 9, θ = 0.5", "α = 7.5, θ = 1", ... 560s "α = 0.5, θ = 1"}, "location", "northwest") 560s title ("Gamma iCDF") 560s xlabel ("probability") 560s ylabel ("x") 560s ***** shared p 560s p = [-1 0 0.63212055882855778 1 2]; 560s ***** assert (gaminv (p, ones (1,5), ones (1,5)), [NaN 0 1 Inf NaN], eps) 560s ***** assert (gaminv (p, 1, ones (1,5)), [NaN 0 1 Inf NaN], eps) 560s ***** assert (gaminv (p, ones (1,5), 1), [NaN 0 1 Inf NaN], eps) 560s ***** assert (gaminv (p, [1 -Inf NaN Inf 1], 1), [NaN NaN NaN NaN NaN]) 560s ***** assert (gaminv (p, 1, [1 -Inf NaN Inf 1]), [NaN NaN NaN NaN NaN]) 560s ***** assert (gaminv ([p(1:2) NaN p(4:5)], 1, 1), [NaN 0 NaN Inf NaN]) 560s ***** assert (gaminv ([p(1:2) NaN p(4:5)], 1, 1), [NaN 0 NaN Inf NaN]) 560s ***** assert (gaminv (1e-16, 1, 1), 1e-16, eps) 560s ***** assert (gaminv (1e-16, 1, 2), 2e-16, eps) 560s ***** assert (gaminv (1e-20, 3, 5), 1.957434012161815e-06, eps) 560s ***** assert (gaminv (1e-15, 1, 1), 1e-15, eps) 560s ***** assert (gaminv (1e-35, 1, 1), 1e-35, eps) 560s ***** assert (gaminv ([p, NaN], 1, 1), [NaN 0 1 Inf NaN NaN], eps) 560s ***** assert (gaminv (single ([p, NaN]), 1, 1), single ([NaN 0 1 Inf NaN NaN]), ... 560s eps ("single")) 560s ***** assert (gaminv ([p, NaN], single (1), 1), single ([NaN 0 1 Inf NaN NaN]), ... 560s eps ("single")) 560s ***** assert (gaminv ([p, NaN], 1, single (1)), single ([NaN 0 1 Inf NaN NaN]), ... 560s eps ("single")) 560s ***** error gaminv () 560s ***** error gaminv (1) 560s ***** error gaminv (1,2) 560s ***** error ... 560s gaminv (ones (3), ones (2), ones (2)) 560s ***** error ... 560s gaminv (ones (2), ones (3), ones (2)) 560s ***** error ... 560s gaminv (ones (2), ones (2), ones (3)) 560s ***** error gaminv (i, 2, 2) 560s ***** error gaminv (2, i, 2) 560s ***** error gaminv (2, 2, i) 560s 25 tests, 25 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/gumbelcdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gumbelcdf.m 560s ***** demo 560s ## Plot various CDFs from the Gumbel distribution 560s x = -5:0.01:20; 560s p1 = gumbelcdf (x, 0.5, 2); 560s p2 = gumbelcdf (x, 1.0, 2); 560s p3 = gumbelcdf (x, 1.5, 3); 560s p4 = gumbelcdf (x, 3.0, 4); 560s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 560s grid on 560s legend ({"μ = 0.5, β = 2", "μ = 1.0, β = 2", ... 560s "μ = 1.5, β = 3", "μ = 3.0, β = 4"}, "location", "southeast") 560s title ("Gumbel CDF") 560s xlabel ("values in x") 560s ylabel ("probability") 560s ***** shared x, y 560s x = [-Inf, 1, 2, Inf]; 560s y = [0, 0.3679, 0.6922, 1]; 560s ***** assert (gumbelcdf (x, ones (1,4), ones (1,4)), y, 1e-4) 560s ***** assert (gumbelcdf (x, 1, ones (1,4)), y, 1e-4) 560s ***** assert (gumbelcdf (x, ones (1,4), 1), y, 1e-4) 560s ***** assert (gumbelcdf (x, [0, -Inf, NaN, Inf], 1), [0, 1, NaN, NaN], 1e-4) 560s ***** assert (gumbelcdf (x, 1, [Inf, NaN, -1, 0]), [NaN, NaN, NaN, NaN], 1e-4) 560s ***** assert (gumbelcdf ([x(1:2), NaN, x(4)], 1, 1), [y(1:2), NaN, y(4)], 1e-4) 560s ***** assert (gumbelcdf (x, "upper"), [1, 0.3078, 0.1266, 0], 1e-4) 560s ***** assert (gumbelcdf ([x, NaN], 1, 1), [y, NaN], 1e-4) 560s ***** assert (gumbelcdf (single ([x, NaN]), 1, 1), single ([y, NaN]), 1e-4) 560s ***** assert (gumbelcdf ([x, NaN], single (1), 1), single ([y, NaN]), 1e-4) 560s ***** assert (gumbelcdf ([x, NaN], 1, single (1)), single ([y, NaN]), 1e-4) 560s ***** error gumbelcdf () 560s ***** error gumbelcdf (1,2,3,4,5,6,7) 560s ***** error gumbelcdf (1, 2, 3, 4, "uper") 560s ***** error ... 560s gumbelcdf (ones (3), ones (2), ones (2)) 560s ***** error gumbelcdf (2, 3, 4, [1, 2]) 560s ***** error ... 560s [p, plo, pup] = gumbelcdf (1, 2, 3) 560s ***** error [p, plo, pup] = ... 560s gumbelcdf (1, 2, 3, [1, 0; 0, 1], 0) 560s ***** error [p, plo, pup] = ... 560s gumbelcdf (1, 2, 3, [1, 0; 0, 1], 1.22) 560s ***** error [p, plo, pup] = ... 560s gumbelcdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 560s ***** error gumbelcdf (i, 2, 2) 560s ***** error gumbelcdf (2, i, 2) 560s ***** error gumbelcdf (2, 2, i) 560s ***** error ... 560s [p, plo, pup] = gumbelcdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 560s 24 tests, 24 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/gevpdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gevpdf.m 560s ***** demo 560s ## Plot various PDFs from the generalized extreme value distribution 560s x = -1:0.001:10; 560s y1 = gevpdf (x, 1, 1, 1); 560s y2 = gevpdf (x, 0.5, 1, 1); 560s y3 = gevpdf (x, 1, 1, 5); 560s y4 = gevpdf (x, 1, 2, 5); 560s y5 = gevpdf (x, 1, 5, 5); 560s y6 = gevpdf (x, 1, 0.5, 5); 560s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", ... 560s x, y4, "-c", x, y5, "-m", x, y6, "-k") 560s grid on 560s xlim ([-1, 10]) 560s ylim ([0, 1.1]) 560s legend ({"ξ = 1, σ = 1, μ = 1", "ξ = 0.5, σ = 1, μ = 1", ... 560s "ξ = 1, σ = 1, μ = 5", "ξ = 1, σ = 2, μ = 5", ... 560s "ξ = 1, σ = 5, μ = 5", "ξ = 1, σ = 0.5, μ = 5"}, ... 560s "location", "northeast") 560s title ("Generalized extreme value PDF") 560s xlabel ("values in x") 560s ylabel ("density") 560s ***** test 560s x = 0:0.5:2.5; 560s sigma = 1:6; 560s k = 1; 560s mu = 0; 560s y = gevpdf (x, k, sigma, mu); 560s expected_y = [0.367879 0.143785 0.088569 0.063898 0.049953 0.040997]; 560s assert (y, expected_y, 0.001); 560s ***** test 560s x = -0.5:0.5:2.5; 560s sigma = 0.5; 560s k = 1; 560s mu = 0; 560s y = gevpdf (x, k, sigma, mu); 560s expected_y = [0 0.735759 0.303265 0.159229 0.097350 0.065498 0.047027]; 560s assert (y, expected_y, 0.001); 560s ***** test # check for continuity for k near 0 560s x = 1; 560s sigma = 0.5; 560s k = -0.03:0.01:0.03; 560s mu = 0; 560s y = gevpdf (x, k, sigma, mu); 560s expected_y = [0.23820 0.23764 0.23704 0.23641 0.23576 0.23508 0.23438]; 560s assert (y, expected_y, 0.001); 560s ***** error gevpdf () 560s ***** error gevpdf (1) 560s ***** error gevpdf (1, 2) 560s ***** error gevpdf (1, 2, 3) 560s ***** error ... 560s gevpdf (ones (3), ones (2), ones(2), ones(2)) 560s ***** error ... 560s gevpdf (ones (2), ones (3), ones(2), ones(2)) 560s ***** error ... 560s gevpdf (ones (2), ones (2), ones(3), ones(2)) 560s ***** error ... 560s gevpdf (ones (2), ones (2), ones(2), ones(3)) 560s ***** error gevpdf (i, 2, 3, 4) 560s ***** error gevpdf (1, i, 3, 4) 560s ***** error gevpdf (1, 2, i, 4) 560s ***** error gevpdf (1, 2, 3, i) 560s 15 tests, 15 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/normcdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/normcdf.m 560s ***** demo 560s ## Plot various CDFs from the normal distribution 560s x = -5:0.01:5; 560s p1 = normcdf (x, 0, 0.5); 560s p2 = normcdf (x, 0, 1); 560s p3 = normcdf (x, 0, 2); 560s p4 = normcdf (x, -2, 0.8); 560s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 560s grid on 560s xlim ([-5, 5]) 560s legend ({"μ = 0, σ = 0.5", "μ = 0, σ = 1", ... 560s "μ = 0, σ = 2", "μ = -2, σ = 0.8"}, "location", "southeast") 560s title ("Normal CDF") 560s xlabel ("values in x") 560s ylabel ("probability") 560s ***** shared x, y 560s x = [-Inf 1 2 Inf]; 560s y = [0, 0.5, 1/2*(1+erf(1/sqrt(2))), 1]; 560s ***** assert (normcdf (x, ones (1,4), ones (1,4)), y) 560s ***** assert (normcdf (x, 1, ones (1,4)), y) 560s ***** assert (normcdf (x, ones (1,4), 1), y) 560s ***** assert (normcdf (x, [0, -Inf, NaN, Inf], 1), [0, 1, NaN, NaN]) 560s ***** assert (normcdf (x, 1, [Inf, NaN, -1, 0]), [NaN, NaN, NaN, 1]) 560s ***** assert (normcdf ([x(1:2), NaN, x(4)], 1, 1), [y(1:2), NaN, y(4)]) 560s ***** assert (normcdf (x, "upper"), [1, 0.1587, 0.0228, 0], 1e-4) 560s ***** assert (normcdf ([x, NaN], 1, 1), [y, NaN]) 560s ***** assert (normcdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 560s ***** assert (normcdf ([x, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 560s ***** assert (normcdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 560s ***** error normcdf () 560s ***** error normcdf (1,2,3,4,5,6,7) 560s ***** error normcdf (1, 2, 3, 4, "uper") 560s ***** error ... 560s normcdf (ones (3), ones (2), ones (2)) 560s ***** error normcdf (2, 3, 4, [1, 2]) 560s ***** error ... 560s [p, plo, pup] = normcdf (1, 2, 3) 560s ***** error [p, plo, pup] = ... 560s normcdf (1, 2, 3, [1, 0; 0, 1], 0) 560s ***** error [p, plo, pup] = ... 560s normcdf (1, 2, 3, [1, 0; 0, 1], 1.22) 560s ***** error [p, plo, pup] = ... 560s normcdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 560s ***** error normcdf (i, 2, 2) 560s ***** error normcdf (2, i, 2) 560s ***** error normcdf (2, 2, i) 560s ***** error ... 560s [p, plo, pup] =normcdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 560s 24 tests, 24 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/cauchyinv.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/cauchyinv.m 560s ***** demo 560s ## Plot various iCDFs from the Cauchy distribution 560s p = 0.001:0.001:0.999; 560s x1 = cauchyinv (p, 0, 0.5); 560s x2 = cauchyinv (p, 0, 1); 560s x3 = cauchyinv (p, 0, 2); 560s x4 = cauchyinv (p, -2, 1); 560s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 560s grid on 560s ylim ([-5, 5]) 560s legend ({"x0 = 0, γ = 0.5", "x0 = 0, γ = 1", ... 560s "x0 = 0, γ = 2", "x0 = -2, γ = 1"}, "location", "northwest") 560s title ("Cauchy iCDF") 560s xlabel ("probability") 560s ylabel ("values in x") 560s ***** shared p 560s p = [-1 0 0.5 1 2]; 560s ***** assert (cauchyinv (p, ones (1,5), 2 * ones (1,5)), [NaN -Inf 1 Inf NaN], eps) 560s ***** assert (cauchyinv (p, 1, 2 * ones (1,5)), [NaN -Inf 1 Inf NaN], eps) 560s ***** assert (cauchyinv (p, ones (1,5), 2), [NaN -Inf 1 Inf NaN], eps) 560s ***** assert (cauchyinv (p, [1 -Inf NaN Inf 1], 2), [NaN NaN NaN NaN NaN]) 560s ***** assert (cauchyinv (p, 1, 2 * [1 0 NaN Inf 1]), [NaN NaN NaN NaN NaN]) 560s ***** assert (cauchyinv ([p(1:2) NaN p(4:5)], 1, 2), [NaN -Inf NaN Inf NaN]) 560s ***** assert (cauchyinv ([p, NaN], 1, 2), [NaN -Inf 1 Inf NaN NaN], eps) 560s ***** assert (cauchyinv (single ([p, NaN]), 1, 2), ... 560s single ([NaN -Inf 1 Inf NaN NaN]), eps ("single")) 560s ***** assert (cauchyinv ([p, NaN], single (1), 2), ... 560s single ([NaN -Inf 1 Inf NaN NaN]), eps ("single")) 560s ***** assert (cauchyinv ([p, NaN], 1, single (2)), ... 560s single ([NaN -Inf 1 Inf NaN NaN]), eps ("single")) 560s ***** error cauchyinv () 560s ***** error cauchyinv (1) 560s ***** error ... 560s cauchyinv (1, 2) 560s ***** error cauchyinv (1, 2, 3, 4) 560s ***** error ... 560s cauchyinv (ones (3), ones (2), ones(2)) 560s ***** error ... 560s cauchyinv (ones (2), ones (3), ones(2)) 560s ***** error ... 560s cauchyinv (ones (2), ones (2), ones(3)) 560s ***** error cauchyinv (i, 4, 3) 560s ***** error cauchyinv (1, i, 3) 560s ***** error cauchyinv (1, 4, i) 560s 20 tests, 20 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/unidrnd.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unidrnd.m 560s ***** assert (size (unidrnd (2)), [1, 1]) 560s ***** assert (size (unidrnd (ones (2,1))), [2, 1]) 560s ***** assert (size (unidrnd (ones (2,2))), [2, 2]) 560s ***** assert (size (unidrnd (1, 3)), [3, 3]) 560s ***** assert (size (unidrnd (1, [4 1])), [4, 1]) 560s ***** assert (size (unidrnd (1, 4, 1)), [4, 1]) 560s ***** assert (size (unidrnd (1, 4, 1)), [4, 1]) 560s ***** assert (size (unidrnd (1, 4, 1, 5)), [4, 1, 5]) 560s ***** assert (size (unidrnd (1, 0, 1)), [0, 1]) 560s ***** assert (size (unidrnd (1, 1, 0)), [1, 0]) 560s ***** assert (size (unidrnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 560s ***** assert (unidrnd (0, 1, 1), NaN) 560s ***** assert (unidrnd ([0, 0, 0], [1, 3]), [NaN, NaN, NaN]) 560s ***** assert (class (unidrnd (2)), "double") 560s ***** assert (class (unidrnd (single (2))), "single") 560s ***** assert (class (unidrnd (single ([2 2]))), "single") 560s ***** error unidrnd () 560s ***** error unidrnd (i) 560s ***** error ... 560s unidrnd (1, -1) 560s ***** error ... 560s unidrnd (1, 1.2) 560s ***** error ... 560s unidrnd (1, ones (2)) 560s ***** error ... 560s unidrnd (1, [2 -1 2]) 560s ***** error ... 560s unidrnd (1, [2 0 2.5]) 560s ***** error ... 560s unidrnd (ones (2), ones (2)) 560s ***** error ... 560s unidrnd (1, 2, -1, 5) 560s ***** error ... 560s unidrnd (1, 2, 1.5, 5) 560s ***** error unidrnd (ones (2,2), 3) 560s ***** error unidrnd (ones (2,2), [3, 2]) 560s ***** error unidrnd (ones (2,2), 2, 3) 560s 29 tests, 29 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/poissinv.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/poissinv.m 560s ***** demo 560s ## Plot various iCDFs from the Poisson distribution 560s p = 0.001:0.001:0.999; 560s x1 = poissinv (p, 13); 560s x2 = poissinv (p, 4); 560s x3 = poissinv (p, 10); 560s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 560s grid on 560s ylim ([0, 20]) 560s legend ({"λ = 1", "λ = 4", "λ = 10"}, "location", "northwest") 560s title ("Poisson iCDF") 560s xlabel ("probability") 560s ylabel ("values in x (number of occurences)") 560s ***** shared p 560s p = [-1 0 0.5 1 2]; 560s ***** assert (poissinv (p, ones (1,5)), [NaN 0 1 Inf NaN]) 560s ***** assert (poissinv (p, 1), [NaN 0 1 Inf NaN]) 560s ***** assert (poissinv (p, [1 0 NaN 1 1]), [NaN NaN NaN Inf NaN]) 560s ***** assert (poissinv ([p(1:2) NaN p(4:5)], 1), [NaN 0 NaN Inf NaN]) 560s ***** assert (poissinv ([p, NaN], 1), [NaN 0 1 Inf NaN NaN]) 560s ***** assert (poissinv (single ([p, NaN]), 1), single ([NaN 0 1 Inf NaN NaN])) 560s ***** assert (poissinv ([p, NaN], single (1)), single ([NaN 0 1 Inf NaN NaN])) 560s ***** error poissinv () 560s ***** error poissinv (1) 560s ***** error ... 560s poissinv (ones (3), ones (2)) 560s ***** error ... 560s poissinv (ones (2), ones (3)) 560s ***** error poissinv (i, 2) 560s ***** error poissinv (2, i) 560s 13 tests, 13 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/laplacecdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/laplacecdf.m 560s ***** demo 560s ## Plot various CDFs from the Laplace distribution 560s x = -10:0.01:10; 560s p1 = laplacecdf (x, 0, 1); 560s p2 = laplacecdf (x, 0, 2); 560s p3 = laplacecdf (x, 0, 4); 560s p4 = laplacecdf (x, -5, 4); 560s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 560s grid on 560s xlim ([-10, 10]) 560s legend ({"μ = 0, β = 1", "μ = 0, β = 2", ... 560s "μ = 0, β = 4", "μ = -5, β = 4"}, "location", "southeast") 560s title ("Laplace CDF") 560s xlabel ("values in x") 560s ylabel ("probability") 560s ***** shared x, y 560s x = [-Inf, -log(2), 0, log(2), Inf]; 560s y = [0, 1/4, 1/2, 3/4, 1]; 560s ***** assert (laplacecdf ([x, NaN], 0, 1), [y, NaN]) 560s ***** assert (laplacecdf (x, 0, [-2, -1, 0, 1, 2]), [nan(1, 3), 0.75, 1]) 560s ***** assert (laplacecdf (single ([x, NaN]), 0, 1), single ([y, NaN]), eps ("single")) 560s ***** assert (laplacecdf ([x, NaN], single (0), 1), single ([y, NaN]), eps ("single")) 560s ***** assert (laplacecdf ([x, NaN], 0, single (1)), single ([y, NaN]), eps ("single")) 560s ***** error laplacecdf () 560s ***** error laplacecdf (1) 560s ***** error ... 560s laplacecdf (1, 2) 560s ***** error ... 560s laplacecdf (1, 2, 3, 4, 5) 560s ***** error laplacecdf (1, 2, 3, "tail") 560s ***** error laplacecdf (1, 2, 3, 4) 560s ***** error ... 560s laplacecdf (ones (3), ones (2), ones (2)) 560s ***** error ... 560s laplacecdf (ones (2), ones (3), ones (2)) 560s ***** error ... 560s laplacecdf (ones (2), ones (2), ones (3)) 560s ***** error laplacecdf (i, 2, 2) 560s ***** error laplacecdf (2, i, 2) 560s ***** error laplacecdf (2, 2, i) 560s 17 tests, 17 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/logicdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logicdf.m 560s ***** demo 560s ## Plot various CDFs from the logistic distribution 560s x = -5:0.01:20; 560s p1 = logicdf (x, 5, 2); 560s p2 = logicdf (x, 9, 3); 560s p3 = logicdf (x, 9, 4); 560s p4 = logicdf (x, 6, 2); 560s p5 = logicdf (x, 2, 1); 560s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 560s grid on 560s legend ({"μ = 5, s = 2", "μ = 9, s = 3", "μ = 9, s = 4", ... 560s "μ = 6, s = 2", "μ = 2, s = 1"}, "location", "southeast") 560s title ("Logistic CDF") 560s xlabel ("values in x") 560s ylabel ("probability") 560s ***** shared x, y 560s x = [-Inf -log(3) 0 log(3) Inf]; 560s y = [0, 1/4, 1/2, 3/4, 1]; 560s ***** assert (logicdf ([x, NaN], 0, 1), [y, NaN], eps) 560s ***** assert (logicdf (x, 0, [-2, -1, 0, 1, 2]), [nan(1, 3), 0.75, 1]) 560s ***** assert (logicdf (single ([x, NaN]), 0, 1), single ([y, NaN]), eps ("single")) 560s ***** assert (logicdf ([x, NaN], single (0), 1), single ([y, NaN]), eps ("single")) 560s ***** assert (logicdf ([x, NaN], 0, single (1)), single ([y, NaN]), eps ("single")) 560s ***** error logicdf () 560s ***** error logicdf (1) 560s ***** error ... 560s logicdf (1, 2) 560s ***** error logicdf (1, 2, 3, "tail") 560s ***** error logicdf (1, 2, 3, 4) 560s ***** error ... 560s logicdf (1, ones (2), ones (3)) 560s ***** error ... 560s logicdf (ones (2), 1, ones (3)) 560s ***** error ... 560s logicdf (ones (2), ones (3), 1) 560s ***** error logicdf (i, 2, 3) 560s ***** error logicdf (1, i, 3) 560s ***** error logicdf (1, 2, i) 560s 16 tests, 16 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/nakainv.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nakainv.m 560s ***** demo 560s ## Plot various iCDFs from the Nakagami distribution 560s p = 0.001:0.001:0.999; 560s x1 = nakainv (p, 0.5, 1); 560s x2 = nakainv (p, 1, 1); 560s x3 = nakainv (p, 1, 2); 560s x4 = nakainv (p, 1, 3); 560s x5 = nakainv (p, 2, 1); 560s x6 = nakainv (p, 2, 2); 560s x7 = nakainv (p, 5, 1); 560s plot (p, x1, "-r", p, x2, "-g", p, x3, "-y", p, x4, "-m", ... 560s p, x5, "-k", p, x6, "-b", p, x7, "-c") 560s grid on 560s ylim ([0, 3]) 560s legend ({"μ = 0.5, ω = 1", "μ = 1, ω = 1", "μ = 1, ω = 2", ... 560s "μ = 1, ω = 3", "μ = 2, ω = 1", "μ = 2, ω = 2", ... 560s "μ = 5, ω = 1"}, "location", "northwest") 560s title ("Nakagami iCDF") 560s xlabel ("probability") 560s ylabel ("values in x") 560s ***** shared p, y 560s p = [-Inf, -1, 0, 1/2, 1, 2, Inf]; 560s y = [NaN, NaN, 0, 0.83255461115769769, Inf, NaN, NaN]; 560s ***** assert (nakainv (p, ones (1,7), ones (1,7)), y, eps) 560s ***** assert (nakainv (p, 1, 1), y, eps) 560s ***** assert (nakainv (p, [1, 1, 1, NaN, 1, 1, 1], 1), [y(1:3), NaN, y(5:7)], eps) 560s ***** assert (nakainv (p, 1, [1, 1, 1, NaN, 1, 1, 1]), [y(1:3), NaN, y(5:7)], eps) 560s ***** assert (nakainv ([p, NaN], 1, 1), [y, NaN], eps) 560s ***** assert (nakainv (single ([p, NaN]), 1, 1), single ([y, NaN])) 560s ***** assert (nakainv ([p, NaN], single (1), 1), single ([y, NaN])) 560s ***** assert (nakainv ([p, NaN], 1, single (1)), single ([y, NaN])) 560s ***** error nakainv () 560s ***** error nakainv (1) 560s ***** error nakainv (1, 2) 560s ***** error ... 560s nakainv (ones (3), ones (2), ones(2)) 560s ***** error ... 560s nakainv (ones (2), ones (3), ones(2)) 560s ***** error ... 560s nakainv (ones (2), ones (2), ones(3)) 560s ***** error nakainv (i, 4, 3) 560s ***** error nakainv (1, i, 3) 560s ***** error nakainv (1, 4, i) 560s 17 tests, 17 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/finv.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/finv.m 560s ***** demo 560s ## Plot various iCDFs from the F distribution 560s p = 0.001:0.001:0.999; 560s x1 = finv (p, 1, 1); 560s x2 = finv (p, 2, 1); 560s x3 = finv (p, 5, 2); 560s x4 = finv (p, 10, 1); 560s x5 = finv (p, 100, 100); 560s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-m") 560s grid on 560s ylim ([0, 4]) 560s legend ({"df1 = 1, df2 = 2", "df1 = 2, df2 = 1", ... 560s "df1 = 5, df2 = 2", "df1 = 10, df2 = 1", ... 560s "df1 = 100, df2 = 100"}, "location", "northwest") 560s title ("F iCDF") 560s xlabel ("probability") 560s ylabel ("values in x") 560s ***** shared p 560s p = [-1 0 0.5 1 2]; 560s ***** assert (finv (p, 2*ones (1,5), 2*ones (1,5)), [NaN 0 1 Inf NaN]) 560s ***** assert (finv (p, 2, 2*ones (1,5)), [NaN 0 1 Inf NaN]) 560s ***** assert (finv (p, 2*ones (1,5), 2), [NaN 0 1 Inf NaN]) 560s ***** assert (finv (p, [2 -Inf NaN Inf 2], 2), [NaN NaN NaN NaN NaN]) 560s ***** assert (finv (p, 2, [2 -Inf NaN Inf 2]), [NaN NaN NaN NaN NaN]) 560s ***** assert (finv ([p(1:2) NaN p(4:5)], 2, 2), [NaN 0 NaN Inf NaN]) 560s ***** assert (finv ([p, NaN], 2, 2), [NaN 0 1 Inf NaN NaN]) 560s ***** assert (finv (single ([p, NaN]), 2, 2), single ([NaN 0 1 Inf NaN NaN])) 560s ***** assert (finv ([p, NaN], single (2), 2), single ([NaN 0 1 Inf NaN NaN])) 560s ***** assert (finv ([p, NaN], 2, single (2)), single ([NaN 0 1 Inf NaN NaN])) 560s ***** error finv () 560s ***** error finv (1) 560s ***** error finv (1,2) 560s ***** error ... 560s finv (ones (3), ones (2), ones (2)) 560s ***** error ... 560s finv (ones (2), ones (3), ones (2)) 560s ***** error ... 560s finv (ones (2), ones (2), ones (3)) 560s ***** error finv (i, 2, 2) 560s ***** error finv (2, i, 2) 560s ***** error finv (2, 2, i) 560s 19 tests, 19 passed, 0 known failure, 0 skipped 560s [inst/dist_fun/poisspdf.m] 560s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/poisspdf.m 560s ***** demo 560s ## Plot various PDFs from the Poisson distribution 560s x = 0:20; 560s y1 = poisspdf (x, 1); 560s y2 = poisspdf (x, 4); 560s y3 = poisspdf (x, 10); 560s plot (x, y1, "*b", x, y2, "*g", x, y3, "*r") 560s grid on 560s ylim ([0, 0.4]) 560s legend ({"λ = 1", "λ = 4", "λ = 10"}, "location", "northeast") 560s title ("Poisson PDF") 560s xlabel ("values in x (number of occurences)") 560s ylabel ("density") 560s ***** shared x, y 560s x = [-1 0 1 2 Inf]; 560s y = [0, exp(-1)*[1 1 0.5], 0]; 560s ***** assert (poisspdf (x, ones (1,5)), y, eps) 561s ***** assert (poisspdf (x, 1), y, eps) 561s ***** assert (poisspdf (x, [1 0 NaN 1 1]), [y(1) NaN NaN y(4:5)], eps) 561s ***** assert (poisspdf ([x, NaN], 1), [y, NaN], eps) 561s ***** assert (poisspdf (single ([x, NaN]), 1), single ([y, NaN]), eps ("single")) 561s ***** assert (poisspdf ([x, NaN], single (1)), single ([y, NaN]), eps ("single")) 561s ***** error poisspdf () 561s ***** error poisspdf (1) 561s ***** error ... 561s poisspdf (ones (3), ones (2)) 561s ***** error ... 561s poisspdf (ones (2), ones (3)) 561s ***** error poisspdf (i, 2) 561s ***** error poisspdf (2, i) 561s 12 tests, 12 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/copulapdf.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/copulapdf.m 561s ***** test 561s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 561s theta = [1; 2]; 561s y = copulapdf ("Clayton", x, theta); 561s expected_p = [0.9872; 0.7295]; 561s assert (y, expected_p, 0.001); 561s ***** test 561s x = [0.2:0.2:0.6; 0.2:0.2:0.6]; 561s y = copulapdf ("Gumbel", x, 2); 561s expected_p = [0.9468; 0.9468]; 561s assert (y, expected_p, 0.001); 561s ***** test 561s x = [0.2, 0.6; 0.2, 0.6]; 561s theta = [1; 2]; 561s y = copulapdf ("Frank", x, theta); 561s expected_p = [0.9378; 0.8678]; 561s assert (y, expected_p, 0.001); 561s ***** test 561s x = [0.2, 0.6; 0.2, 0.6]; 561s theta = [0.3; 0.7]; 561s y = copulapdf ("AMH", x, theta); 561s expected_p = [0.9540; 0.8577]; 561s assert (y, expected_p, 0.001); 561s 4 tests, 4 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/mvncdf.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvncdf.m 561s ***** demo 561s mu = [1, -1]; 561s Sigma = [0.9, 0.4; 0.4, 0.3]; 561s [X1, X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 561s X = [X1(:), X2(:)]; 561s p = mvncdf (X, mu, Sigma); 561s Z = reshape (p, 25, 25); 561s surf (X1, X2, Z); 561s title ("Bivariate Normal Distribution"); 561s ylabel "X1" 561s xlabel "X2" 561s ***** demo 561s mu = [0, 0]; 561s Sigma = [0.25, 0.3; 0.3, 1]; 561s p = mvncdf ([0 0], [1 1], mu, Sigma); 561s x1 = -3:.2:3; 561s x2 = -3:.2:3; 561s [X1, X2] = meshgrid (x1, x2); 561s X = [X1(:), X2(:)]; 561s p = mvnpdf (X, mu, Sigma); 561s p = reshape (p, length (x2), length (x1)); 561s contour (x1, x2, p, [0.0001, 0.001, 0.01, 0.05, 0.15, 0.25, 0.35]); 561s xlabel ("x"); 561s ylabel ("p"); 561s title ("Probability over Rectangular Region"); 561s line ([0, 0, 1, 1, 0], [1, 0, 0, 1, 1], "Linestyle", "--", "Color", "k"); 561s ***** test 561s fD = (-2:2)'; 561s X = repmat (fD, 1, 4); 561s p = mvncdf (X); 561s assert (p, [0; 0.0006; 0.0625; 0.5011; 0.9121], ones (5, 1) * 1e-4); 561s ***** test 561s mu = [1, -1]; 561s Sigma = [0.9, 0.4; 0.4, 0.3]; 561s [X1,X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 561s X = [X1(:), X2(:)]; 561s p = mvncdf (X, mu, Sigma); 561s p_out = [0.00011878988774500, 0.00034404112322371, ... 561s 0.00087682502191813, 0.00195221905058185, ... 561s 0.00378235566873474, 0.00638175749734415, ... 561s 0.00943764224329656, 0.01239164888125426, ... 561s 0.01472750274376648, 0.01623228313374828]'; 561s assert (p([1:10]), p_out, 1e-16); 561s ***** test 561s mu = [1, -1]; 561s Sigma = [0.9, 0.4; 0.4, 0.3]; 561s [X1,X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 561s X = [X1(:), X2(:)]; 561s p = mvncdf (X, mu, Sigma); 561s p_out = [0.8180695783608276, 0.8854485749482751, ... 561s 0.9308108777385832, 0.9579855743025508, ... 561s 0.9722897881414742, 0.9788150170059926, ... 561s 0.9813597788804785, 0.9821977956568989, ... 561s 0.9824283794464095, 0.9824809345614861]'; 561s assert (p([616:625]), p_out, 2e-16); 561s ***** test 561s mu = [0, 0]; 561s Sigma = [0.25, 0.3; 0.3, 1]; 561s [p, err] = mvncdf ([0 0], [1 1], mu, Sigma); 561s assert (p, 0.2097424404755626, 1e-16); 561s assert (err, 1e-08); 561s ***** test 561s x = [1 2]; 561s mu = [0.5 1.5]; 561s sigma = [1.0 0.5; 0.5 1.0]; 561s p = mvncdf (x, mu, sigma); 561s assert (p, 0.546244443857090, 1e-15); 561s ***** test 561s x = [1 2]; 561s mu = [0.5 1.5]; 561s sigma = [1.0 0.5; 0.5 1.0]; 561s a = [-inf 0]; 561s p = mvncdf (a, x, mu, sigma); 561s assert (p, 0.482672935215631, 1e-15); 561s ***** error p = mvncdf (randn (25,26), [], eye (26)); 561s ***** error p = mvncdf (randn (25,8), [], eye (9)); 561s ***** error p = mvncdf (randn (25,4), randn (25,5), [], eye (4)); 561s ***** error p = mvncdf (randn (25,4), randn (25,4), [2, 3; 2, 3], eye (4)); 561s ***** error p = mvncdf (randn (25,4), randn (25,4), ones (1, 5), eye (4)); 561s ***** error p = mvncdf ([-inf 0], [1, 2], [0.5 1.5], [1.0 0.5; 0.5 1.0], option); 561s 12 tests, 12 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/mvtrnd.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvtrnd.m 561s ***** test 561s rho = [1, 0.5; 0.5, 1]; 561s df = 3; 561s n = 10; 561s r = mvtrnd (rho, df, n); 561s assert (size (r), [10, 2]); 561s ***** test 561s rho = [1, 0.5; 0.5, 1]; 561s df = [2; 3]; 561s n = 2; 561s r = mvtrnd (rho, df, 2); 561s assert (size (r), [2, 2]); 561s 2 tests, 2 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/normrnd.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/normrnd.m 561s ***** assert (size (normrnd (1, 1)), [1 1]) 561s ***** assert (size (normrnd (1, ones (2,1))), [2, 1]) 561s ***** assert (size (normrnd (1, ones (2,2))), [2, 2]) 561s ***** assert (size (normrnd (ones (2,1), 1)), [2, 1]) 561s ***** assert (size (normrnd (ones (2,2), 1)), [2, 2]) 561s ***** assert (size (normrnd (1, 1, 3)), [3, 3]) 561s ***** assert (size (normrnd (1, 1, [4, 1])), [4, 1]) 561s ***** assert (size (normrnd (1, 1, 4, 1)), [4, 1]) 561s ***** assert (size (normrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 561s ***** assert (size (normrnd (1, 1, 0, 1)), [0, 1]) 561s ***** assert (size (normrnd (1, 1, 1, 0)), [1, 0]) 561s ***** assert (size (normrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 561s ***** assert (class (normrnd (1, 1)), "double") 561s ***** assert (class (normrnd (1, single (1))), "single") 561s ***** assert (class (normrnd (1, single ([1, 1]))), "single") 561s ***** assert (class (normrnd (single (1), 1)), "single") 561s ***** assert (class (normrnd (single ([1, 1]), 1)), "single") 561s ***** error normrnd () 561s ***** error normrnd (1) 561s ***** error ... 561s normrnd (ones (3), ones (2)) 561s ***** error ... 561s normrnd (ones (2), ones (3)) 561s ***** error normrnd (i, 2, 3) 561s ***** error normrnd (1, i, 3) 561s ***** error ... 561s normrnd (1, 2, -1) 561s ***** error ... 561s normrnd (1, 2, 1.2) 561s ***** error ... 561s normrnd (1, 2, ones (2)) 561s ***** error ... 561s normrnd (1, 2, [2 -1 2]) 561s ***** error ... 561s normrnd (1, 2, [2 0 2.5]) 561s ***** error ... 561s normrnd (1, 2, 2, -1, 5) 561s ***** error ... 561s normrnd (1, 2, 2, 1.5, 5) 561s ***** error ... 561s normrnd (2, ones (2), 3) 561s ***** error ... 561s normrnd (2, ones (2), [3, 2]) 561s ***** error ... 561s normrnd (2, ones (2), 3, 2) 561s 33 tests, 33 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/gumbelrnd.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gumbelrnd.m 561s ***** assert (size (gumbelrnd (1, 1)), [1 1]) 561s ***** assert (size (gumbelrnd (1, ones (2,1))), [2, 1]) 561s ***** assert (size (gumbelrnd (1, ones (2,2))), [2, 2]) 561s ***** assert (size (gumbelrnd (ones (2,1), 1)), [2, 1]) 561s ***** assert (size (gumbelrnd (ones (2,2), 1)), [2, 2]) 561s ***** assert (size (gumbelrnd (1, 1, 3)), [3, 3]) 561s ***** assert (size (gumbelrnd (1, 1, [4, 1])), [4, 1]) 561s ***** assert (size (gumbelrnd (1, 1, 4, 1)), [4, 1]) 561s ***** assert (size (gumbelrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 561s ***** assert (size (gumbelrnd (1, 1, 0, 1)), [0, 1]) 561s ***** assert (size (gumbelrnd (1, 1, 1, 0)), [1, 0]) 561s ***** assert (size (gumbelrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 561s ***** assert (class (gumbelrnd (1, 1)), "double") 561s ***** assert (class (gumbelrnd (1, single (1))), "single") 561s ***** assert (class (gumbelrnd (1, single ([1, 1]))), "single") 561s ***** assert (class (gumbelrnd (single (1), 1)), "single") 561s ***** assert (class (gumbelrnd (single ([1, 1]), 1)), "single") 561s ***** error gumbelrnd () 561s ***** error gumbelrnd (1) 561s ***** error ... 561s gumbelrnd (ones (3), ones (2)) 561s ***** error ... 561s gumbelrnd (ones (2), ones (3)) 561s ***** error gumbelrnd (i, 2, 3) 561s ***** error gumbelrnd (1, i, 3) 561s ***** error ... 561s gumbelrnd (1, 2, -1) 561s ***** error ... 561s gumbelrnd (1, 2, 1.2) 561s ***** error ... 561s gumbelrnd (1, 2, ones (2)) 561s ***** error ... 561s gumbelrnd (1, 2, [2 -1 2]) 561s ***** error ... 561s gumbelrnd (1, 2, [2 0 2.5]) 561s ***** error ... 561s gumbelrnd (1, 2, 2, -1, 5) 561s ***** error ... 561s gumbelrnd (1, 2, 2, 1.5, 5) 561s ***** error ... 561s gumbelrnd (2, ones (2), 3) 561s ***** error ... 561s gumbelrnd (2, ones (2), [3, 2]) 561s ***** error ... 561s gumbelrnd (2, ones (2), 3, 2) 561s 33 tests, 33 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/norminv.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/norminv.m 561s ***** demo 561s ## Plot various iCDFs from the normal distribution 561s p = 0.001:0.001:0.999; 561s x1 = norminv (p, 0, 0.5); 561s x2 = norminv (p, 0, 1); 561s x3 = norminv (p, 0, 2); 561s x4 = norminv (p, -2, 0.8); 561s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 561s grid on 561s ylim ([-5, 5]) 561s legend ({"μ = 0, σ = 0.5", "μ = 0, σ = 1", ... 561s "μ = 0, σ = 2", "μ = -2, σ = 0.8"}, "location", "northwest") 561s title ("Normal iCDF") 561s xlabel ("probability") 561s ylabel ("values in x") 561s ***** shared p 561s p = [-1 0 0.5 1 2]; 561s ***** assert (norminv (p, ones (1,5), ones (1,5)), [NaN -Inf 1 Inf NaN]) 561s ***** assert (norminv (p, 1, ones (1,5)), [NaN -Inf 1 Inf NaN]) 561s ***** assert (norminv (p, ones (1,5), 1), [NaN -Inf 1 Inf NaN]) 561s ***** assert (norminv (p, [1 -Inf NaN Inf 1], 1), [NaN NaN NaN NaN NaN]) 561s ***** assert (norminv (p, 1, [1 0 NaN Inf 1]), [NaN NaN NaN NaN NaN]) 561s ***** assert (norminv ([p(1:2) NaN p(4:5)], 1, 1), [NaN -Inf NaN Inf NaN]) 561s ***** assert (norminv (p), probit (p)) 561s ***** assert (norminv (0.31254), probit (0.31254)) 561s ***** assert (norminv ([p, NaN], 1, 1), [NaN -Inf 1 Inf NaN NaN]) 561s ***** assert (norminv (single ([p, NaN]), 1, 1), single ([NaN -Inf 1 Inf NaN NaN])) 561s ***** assert (norminv ([p, NaN], single (1), 1), single ([NaN -Inf 1 Inf NaN NaN])) 561s ***** assert (norminv ([p, NaN], 1, single (1)), single ([NaN -Inf 1 Inf NaN NaN])) 561s ***** error norminv () 561s ***** error ... 561s norminv (ones (3), ones (2), ones (2)) 561s ***** error ... 561s norminv (ones (2), ones (3), ones (2)) 561s ***** error ... 561s norminv (ones (2), ones (2), ones (3)) 561s ***** error norminv (i, 2, 2) 561s ***** error norminv (2, i, 2) 561s ***** error norminv (2, 2, i) 561s 19 tests, 19 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/gevrnd.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gevrnd.m 561s ***** assert(size (gevrnd (1,2,1)), [1, 1]); 561s ***** assert(size (gevrnd (ones(2,1), 2, 1)), [2, 1]); 561s ***** assert(size (gevrnd (ones(2,2), 2, 1)), [2, 2]); 561s ***** assert(size (gevrnd (1, 2*ones(2,1), 1)), [2, 1]); 561s ***** assert(size (gevrnd (1, 2*ones(2,2), 1)), [2, 2]); 561s ***** assert(size (gevrnd (1, 2, 1, 3)), [3, 3]); 561s ***** assert(size (gevrnd (1, 2, 1, [4 1])), [4, 1]); 561s ***** assert(size (gevrnd (1, 2, 1, 4, 1)), [4, 1]); 561s ***** assert (class (gevrnd (1,1,1)), "double") 561s ***** assert (class (gevrnd (single (1),1,1)), "single") 561s ***** assert (class (gevrnd (single ([1 1]),1,1)), "single") 561s ***** assert (class (gevrnd (1,single (1),1)), "single") 561s ***** assert (class (gevrnd (1,single ([1 1]),1)), "single") 561s ***** assert (class (gevrnd (1,1,single (1))), "single") 561s ***** assert (class (gevrnd (1,1,single ([1 1]))), "single") 561s ***** error gevrnd () 561s ***** error gevrnd (1) 561s ***** error gevrnd (1, 2) 561s ***** error ... 561s gevrnd (ones (3), ones (2), ones (2)) 561s ***** error ... 561s gevrnd (ones (2), ones (3), ones (2)) 561s ***** error ... 561s gevrnd (ones (2), ones (2), ones (3)) 561s ***** error gevrnd (i, 2, 3) 561s ***** error gevrnd (1, i, 3) 561s ***** error gevrnd (1, 2, i) 561s ***** error ... 561s gevrnd (1, 2, 3, -1) 561s ***** error ... 561s gevrnd (1, 2, 3, 1.2) 561s ***** error ... 561s gevrnd (1, 2, 3, ones (2)) 561s ***** error ... 561s gevrnd (1, 2, 3, [2 -1 2]) 561s ***** error ... 561s gevrnd (1, 2, 3, [2 0 2.5]) 561s ***** error ... 561s gevrnd (1, 2, 3, 2, -1, 5) 561s ***** error ... 561s gevrnd (1, 2, 3, 2, 1.5, 5) 561s ***** error ... 561s gevrnd (2, ones (2), 2, 3) 561s ***** error ... 561s gevrnd (2, ones (2), 2, [3, 2]) 561s ***** error ... 561s gevrnd (2, ones (2), 2, 3, 2) 561s 34 tests, 34 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/triinv.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/triinv.m 561s ***** demo 561s ## Plot various iCDFs from the triangular distribution 561s p = 0.001:0.001:0.999; 561s x1 = triinv (p, 3, 6, 4); 561s x2 = triinv (p, 1, 5, 2); 561s x3 = triinv (p, 2, 9, 3); 561s x4 = triinv (p, 2, 9, 5); 561s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 561s grid on 561s ylim ([0, 10]) 561s legend ({"a = 3, b = 6, c = 4", "a = 1, b = 5, c = 2", ... 561s "a = 2, b = 9, c = 3", "a = 2, b = 9, c = 5"}, ... 561s "location", "northwest") 561s title ("Triangular CDF") 561s xlabel ("probability") 561s ylabel ("values in x") 561s ***** shared p, y 561s p = [-1, 0, 0.02, 0.5, 0.98, 1, 2]; 561s y = [NaN, 0, 0.1, 0.5, 0.9, 1, NaN] + 1; 561s ***** assert (triinv (p, ones (1,7), 2*ones (1,7), 1.5*ones (1,7)), y, eps) 561s ***** assert (triinv (p, 1*ones (1,7), 2, 1.5), y, eps) 561s ***** assert (triinv (p, 1, 2*ones (1,7), 1.5), y, eps) 561s ***** assert (triinv (p, 1, 2, 1.5*ones (1,7)), y, eps) 561s ***** assert (triinv (p, 1, 2, 1.5), y, eps) 561s ***** assert (triinv (p, [1, 1, NaN, 1, 1, 1, 1], 2, 1.5), [y(1:2), NaN, y(4:7)], eps) 561s ***** assert (triinv (p, 1, 2*[1, 1, NaN, 1, 1, 1, 1], 1.5), [y(1:2), NaN, y(4:7)], eps) 561s ***** assert (triinv (p, 1, 2, 1.5*[1, 1, NaN, 1, 1, 1, 1]), [y(1:2), NaN, y(4:7)], eps) 561s ***** assert (triinv ([p, NaN], 1, 2, 1.5), [y, NaN], eps) 561s ***** assert (triinv (single ([p, NaN]), 1, 2, 1.5), single ([y, NaN]), eps('single')) 561s ***** assert (triinv ([p, NaN], single (1), 2, 1.5), single ([y, NaN]), eps('single')) 561s ***** assert (triinv ([p, NaN], 1, single (2), 1.5), single ([y, NaN]), eps('single')) 561s ***** assert (triinv ([p, NaN], 1, 2, single (1.5)), single ([y, NaN]), eps('single')) 561s ***** error triinv () 561s ***** error triinv (1) 561s ***** error triinv (1, 2) 561s ***** error triinv (1, 2, 3) 561s ***** error ... 561s triinv (1, 2, 3, 4, 5) 561s ***** error ... 561s triinv (ones (3), ones (2), ones(2), ones(2)) 561s ***** error ... 561s triinv (ones (2), ones (3), ones(2), ones(2)) 561s ***** error ... 561s triinv (ones (2), ones (2), ones(3), ones(2)) 561s ***** error ... 561s triinv (ones (2), ones (2), ones(2), ones(3)) 561s ***** error triinv (i, 2, 3, 4) 561s ***** error triinv (1, i, 3, 4) 561s ***** error triinv (1, 2, i, 4) 561s ***** error triinv (1, 2, 3, i) 561s 26 tests, 26 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/geoinv.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/geoinv.m 561s ***** demo 561s ## Plot various iCDFs from the geometric distribution 561s p = 0.001:0.001:0.999; 561s x1 = geoinv (p, 0.2); 561s x2 = geoinv (p, 0.5); 561s x3 = geoinv (p, 0.7); 561s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 561s grid on 561s ylim ([0, 10]) 561s legend ({"ps = 0.2", "ps = 0.5", "ps = 0.7"}, "location", "northwest") 561s title ("Geometric iCDF") 561s xlabel ("probability") 561s ylabel ("values in x (number of failures)") 561s ***** shared p 561s p = [-1 0 0.75 1 2]; 561s ***** assert (geoinv (p, 0.5*ones (1,5)), [NaN 0 1 Inf NaN]) 561s ***** assert (geoinv (p, 0.5), [NaN 0 1 Inf NaN]) 561s ***** assert (geoinv (p, 0.5*[1 -1 NaN 4 1]), [NaN NaN NaN NaN NaN]) 561s ***** assert (geoinv ([p(1:2) NaN p(4:5)], 0.5), [NaN 0 NaN Inf NaN]) 561s ***** assert (geoinv ([p, NaN], 0.5), [NaN 0 1 Inf NaN NaN]) 561s ***** assert (geoinv (single ([p, NaN]), 0.5), single ([NaN 0 1 Inf NaN NaN])) 561s ***** assert (geoinv ([p, NaN], single (0.5)), single ([NaN 0 1 Inf NaN NaN])) 561s ***** error geoinv () 561s ***** error geoinv (1) 561s ***** error ... 561s geoinv (ones (3), ones (2)) 561s ***** error ... 561s geoinv (ones (2), ones (3)) 561s ***** error ... 561s geoinv (i, 2) 561s ***** error ... 561s geoinv (2, i) 561s 13 tests, 13 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/mvnpdf.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvnpdf.m 561s ***** demo 561s mu = [1, -1]; 561s sigma = [0.9, 0.4; 0.4, 0.3]; 561s [X1, X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 561s x = [X1(:), X2(:)]; 561s p = mvnpdf (x, mu, sigma); 561s surf (X1, X2, reshape (p, 25, 25)); 561s ***** error y = mvnpdf (); 561s ***** error y = mvnpdf ([]); 561s ***** error y = mvnpdf (ones (3,3,3)); 561s ***** error ... 561s y = mvnpdf (ones (10, 2), [4, 2, 3]); 561s ***** error ... 561s y = mvnpdf (ones (10, 2), [4, 2; 3, 2]); 561s ***** error ... 561s y = mvnpdf (ones (10, 2), ones (3, 3, 3)); 561s ***** shared x, mu, sigma 561s x = [1, 2, 5, 4, 6]; 561s mu = [2, 0, -1, 1, 4]; 561s sigma = [2, 2, 2, 2, 2]; 561s ***** assert (mvnpdf (x), 1.579343404440977e-20, 1e-30); 561s ***** assert (mvnpdf (x, mu), 1.899325144348102e-14, 1e-25); 561s ***** assert (mvnpdf (x, mu, sigma), 2.449062307156273e-09, 1e-20); 561s 9 tests, 9 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/laplaceinv.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/laplaceinv.m 561s ***** demo 561s ## Plot various iCDFs from the Laplace distribution 561s p = 0.001:0.001:0.999; 561s x1 = cauchyinv (p, 0, 1); 561s x2 = cauchyinv (p, 0, 2); 561s x3 = cauchyinv (p, 0, 4); 561s x4 = cauchyinv (p, -5, 4); 561s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 561s grid on 561s ylim ([-10, 10]) 561s legend ({"μ = 0, β = 1", "μ = 0, β = 2", ... 561s "μ = 0, β = 4", "μ = -5, β = 4"}, "location", "northwest") 561s title ("Laplace iCDF") 561s xlabel ("probability") 561s ylabel ("values in x") 561s ***** shared p, x 561s p = [-1 0 0.5 1 2]; 561s x = [NaN, -Inf, 0, Inf, NaN]; 561s ***** assert (laplaceinv (p, 0, 1), x) 561s ***** assert (laplaceinv (p, 0, [-2, -1, 0, 1, 2]), [nan(1, 3), Inf, NaN]) 561s ***** assert (laplaceinv ([p, NaN], 0, 1), [x, NaN]) 561s ***** assert (laplaceinv (single ([p, NaN]), 0, 1), single ([x, NaN])) 561s ***** assert (laplaceinv ([p, NaN], single (0), 1), single ([x, NaN])) 561s ***** assert (laplaceinv ([p, NaN], 0, single (1)), single ([x, NaN])) 561s ***** error laplaceinv () 561s ***** error laplaceinv (1) 561s ***** error ... 561s laplaceinv (1, 2) 561s ***** error laplaceinv (1, 2, 3, 4) 561s ***** error ... 561s laplaceinv (1, ones (2), ones (3)) 561s ***** error ... 561s laplaceinv (ones (2), 1, ones (3)) 561s ***** error ... 561s laplaceinv (ones (2), ones (3), 1) 561s ***** error laplaceinv (i, 2, 3) 561s ***** error laplaceinv (1, i, 3) 561s ***** error laplaceinv (1, 2, i) 561s 16 tests, 16 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/mvtcdfqmc.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvtcdfqmc.m 561s ***** error mvtcdfqmc (1, 2, 3); 561s ***** error mvtcdfqmc (1, 2, 3, 4, 5, 6, 7, 8); 561s 2 tests, 2 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/gampdf.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gampdf.m 561s ***** demo 561s ## Plot various PDFs from the Gamma distribution 561s x = 0:0.01:20; 561s y1 = gampdf (x, 1, 2); 561s y2 = gampdf (x, 2, 2); 561s y3 = gampdf (x, 3, 2); 561s y4 = gampdf (x, 5, 1); 561s y5 = gampdf (x, 9, 0.5); 561s y6 = gampdf (x, 7.5, 1); 561s y7 = gampdf (x, 0.5, 1); 561s plot (x, y1, "-r", x, y2, "-g", x, y3, "-y", x, y4, "-m", ... 561s x, y5, "-k", x, y6, "-b", x, y7, "-c") 561s grid on 561s ylim ([0,0.5]) 561s legend ({"α = 1, θ = 2", "α = 2, θ = 2", "α = 3, θ = 2", ... 561s "α = 5, θ = 1", "α = 9, θ = 0.5", "α = 7.5, θ = 1", ... 561s "α = 0.5, θ = 1"}, "location", "northeast") 561s title ("Gamma PDF") 561s xlabel ("values in x") 561s ylabel ("density") 561s ***** shared x, y 561s x = [-1 0 0.5 1 Inf]; 561s y = [0 exp(-x(2:end))]; 561s ***** assert (gampdf (x, ones (1,5), ones (1,5)), y) 561s ***** assert (gampdf (x, 1, ones (1,5)), y) 561s ***** assert (gampdf (x, ones (1,5), 1), y) 561s ***** assert (gampdf (x, [0 -Inf NaN Inf 1], 1), [NaN NaN NaN NaN y(5)]) 561s ***** assert (gampdf (x, 1, [0 -Inf NaN Inf 1]), [NaN NaN NaN 0 y(5)]) 561s ***** assert (gampdf ([x, NaN], 1, 1), [y, NaN]) 561s ***** assert (gampdf (single ([x, NaN]), 1, 1), single ([y, NaN])) 561s ***** assert (gampdf ([x, NaN], single (1), 1), single ([y, NaN])) 561s ***** assert (gampdf ([x, NaN], 1, single (1)), single ([y, NaN])) 561s ***** error gampdf () 561s ***** error gampdf (1) 561s ***** error gampdf (1,2) 561s ***** error ... 561s gampdf (ones (3), ones (2), ones (2)) 561s ***** error ... 561s gampdf (ones (2), ones (3), ones (2)) 561s ***** error ... 561s gampdf (ones (2), ones (2), ones (3)) 561s ***** error gampdf (i, 2, 2) 561s ***** error gampdf (2, i, 2) 561s ***** error gampdf (2, 2, i) 561s 18 tests, 18 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/wblinv.m] 561s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/wblinv.m 561s ***** demo 561s ## Plot various iCDFs from the Weibull distribution 561s p = 0.001:0.001:0.999; 561s x1 = wblinv (p, 1, 0.5); 561s x2 = wblinv (p, 1, 1); 561s x3 = wblinv (p, 1, 1.5); 561s x4 = wblinv (p, 1, 5); 561s plot (p, x1, "-b", p, x2, "-r", p, x3, "-m", p, x4, "-g") 561s ylim ([0, 2.5]) 561s grid on 561s legend ({"λ = 1, k = 0.5", "λ = 1, k = 1", ... 561s "λ = 1, k = 1.5", "λ = 1, k = 5"}, "location", "northwest") 561s title ("Weibull iCDF") 561s xlabel ("probability") 561s ylabel ("x") 561s ***** shared p 561s p = [-1 0 0.63212055882855778 1 2]; 561s ***** assert (wblinv (p, ones (1,5), ones (1,5)), [NaN 0 1 Inf NaN], eps) 561s ***** assert (wblinv (p, 1, ones (1,5)), [NaN 0 1 Inf NaN], eps) 561s ***** assert (wblinv (p, ones (1,5), 1), [NaN 0 1 Inf NaN], eps) 561s ***** assert (wblinv (p, [1 -1 NaN Inf 1], 1), [NaN NaN NaN NaN NaN]) 561s ***** assert (wblinv (p, 1, [1 -1 NaN Inf 1]), [NaN NaN NaN NaN NaN]) 561s ***** assert (wblinv ([p(1:2) NaN p(4:5)], 1, 1), [NaN 0 NaN Inf NaN]) 561s ***** assert (wblinv ([p, NaN], 1, 1), [NaN 0 1 Inf NaN NaN], eps) 561s ***** assert (wblinv (single ([p, NaN]), 1, 1), single ([NaN 0 1 Inf NaN NaN]), eps ("single")) 561s ***** assert (wblinv ([p, NaN], single (1), 1), single ([NaN 0 1 Inf NaN NaN]), eps ("single")) 561s ***** assert (wblinv ([p, NaN], 1, single (1)), single ([NaN 0 1 Inf NaN NaN]), eps ("single")) 561s ***** error wblinv () 561s ***** error wblinv (1,2,3,4) 561s ***** error ... 561s wblinv (ones (3), ones (2), ones (2)) 561s ***** error ... 561s wblinv (ones (2), ones (3), ones (2)) 561s ***** error ... 561s wblinv (ones (2), ones (2), ones (3)) 561s ***** error wblinv (i, 2, 2) 561s ***** error wblinv (2, i, 2) 561s ***** error wblinv (2, 2, i) 561s 18 tests, 18 passed, 0 known failure, 0 skipped 561s [inst/dist_fun/gamcdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gamcdf.m 562s ***** demo 562s ## Plot various CDFs from the Gamma distribution 562s x = 0:0.01:20; 562s p1 = gamcdf (x, 1, 2); 562s p2 = gamcdf (x, 2, 2); 562s p3 = gamcdf (x, 3, 2); 562s p4 = gamcdf (x, 5, 1); 562s p5 = gamcdf (x, 9, 0.5); 562s p6 = gamcdf (x, 7.5, 1); 562s p7 = gamcdf (x, 0.5, 1); 562s plot (x, p1, "-r", x, p2, "-g", x, p3, "-y", x, p4, "-m", ... 562s x, p5, "-k", x, p6, "-b", x, p7, "-c") 562s grid on 562s legend ({"α = 1, θ = 2", "α = 2, θ = 2", "α = 3, θ = 2", ... 562s "α = 5, θ = 1", "α = 9, θ = 0.5", "α = 7.5, θ = 1", ... 562s "α = 0.5, θ = 1"}, "location", "southeast") 562s title ("Gamma CDF") 562s xlabel ("values in x") 562s ylabel ("probability") 562s ***** shared x, y, u 562s x = [-1, 0, 0.5, 1, 2, Inf]; 562s y = [0, gammainc(x(2:end), 1)]; 562s u = [0, NaN, NaN, 1, 0.1353352832366127, 0]; 562s ***** assert (gamcdf (x, ones (1,6), ones (1,6)), y, eps) 562s ***** assert (gamcdf (x, ones (1,6), ones (1,6), []), y, eps) 562s ***** assert (gamcdf (x, 1, ones (1,6)), y, eps) 562s ***** assert (gamcdf (x, ones (1,6), 1), y, eps) 562s ***** assert (gamcdf (x, [0, -Inf, NaN, Inf, 1, 1], 1), [1, NaN, NaN, 0, y(5:6)], eps) 562s ***** assert (gamcdf (x, [0, -Inf, NaN, Inf, 1, 1], 1, "upper"), u, eps) 562s ***** assert (gamcdf (x, 1, [0, -Inf, NaN, Inf, 1, 1]), [NaN, NaN, NaN, 0, y(5:6)], eps) 562s ***** assert (gamcdf ([x(1:2), NaN, x(4:6)], 1, 1), [y(1:2), NaN, y(4:6)], eps) 562s ***** assert (gamcdf ([x, NaN], 1, 1), [y, NaN]) 562s ***** assert (gamcdf (single ([x, NaN]), 1, 1), single ([y, NaN]), eps ("single")) 562s ***** assert (gamcdf ([x, NaN], single (1), 1), single ([y, NaN]), eps ("single")) 562s ***** assert (gamcdf ([x, NaN], 1, single (1)), single ([y, NaN]), eps ("single")) 562s ***** error gamcdf () 562s ***** error gamcdf (1) 562s ***** error gamcdf (1, 2, 3, 4, 5, 6, 7) 562s ***** error gamcdf (1, 2, 3, "uper") 562s ***** error gamcdf (1, 2, 3, 4, 5, "uper") 562s ***** error gamcdf (2, 3, 4, [1, 2]) 562s ***** error ... 562s [p, plo, pup] = gamcdf (1, 2, 3) 562s ***** error ... 562s [p, plo, pup] = gamcdf (1, 2, 3, "upper") 562s ***** error [p, plo, pup] = ... 562s gamcdf (1, 2, 3, [1, 0; 0, 1], 0) 562s ***** error [p, plo, pup] = ... 562s gamcdf (1, 2, 3, [1, 0; 0, 1], 1.22) 562s ***** error [p, plo, pup] = ... 562s gamcdf (1, 2, 3, [1, 0; 0, 1], "alpha", "upper") 562s ***** error ... 562s gamcdf (ones (3), ones (2), ones (2)) 562s ***** error ... 562s gamcdf (ones (2), ones (3), ones (2)) 562s ***** error ... 562s gamcdf (ones (2), ones (2), ones (3)) 562s ***** error gamcdf (i, 2, 2) 562s ***** error gamcdf (2, i, 2) 562s ***** error gamcdf (2, 2, i) 562s ***** error ... 562s [p, plo, pup] = gamcdf (1, 2, 3, [1, 0; 0, -inf], 0.04) 562s 30 tests, 30 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/betacdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/betacdf.m 562s ***** demo 562s ## Plot various CDFs from the Beta distribution 562s x = 0:0.005:1; 562s p1 = betacdf (x, 0.5, 0.5); 562s p2 = betacdf (x, 5, 1); 562s p3 = betacdf (x, 1, 3); 562s p4 = betacdf (x, 2, 2); 562s p5 = betacdf (x, 2, 5); 562s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 562s grid on 562s legend ({"α = β = 0.5", "α = 5, β = 1", "α = 1, β = 3", ... 562s "α = 2, β = 2", "α = 2, β = 5"}, "location", "northwest") 562s title ("Beta CDF") 562s xlabel ("values in x") 562s ylabel ("probability") 562s ***** shared x, y, x1, x2 562s x = [-1 0 0.5 1 2]; 562s y = [0 0 0.75 1 1]; 562s ***** assert (betacdf (x, ones (1, 5), 2 * ones (1, 5)), y) 562s ***** assert (betacdf (x, 1, 2 * ones (1, 5)), y) 562s ***** assert (betacdf (x, ones (1, 5), 2), y) 562s ***** assert (betacdf (x, [0 1 NaN 1 1], 2), [NaN 0 NaN 1 1]) 562s ***** assert (betacdf (x, 1, 2 * [0 1 NaN 1 1]), [NaN 0 NaN 1 1]) 562s ***** assert (betacdf ([x(1:2) NaN x(4:5)], 1, 2), [y(1:2) NaN y(4:5)]) 562s x1 = [0.1:0.2:0.9]; 562s ***** assert (betacdf (x1, 2, 2), [0.028, 0.216, 0.5, 0.784, 0.972], 1e-14); 562s ***** assert (betacdf (x1, 2, 2, "upper"), 1 - [0.028, 0.216, 0.5, 0.784, 0.972],... 562s 1e-14); 562s x2 = [1, 2, 3]; 562s ***** assert (betacdf (0.5, x2, x2), [0.5, 0.5, 0.5], 1e-14); 562s ***** assert (betacdf ([x, NaN], 1, 2), [y, NaN]) 562s ***** assert (betacdf (single ([x, NaN]), 1, 2), single ([y, NaN])) 562s ***** assert (betacdf ([x, NaN], single (1), 2), single ([y, NaN])) 562s ***** assert (betacdf ([x, NaN], 1, single (2)), single ([y, NaN])) 562s ***** error betacdf () 562s ***** error betacdf (1) 562s ***** error betacdf (1, 2) 562s ***** error betacdf (1, 2, 3, 4, 5) 562s ***** error betacdf (1, 2, 3, "tail") 562s ***** error betacdf (1, 2, 3, 4) 562s ***** error ... 562s betacdf (ones (3), ones (2), ones (2)) 562s ***** error ... 562s betacdf (ones (2), ones (3), ones (2)) 562s ***** error ... 562s betacdf (ones (2), ones (2), ones (3)) 562s ***** error betacdf (i, 2, 2) 562s ***** error betacdf (2, i, 2) 562s ***** error betacdf (2, 2, i) 562s 25 tests, 25 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/mvtpdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mvtpdf.m 562s ***** demo 562s ## Compute the pdf of a multivariate t distribution with correlation 562s ## parameters rho = [1 .4; .4 1] and 2 degrees of freedom. 562s 562s rho = [1, 0.4; 0.4, 1]; 562s df = 2; 562s [X1, X2] = meshgrid (linspace (-2, 2, 25)', linspace (-2, 2, 25)'); 562s X = [X1(:), X2(:)]; 562s y = mvtpdf (X, rho, df); 562s surf (X1, X2, reshape (y, 25, 25)); 562s title ("Bivariate Student's t probability density function"); 562s ***** assert (mvtpdf ([0 0], eye(2), 1), 0.1591549, 1E-7) 562s ***** assert (mvtpdf ([1 0], [1 0.5; 0.5 1], 2), 0.06615947, 1E-7) 562s ***** assert (mvtpdf ([1 0.4 0; 1.2 0.5 0.5; 1.4 0.6 1], ... 562s [1 0.5 0.3; 0.5 1 0.6; 0.3 0.6 1], [5 6 7]), ... 562s [0.04713313 0.03722421 0.02069011]', 1E-7) 562s 3 tests, 3 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/mnrnd.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/mnrnd.m 562s ***** test 562s n = 10; 562s pk = [0.2, 0.5, 0.3]; 562s r = mnrnd (n, pk); 562s assert (size (r), size (pk)); 562s assert (all (r >= 0)); 562s assert (all (round (r) == r)); 562s assert (sum (r) == n); 562s ***** test 562s n = 10 * ones (3, 1); 562s pk = [0.2, 0.5, 0.3]; 562s r = mnrnd (n, pk); 562s assert (size (r), [length(n), length(pk)]); 562s assert (all (r >= 0)); 562s assert (all (round (r) == r)); 562s assert (all (sum (r, 2) == n)); 562s ***** test 562s n = (1:2)'; 562s pk = [0.2, 0.5, 0.3; 0.1, 0.1, 0.8]; 562s r = mnrnd (n, pk); 562s assert (size (r), size (pk)); 562s assert (all (r >= 0)); 562s assert (all (round (r) == r)); 562s assert (all (sum (r, 2) == n)); 562s 3 tests, 3 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/logirnd.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/logirnd.m 562s ***** assert (size (logirnd (1, 1)), [1 1]) 562s ***** assert (size (logirnd (1, ones (2,1))), [2, 1]) 562s ***** assert (size (logirnd (1, ones (2,2))), [2, 2]) 562s ***** assert (size (logirnd (ones (2,1), 1)), [2, 1]) 562s ***** assert (size (logirnd (ones (2,2), 1)), [2, 2]) 562s ***** assert (size (logirnd (1, 1, 3)), [3, 3]) 562s ***** assert (size (logirnd (1, 1, [4, 1])), [4, 1]) 562s ***** assert (size (logirnd (1, 1, 4, 1)), [4, 1]) 562s ***** assert (size (logirnd (1, 1, 4, 1, 5)), [4, 1, 5]) 562s ***** assert (size (logirnd (1, 1, 0, 1)), [0, 1]) 562s ***** assert (size (logirnd (1, 1, 1, 0)), [1, 0]) 562s ***** assert (size (logirnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 562s ***** assert (class (logirnd (1, 1)), "double") 562s ***** assert (class (logirnd (1, single (1))), "single") 562s ***** assert (class (logirnd (1, single ([1, 1]))), "single") 562s ***** assert (class (logirnd (single (1), 1)), "single") 562s ***** assert (class (logirnd (single ([1, 1]), 1)), "single") 562s ***** error logirnd () 562s ***** error logirnd (1) 562s ***** error ... 562s logirnd (ones (3), ones (2)) 562s ***** error ... 562s logirnd (ones (2), ones (3)) 562s ***** error logirnd (i, 2, 3) 562s ***** error logirnd (1, i, 3) 562s ***** error ... 562s logirnd (1, 2, -1) 562s ***** error ... 562s logirnd (1, 2, 1.2) 562s ***** error ... 562s logirnd (1, 2, ones (2)) 562s ***** error ... 562s logirnd (1, 2, [2 -1 2]) 562s ***** error ... 562s logirnd (1, 2, [2 0 2.5]) 562s ***** error ... 562s logirnd (1, 2, 2, -1, 5) 562s ***** error ... 562s logirnd (1, 2, 2, 1.5, 5) 562s ***** error ... 562s logirnd (2, ones (2), 3) 562s ***** error ... 562s logirnd (2, ones (2), [3, 2]) 562s ***** error ... 562s logirnd (2, ones (2), 3, 2) 562s 33 tests, 33 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/evpdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/evpdf.m 562s ***** demo 562s ## Plot various PDFs from the Extreme value distribution 562s x = -10:0.001:10; 562s y1 = evpdf (x, 0.5, 2); 562s y2 = evpdf (x, 1.0, 2); 562s y3 = evpdf (x, 1.5, 3); 562s y4 = evpdf (x, 3.0, 4); 562s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 562s grid on 562s ylim ([0, 0.2]) 562s legend ({"μ = 0.5, σ = 2", "μ = 1.0, σ = 2", ... 562s "μ = 1.5, σ = 3", "μ = 3.0, σ = 4"}, "location", "northeast") 562s title ("Extreme value PDF") 562s xlabel ("values in x") 562s ylabel ("density") 562s ***** shared x, y0, y1 562s x = [-5, 0, 1, 2, 3]; 562s y0 = [0.0067, 0.3679, 0.1794, 0.0046, 0]; 562s y1 = [0.0025, 0.2546, 0.3679, 0.1794, 0.0046]; 562s ***** assert (evpdf (x), y0, 1e-4) 562s ***** assert (evpdf (x, zeros (1,5), ones (1,5)), y0, 1e-4) 562s ***** assert (evpdf (x, ones (1,5), ones (1,5)), y1, 1e-4) 562s ***** error evpdf () 562s ***** error ... 562s evpdf (ones (3), ones (2), ones (2)) 562s ***** error evpdf (i, 2, 2) 562s ***** error evpdf (2, i, 2) 562s ***** error evpdf (2, 2, i) 562s 8 tests, 8 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/nbincdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nbincdf.m 562s ***** demo 562s ## Plot various CDFs from the negative binomial distribution 562s x = 0:50; 562s p1 = nbincdf (x, 2, 0.15); 562s p2 = nbincdf (x, 5, 0.2); 562s p3 = nbincdf (x, 4, 0.4); 562s p4 = nbincdf (x, 10, 0.3); 562s plot (x, p1, "*r", x, p2, "*g", x, p3, "*k", x, p4, "*m") 562s grid on 562s xlim ([0, 40]) 562s legend ({"r = 2, ps = 0.15", "r = 5, ps = 0.2", "r = 4, p = 0.4", ... 562s "r = 10, ps = 0.3"}, "location", "southeast") 562s title ("Negative binomial CDF") 562s xlabel ("values in x (number of failures)") 562s ylabel ("probability") 562s ***** shared x, y 562s x = [-1 0 1 2 Inf]; 562s y = [0 1/2 3/4 7/8 1]; 562s ***** assert (nbincdf (x, ones (1,5), 0.5*ones (1,5)), y) 562s ***** assert (nbincdf (x, 1, 0.5*ones (1,5)), y) 562s ***** assert (nbincdf (x, ones (1,5), 0.5), y) 562s ***** assert (nbincdf (x, ones (1,5), 0.5, "upper"), 1 - y, eps) 562s ***** assert (nbincdf ([x(1:3) 0 x(5)], [0 1 NaN 1.5 Inf], 0.5), ... 562s [NaN 1/2 NaN nbinpdf(0,1.5,0.5) NaN], eps) 562s ***** assert (nbincdf (x, 1, 0.5*[-1 NaN 4 1 1]), [NaN NaN NaN y(4:5)]) 562s ***** assert (nbincdf ([x(1:2) NaN x(4:5)], 1, 0.5), [y(1:2) NaN y(4:5)]) 562s ***** assert (nbincdf ([x, NaN], 1, 0.5), [y, NaN]) 562s ***** assert (nbincdf (single ([x, NaN]), 1, 0.5), single ([y, NaN])) 562s ***** assert (nbincdf ([x, NaN], single (1), 0.5), single ([y, NaN])) 562s ***** assert (nbincdf ([x, NaN], 1, single (0.5)), single ([y, NaN])) 562s ***** error nbincdf () 562s ***** error nbincdf (1) 562s ***** error nbincdf (1, 2) 562s ***** error nbincdf (1, 2, 3, 4) 562s ***** error nbincdf (1, 2, 3, "some") 562s ***** error ... 562s nbincdf (ones (3), ones (2), ones (2)) 562s ***** error ... 562s nbincdf (ones (2), ones (3), ones (2)) 562s ***** error ... 562s nbincdf (ones (2), ones (2), ones (3)) 562s ***** error nbincdf (i, 2, 2) 562s ***** error nbincdf (2, i, 2) 562s ***** error nbincdf (2, 2, i) 562s 22 tests, 22 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/cauchycdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/cauchycdf.m 562s ***** demo 562s ## Plot various CDFs from the Cauchy distribution 562s x = -5:0.01:5; 562s p1 = cauchycdf (x, 0, 0.5); 562s p2 = cauchycdf (x, 0, 1); 562s p3 = cauchycdf (x, 0, 2); 562s p4 = cauchycdf (x, -2, 1); 562s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 562s grid on 562s xlim ([-5, 5]) 562s legend ({"x0 = 0, γ = 0.5", "x0 = 0, γ = 1", ... 562s "x0 = 0, γ = 2", "x0 = -2, γ = 1"}, "location", "southeast") 562s title ("Cauchy CDF") 562s xlabel ("values in x") 562s ylabel ("probability") 562s ***** shared x, y 562s x = [-1 0 0.5 1 2]; 562s y = 1/pi * atan ((x-1) / 2) + 1/2; 562s ***** assert (cauchycdf (x, ones (1,5), 2*ones (1,5)), y) 562s ***** assert (cauchycdf (x, 1, 2*ones (1,5)), y) 562s ***** assert (cauchycdf (x, ones (1,5), 2), y) 562s ***** assert (cauchycdf (x, [-Inf 1 NaN 1 Inf], 2), [NaN y(2) NaN y(4) NaN]) 562s ***** assert (cauchycdf (x, 1, 2*[0 1 NaN 1 Inf]), [NaN y(2) NaN y(4) NaN]) 562s ***** assert (cauchycdf ([x(1:2) NaN x(4:5)], 1, 2), [y(1:2) NaN y(4:5)]) 562s ***** assert (cauchycdf ([x, NaN], 1, 2), [y, NaN]) 562s ***** assert (cauchycdf (single ([x, NaN]), 1, 2), single ([y, NaN]), eps ("single")) 562s ***** assert (cauchycdf ([x, NaN], single (1), 2), single ([y, NaN]), eps ("single")) 562s ***** assert (cauchycdf ([x, NaN], 1, single (2)), single ([y, NaN]), eps ("single")) 562s ***** error cauchycdf () 562s ***** error cauchycdf (1) 562s ***** error ... 562s cauchycdf (1, 2) 562s ***** error ... 562s cauchycdf (1, 2, 3, 4, 5) 562s ***** error cauchycdf (1, 2, 3, "tail") 562s ***** error cauchycdf (1, 2, 3, 4) 562s ***** error ... 562s cauchycdf (ones (3), ones (2), ones (2)) 562s ***** error ... 562s cauchycdf (ones (2), ones (3), ones (2)) 562s ***** error ... 562s cauchycdf (ones (2), ones (2), ones (3)) 562s ***** error cauchycdf (i, 2, 2) 562s ***** error cauchycdf (2, i, 2) 562s ***** error cauchycdf (2, 2, i) 562s 22 tests, 22 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/geopdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/geopdf.m 562s ***** demo 562s ## Plot various PDFs from the geometric distribution 562s x = 0:10; 562s y1 = geopdf (x, 0.2); 562s y2 = geopdf (x, 0.5); 562s y3 = geopdf (x, 0.7); 562s plot (x, y1, "*b", x, y2, "*g", x, y3, "*r") 562s grid on 562s ylim ([0, 0.8]) 562s legend ({"ps = 0.2", "ps = 0.5", "ps = 0.7"}, "location", "northeast") 562s title ("Geometric PDF") 562s xlabel ("values in x (number of failures)") 562s ylabel ("density") 562s ***** shared x, y 562s x = [-1 0 1 Inf]; 562s y = [0, 1/2, 1/4, NaN]; 562s ***** assert (geopdf (x, 0.5*ones (1,4)), y) 562s ***** assert (geopdf (x, 0.5), y) 562s ***** assert (geopdf (x, 0.5*[-1 NaN 4 1]), [NaN NaN NaN y(4)]) 562s ***** assert (geopdf ([x, NaN], 0.5), [y, NaN]) 562s ***** assert (geopdf (single ([x, NaN]), 0.5), single ([y, NaN]), 5*eps ("single")) 562s ***** assert (geopdf ([x, NaN], single (0.5)), single ([y, NaN]), 5*eps ("single")) 562s ***** error geopdf () 562s ***** error geopdf (1) 562s ***** error geopdf (1,2,3) 562s ***** error geopdf (ones (3), ones (2)) 562s ***** error geopdf (ones (2), ones (3)) 562s ***** error geopdf (i, 2) 562s ***** error geopdf (2, i) 562s 13 tests, 13 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/invgpdf.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/invgpdf.m 562s ***** demo 562s ## Plot various PDFs from the inverse Gaussian distribution 562s x = 0:0.001:3; 562s y1 = invgpdf (x, 1, 0.2); 562s y2 = invgpdf (x, 1, 1); 562s y3 = invgpdf (x, 1, 3); 562s y4 = invgpdf (x, 3, 0.2); 562s y5 = invgpdf (x, 3, 1); 562s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-y") 562s grid on 562s xlim ([0, 3]) 562s ylim ([0, 3]) 562s legend ({"μ = 1, σ = 0.2", "μ = 1, σ = 1", "μ = 1, σ = 3", ... 562s "μ = 3, σ = 0.2", "μ = 3, σ = 1"}, "location", "northeast") 562s title ("Inverse Gaussian PDF") 562s xlabel ("values in x") 562s ylabel ("density") 562s ***** shared x, y 562s x = [-Inf, -1, 0, 1/2, 1, Inf]; 562s y = [0, 0, 0, 0.8788, 0.3989, 0]; 562s ***** assert (invgpdf ([x, NaN], 1, 1), [y, NaN], 1e-4) 562s ***** assert (invgpdf (x, 1, [-2, -1, 0, 1, 1, 1]), [nan(1,3), y([4:6])], 1e-4) 562s ***** assert (class (hncdf (single ([x, NaN]), 1, 1)), "single") 562s ***** assert (class (hncdf ([x, NaN], 1, single (1))), "single") 562s ***** assert (class (hncdf ([x, NaN], single (1), 1)), "single") 562s ***** error invgpdf () 562s ***** error invgpdf (1) 562s ***** error invgpdf (1, 2) 562s ***** error ... 562s invgpdf (1, ones (2), ones (3)) 562s ***** error ... 562s invgpdf (ones (2), 1, ones (3)) 562s ***** error ... 562s invgpdf (ones (2), ones (3), 1) 562s ***** error invgpdf (i, 2, 3) 562s ***** error invgpdf (1, i, 3) 562s ***** error invgpdf (1, 2, i) 562s 14 tests, 14 passed, 0 known failure, 0 skipped 562s [inst/dist_fun/ncx2inv.m] 562s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/ncx2inv.m 562s ***** demo 562s ## Plot various iCDFs from the noncentral chi-squared distribution 562s p = 0.001:0.001:0.999; 562s x1 = ncx2inv (p, 2, 1); 562s x2 = ncx2inv (p, 2, 2); 562s x3 = ncx2inv (p, 2, 3); 562s x4 = ncx2inv (p, 4, 1); 562s x5 = ncx2inv (p, 4, 2); 562s x6 = ncx2inv (p, 4, 3); 562s plot (p, x1, "-r", p, x2, "-g", p, x3, "-k", ... 562s p, x4, "-m", p, x5, "-c", p, x6, "-y") 562s grid on 562s ylim ([0, 10]) 562s legend ({"df = 2, λ = 1", "df = 2, λ = 2", ... 562s "df = 2, λ = 3", "df = 4, λ = 1", ... 562s "df = 4, λ = 2", "df = 4, λ = 3"}, "location", "northwest") 562s title ("Noncentral chi-squared iCDF") 562s xlabel ("probability") 562s ylabel ("values in x") 562s ***** demo 562s ## Compare the noncentral chi-squared CDF with LAMBDA = 2 to the 562s ## chi-squared CDF with the same number of degrees of freedom (4). 562s 562s p = 0.001:0.001:0.999; 562s x1 = ncx2inv (p, 4, 2); 562s x2 = chi2inv (p, 4); 562s plot (p, x1, "-", p, x2, "-"); 562s grid on 562s ylim ([0, 10]) 562s legend ({"Noncentral χ^2(4,2)", "χ^2(4)"}, "location", "northwest") 562s title ("Noncentral chi-squared vs chi-squared quantile functions") 562s xlabel ("probability") 562s ylabel ("values in x") 562s ***** test 562s x = [0,0.3443,0.7226,1.1440,1.6220,2.1770,2.8436,3.6854,4.8447,6.7701,Inf]; 562s assert (ncx2inv ([0:0.1:1], 2, 1), x, 1e-4); 562s ***** test 562s x = [0,0.8295,1.6001,2.3708,3.1785,4.0598,5.0644,6.2765,7.8763,10.4199,Inf]; 562s assert (ncx2inv ([0:0.1:1], 2, 3), x, 1e-4); 562s ***** test 562s x = [0,0.5417,1.3483,2.1796,3.0516,4.0003,5.0777,6.3726,8.0748,10.7686,Inf]; 562s assert (ncx2inv ([0:0.1:1], 1, 4), x, 1e-4); 563s ***** test 563s x = [0.1808, 0.6456, 1.1842, 1.7650, 2.3760, 3.0105]; 563s assert (ncx2inv (0.05, [1, 2, 3, 4, 5, 6], 4), x, 1e-4); 563s ***** test 563s x = [0.4887, 0.6699, 0.9012, 1.1842, 1.5164, 1.8927]; 563s assert (ncx2inv (0.05, 3, [1, 2, 3, 4, 5, 6]), x, 1e-4); 563s ***** test 563s x = [1.3941, 1.6824, 2.0103, 2.3760, NaN, 3.2087]; 563s assert (ncx2inv (0.05, 5, [1, 2, 3, 4, -1, 6]), x, 1e-4); 563s ***** test 563s assert (ncx2inv (0.996, 5, 8), 35.51298862765576, 2e-13); 564s ***** error ncx2inv () 564s ***** error ncx2inv (1) 564s ***** error ncx2inv (1, 2) 564s ***** error ... 564s ncx2inv (ones (3), ones (2), ones (2)) 564s ***** error ... 564s ncx2inv (ones (2), ones (3), ones (2)) 564s ***** error ... 564s ncx2inv (ones (2), ones (2), ones (3)) 564s ***** error ncx2inv (i, 2, 2) 564s ***** error ncx2inv (2, i, 2) 564s ***** error ncx2inv (2, 2, i) 564s 16 tests, 16 passed, 0 known failure, 0 skipped 564s [inst/dist_fun/invginv.m] 564s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/invginv.m 564s ***** demo 564s ## Plot various iCDFs from the inverse Gaussian distribution 564s p = 0.001:0.001:0.999; 564s x1 = invginv (p, 1, 0.2); 564s x2 = invginv (p, 1, 1); 564s x3 = invginv (p, 1, 3); 564s x4 = invginv (p, 3, 0.2); 564s x5 = invginv (p, 3, 1); 564s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c", p, x5, "-y") 564s grid on 564s ylim ([0, 3]) 564s legend ({"μ = 1, σ = 0.2", "μ = 1, σ = 1", "μ = 1, σ = 3", ... 564s "μ = 3, σ = 0.2", "μ = 3, σ = 1"}, "location", "northwest") 564s title ("Inverse Gaussian iCDF") 564s xlabel ("probability") 564s ylabel ("x") 564s ***** shared p, x 564s p = [0, 0.3829, 0.6827, 1]; 564s x = [0, 0.5207, 1.0376, Inf]; 564s ***** assert (invginv (p, 1, 1), x, 1e-4); 564s ***** assert (invginv (p, 1, ones (1,4)), x, 1e-4); 564s ***** assert (invginv (p, 1, [-1, 0, 1, 1]), [NaN, NaN, x(3:4)], 1e-4) 564s ***** assert (invginv (p, [-1, 0, 1, 1], 1), [NaN, NaN, x(3:4)], 1e-4) 564s ***** assert (class (invginv (single ([p, NaN]), 0, 1)), "single") 564s ***** assert (class (invginv ([p, NaN], single (0), 1)), "single") 564s ***** assert (class (invginv ([p, NaN], 0, single (1))), "single") 564s ***** error invginv (1) 564s ***** error invginv (1, 2) 564s ***** error ... 564s invginv (1, ones (2), ones (3)) 564s ***** error ... 564s invginv (ones (2), 1, ones (3)) 564s ***** error ... 564s invginv (ones (2), ones (3), 1) 564s ***** error invginv (i, 2, 3) 564s ***** error invginv (1, i, 3) 564s ***** error invginv (1, 2, i) 564s 15 tests, 15 passed, 0 known failure, 0 skipped 564s [inst/dist_fun/vmcdf.m] 564s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/vmcdf.m 564s ***** demo 564s ## Plot various CDFs from the von Mises distribution 564s x1 = [-pi:0.1:pi]; 564s p1 = vmcdf (x1, 0, 0.5); 564s p2 = vmcdf (x1, 0, 1); 564s p3 = vmcdf (x1, 0, 2); 564s p4 = vmcdf (x1, 0, 4); 564s plot (x1, p1, "-r", x1, p2, "-g", x1, p3, "-b", x1, p4, "-c") 564s grid on 564s xlim ([-pi, pi]) 564s legend ({"μ = 0, k = 0.5", "μ = 0, k = 1", ... 564s "μ = 0, k = 2", "μ = 0, k = 4"}, "location", "northwest") 564s title ("Von Mises CDF") 564s xlabel ("values in x") 564s ylabel ("probability") 564s ***** shared x, p0, p1 564s x = [-pi:pi/2:pi]; 564s p0 = [0, 0.10975, 0.5, 0.89025, 1]; 564s p1 = [0, 0.03752, 0.5, 0.99622, 1]; 564s ***** assert (vmcdf (x, 0, 1), p0, 1e-5) 564s ***** assert (vmcdf (x, 0, 1, "upper"), 1 - p0, 1e-5) 564s ***** assert (vmcdf (x, zeros (1,5), ones (1,5)), p0, 1e-5) 564s ***** assert (vmcdf (x, zeros (1,5), ones (1,5), "upper"), 1 - p0, 1e-5) 565s ***** assert (vmcdf (x, 0, [1 2 3 4 5]), p1, 1e-5) 565s ***** assert (vmcdf (x, 0, [1 2 3 4 5], "upper"), 1 - p1, 1e-5) 565s ***** assert (isa (vmcdf (single (pi), 0, 1), "single"), true) 565s ***** assert (isa (vmcdf (pi, single (0), 1), "single"), true) 565s ***** assert (isa (vmcdf (pi, 0, single (1)), "single"), true) 565s ***** error vmcdf () 565s ***** error vmcdf (1) 565s ***** error vmcdf (1, 2) 565s ***** error vmcdf (1, 2, 3, "tail") 565s ***** error vmcdf (1, 2, 3, 4) 565s ***** error ... 565s vmcdf (ones (3), ones (2), ones (2)) 565s ***** error ... 565s vmcdf (ones (2), ones (3), ones (2)) 565s ***** error ... 565s vmcdf (ones (2), ones (2), ones (3)) 565s ***** error vmcdf (i, 2, 2) 565s ***** error vmcdf (2, i, 2) 565s ***** error vmcdf (2, 2, i) 565s 20 tests, 20 passed, 0 known failure, 0 skipped 565s [inst/dist_fun/loglcdf.m] 565s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/loglcdf.m 565s ***** demo 565s ## Plot various CDFs from the log-logistic distribution 565s x = 0:0.001:2; 565s p1 = loglcdf (x, 1, 0.5); 565s p2 = loglcdf (x, 1, 1); 565s p3 = loglcdf (x, 1, 2); 565s p4 = loglcdf (x, 1, 4); 565s p5 = loglcdf (x, 1, 8); 565s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-m") 565s legend ({"β = 0.5", "β = 1", "β = 2", "β = 4", "β = 8"}, ... 565s "location", "northwest") 565s grid on 565s title ("Log-logistic CDF") 565s xlabel ("values in x") 565s ylabel ("probability") 565s text (0.05, 0.64, "α = 1, values of β as shown in legend") 565s ***** shared out1, out2 565s out1 = [0, 0.5, 0.66666667, 0.75, 0.8, 0.83333333]; 565s out2 = [0, 0.4174, 0.4745, 0.5082, 0.5321, 0.5506]; 565s ***** assert (loglcdf ([0:5], 1, 1), out1, 1e-8) 565s ***** assert (loglcdf ([0:5], 1, 1, "upper"), 1 - out1, 1e-8) 565s ***** assert (loglcdf ([0:5], exp (0), 1), out1, 1e-8) 565s ***** assert (loglcdf ([0:5], exp (0), 1, "upper"), 1 - out1, 1e-8) 565s ***** assert (loglcdf ([0:5], exp (1), 1 / 3), out2, 1e-4) 565s ***** assert (loglcdf ([0:5], exp (1), 1 / 3, "upper"), 1 - out2, 1e-4) 565s ***** assert (class (loglcdf (single (1), 2, 3)), "single") 565s ***** assert (class (loglcdf (1, single (2), 3)), "single") 565s ***** assert (class (loglcdf (1, 2, single (3))), "single") 565s ***** error loglcdf (1) 565s ***** error loglcdf (1, 2) 565s ***** error ... 565s loglcdf (1, 2, 3, 4) 565s ***** error ... 565s loglcdf (1, 2, 3, "uper") 565s ***** error ... 565s loglcdf (1, ones (2), ones (3)) 565s ***** error ... 565s loglcdf (1, ones (2), ones (3), "upper") 565s ***** error ... 565s loglcdf (ones (2), 1, ones (3)) 565s ***** error ... 565s loglcdf (ones (2), 1, ones (3), "upper") 565s ***** error ... 565s loglcdf (ones (2), ones (3), 1) 565s ***** error ... 565s loglcdf (ones (2), ones (3), 1, "upper") 565s ***** error loglcdf (i, 2, 3) 565s ***** error loglcdf (i, 2, 3, "upper") 565s ***** error loglcdf (1, i, 3) 565s ***** error loglcdf (1, i, 3, "upper") 565s ***** error loglcdf (1, 2, i) 565s ***** error loglcdf (1, 2, i, "upper") 565s 25 tests, 25 passed, 0 known failure, 0 skipped 565s [inst/dist_fun/laplacernd.m] 565s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/laplacernd.m 565s ***** assert (size (laplacernd (1, 1)), [1 1]) 565s ***** assert (size (laplacernd (1, ones (2,1))), [2, 1]) 565s ***** assert (size (laplacernd (1, ones (2,2))), [2, 2]) 565s ***** assert (size (laplacernd (ones (2,1), 1)), [2, 1]) 565s ***** assert (size (laplacernd (ones (2,2), 1)), [2, 2]) 565s ***** assert (size (laplacernd (1, 1, 3)), [3, 3]) 565s ***** assert (size (laplacernd (1, 1, [4, 1])), [4, 1]) 565s ***** assert (size (laplacernd (1, 1, 4, 1)), [4, 1]) 565s ***** assert (size (laplacernd (1, 1, 4, 1, 5)), [4, 1, 5]) 565s ***** assert (size (laplacernd (1, 1, 0, 1)), [0, 1]) 565s ***** assert (size (laplacernd (1, 1, 1, 0)), [1, 0]) 565s ***** assert (size (laplacernd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 565s ***** assert (class (laplacernd (1, 1)), "double") 565s ***** assert (class (laplacernd (1, single (1))), "single") 565s ***** assert (class (laplacernd (1, single ([1, 1]))), "single") 565s ***** assert (class (laplacernd (single (1), 1)), "single") 565s ***** assert (class (laplacernd (single ([1, 1]), 1)), "single") 565s ***** error laplacernd () 565s ***** error laplacernd (1) 565s ***** error ... 565s laplacernd (ones (3), ones (2)) 565s ***** error ... 565s laplacernd (ones (2), ones (3)) 565s ***** error laplacernd (i, 2, 3) 565s ***** error laplacernd (1, i, 3) 565s ***** error ... 565s laplacernd (1, 2, -1) 565s ***** error ... 565s laplacernd (1, 2, 1.2) 565s ***** error ... 565s laplacernd (1, 2, ones (2)) 565s ***** error ... 565s laplacernd (1, 2, [2 -1 2]) 565s ***** error ... 565s laplacernd (1, 2, [2 0 2.5]) 565s ***** error ... 565s laplacernd (1, 2, 2, -1, 5) 565s ***** error ... 565s laplacernd (1, 2, 2, 1.5, 5) 565s ***** error ... 565s laplacernd (2, ones (2), 3) 565s ***** error ... 565s laplacernd (2, ones (2), [3, 2]) 565s ***** error ... 565s laplacernd (2, ones (2), 3, 2) 565s 33 tests, 33 passed, 0 known failure, 0 skipped 565s [inst/dist_fun/loglpdf.m] 565s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/loglpdf.m 565s ***** demo 565s ## Plot various PDFs from the log-logistic distribution 565s x = 0:0.001:2; 565s y1 = loglpdf (x, 1, 0.5); 565s y2 = loglpdf (x, 1, 1); 565s y3 = loglpdf (x, 1, 2); 565s y4 = loglpdf (x, 1, 4); 565s y5 = loglpdf (x, 1, 8); 565s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c", x, y5, "-m") 565s grid on 565s ylim ([0,3]) 565s legend ({"β = 0.5", "β = 1", "β = 2", "β = 4", "β = 8"}, ... 565s "location", "northeast") 565s title ("Log-logistic PDF") 565s xlabel ("values in x") 565s ylabel ("density") 565s text (0.5, 2.8, "α = 1, values of β as shown in legend") 565s ***** shared out1, out2 565s out1 = [0, 1, 0.2500, 0.1111, 0.0625, 0.0400, 0.0278, 0]; 565s out2 = [0, Inf, 0.0811, 0.0416, 0.0278, 0.0207, 0.0165, 0]; 565s ***** assert (loglpdf ([-1:5,Inf], 1, 1), out1, 1e-4) 565s ***** assert (loglpdf ([-1:5,Inf], exp (0), 1), out1, 1e-4) 565s ***** assert (loglpdf ([-1:5,Inf], exp (1), 1 / 3), out2, 1e-4) 565s ***** assert (class (loglpdf (single (1), 2, 3)), "single") 565s ***** assert (class (loglpdf (1, single (2), 3)), "single") 565s ***** assert (class (loglpdf (1, 2, single (3))), "single") 565s ***** error loglpdf (1) 565s ***** error loglpdf (1, 2) 565s ***** error ... 565s loglpdf (1, ones (2), ones (3)) 565s ***** error ... 565s loglpdf (ones (2), 1, ones (3)) 565s ***** error ... 565s loglpdf (ones (2), ones (3), 1) 565s ***** error loglpdf (i, 2, 3) 565s ***** error loglpdf (1, i, 3) 565s ***** error loglpdf (1, 2, i) 565s 14 tests, 14 passed, 0 known failure, 0 skipped 565s [inst/dist_fun/burrcdf.m] 565s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/burrcdf.m 565s ***** demo 565s ## Plot various CDFs from the Burr type XII distribution 565s x = 0.001:0.001:5; 565s p1 = burrcdf (x, 1, 1, 1); 565s p2 = burrcdf (x, 1, 1, 2); 565s p3 = burrcdf (x, 1, 1, 3); 565s p4 = burrcdf (x, 1, 2, 1); 565s p5 = burrcdf (x, 1, 3, 1); 565s p6 = burrcdf (x, 1, 0.5, 2); 565s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", ... 565s x, p4, "-c", x, p5, "-m", x, p6, "-k") 565s grid on 565s legend ({"λ = 1, c = 1, k = 1", "λ = 1, c = 1, k = 2", ... 565s "λ = 1, c = 1, k = 3", "λ = 1, c = 2, k = 1", ... 565s "λ = 1, c = 3, k = 1", "λ = 1, c = 0.5, k = 2"}, ... 565s "location", "southeast") 565s title ("Burr type XII CDF") 565s xlabel ("values in x") 565s ylabel ("probability") 565s ***** shared x, y 565s x = [-1, 0, 1, 2, Inf]; 565s y = [0, 0, 1/2, 2/3, 1]; 565s ***** assert (burrcdf (x, ones(1,5), ones (1,5), ones (1,5)), y, eps) 565s ***** assert (burrcdf (x, 1, 1, 1), y, eps) 565s ***** assert (burrcdf (x, [1, 1, NaN, 1, 1], 1, 1), [y(1:2), NaN, y(4:5)], eps) 565s ***** assert (burrcdf (x, 1, [1, 1, NaN, 1, 1], 1), [y(1:2), NaN, y(4:5)], eps) 565s ***** assert (burrcdf (x, 1, 1, [1, 1, NaN, 1, 1]), [y(1:2), NaN, y(4:5)], eps) 565s ***** assert (burrcdf ([x, NaN], 1, 1, 1), [y, NaN], eps) 565s ***** assert (burrcdf (single ([x, NaN]), 1, 1, 1), single ([y, NaN]), eps("single")) 565s ***** assert (burrcdf ([x, NaN], single (1), 1, 1), single ([y, NaN]), eps("single")) 565s ***** assert (burrcdf ([x, NaN], 1, single (1), 1), single ([y, NaN]), eps("single")) 565s ***** assert (burrcdf ([x, NaN], 1, 1, single (1)), single ([y, NaN]), eps("single")) 565s ***** error burrcdf () 565s ***** error burrcdf (1) 565s ***** error burrcdf (1, 2) 565s ***** error burrcdf (1, 2, 3) 566s ***** error ... 566s burrcdf (1, 2, 3, 4, 5, 6) 566s ***** error burrcdf (1, 2, 3, 4, "tail") 566s ***** error burrcdf (1, 2, 3, 4, 5) 566s ***** error ... 566s burrcdf (ones (3), ones (2), ones(2), ones(2)) 566s ***** error ... 566s burrcdf (ones (2), ones (3), ones(2), ones(2)) 566s ***** error ... 566s burrcdf (ones (2), ones (2), ones(3), ones(2)) 566s ***** error ... 566s burrcdf (ones (2), ones (2), ones(2), ones(3)) 566s ***** error burrcdf (i, 2, 3, 4) 566s ***** error burrcdf (1, i, 3, 4) 566s ***** error burrcdf (1, 2, i, 4) 566s ***** error burrcdf (1, 2, 3, i) 566s 25 tests, 25 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/hncdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hncdf.m 566s ***** demo 566s ## Plot various CDFs from the half-normal distribution 566s x = 0:0.001:10; 566s p1 = hncdf (x, 0, 1); 566s p2 = hncdf (x, 0, 2); 566s p3 = hncdf (x, 0, 3); 566s p4 = hncdf (x, 0, 5); 566s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c") 566s grid on 566s xlim ([0, 10]) 566s legend ({"μ = 0, σ = 1", "μ = 0, σ = 2", ... 566s "μ = 0, σ = 3", "μ = 0, σ = 5"}, "location", "southeast") 566s title ("Half-normal CDF") 566s xlabel ("values in x") 566s ylabel ("probability") 566s ***** demo 566s ## Plot half-normal against normal cumulative distribution function 566s x = -5:0.001:5; 566s p1 = hncdf (x, 0, 1); 566s p2 = normcdf (x); 566s plot (x, p1, "-b", x, p2, "-g") 566s grid on 566s xlim ([-5, 5]) 566s legend ({"half-normal with μ = 0, σ = 1", ... 566s "standart normal (μ = 0, σ = 1)"}, "location", "southeast") 566s title ("Half-normal against standard normal CDF") 566s xlabel ("values in x") 566s ylabel ("probability") 566s ***** shared x, p1, p1u, y2, y2u, y3, y3u 566s x = [-Inf, -1, 0, 1/2, 1, Inf]; 566s p1 = [0, 0, 0, 0.3829, 0.6827, 1]; 566s p1u = [1, 1, 1, 0.6171, 0.3173, 0]; 566s ***** assert (hncdf (x, zeros (1,6), ones (1,6)), p1, 1e-4) 566s ***** assert (hncdf (x, 0, 1), p1, 1e-4) 566s ***** assert (hncdf (x, 0, ones (1,6)), p1, 1e-4) 566s ***** assert (hncdf (x, zeros (1,6), 1), p1, 1e-4) 566s ***** assert (hncdf (x, 0, [1, 1, 1, NaN, 1, 1]), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (hncdf (x, [0, 0, 0, NaN, 0, 0], 1), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (hncdf ([x(1:3), NaN, x(5:6)], 0, 1), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (hncdf (x, zeros (1,6), ones (1,6), "upper"), p1u, 1e-4) 566s ***** assert (hncdf (x, 0, 1, "upper"), p1u, 1e-4) 566s ***** assert (hncdf (x, 0, ones (1,6), "upper"), p1u, 1e-4) 566s ***** assert (hncdf (x, zeros (1,6), 1, "upper"), p1u, 1e-4) 566s ***** assert (class (hncdf (single ([x, NaN]), 0, 1)), "single") 566s ***** assert (class (hncdf ([x, NaN], 0, single (1))), "single") 566s ***** assert (class (hncdf ([x, NaN], single (0), 1)), "single") 566s ***** error hncdf () 566s ***** error hncdf (1) 566s ***** error hncdf (1, 2) 566s ***** error hncdf (1, 2, 3, "tail") 566s ***** error hncdf (1, 2, 3, 5) 566s ***** error ... 566s hncdf (ones (3), ones (2), ones(2)) 566s ***** error ... 566s hncdf (ones (2), ones (3), ones(2)) 566s ***** error ... 566s hncdf (ones (2), ones (2), ones(3)) 566s ***** error hncdf (i, 2, 3) 566s ***** error hncdf (1, i, 3) 566s ***** error hncdf (1, 2, i) 566s 25 tests, 25 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/nbinpdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/nbinpdf.m 566s ***** demo 566s ## Plot various PDFs from the negative binomial distribution 566s x = 0:40; 566s y1 = nbinpdf (x, 2, 0.15); 566s y2 = nbinpdf (x, 5, 0.2); 566s y3 = nbinpdf (x, 4, 0.4); 566s y4 = nbinpdf (x, 10, 0.3); 566s plot (x, y1, "*r", x, y2, "*g", x, y3, "*k", x, y4, "*m") 566s grid on 566s xlim ([0, 40]) 566s ylim ([0, 0.12]) 566s legend ({"r = 2, ps = 0.15", "r = 5, ps = 0.2", "r = 4, p = 0.4", ... 566s "r = 10, ps = 0.3"}, "location", "northeast") 566s title ("Negative binomial PDF") 566s xlabel ("values in x (number of failures)") 566s ylabel ("density") 566s ***** shared x, y 566s x = [-1 0 1 2 Inf]; 566s y = [0 1/2 1/4 1/8 NaN]; 566s ***** assert (nbinpdf (x, ones (1,5), 0.5*ones (1,5)), y) 566s ***** assert (nbinpdf (x, 1, 0.5*ones (1,5)), y) 566s ***** assert (nbinpdf (x, ones (1,5), 0.5), y) 566s ***** assert (nbinpdf (x, [0 1 NaN 1.5 Inf], 0.5), [NaN 1/2 NaN 1.875*0.5^1.5/4 NaN], eps) 566s ***** assert (nbinpdf (x, 1, 0.5*[-1 NaN 4 1 1]), [NaN NaN NaN y(4:5)]) 566s ***** assert (nbinpdf ([x, NaN], 1, 0.5), [y, NaN]) 566s ***** assert (nbinpdf (single ([x, NaN]), 1, 0.5), single ([y, NaN])) 566s ***** assert (nbinpdf ([x, NaN], single (1), 0.5), single ([y, NaN])) 566s ***** assert (nbinpdf ([x, NaN], 1, single (0.5)), single ([y, NaN])) 566s ***** error nbinpdf () 566s ***** error nbinpdf (1) 566s ***** error nbinpdf (1, 2) 566s ***** error ... 566s nbinpdf (ones (3), ones (2), ones (2)) 566s ***** error ... 566s nbinpdf (ones (2), ones (3), ones (2)) 566s ***** error ... 566s nbinpdf (ones (2), ones (2), ones (3)) 566s ***** error nbinpdf (i, 2, 2) 566s ***** error nbinpdf (2, i, 2) 566s ***** error nbinpdf (2, 2, i) 566s 18 tests, 18 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/evinv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/evinv.m 566s ***** demo 566s ## Plot various iCDFs from the extreme value distribution 566s p = 0.001:0.001:0.999; 566s x1 = evinv (p, 0.5, 2); 566s x2 = evinv (p, 1.0, 2); 566s x3 = evinv (p, 1.5, 3); 566s x4 = evinv (p, 3.0, 4); 566s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 566s grid on 566s ylim ([-10, 10]) 566s legend ({"μ = 0.5, σ = 2", "μ = 1.0, σ = 2", ... 566s "μ = 1.5, σ = 3", "μ = 3.0, σ = 4"}, "location", "northwest") 566s title ("Extreme value iCDF") 566s xlabel ("probability") 566s ylabel ("values in x") 566s ***** shared p, x 566s p = [0, 0.05, 0.5 0.95]; 566s x = [-Inf, -2.9702, -0.3665, 1.0972]; 566s ***** assert (evinv (p), x, 1e-4) 566s ***** assert (evinv (p, zeros (1,4), ones (1,4)), x, 1e-4) 566s ***** assert (evinv (p, 0, ones (1,4)), x, 1e-4) 566s ***** assert (evinv (p, zeros (1,4), 1), x, 1e-4) 566s ***** assert (evinv (p, [0, -Inf, NaN, Inf], 1), [-Inf, -Inf, NaN, Inf], 1e-4) 566s ***** assert (evinv (p, 0, [Inf, NaN, -1, 0]), [-Inf, NaN, NaN, NaN], 1e-4) 566s ***** assert (evinv ([p(1:2), NaN, p(4)], 0, 1), [x(1:2), NaN, x(4)], 1e-4) 566s ***** assert (evinv ([p, NaN], 0, 1), [x, NaN], 1e-4) 566s ***** assert (evinv (single ([p, NaN]), 0, 1), single ([x, NaN]), 1e-4) 566s ***** assert (evinv ([p, NaN], single (0), 1), single ([x, NaN]), 1e-4) 566s ***** assert (evinv ([p, NaN], 0, single (1)), single ([x, NaN]), 1e-4) 566s ***** error evinv () 566s ***** error evinv (1,2,3,4,5,6) 566s ***** error ... 566s evinv (ones (3), ones (2), ones (2)) 566s ***** error ... 566s [p, plo, pup] = evinv (2, 3, 4, [1, 2]) 566s ***** error ... 566s [p, plo, pup] = evinv (1, 2, 3) 566s ***** error [p, plo, pup] = ... 566s evinv (1, 2, 3, [1, 0; 0, 1], 0) 566s ***** error [p, plo, pup] = ... 566s evinv (1, 2, 3, [1, 0; 0, 1], 1.22) 566s ***** error evinv (i, 2, 2) 566s ***** error evinv (2, i, 2) 566s ***** error evinv (2, 2, i) 566s ***** error ... 566s [p, plo, pup] = evinv (1, 2, 3, [-1, -10; -Inf, -Inf], 0.04) 566s 22 tests, 22 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/poissrnd.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/poissrnd.m 566s ***** assert (size (poissrnd (2)), [1, 1]) 566s ***** assert (size (poissrnd (ones (2,1))), [2, 1]) 566s ***** assert (size (poissrnd (ones (2,2))), [2, 2]) 566s ***** assert (size (poissrnd (1, 3)), [3, 3]) 566s ***** assert (size (poissrnd (1, [4 1])), [4, 1]) 566s ***** assert (size (poissrnd (1, 4, 1)), [4, 1]) 566s ***** assert (size (poissrnd (1, 4, 1)), [4, 1]) 566s ***** assert (size (poissrnd (1, 4, 1, 5)), [4, 1, 5]) 566s ***** assert (size (poissrnd (1, 0, 1)), [0, 1]) 566s ***** assert (size (poissrnd (1, 1, 0)), [1, 0]) 566s ***** assert (size (poissrnd (1, 1, 2, 0, 5)), [1, 2, 0, 5]) 566s ***** assert (poissrnd (0, 1, 1), 0) 566s ***** assert (poissrnd ([0, 0, 0], [1, 3]), [0 0 0]) 566s ***** assert (class (poissrnd (2)), "double") 566s ***** assert (class (poissrnd (single (2))), "single") 566s ***** assert (class (poissrnd (single ([2 2]))), "single") 566s ***** error poissrnd () 566s ***** error poissrnd (i) 566s ***** error ... 566s poissrnd (1, -1) 566s ***** error ... 566s poissrnd (1, 1.2) 566s ***** error ... 566s poissrnd (1, ones (2)) 566s ***** error ... 566s poissrnd (1, [2 -1 2]) 566s ***** error ... 566s poissrnd (1, [2 0 2.5]) 566s ***** error ... 566s poissrnd (ones (2), ones (2)) 566s ***** error ... 566s poissrnd (1, 2, -1, 5) 566s ***** error ... 566s poissrnd (1, 2, 1.5, 5) 566s ***** error poissrnd (ones (2,2), 3) 566s ***** error poissrnd (ones (2,2), [3, 2]) 566s ***** error poissrnd (ones (2,2), 2, 3) 566s 29 tests, 29 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/gumbelpdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/gumbelpdf.m 566s ***** demo 566s ## Plot various PDFs from the Extreme value distribution 566s x = -5:0.001:20; 566s y1 = gumbelpdf (x, 0.5, 2); 566s y2 = gumbelpdf (x, 1.0, 2); 566s y3 = gumbelpdf (x, 1.5, 3); 566s y4 = gumbelpdf (x, 3.0, 4); 566s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 566s grid on 566s ylim ([0, 0.2]) 566s legend ({"μ = 0.5, β = 2", "μ = 1.0, β = 2", ... 566s "μ = 1.5, β = 3", "μ = 3.0, β = 4"}, "location", "northeast") 566s title ("Extreme value PDF") 566s xlabel ("values in x") 566s ylabel ("density") 566s ***** shared x, y0, y1 566s x = [-5, 0, 1, 2, 3]; 566s y0 = [0, 0.3679, 0.2547, 0.1182, 0.0474]; 566s y1 = [0, 0.1794, 0.3679, 0.2547, 0.1182]; 566s ***** assert (gumbelpdf (x), y0, 1e-4) 566s ***** assert (gumbelpdf (x, zeros (1,5), ones (1,5)), y0, 1e-4) 566s ***** assert (gumbelpdf (x, ones (1,5), ones (1,5)), y1, 1e-4) 566s ***** error gumbelpdf () 566s ***** error ... 566s gumbelpdf (ones (3), ones (2), ones (2)) 566s ***** error gumbelpdf (i, 2, 2) 566s ***** error gumbelpdf (2, i, 2) 566s ***** error gumbelpdf (2, 2, i) 566s 8 tests, 8 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/unidinv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unidinv.m 566s ***** demo 566s ## Plot various iCDFs from the discrete uniform distribution 566s p = 0.001:0.001:0.999; 566s x1 = unidinv (p, 5); 566s x2 = unidinv (p, 9); 566s plot (p, x1, "-b", p, x2, "-g") 566s grid on 566s xlim ([0, 1]) 566s ylim ([0, 10]) 566s legend ({"N = 5", "N = 9"}, "location", "northwest") 566s title ("Discrete uniform iCDF") 566s xlabel ("probability") 566s ylabel ("values in x") 566s ***** shared p 566s p = [-1 0 0.5 1 2]; 566s ***** assert (unidinv (p, 10*ones (1,5)), [NaN NaN 5 10 NaN], eps) 566s ***** assert (unidinv (p, 10), [NaN NaN 5 10 NaN], eps) 566s ***** assert (unidinv (p, 10*[0 1 NaN 1 1]), [NaN NaN NaN 10 NaN], eps) 566s ***** assert (unidinv ([p(1:2) NaN p(4:5)], 10), [NaN NaN NaN 10 NaN], eps) 566s ***** assert (unidinv ([p, NaN], 10), [NaN NaN 5 10 NaN NaN], eps) 566s ***** assert (unidinv (single ([p, NaN]), 10), single ([NaN NaN 5 10 NaN NaN]), eps) 566s ***** assert (unidinv ([p, NaN], single (10)), single ([NaN NaN 5 10 NaN NaN]), eps) 566s ***** error unidinv () 566s ***** error unidinv (1) 566s ***** error ... 566s unidinv (ones (3), ones (2)) 566s ***** error ... 566s unidinv (ones (2), ones (3)) 566s ***** error unidinv (i, 2) 566s ***** error unidinv (2, i) 566s 13 tests, 13 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/binoinv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/binoinv.m 566s ***** demo 566s ## Plot various iCDFs from the binomial distribution 566s p = 0.001:0.001:0.999; 566s x1 = binoinv (p, 20, 0.5); 566s x2 = binoinv (p, 20, 0.7); 566s x3 = binoinv (p, 40, 0.5); 566s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 566s grid on 566s legend ({"n = 20, ps = 0.5", "n = 20, ps = 0.7", ... 566s "n = 40, ps = 0.5"}, "location", "southeast") 566s title ("Binomial iCDF") 566s xlabel ("probability") 566s ylabel ("values in x (number of successes)") 566s ***** shared p 566s p = [-1 0 0.5 1 2]; 566s ***** assert (binoinv (p, 2*ones (1,5), 0.5*ones (1,5)), [NaN 0 1 2 NaN]) 566s ***** assert (binoinv (p, 2, 0.5*ones (1,5)), [NaN 0 1 2 NaN]) 566s ***** assert (binoinv (p, 2*ones (1,5), 0.5), [NaN 0 1 2 NaN]) 566s ***** assert (binoinv (p, 2*[0 -1 NaN 1.1 1], 0.5), [NaN NaN NaN NaN NaN]) 566s ***** assert (binoinv (p, 2, 0.5*[0 -1 NaN 3 1]), [NaN NaN NaN NaN NaN]) 566s ***** assert (binoinv ([p(1:2) NaN p(4:5)], 2, 0.5), [NaN 0 NaN 2 NaN]) 566s ***** assert (binoinv ([p, NaN], 2, 0.5), [NaN 0 1 2 NaN NaN]) 566s ***** assert (binoinv (single ([p, NaN]), 2, 0.5), single ([NaN 0 1 2 NaN NaN])) 566s ***** assert (binoinv ([p, NaN], single (2), 0.5), single ([NaN 0 1 2 NaN NaN])) 566s ***** assert (binoinv ([p, NaN], 2, single (0.5)), single ([NaN 0 1 2 NaN NaN])) 566s ***** shared x, tol 566s x = magic (3) + 1; 566s tol = 1; 566s ***** assert (binoinv (binocdf (1:10, 11, 0.1), 11, 0.1), 1:10, tol) 566s ***** assert (binoinv (binocdf (1:10, 2*(1:10), 0.1), 2*(1:10), 0.1), 1:10, tol) 566s ***** assert (binoinv (binocdf (x, 2*x, 1./x), 2*x, 1./x), x, tol) 566s ***** error binoinv () 566s ***** error binoinv (1) 566s ***** error binoinv (1,2) 566s ***** error binoinv (1,2,3,4) 566s ***** error ... 566s binoinv (ones (3), ones (2), ones (2)) 566s ***** error ... 566s binoinv (ones (2), ones (3), ones (2)) 566s ***** error ... 566s binoinv (ones (2), ones (2), ones (3)) 566s ***** error binoinv (i, 2, 2) 566s ***** error binoinv (2, i, 2) 566s ***** error binoinv (2, 2, i) 566s 23 tests, 23 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/binopdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/binopdf.m 566s ***** demo 566s ## Plot various PDFs from the binomial distribution 566s x = 0:40; 566s y1 = binopdf (x, 20, 0.5); 566s y2 = binopdf (x, 20, 0.7); 566s y3 = binopdf (x, 40, 0.5); 566s plot (x, y1, "*b", x, y2, "*g", x, y3, "*r") 566s grid on 566s ylim ([0, 0.25]) 566s legend ({"n = 20, ps = 0.5", "n = 20, ps = 0.7", ... 566s "n = 40, ps = 0.5"}, "location", "northeast") 566s title ("Binomial PDF") 566s xlabel ("values in x (number of successes)") 566s ylabel ("density") 566s ***** shared x, y 566s x = [-1 0 1 2 3]; 566s y = [0 1/4 1/2 1/4 0]; 566s ***** assert (binopdf (x, 2 * ones (1, 5), 0.5 * ones (1, 5)), y, eps) 566s ***** assert (binopdf (x, 2, 0.5 * ones (1, 5)), y, eps) 566s ***** assert (binopdf (x, 2 * ones (1, 5), 0.5), y, eps) 566s ***** assert (binopdf (x, 2 * [0 -1 NaN 1.1 1], 0.5), [0 NaN NaN NaN 0]) 566s ***** assert (binopdf (x, 2, 0.5 * [0 -1 NaN 3 1]), [0 NaN NaN NaN 0]) 566s ***** assert (binopdf ([x, NaN], 2, 0.5), [y, NaN], eps) 566s ***** assert (binopdf (cat (3, x, x), 2, 0.5), cat (3, y, y), eps) 566s ***** assert (binopdf (1, 1, 1), 1) 566s ***** assert (binopdf (0, 3, 0), 1) 566s ***** assert (binopdf (2, 2, 1), 1) 566s ***** assert (binopdf (1, 2, 1), 0) 566s ***** assert (binopdf (0, 1.1, 0), NaN) 566s ***** assert (binopdf (1, 2, -1), NaN) 566s ***** assert (binopdf (1, 2, 1.5), NaN) 566s ***** assert (binopdf ([], 1, 1), []) 566s ***** assert (binopdf (1, [], 1), []) 566s ***** assert (binopdf (1, 1, []), []) 566s ***** assert (binopdf (ones (1, 0), 2, .5), ones(1, 0)) 566s ***** assert (binopdf (ones (0, 1), 2, .5), ones(0, 1)) 566s ***** assert (binopdf (ones (0, 1, 2), 2, .5), ones(0, 1, 2)) 566s ***** assert (binopdf (1, ones (0, 1, 2), .5), ones(0, 1, 2)) 566s ***** assert (binopdf (1, 2, ones (0, 1, 2)), ones(0, 1, 2)) 566s ***** assert (binopdf (ones (1, 0, 2), 2, .5), ones(1, 0, 2)) 566s ***** assert (binopdf (ones (1, 2, 0), 2, .5), ones(1, 2, 0)) 566s ***** assert (binopdf (ones (0, 1, 2), NaN, .5), ones(0, 1, 2)) 566s ***** assert (binopdf (ones (0, 1, 2), 2, NaN), ones(0, 1, 2)) 566s ***** assert (binopdf (single ([x, NaN]), 2, 0.5), single ([y, NaN])) 566s ***** assert (binopdf ([x, NaN], single (2), 0.5), single ([y, NaN])) 566s ***** assert (binopdf ([x, NaN], 2, single (0.5)), single ([y, NaN])) 566s ***** error binopdf () 566s ***** error binopdf (1) 566s ***** error binopdf (1, 2) 566s ***** error binopdf (1, 2, 3, 4) 566s ***** error ... 566s binopdf (ones (3), ones (2), ones (2)) 566s ***** error ... 566s binopdf (ones (2), ones (3), ones (2)) 566s ***** error ... 566s binopdf (ones (2), ones (2), ones (3)) 566s ***** error binopdf (i, 2, 2) 566s ***** error binopdf (2, i, 2) 566s ***** error binopdf (2, 2, i) 566s 39 tests, 39 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/invgcdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/invgcdf.m 566s ***** demo 566s ## Plot various CDFs from the inverse Gaussian distribution 566s x = 0:0.001:3; 566s p1 = invgcdf (x, 1, 0.2); 566s p2 = invgcdf (x, 1, 1); 566s p3 = invgcdf (x, 1, 3); 566s p4 = invgcdf (x, 3, 0.2); 566s p5 = invgcdf (x, 3, 1); 566s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-c", x, p5, "-y") 566s grid on 566s xlim ([0, 3]) 566s legend ({"μ = 1, σ = 0.2", "μ = 1, σ = 1", "μ = 1, σ = 3", ... 566s "μ = 3, σ = 0.2", "μ = 3, σ = 1"}, "location", "southeast") 566s title ("Inverse Gaussian CDF") 566s xlabel ("values in x") 566s ylabel ("probability") 566s ***** shared x, p1, p1u, y2, y2u, y3, y3u 566s x = [-Inf, -1, 0, 1/2, 1, Inf]; 566s p1 = [0, 0, 0, 0.3650, 0.6681, 1]; 566s p1u = [1, 1, 1, 0.6350, 0.3319, 0]; 566s ***** assert (invgcdf (x, ones (1,6), ones (1,6)), p1, 1e-4) 566s ***** assert (invgcdf (x, 1, 1), p1, 1e-4) 566s ***** assert (invgcdf (x, 1, ones (1,6)), p1, 1e-4) 566s ***** assert (invgcdf (x, ones (1,6), 1), p1, 1e-4) 566s ***** assert (invgcdf (x, 1, [1, 1, 1, NaN, 1, 1]), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (invgcdf (x, [1, 1, 1, NaN, 1, 1], 1), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (invgcdf ([x(1:3), NaN, x(5:6)], 1, 1), [p1(1:3), NaN, p1(5:6)], 1e-4) 566s ***** assert (invgcdf (x, ones (1,6), ones (1,6), "upper"), p1u, 1e-4) 566s ***** assert (invgcdf (x, 1, 1, "upper"), p1u, 1e-4) 566s ***** assert (invgcdf (x, 1, ones (1,6), "upper"), p1u, 1e-4) 566s ***** assert (invgcdf (x, ones (1,6), 1, "upper"), p1u, 1e-4) 566s ***** assert (class (invgcdf (single ([x, NaN]), 1, 1)), "single") 566s ***** assert (class (invgcdf ([x, NaN], 1, single (1))), "single") 566s ***** assert (class (invgcdf ([x, NaN], single (1), 1)), "single") 566s ***** error invgcdf () 566s ***** error invgcdf (1) 566s ***** error invgcdf (1, 2) 566s ***** error invgcdf (1, 2, 3, "tail") 566s ***** error invgcdf (1, 2, 3, 5) 566s ***** error ... 566s invgcdf (ones (3), ones (2), ones(2)) 566s ***** error ... 566s invgcdf (ones (2), ones (3), ones(2)) 566s ***** error ... 566s invgcdf (ones (2), ones (2), ones(3)) 566s ***** error invgcdf (i, 2, 3) 566s ***** error invgcdf (1, i, 3) 566s ***** error invgcdf (1, 2, i) 566s 25 tests, 25 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/burrinv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/burrinv.m 566s ***** demo 566s ## Plot various iCDFs from the Burr type XII distribution 566s p = 0.001:0.001:0.999; 566s x1 = burrinv (p, 1, 1, 1); 566s x2 = burrinv (p, 1, 1, 2); 566s x3 = burrinv (p, 1, 1, 3); 566s x4 = burrinv (p, 1, 2, 1); 566s x5 = burrinv (p, 1, 3, 1); 566s x6 = burrinv (p, 1, 0.5, 2); 566s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", ... 566s p, x4, "-c", p, x5, "-m", p, x6, "-k") 566s grid on 566s ylim ([0, 5]) 566s legend ({"λ = 1, c = 1, k = 1", "λ = 1, c = 1, k = 2", ... 566s "λ = 1, c = 1, k = 3", "λ = 1, c = 2, k = 1", ... 566s "λ = 1, c = 3, k = 1", "λ = 1, c = 0.5, k = 2"}, ... 566s "location", "northwest") 566s title ("Burr type XII CDF") 566s xlabel ("probability") 566s ylabel ("values in x") 566s ***** shared p, y 566s p = [-Inf, -1, 0, 1/2, 1, 2, Inf]; 566s y = [NaN, NaN, 0, 1 , Inf, NaN, NaN]; 566s ***** assert (burrinv (p, ones (1,7), ones (1,7), ones(1,7)), y, eps) 566s ***** assert (burrinv (p, 1, 1, 1), y, eps) 566s ***** assert (burrinv (p, [1, 1, 1, NaN, 1, 1, 1], 1, 1), [y(1:3), NaN, y(5:7)], eps) 566s ***** assert (burrinv (p, 1, [1, 1, 1, NaN, 1, 1, 1], 1), [y(1:3), NaN, y(5:7)], eps) 566s ***** assert (burrinv (p, 1, 1, [1, 1, 1, NaN, 1, 1, 1]), [y(1:3), NaN, y(5:7)], eps) 566s ***** assert (burrinv ([p, NaN], 1, 1, 1), [y, NaN], eps) 566s ***** assert (burrinv (single ([p, NaN]), 1, 1, 1), single ([y, NaN]), eps("single")) 566s ***** assert (burrinv ([p, NaN], single (1), 1, 1), single ([y, NaN]), eps("single")) 566s ***** assert (burrinv ([p, NaN], 1, single (1), 1), single ([y, NaN]), eps("single")) 566s ***** assert (burrinv ([p, NaN], 1, 1, single (1)), single ([y, NaN]), eps("single")) 566s ***** error burrinv () 566s ***** error burrinv (1) 566s ***** error burrinv (1, 2) 566s ***** error burrinv (1, 2, 3) 566s ***** error ... 566s burrinv (1, 2, 3, 4, 5) 566s ***** error ... 566s burrinv (ones (3), ones (2), ones(2), ones(2)) 566s ***** error ... 566s burrinv (ones (2), ones (3), ones(2), ones(2)) 566s ***** error ... 566s burrinv (ones (2), ones (2), ones(3), ones(2)) 566s ***** error ... 566s burrinv (ones (2), ones (2), ones(2), ones(3)) 566s ***** error burrinv (i, 2, 3, 4) 566s ***** error burrinv (1, i, 3, 4) 566s ***** error burrinv (1, 2, i, 4) 566s ***** error burrinv (1, 2, 3, i) 566s 23 tests, 23 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/bvncdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/bvncdf.m 566s ***** demo 566s mu = [1, -1]; 566s sigma = [0.9, 0.4; 0.4, 0.3]; 566s [X1, X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 566s x = [X1(:), X2(:)]; 566s p = bvncdf (x, mu, sigma); 566s Z = reshape (p, 25, 25); 566s surf (X1, X2, Z); 566s title ("Bivariate Normal Distribution"); 566s ylabel "X1" 566s xlabel "X2" 566s ***** test 566s mu = [1, -1]; 566s sigma = [0.9, 0.4; 0.4, 0.3]; 566s [X1,X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 566s x = [X1(:), X2(:)]; 566s p = bvncdf (x, mu, sigma); 566s p_out = [0.00011878988774500, 0.00034404112322371, ... 566s 0.00087682502191813, 0.00195221905058185, ... 566s 0.00378235566873474, 0.00638175749734415, ... 566s 0.00943764224329656, 0.01239164888125426, ... 566s 0.01472750274376648, 0.01623228313374828]'; 566s assert (p([1:10]), p_out, 1e-16); 566s ***** test 566s mu = [1, -1]; 566s sigma = [0.9, 0.4; 0.4, 0.3]; 566s [X1,X2] = meshgrid (linspace (-1, 3, 25)', linspace (-3, 1, 25)'); 566s x = [X1(:), X2(:)]; 566s p = bvncdf (x, mu, sigma); 566s p_out = [0.8180695783608276, 0.8854485749482751, ... 566s 0.9308108777385832, 0.9579855743025508, ... 566s 0.9722897881414742, 0.9788150170059926, ... 566s 0.9813597788804785, 0.9821977956568989, ... 566s 0.9824283794464095, 0.9824809345614861]'; 566s assert (p([616:625]), p_out, 2e-16); 566s ***** error bvncdf (randn (25,3), [], [1, 1; 1, 1]); 566s ***** error bvncdf (randn (25,2), [], [1, 1; 1, 1]); 566s ***** error bvncdf (randn (25,2), [], ones (3, 2)); 566s 5 tests, 5 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/expinv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/expinv.m 566s ***** demo 566s ## Plot various iCDFs from the exponential distribution 566s p = 0.001:0.001:0.999; 566s x1 = expinv (p, 2/3); 566s x2 = expinv (p, 1.0); 566s x3 = expinv (p, 2.0); 566s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r") 566s grid on 566s ylim ([0, 5]) 566s legend ({"μ = 2/3", "μ = 1", "μ = 2"}, "location", "northwest") 566s title ("Exponential iCDF") 566s xlabel ("probability") 566s ylabel ("values in x") 566s ***** shared p 566s p = [-1 0 0.3934693402873666 1 2]; 566s ***** assert (expinv (p, 2*ones (1,5)), [NaN 0 1 Inf NaN], eps) 566s ***** assert (expinv (p, 2), [NaN 0 1 Inf NaN], eps) 566s ***** assert (expinv (p, 2*[1 0 NaN 1 1]), [NaN NaN NaN Inf NaN], eps) 566s ***** assert (expinv ([p(1:2) NaN p(4:5)], 2), [NaN 0 NaN Inf NaN], eps) 566s ***** assert (expinv ([p, NaN], 2), [NaN 0 1 Inf NaN NaN], eps) 566s ***** assert (expinv (single ([p, NaN]), 2), single ([NaN 0 1 Inf NaN NaN]), eps) 566s ***** assert (expinv ([p, NaN], single (2)), single ([NaN 0 1 Inf NaN NaN]), eps) 566s ***** error expinv () 566s ***** error expinv (1, 2 ,3 ,4 ,5) 566s ***** error ... 566s expinv (ones (3), ones (2)) 566s ***** error ... 566s expinv (2, 3, [1, 2]) 566s ***** error ... 566s [x, xlo, xup] = expinv (1, 2) 566s ***** error [x, xlo, xup] = ... 566s expinv (1, 2, 3, 0) 566s ***** error [x, xlo, xup] = ... 566s expinv (1, 2, 3, 1.22) 566s ***** error [x, xlo, xup] = ... 566s expinv (1, 2, 3, [0.05, 0.1]) 566s ***** error expinv (i, 2) 566s ***** error expinv (2, i) 566s ***** error ... 566s [x, xlo, xup] = expinv (1, 2, -1, 0.04) 566s 18 tests, 18 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/laplacepdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/laplacepdf.m 566s ***** demo 566s ## Plot various PDFs from the Laplace distribution 566s x = -10:0.01:10; 566s y1 = laplacepdf (x, 0, 1); 566s y2 = laplacepdf (x, 0, 2); 566s y3 = laplacepdf (x, 0, 4); 566s y4 = laplacepdf (x, -5, 4); 566s plot (x, y1, "-b", x, y2, "-g", x, y3, "-r", x, y4, "-c") 566s grid on 566s xlim ([-10, 10]) 566s ylim ([0, 0.6]) 566s legend ({"μ = 0, β = 1", "μ = 0, β = 2", ... 566s "μ = 0, β = 4", "μ = -5, β = 4"}, "location", "northeast") 566s title ("Laplace PDF") 566s xlabel ("values in x") 566s ylabel ("density") 566s ***** shared x, y 566s x = [-Inf -log(2) 0 log(2) Inf]; 566s y = [0, 1/4, 1/2, 1/4, 0]; 566s ***** assert (laplacepdf ([x, NaN], 0, 1), [y, NaN]) 566s ***** assert (laplacepdf (x, 0, [-2, -1, 0, 1, 2]), [nan(1, 3), 0.25, 0]) 566s ***** assert (laplacepdf (single ([x, NaN]), 0, 1), single ([y, NaN])) 566s ***** assert (laplacepdf ([x, NaN], single (0), 1), single ([y, NaN])) 566s ***** assert (laplacepdf ([x, NaN], 0, single (1)), single ([y, NaN])) 566s ***** error laplacepdf () 566s ***** error laplacepdf (1) 566s ***** error ... 566s laplacepdf (1, 2) 566s ***** error laplacepdf (1, 2, 3, 4) 566s ***** error ... 566s laplacepdf (1, ones (2), ones (3)) 566s ***** error ... 566s laplacepdf (ones (2), 1, ones (3)) 566s ***** error ... 566s laplacepdf (ones (2), ones (3), 1) 566s ***** error laplacepdf (i, 2, 3) 566s ***** error laplacepdf (1, i, 3) 566s ***** error laplacepdf (1, 2, i) 566s 15 tests, 15 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/copularnd.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/copularnd.m 566s ***** test 566s theta = 0.5; 566s r = copularnd ("Gaussian", theta); 566s assert (size (r), [1, 2]); 566s assert (all ((r >= 0) & (r <= 1))); 566s ***** test 566s theta = 0.5; 566s df = 2; 566s r = copularnd ("t", theta, df); 566s assert (size (r), [1, 2]); 566s assert (all ((r >= 0) & (r <= 1))); 566s ***** test 566s theta = 0.5; 566s r = copularnd ("Clayton", theta); 566s assert (size (r), [1, 2]); 566s assert (all ((r >= 0) & (r <= 1))); 566s ***** test 566s theta = 0.5; 566s n = 2; 566s r = copularnd ("Clayton", theta, n); 566s assert (size (r), [n, 2]); 566s assert (all ((r >= 0) & (r <= 1))); 566s ***** test 566s theta = [1; 2]; 566s n = 2; 566s d = 3; 566s r = copularnd ("Clayton", theta, n, d); 566s assert (size (r), [n, d]); 566s assert (all ((r >= 0) & (r <= 1))); 566s 5 tests, 5 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/hninv.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/hninv.m 566s ***** demo 566s ## Plot various iCDFs from the half-normal distribution 566s p = 0.001:0.001:0.999; 566s x1 = hninv (p, 0, 1); 566s x2 = hninv (p, 0, 2); 566s x3 = hninv (p, 0, 3); 566s x4 = hninv (p, 0, 5); 566s plot (p, x1, "-b", p, x2, "-g", p, x3, "-r", p, x4, "-c") 566s grid on 566s ylim ([0, 10]) 566s legend ({"μ = 0, σ = 1", "μ = 0, σ = 2", ... 566s "μ = 0, σ = 3", "μ = 0, σ = 5"}, "location", "northwest") 566s title ("Half-normal iCDF") 566s xlabel ("probability") 566s ylabel ("x") 566s ***** shared p, x 566s p = [0, 0.3829, 0.6827, 1]; 566s x = [0, 1/2, 1, Inf]; 566s ***** assert (hninv (p, 0, 1), x, 1e-4); 566s ***** assert (hninv (p, 5, 1), x + 5, 1e-4); 566s ***** assert (hninv (p, 0, ones (1,4)), x, 1e-4); 566s ***** assert (hninv (p, 0, [-1, 0, 1, 1]), [NaN, NaN, x(3:4)], 1e-4) 566s ***** assert (class (hninv (single ([p, NaN]), 0, 1)), "single") 566s ***** assert (class (hninv ([p, NaN], single (0), 1)), "single") 566s ***** assert (class (hninv ([p, NaN], 0, single (1))), "single") 566s ***** error hninv (1) 566s ***** error hninv (1, 2) 566s ***** error ... 566s hninv (1, ones (2), ones (3)) 566s ***** error ... 566s hninv (ones (2), 1, ones (3)) 566s ***** error ... 566s hninv (ones (2), ones (3), 1) 566s ***** error hninv (i, 2, 3) 566s ***** error hninv (1, i, 3) 566s ***** error hninv (1, 2, i) 566s 15 tests, 15 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/tcdf.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/tcdf.m 566s ***** demo 566s ## Plot various CDFs from the Student's T distribution 566s x = -5:0.01:5; 566s p1 = tcdf (x, 1); 566s p2 = tcdf (x, 2); 566s p3 = tcdf (x, 5); 566s p4 = tcdf (x, Inf); 566s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", x, p4, "-m") 566s grid on 566s xlim ([-5, 5]) 566s ylim ([0, 1]) 566s legend ({"df = 1", "df = 2", ... 566s "df = 5", 'df = \infty'}, "location", "southeast") 566s title ("Student's T CDF") 566s xlabel ("values in x") 566s ylabel ("probability") 566s ***** shared x,y 566s x = [-Inf 0 1 Inf]; 566s y = [0 1/2 3/4 1]; 566s ***** assert (tcdf (x, ones (1,4)), y, eps) 566s ***** assert (tcdf (x, 1), y, eps) 566s ***** assert (tcdf (x, [0 1 NaN 1]), [NaN 1/2 NaN 1], eps) 566s ***** assert (tcdf ([x(1:2) NaN x(4)], 1), [y(1:2) NaN y(4)], eps) 566s ***** assert (tcdf (2, 3, "upper"), 0.0697, 1e-4) 566s ***** assert (tcdf (205, 5, "upper"), 2.6206e-11, 1e-14) 566s ***** assert (tcdf ([x, NaN], 1), [y, NaN], eps) 566s ***** assert (tcdf (single ([x, NaN]), 1), single ([y, NaN]), eps ("single")) 566s ***** assert (tcdf ([x, NaN], single (1)), single ([y, NaN]), eps ("single")) 566s ***** error tcdf () 566s ***** error tcdf (1) 566s ***** error tcdf (1, 2, "uper") 566s ***** error tcdf (1, 2, 3) 566s ***** error ... 566s tcdf (ones (3), ones (2)) 566s ***** error ... 566s tcdf (ones (3), ones (2)) 566s ***** error ... 566s tcdf (ones (3), ones (2), "upper") 566s ***** error tcdf (i, 2) 566s ***** error tcdf (2, i) 566s ***** shared tol_rel 566s tol_rel = 10 * eps; 566s ***** assert (tcdf (10^(-10), 2.5), 0.50000000003618087, -tol_rel) 566s ***** assert (tcdf (10^(-11), 2.5), 0.50000000000361809, -tol_rel) 566s ***** assert (tcdf (10^(-12), 2.5), 0.50000000000036181, -tol_rel) 566s ***** assert (tcdf (10^(-13), 2.5), 0.50000000000003618, -tol_rel) 566s ***** assert (tcdf (10^(-14), 2.5), 0.50000000000000362, -tol_rel) 566s ***** assert (tcdf (10^(-15), 2.5), 0.50000000000000036, -tol_rel) 566s ***** assert (tcdf (10^(-16), 2.5), 0.50000000000000004, -tol_rel) 566s ***** assert (tcdf (-10^1, 2.5), 2.2207478836537124e-03, -tol_rel) 566s ***** assert (tcdf (-10^2, 2.5), 7.1916492116661878e-06, -tol_rel) 566s ***** assert (tcdf (-10^3, 2.5), 2.2747463948307452e-08, -tol_rel) 566s ***** assert (tcdf (-10^4, 2.5), 7.1933970159922115e-11, -tol_rel) 566s ***** assert (tcdf (-10^5, 2.5), 2.2747519231756221e-13, -tol_rel) 566s 30 tests, 30 passed, 0 known failure, 0 skipped 566s [inst/dist_fun/unifrnd.m] 566s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/unifrnd.m 566s ***** assert (size (unifrnd (1, 1)), [1 1]) 567s ***** assert (size (unifrnd (1, ones (2,1))), [2, 1]) 567s ***** assert (size (unifrnd (1, ones (2,2))), [2, 2]) 567s ***** assert (size (unifrnd (ones (2,1), 1)), [2, 1]) 567s ***** assert (size (unifrnd (ones (2,2), 1)), [2, 2]) 567s ***** assert (size (unifrnd (1, 1, 3)), [3, 3]) 567s ***** assert (size (unifrnd (1, 1, [4, 1])), [4, 1]) 567s ***** assert (size (unifrnd (1, 1, 4, 1)), [4, 1]) 567s ***** assert (size (unifrnd (1, 1, 4, 1, 5)), [4, 1, 5]) 567s ***** assert (size (unifrnd (1, 1, 0, 1)), [0, 1]) 567s ***** assert (size (unifrnd (1, 1, 1, 0)), [1, 0]) 567s ***** assert (size (unifrnd (1, 1, 1, 2, 0, 5)), [1, 2, 0, 5]) 567s ***** assert (class (unifrnd (1, 1)), "double") 567s ***** assert (class (unifrnd (1, single (1))), "single") 567s ***** assert (class (unifrnd (1, single ([1, 1]))), "single") 567s ***** assert (class (unifrnd (single (1), 1)), "single") 567s ***** assert (class (unifrnd (single ([1, 1]), 1)), "single") 567s ***** error unifrnd () 567s ***** error unifrnd (1) 567s ***** error ... 567s unifrnd (ones (3), ones (2)) 567s ***** error ... 567s unifrnd (ones (2), ones (3)) 567s ***** error unifrnd (i, 2, 3) 567s ***** error unifrnd (1, i, 3) 567s ***** error ... 567s unifrnd (1, 2, -1) 567s ***** error ... 567s unifrnd (1, 2, 1.2) 567s ***** error ... 567s unifrnd (1, 2, ones (2)) 567s ***** error ... 567s unifrnd (1, 2, [2 -1 2]) 567s ***** error ... 567s unifrnd (1, 2, [2 0 2.5]) 567s ***** error ... 567s unifrnd (1, 2, 2, -1, 5) 567s ***** error ... 567s unifrnd (1, 2, 2, 1.5, 5) 567s ***** error ... 567s unifrnd (2, ones (2), 3) 567s ***** error ... 567s unifrnd (2, ones (2), [3, 2]) 567s ***** error ... 567s unifrnd (2, ones (2), 3, 2) 567s 33 tests, 33 passed, 0 known failure, 0 skipped 567s [inst/dist_fun/chi2cdf.m] 567s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fun/chi2cdf.m 567s ***** demo 567s ## Plot various CDFs from the chi-squared distribution 567s x = 0:0.01:8; 567s p1 = chi2cdf (x, 1); 567s p2 = chi2cdf (x, 2); 567s p3 = chi2cdf (x, 3); 567s p4 = chi2cdf (x, 4); 567s p5 = chi2cdf (x, 6); 567s p6 = chi2cdf (x, 9); 567s plot (x, p1, "-b", x, p2, "-g", x, p3, "-r", ... 567s x, p4, "-c", x, p5, "-m", x, p6, "-y") 567s grid on 567s xlim ([0, 8]) 567s legend ({"df = 1", "df = 2", "df = 3", ... 567s "df = 4", "df = 6", "df = 9"}, "location", "southeast") 567s title ("Chi-squared CDF") 567s xlabel ("values in x") 567s ylabel ("probability") 567s ***** shared x, p, u 567s x = [-1, 0, 0.5, 1, 2]; 567s p = [0, (1 - exp (-x(2:end) / 2))]; 567s u = [1, 0, NaN, 0.3934693402873666, 0.6321205588285577]; 567s ***** assert (chi2cdf (x, 2 * ones (1,5)), p, eps) 567s ***** assert (chi2cdf (x, 2), p, eps) 567s ***** assert (chi2cdf (x, 2 * [1, 0, NaN, 1, 1]), [p(1), 1, NaN, p(4:5)], eps) 567s ***** assert (chi2cdf (x, 2 * [1, 0, NaN, 1, 1], "upper"), ... 567s [p(1), 1, NaN, u(4:5)], eps) 567s ***** assert (chi2cdf ([x(1:2), NaN, x(4:5)], 2), [p(1:2), NaN, p(4:5)], eps) 567s ***** assert (chi2cdf ([x, NaN], 2), [p, NaN], eps) 567s ***** assert (chi2cdf (single ([x, NaN]), 2), single ([p, NaN]), eps ("single")) 567s ***** assert (chi2cdf ([x, NaN], single (2)), single ([p, NaN]), eps ("single")) 567s ***** error chi2cdf () 567s ***** error chi2cdf (1) 567s ***** error chi2cdf (1, 2, 3, 4) 567s ***** error chi2cdf (1, 2, 3) 567s ***** error chi2cdf (1, 2, "uper") 567s ***** error ... 567s chi2cdf (ones (3), ones (2)) 567s ***** error ... 567s chi2cdf (ones (2), ones (3)) 567s ***** error chi2cdf (i, 2) 567s ***** error chi2cdf (2, i) 567s 17 tests, 17 passed, 0 known failure, 0 skipped 567s [inst/chi2gof.m] 567s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/chi2gof.m 567s ***** demo 567s x = normrnd (50, 5, 100, 1); 567s [h, p, stats] = chi2gof (x) 567s [h, p, stats] = chi2gof (x, "cdf", @(x)normcdf (x, mean(x), std(x))) 567s [h, p, stats] = chi2gof (x, "cdf", {@normcdf, mean(x), std(x)}) 567s ***** demo 567s x = rand (100,1 ); 567s n = length (x); 567s binedges = linspace (0, 1, 11); 567s expectedCounts = n * diff (binedges); 567s [h, p, stats] = chi2gof (x, "binedges", binedges, "expected", expectedCounts) 567s ***** demo 567s bins = 0:5; 567s obsCounts = [6 16 10 12 4 2]; 567s n = sum(obsCounts); 567s lambdaHat = sum(bins.*obsCounts) / n; 567s expCounts = n * poisspdf(bins,lambdaHat); 567s [h, p, stats] = chi2gof (bins, "binctrs", bins, "frequency", obsCounts, ... 567s "expected", expCounts, "nparams",1) 567s ***** error chi2gof () 567s ***** error chi2gof ([2,3;3,4]) 567s ***** error chi2gof ([1,2,3,4], "nbins", 3, "ctrs", [2,3,4]) 567s ***** error chi2gof ([1,2,3,4], "frequency", [2,3,2]) 567s ***** error chi2gof ([1,2,3,4], "frequency", [2,3,2,-2]) 567s ***** error chi2gof ([1,2,3,4], "frequency", [2,3,2,2], "nparams", i) 567s ***** error chi2gof ([1,2,3,4], "frequency", [2,3,2,2], "alpha", 1.3) 567s ***** error chi2gof ([1,2,3,4], "expected", [-3,2,2]) 567s ***** error chi2gof ([1,2,3,4], "expected", [3,2,2], "nbins", 5) 567s ***** error chi2gof ([1,2,3,4], "cdf", @normcdff) 567s ***** test 567s x = [1 2 1 3 2 4 3 2 4 3 2 2]; 567s [h, p, stats] = chi2gof (x); 567s assert (h, 0); 567s assert (p, NaN); 567s assert (stats.chi2stat, 0.1205375022748029, 1e-14); 567s assert (stats.df, 0); 567s assert (stats.edges, [1, 2.5, 4], 1e-14); 567s assert (stats.O, [7, 5], 1e-14); 567s assert (stats.E, [6.399995519909668, 5.600004480090332], 1e-14); 567s 11 tests, 11 passed, 0 known failure, 0 skipped 567s [inst/ttest2.m] 567s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ttest2.m 567s ***** test 567s a = 1:5; 567s b = 6:10; 567s b(5) = NaN; 567s [h,p,ci,stats] = ttest2 (a,b); 567s assert (h, 1); 567s assert (p, 0.002535996080258229, 1e-14); 567s assert (ci, [-6.822014919225481, -2.17798508077452], 1e-14); 567s assert (stats.tstat, -4.582575694955839, 1e-14); 567s assert (stats.df, 7); 567s assert (stats.sd, 1.4638501094228, 1e-13); 567s ***** error ttest2 ([8:0.1:12], [8:0.1:12], "tail", "invalid"); 567s ***** error ttest2 ([8:0.1:12], [8:0.1:12], "tail", 25); 567s 3 tests, 3 passed, 0 known failure, 0 skipped 567s [inst/random.m] 567s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/random.m 567s ***** assert (size (random ("Beta", 5, 2, 2, 10)), size (betarnd (5, 2, 2, 10))) 567s ***** assert (size (random ("beta", 5, 2, 2, 10)), size (betarnd (5, 2, 2, 10))) 567s ***** assert (size (random ("Binomial", 5, 2, [10, 20])), size (binornd (5, 2, 10, 20))) 567s ***** assert (size (random ("bino", 5, 2, [10, 20])), size (binornd (5, 2, 10, 20))) 567s ***** assert (size (random ("Birnbaum-Saunders", 5, 2, [10, 20])), size (bisarnd (5, 2, 10, 20))) 567s ***** assert (size (random ("bisa", 5, 2, [10, 20])), size (bisarnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Burr", 5, 2, 2, [10, 20])), size (burrrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("burr", 5, 2, 2, [10, 20])), size (burrrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Cauchy", 5, 2, [10, 20])), size (cauchyrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("cauchy", 5, 2, [10, 20])), size (cauchyrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Chi-squared", 5, [10, 20])), size (chi2rnd (5, 10, 20))) 567s ***** assert (size (random ("chi2", 5, [10, 20])), size (chi2rnd (5, 10, 20))) 567s ***** assert (size (random ("Extreme Value", 5, 2, [10, 20])), size (evrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("ev", 5, 2, [10, 20])), size (evrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Exponential", 5, [10, 20])), size (exprnd (5, 10, 20))) 567s ***** assert (size (random ("exp", 5, [10, 20])), size (exprnd (5, 10, 20))) 567s ***** assert (size (random ("F-Distribution", 5, 2, [10, 20])), size (frnd (5, 2, 10, 20))) 567s ***** assert (size (random ("f", 5, 2, [10, 20])), size (frnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Gamma", 5, 2, [10, 20])), size (gamrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("gam", 5, 2, [10, 20])), size (gamrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Geometric", 5, [10, 20])), size (geornd (5, 10, 20))) 567s ***** assert (size (random ("geo", 5, [10, 20])), size (geornd (5, 10, 20))) 567s ***** assert (size (random ("Generalized Extreme Value", 5, 2, 2, [10, 20])), size (gevrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("gev", 5, 2, 2, [10, 20])), size (gevrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Generalized Pareto", 5, 2, 2, [10, 20])), size (gprnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("gp", 5, 2, 2, [10, 20])), size (gprnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Gumbel", 5, 2, [10, 20])), size (gumbelrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("gumbel", 5, 2, [10, 20])), size (gumbelrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Half-normal", 5, 2, [10, 20])), size (hnrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("hn", 5, 2, [10, 20])), size (hnrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Hypergeometric", 5, 2, 2, [10, 20])), size (hygernd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("hyge", 5, 2, 2, [10, 20])), size (hygernd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Inverse Gaussian", 5, 2, [10, 20])), size (invgrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("invg", 5, 2, [10, 20])), size (invgrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Laplace", 5, 2, [10, 20])), size (laplacernd (5, 2, 10, 20))) 567s ***** assert (size (random ("laplace", 5, 2, [10, 20])), size (laplacernd (5, 2, 10, 20))) 567s ***** assert (size (random ("Logistic", 5, 2, [10, 20])), size (logirnd (5, 2, 10, 20))) 567s ***** assert (size (random ("logi", 5, 2, [10, 20])), size (logirnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Log-Logistic", 5, 2, [10, 20])), size (loglrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("logl", 5, 2, [10, 20])), size (loglrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Lognormal", 5, 2, [10, 20])), size (lognrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("logn", 5, 2, [10, 20])), size (lognrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Nakagami", 5, 2, [10, 20])), size (nakarnd (5, 2, 10, 20))) 567s ***** assert (size (random ("naka", 5, 2, [10, 20])), size (nakarnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Negative Binomial", 5, 2, [10, 20])), size (nbinrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("nbin", 5, 2, [10, 20])), size (nbinrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Noncentral F-Distribution", 5, 2, 2, [10, 20])), size (ncfrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("ncf", 5, 2, 2, [10, 20])), size (ncfrnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Noncentral Student T", 5, 2, [10, 20])), size (nctrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("nct", 5, 2, [10, 20])), size (nctrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Noncentral Chi-Squared", 5, 2, [10, 20])), size (ncx2rnd (5, 2, 10, 20))) 567s ***** assert (size (random ("ncx2", 5, 2, [10, 20])), size (ncx2rnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Normal", 5, 2, [10, 20])), size (normrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("norm", 5, 2, [10, 20])), size (normrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Poisson", 5, [10, 20])), size (poissrnd (5, 10, 20))) 567s ***** assert (size (random ("poiss", 5, [10, 20])), size (poissrnd (5, 10, 20))) 567s ***** assert (size (random ("Rayleigh", 5, [10, 20])), size (raylrnd (5, 10, 20))) 567s ***** assert (size (random ("rayl", 5, [10, 20])), size (raylrnd (5, 10, 20))) 567s ***** assert (size (random ("Student T", 5, [10, 20])), size (trnd (5, 10, 20))) 567s ***** assert (size (random ("t", 5, [10, 20])), size (trnd (5, 10, 20))) 567s ***** assert (size (random ("Triangular", 5, 2, 2, [10, 20])), size (trirnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("tri", 5, 2, 2, [10, 20])), size (trirnd (5, 2, 2, 10, 20))) 567s ***** assert (size (random ("Discrete Uniform", 5, [10, 20])), size (unidrnd (5, 10, 20))) 567s ***** assert (size (random ("unid", 5, [10, 20])), size (unidrnd (5, 10, 20))) 567s ***** assert (size (random ("Uniform", 5, 2, [10, 20])), size (unifrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("unif", 5, 2, [10, 20])), size (unifrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Von Mises", 5, 2, [10, 20])), size (vmrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("vm", 5, 2, [10, 20])), size (vmrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("Weibull", 5, 2, [10, 20])), size (wblrnd (5, 2, 10, 20))) 567s ***** assert (size (random ("wbl", 5, 2, [10, 20])), size (wblrnd (5, 2, 10, 20))) 567s ***** error random (1) 567s ***** error random ({"beta"}) 567s ***** error ... 567s random ("Beta", "a", 2) 567s ***** error ... 567s random ("Beta", 5, "") 567s ***** error ... 567s random ("Beta", 5, {2}) 567s ***** error ... 567s random ("Beta", "a", 2, 2, 10) 567s ***** error ... 567s random ("Beta", 5, "", 2, 10) 567s ***** error ... 567s random ("Beta", 5, {2}, 2, 10) 567s ***** error ... 567s random ("Beta", 5, "", 2, 10) 567s ***** error random ("chi2") 567s ***** error random ("Beta", 5) 567s ***** error random ("Burr", 5) 567s ***** error random ("Burr", 5, 2) 567s 83 tests, 83 passed, 0 known failure, 0 skipped 567s [inst/regress_gp.m] 567s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/regress_gp.m 567s ***** demo 567s ## 1D Data 567s rand ("seed", 125); 567s x = 2 * rand (5, 1) - 1; 567s randn ("seed", 25); 567s y = 2 * x - 1 + 0.3 * randn (5, 1); 567s 567s ## Points for interpolation/extrapolation 567s xi = linspace (-2, 2, 10)'; 567s 567s [m, K, yi, dy] = regress_gp (x, y, [], xi); 567s 567s plot (x, y, "xk", xi, yi, "r-", xi, bsxfun (@plus, yi, [-dy +dy]), "b-"); 567s ***** demo 567s ## 2D DataData 567s rand ("seed", 135); 567s x = 2 * rand (4, 2) - 1;; 567s randn ("seed", 35); 567s y = 2 * x(:,1) - 3 * x(:,2) - 1 + 1 * randn (4, 1); 567s 567s ## Mesh for interpolation/extrapolation 567s [xi, yi] = meshgrid (linspace (-1, 1, 10)); 567s 567s [m, K, zi, dz] = regress_gp (x, y, [], [xi(:), yi(:)]); 567s zi = reshape (zi, 10, 10); 567s dz = reshape (dz, 10, 10); 567s 567s plot3 (x(:,1), x(:,2), y, ".g", "markersize", 8); 567s hold on; 567s h = mesh (xi, yi, zi, zeros (10, 10)); 567s set (h, "facecolor", "none"); 567s h = mesh (xi, yi, zi + dz, ones (10, 10)); 567s set (h, "facecolor", "none"); 567s h = mesh (xi, yi, zi - dz, ones (10, 10)); 567s set (h, "facecolor", "none"); 567s hold off 567s axis tight 567s view (80, 25) 567s ***** demo 567s ## Projection over basis function 567s pp = [2, 2, 0.3, 1]; 567s n = 10; 567s rand ("seed", 145); 567s x = 2 * rand (n, 1) - 1; 567s randn ("seed", 45); 567s y = polyval (pp, x) + 0.3 * randn (n, 1); 567s 567s ## Powers 567s px = [sqrt(abs(x)), x, x.^2, x.^3]; 567s 567s ## Points for interpolation/extrapolation 567s xi = linspace (-1, 1, 100)'; 567s pxi = [sqrt(abs(xi)), xi, xi.^2, xi.^3]; 567s 567s Sp = 100 * eye (size (px, 2) + 1); 567s Sp(2,2) = 1; # We don't believe the sqrt is present 567s [m, K, yi, dy] = regress_gp (px, y, Sp, pxi); 567s disp (m) 567s 567s plot (x, y, "xk;Data;", xi, yi, "r-;Estimation;", ... 567s xi, polyval (pp, xi), "g-;True;"); 567s axis tight 567s axis manual 567s hold on 567s plot (xi, bsxfun (@plus, yi, [-dy, +dy]), "b-"); 567s hold off 567s ***** error regress_gp (ones (20, 2)) 568s ***** error ... 568s regress_gp (ones (20, 2, 3), ones (20, 1)) 568s ***** error regress_gp (ones (20, 2), ones (20, 2)) 568s ***** error ... 568s regress_gp (ones (20, 2), ones (15, 1)) 568s ***** error ... 568s regress_gp (ones (20, 2), ones (1, 20), [], ones (20, 3)) 568s 5 tests, 5 passed, 0 known failure, 0 skipped 568s [inst/dcov.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dcov.m 568s ***** demo 568s base=@(x) (x- min(x))./(max(x)-min(x)); 568s N = 5e2; 568s x = randn (N,1); x = base (x); 568s z = randn (N,1); z = base (z); 568s # Linear relations 568s cy = [1 0.55 0.3 0 -0.3 -0.55 -1]; 568s ly = x .* cy; 568s ly(:,[1:3 5:end]) = base (ly(:,[1:3 5:end])); 568s # Correlated Gaussian 568s cz = 1 - abs (cy); 568s gy = base ( ly + cz.*z); 568s # Shapes 568s sx = repmat (x,1,7); 568s sy = zeros (size (ly)); 568s v = 2 * rand (size(x,1),2) - 1; 568s sx(:,1) = v(:,1); sy(:,1) = cos(2*pi*sx(:,1)) + 0.5*v(:,2).*exp(-sx(:,1).^2/0.5); 568s R =@(d) [cosd(d) sind(d); -sind(d) cosd(d)]; 568s tmp = R(35) * v.'; 568s sx(:,2) = tmp(1,:); sy(:,2) = tmp(2,:); 568s tmp = R(45) * v.'; 568s sx(:,3) = tmp(1,:); sy(:,3) = tmp(2,:); 568s sx(:,4) = v(:,1); sy(:,4) = sx(:,4).^2 + 0.5*v(:,2); 568s sx(:,5) = v(:,1); sy(:,5) = 3*sign(v(:,2)).*(sx(:,5)).^2 + v(:,2); 568s sx(:,6) = cos (2*pi*v(:,1)) + 0.5*(x-0.5); 568s sy(:,6) = sin (2*pi*v(:,1)) + 0.5*(z-0.5); 568s sx(:,7) = x + sign(v(:,1)); sy(:,7) = z + sign(v(:,2)); 568s sy = base (sy); 568s sx = base (sx); 568s # scaled shape 568s sc = 1/3; 568s ssy = (sy-0.5) * sc + 0.5; 568s n = size (ly,2); 568s ym = 1.2; 568s xm = 0.5; 568s fmt={'horizontalalignment','center'}; 568s ff = "% .2f"; 568s figure (1) 568s for i=1:n 568s subplot(4,n,i); 568s plot (x, gy(:,i), '.b'); 568s axis tight 568s axis off 568s text (xm,ym,sprintf (ff, dcov (x,gy(:,i))),fmt{:}) 568s 568s subplot(4,n,i+n); 568s plot (x, ly(:,i), '.b'); 568s axis tight 568s axis off 568s text (xm,ym,sprintf (ff, dcov (x,ly(:,i))),fmt{:}) 568s 568s subplot(4,n,i+2*n); 568s plot (sx(:,i), sy(:,i), '.b'); 568s axis tight 568s axis off 568s text (xm,ym,sprintf (ff, dcov (sx(:,i),sy(:,i))),fmt{:}) 568s v = axis (); 568s 568s subplot(4,n,i+3*n); 568s plot (sx(:,i), ssy(:,i), '.b'); 568s axis (v) 568s axis off 568s text (xm,ym,sprintf (ff, dcov (sx(:,i),ssy(:,i))),fmt{:}) 568s endfor 568s ***** error dcov (randn (30, 5), randn (25,5)) 568s 1 test, 1 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/get.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/get.m 568s ***** shared C 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s ***** assert (get (C, "NumObservations"), 10); 568s ***** assert (get (C, "NumTestSets"), 5); 568s ***** assert (get (C, "TrainSize"), ones(5,1) * 8); 568s ***** assert (get (C, "TestSize"), ones (5,1) * 2); 568s ***** assert (get (C, "inds"), [1 1 2 2 3 3 4 4 5 5]'); 568s ***** assert (get (C, "Type"), "kfold"); 568s ***** error get (C, "some") 568s ***** error get (C, 25) 568s ***** error get (C, {25}) 568s 9 tests, 9 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/display.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/display.m 568s ***** test 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s s = evalc ("display (C)"); 568s sout = "K-fold cross validation partition"; 568s assert (strcmpi (s(1:length (sout)), sout), true); 568s ***** test 568s C = cvpartition (ones (10, 1), "HoldOut", 5); 568s s = evalc ("display (C)"); 568s sout = "HoldOut cross validation partition"; 568s assert (strcmpi (s(1:length (sout)), sout), true); 568s ***** test 568s C = cvpartition (ones (10, 1), "LeaveOut", 5); 568s s = evalc ("display (C)"); 568s sout = "Leave-One-Out cross validation partition"; 568s assert (strcmpi (s(1:length (sout)), sout), true); 568s ***** test 568s C = cvpartition (ones (10, 1), "resubstitution", 5); 568s s = evalc ("display (C)"); 568s sout = "Resubstitution cross validation partition"; 568s assert (strcmpi (s(1:length (sout)), sout), true); 568s ***** test 568s C = cvpartition (ones (10, 1), "Given", 5); 568s s = evalc ("display (C)"); 568s sout = "Given cross validation partition"; 568s assert (strcmpi (s(1:length (sout)), sout), true); 568s ***** error display () 568s 6 tests, 6 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/test.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/test.m 568s ***** shared C 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s ***** assert (test (C, 1), logical ([1 1 0 0 0 0 0 0 0 0]')) 568s ***** assert (test (C, 2), logical ([0 0 1 1 0 0 0 0 0 0]')) 568s ***** assert (test (C, 3), logical ([0 0 0 0 1 1 0 0 0 0]')) 568s ***** assert (test (C, 4), logical ([0 0 0 0 0 0 1 1 0 0]')) 568s ***** assert (test (C, 5), logical ([0 0 0 0 0 0 0 0 1 1]')) 568s ***** test 568s C = set (C, "inds", [1 2 2 2 3 4 3 4 5 5]'); 568s ***** assert (test (C), logical ([1 0 0 0 0 0 0 0 0 0]')) 568s ***** assert (test (C, 2), logical ([0 1 1 1 0 0 0 0 0 0]')) 568s ***** assert (test (C, 3), logical ([0 0 0 0 1 0 1 0 0 0]')) 568s 9 tests, 9 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/training.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/training.m 568s ***** shared C 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s ***** assert (test (C, 1), logical ([1 1 0 0 0 0 0 0 0 0]')) 568s ***** assert (test (C, 2), logical ([0 0 1 1 0 0 0 0 0 0]')) 568s ***** assert (test (C, 3), logical ([0 0 0 0 1 1 0 0 0 0]')) 568s ***** assert (test (C, 4), logical ([0 0 0 0 0 0 1 1 0 0]')) 568s ***** assert (test (C, 5), logical ([0 0 0 0 0 0 0 0 1 1]')) 568s ***** test 568s C = set (C, "inds", [1 2 2 2 3 4 3 4 5 5]'); 568s ***** assert (test (C), logical ([1 0 0 0 0 0 0 0 0 0]')) 568s ***** assert (test (C, 2), logical ([0 1 1 1 0 0 0 0 0 0]')) 568s ***** assert (test (C, 3), logical ([0 0 0 0 1 0 1 0 0 0]')) 568s 9 tests, 9 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/cvpartition.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/cvpartition.m 568s ***** demo 568s ## Partition with Fisher iris dataset (n = 150) 568s ## Stratified by species 568s load fisheriris 568s y = species; 568s ## 10-fold cross-validation partition 568s c = cvpartition (species, 'KFold', 10) 568s ## leave-10-out partition 568s c1 = cvpartition (species, 'HoldOut', 10) 568s idx1 = test (c, 2); 568s idx2 = training (c, 2); 568s ## another leave-10-out partition 568s c2 = repartition (c1) 568s ***** test 568s C = cvpartition (ones (10, 1)); 568s assert (isa (C, "cvpartition"), true); 568s ***** test 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 5); 568s assert (get (C, "TrainSize"), ones(5,1) * 8); 568s assert (get (C, "TestSize"), ones (5,1) * 2); 568s assert (get (C, "inds"), [1 1 2 2 3 3 4 4 5 5]'); 568s assert (get (C, "Type"), "kfold"); 568s ***** test 568s C = cvpartition (ones (10, 1), "KFold", 2); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 2); 568s assert (get (C, "TrainSize"), [5; 5]); 568s assert (get (C, "TestSize"), [5; 5]); 568s assert (get (C, "inds"), [1 1 1 1 1 2 2 2 2 2]'); 568s assert (get (C, "Type"), "kfold"); 568s ***** test 568s C = cvpartition (ones (10, 1), "HoldOut", 5); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 1); 568s assert (get (C, "TrainSize"), 5); 568s assert (get (C, "TestSize"), 5); 568s assert (class (get (C, "inds")), "logical"); 568s assert (length (get (C, "inds")), 10); 568s assert (get (C, "Type"), "holdout"); 568s ***** test 568s C = cvpartition ([1 2 3 4 5 6 7 8 9 10], "LeaveOut", 5); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 10); 568s assert (get (C, "TrainSize"), ones (10, 1)); 568s assert (get (C, "TestSize"), ones (10, 1) * 9); 568s assert (get (C, "inds"), []); 568s assert (get (C, "Type"), "leaveout"); 568s ***** test 568s C = cvpartition ([1 2 3 4 5 6 7 8 9 10], "resubstitution", 5); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 1); 568s assert (get (C, "TrainSize"), 10); 568s assert (get (C, "TestSize"), 10); 568s assert (get (C, "inds"), []); 568s assert (get (C, "Type"), "resubstitution"); 568s ***** test 568s C = cvpartition ([1 2 3 4 5 6 7 8 9 10], "Given", 2); 568s assert (get (C, "NumObservations"), 10); 568s assert (get (C, "NumTestSets"), 10); 568s assert (get (C, "TrainSize"), ones (10, 1) * 9); 568s assert (get (C, "TestSize"), ones (10, 1)); 568s assert (get (C, "inds"), [1:10]'); 568s assert (get (C, "Type"), "given"); 568s ***** warning ... 568s C = cvpartition ([1 2 3 4 5 6 7 8 9 10], "some", 2); 568s 8 tests, 8 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/repartition.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/repartition.m 568s ***** test 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s Cnew = repartition (C); 568s assert (isa (Cnew, "cvpartition"), true); 568s ***** test 568s C = cvpartition (ones (100, 1), "HoldOut", 5); 568s Cnew = repartition (C); 568s indC = get (C, "inds"); 568s indCnew = get (Cnew, "inds"); 568s assert (isequal (indC, indCnew), false); 568s 2 tests, 2 passed, 0 known failure, 0 skipped 568s [inst/@cvpartition/set.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/@cvpartition/set.m 568s ***** shared C 568s C = cvpartition (ones (10, 1), "KFold", 5); 568s ***** test 568s Cnew = set (C, "inds", [1 2 2 2 3 4 3 4 5 5]'); 568s assert (get (Cnew, "inds"), [1 2 2 2 3 4 3 4 5 5]'); 568s ***** error set (C) 568s ***** error set (C, "NumObservations") 568s ***** error set (C, "some", 15) 568s ***** error set (C, 15, 15) 568s 5 tests, 5 passed, 0 known failure, 0 skipped 568s [inst/vartestn.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/vartestn.m 568s ***** demo 568s ## Test the null hypothesis that the variances are equal across the five 568s ## columns of data in the students’ exam grades matrix, grades. 568s 568s load examgrades 568s vartestn (grades) 568s ***** demo 568s ## Test the null hypothesis that the variances in miles per gallon (MPG) are 568s ## equal across different model years. 568s 568s load carsmall 568s vartestn (MPG, Model_Year) 568s ***** demo 568s ## Use Levene’s test to test the null hypothesis that the variances in miles 568s ## per gallon (MPG) are equal across different model years. 568s 568s load carsmall 568s p = vartestn (MPG, Model_Year, "TestType", "LeveneAbsolute") 568s ***** demo 568s ## Test the null hypothesis that the variances are equal across the five 568s ## columns of data in the students’ exam grades matrix, grades, using the 568s ## Brown-Forsythe test. Suppress the display of the summary table of 568s ## statistics and the box plot. 568s 568s load examgrades 568s [p, stats] = vartestn (grades, "TestType", "BrownForsythe", "Display", "off") 568s ***** error vartestn (); 568s ***** error vartestn (1); 568s ***** error ... 568s vartestn ([1, 2, 3, 4, 5, 6, 7]); 568s ***** error ... 568s vartestn ([1, 2, 3, 4, 5, 6, 7], []); 568s ***** error ... 568s vartestn ([1, 2, 3, 4, 5, 6, 7], "TestType", "LeveneAbsolute"); 568s ***** error ... 568s vartestn ([1, 2, 3, 4, 5, 6, 7], [], "TestType", "LeveneAbsolute"); 568s ***** error ... 568s vartestn ([1, 2, 3, 4, 5, 6, 7], [1, 1, 1, 2, 2, 2, 2], "Display", "some"); 568s ***** error ... 568s vartestn (ones (50,3), "Display", "some"); 568s ***** error ... 568s vartestn (ones (50,3), "Display", "off", "testtype", "some"); 568s ***** error ... 568s vartestn (ones (50,3), [], "som"); 568s ***** error ... 568s vartestn (ones (50,3), [], "some", "some"); 568s ***** error ... 568s vartestn (ones (50,3), [1, 2], "Display", "off"); 568s ***** test 568s load examgrades 568s [p, stat] = vartestn (grades, "Display", "off"); 568s assert (p, 7.908647337018238e-08, 1e-14); 568s assert (stat.chisqstat, 38.7332, 1e-4); 568s assert (stat.df, 4); 568s ***** test 568s load examgrades 568s [p, stat] = vartestn (grades, "Display", "off", "TestType", "LeveneAbsolute"); 568s assert (p, 9.523239714592791e-07, 1e-14); 568s assert (stat.fstat, 8.5953, 1e-4); 568s assert (stat.df, [4, 595]); 568s ***** test 568s load examgrades 568s [p, stat] = vartestn (grades, "Display", "off", "TestType", "LeveneQuadratic"); 568s assert (p, 7.219514351897161e-07, 1e-14); 568s assert (stat.fstat, 8.7503, 1e-4); 568s assert (stat.df, [4, 595]); 568s ***** test 568s load examgrades 568s [p, stat] = vartestn (grades, "Display", "off", "TestType", "BrownForsythe"); 568s assert (p, 1.312093241723211e-06, 1e-14); 568s assert (stat.fstat, 8.4160, 1e-4); 568s assert (stat.df, [4, 595]); 568s ***** test 568s load examgrades 568s [p, stat] = vartestn (grades, "Display", "off", "TestType", "OBrien"); 568s assert (p, 8.235660885480556e-07, 1e-14); 568s assert (stat.fstat, 8.6766, 1e-4); 568s assert (stat.df, [4, 595]); 568s 17 tests, 17 passed, 0 known failure, 0 skipped 568s [inst/qqplot.m] 568s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/qqplot.m 568s ***** error qqplot () 569s ***** error qqplot ({1}) 569s ***** error qqplot (ones (2,2)) 569s ***** error qqplot (1, "foobar") 569s ***** error qqplot ([1 2 3], "foobar") 569s ***** shared visibility_setting 569s visibility_setting = get (0, "DefaultFigureVisible"); 569s ***** test 569s set (0, "DefaultFigureVisible", "off"); 569s qqplot ([2 3 3 4 4 5 6 5 6 7 8 9 8 7 8 9 0 8 7 6 5 4 6 13 8 15 9 9]); 569s set (0, "DefaultFigureVisible", visibility_setting); 569s 6 tests, 6 passed, 0 known failure, 0 skipped 569s [inst/trimmean.m] 569s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/trimmean.m 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s assert (trimmean (x, 10, "all"), 19.4722, 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s out = trimmean (x, 10, [1, 2]); 569s assert (out(1,1,1), 10.3889, 1e-4); 569s assert (out(1,1,2), 29.6111, 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s assert (trimmean (x, 10, "all"), 19.3824, 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s out = trimmean (x, 10, 1); 569s assert (out(:,:,1), [-17.6, 8, 13, 18]); 569s assert (out(:,:,2), [23, 28, 33, 10.6]); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, 1); 569s assert (out(:,:,1), [-23, 8, 13, 18]); 569s assert (out(:,:,2), [23, 28, 33, 3.75]); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s out = trimmean (x, 10, 2); 569s assert (out(:,:,1), [8.5; 9.5; -15.25; 11.5; 12.5]); 569s assert (out(:,:,2), [28.5; -4.75; 30.5; 31.5; 32.5]); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, 2); 569s assert (out(:,:,1), [8.5; 9.5; -15.25; 14; 12.5]); 569s assert (out(:,:,2), [28.5; -4.75; 28; 31.5; 32.5]); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s out = trimmean (x, 10, [1, 2, 3]); 569s assert (out, trimmean (x, 10, "all")); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, [1, 2]); 569s assert (out(1,1,1), 10.7647, 1e-4); 569s assert (out(1,1,2), 29.1176, 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, [1, 3]); 569s assert (out, [2.5556, 18, 23, 11.6667], 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, [2, 3]); 569s assert (out, [18.5; 2.3750; 3.2857; 24; 22.5], 1e-4); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, [1, 2, 3]); 569s assert (out, trimmean (x, 10, "all")); 569s ***** test 569s x = reshape (1:40, [5, 4, 2]); 569s x([3, 37]) = -100; 569s x([4, 38]) = NaN; 569s out = trimmean (x, 10, [2, 3, 5]); 569s assert (out, [18.5; 2.3750; 3.2857; 24; 22.5], 1e-4); 569s ***** assert (trimmean (reshape (1:40, [5, 4, 2]), 10, 4), reshape(1:40, [5, 4, 2])) 569s ***** assert (trimmean ([], 10), NaN) 569s ***** assert (trimmean ([1;2;3;4;5], 10, 2), [1;2;3;4;5]) 569s ***** error trimmean (1) 569s ***** error trimmean (1,2,3,4,5) 569s ***** error trimmean ([1 2 3 4], -10) 569s ***** error trimmean ([1 2 3 4], 100) 569s ***** error trimmean ([1 2 3 4], 10, "flag") 569s ***** error trimmean ([1 2 3 4], 10, "flag", 1) 569s ***** error ... 569s trimmean ([1 2 3 4], 10, -1) 569s ***** error ... 569s trimmean ([1 2 3 4], 10, "floor", -1) 569s ***** error ... 569s trimmean (reshape (1:40, [5, 4, 2]), 10, [-1, 2]) 569s ***** error ... 569s trimmean (reshape (1:40, [5, 4, 2]), 10, [1, 2, 2]) 569s 26 tests, 26 passed, 0 known failure, 0 skipped 569s [inst/regress.m] 569s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/regress.m 569s ***** test 569s % Longley data from the NIST Statistical Reference Dataset 569s Z = [ 60323 83.0 234289 2356 1590 107608 1947 569s 61122 88.5 259426 2325 1456 108632 1948 569s 60171 88.2 258054 3682 1616 109773 1949 569s 61187 89.5 284599 3351 1650 110929 1950 569s 63221 96.2 328975 2099 3099 112075 1951 569s 63639 98.1 346999 1932 3594 113270 1952 569s 64989 99.0 365385 1870 3547 115094 1953 569s 63761 100.0 363112 3578 3350 116219 1954 569s 66019 101.2 397469 2904 3048 117388 1955 569s 67857 104.6 419180 2822 2857 118734 1956 569s 68169 108.4 442769 2936 2798 120445 1957 569s 66513 110.8 444546 4681 2637 121950 1958 569s 68655 112.6 482704 3813 2552 123366 1959 569s 69564 114.2 502601 3931 2514 125368 1960 569s 69331 115.7 518173 4806 2572 127852 1961 569s 70551 116.9 554894 4007 2827 130081 1962 ]; 569s % Results certified by NIST using 500 digit arithmetic 569s % b and standard error in b 569s V = [ -3482258.63459582 890420.383607373 569s 15.0618722713733 84.9149257747669 569s -0.358191792925910E-01 0.334910077722432E-01 569s -2.02022980381683 0.488399681651699 569s -1.03322686717359 0.214274163161675 569s -0.511041056535807E-01 0.226073200069370 569s 1829.15146461355 455.478499142212 ]; 569s Rsq = 0.995479004577296; 569s F = 330.285339234588; 569s y = Z(:,1); X = [ones(rows(Z),1), Z(:,2:end)]; 569s alpha = 0.05; 569s [b, bint, r, rint, stats] = regress (y, X, alpha); 569s assert(b,V(:,1),4e-6); 569s assert(stats(1),Rsq,1e-12); 569s assert(stats(2),F,3e-8); 569s assert(((bint(:,1)-bint(:,2))/2)/tinv(alpha/2,9),V(:,2),-1.e-5); 569s warning: matrix singular to machine precision, rcond = 3.50566e-20 569s warning: called from 569s regress at line 130 column 7 569s __test__ at line 33 column 28 569s test at line 682 column 11 569s /tmp/tmp.CA8h9c0vqy at line 1798 column 31 569s 569s 1 test, 1 passed, 0 known failure, 0 skipped 569s [inst/canoncorr.m] 569s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/canoncorr.m 569s ***** shared X,Y,A,B,r,U,V,k 569s k = 10; 569s X = [1:k; sin(1:k); cos(1:k)]'; Y = [tan(1:k); tanh((1:k)/k)]'; 569s [A,B,r,U,V,stats] = canoncorr (X,Y); 569s ***** assert (A, [-0.329229 0.072908; 0.074870 1.389318; -0.069302 -0.024109], 1E-6); 569s ***** assert (B, [-0.017086 -0.398402; -4.475049 -0.824538], 1E-6); 569s ***** assert (r, [0.99590 0.26754], 1E-5); 569s ***** assert (U, center(X) * A, 10*eps); 569s ***** assert (V, center(Y) * B, 10*eps); 569s ***** assert (cov(U), eye(size(U, 2)), 10*eps); 569s ***** assert (cov(V), eye(size(V, 2)), 10*eps); 569s rand ("state", 1); [A,B,r] = canoncorr (rand(5, 10),rand(5, 20)); 569s ***** assert (r, ones(1, 5), 10*eps); 569s 8 tests, 8 passed, 0 known failure, 0 skipped 569s [inst/cdf.m] 569s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cdf.m 569s ***** shared x 569s x = [1:5]; 569s ***** assert (cdf ("Beta", x, 5, 2), betacdf (x, 5, 2)) 569s ***** assert (cdf ("beta", x, 5, 2, "upper"), betacdf (x, 5, 2, "upper")) 569s ***** assert (cdf ("Binomial", x, 5, 2), binocdf (x, 5, 2)) 569s ***** assert (cdf ("bino", x, 5, 2, "upper"), binocdf (x, 5, 2, "upper")) 569s ***** assert (cdf ("Birnbaum-Saunders", x, 5, 2), bisacdf (x, 5, 2)) 569s ***** assert (cdf ("bisa", x, 5, 2, "upper"), bisacdf (x, 5, 2, "upper")) 569s ***** assert (cdf ("Burr", x, 5, 2, 2), burrcdf (x, 5, 2, 2)) 569s ***** assert (cdf ("burr", x, 5, 2, 2, "upper"), burrcdf (x, 5, 2, 2, "upper")) 569s ***** assert (cdf ("Cauchy", x, 5, 2), cauchycdf (x, 5, 2)) 569s ***** assert (cdf ("cauchy", x, 5, 2, "upper"), cauchycdf (x, 5, 2, "upper")) 569s ***** assert (cdf ("Chi-squared", x, 5), chi2cdf (x, 5)) 570s ***** assert (cdf ("chi2", x, 5, "upper"), chi2cdf (x, 5, "upper")) 570s ***** assert (cdf ("Extreme Value", x, 5, 2), evcdf (x, 5, 2)) 570s ***** assert (cdf ("ev", x, 5, 2, "upper"), evcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Exponential", x, 5), expcdf (x, 5)) 570s ***** assert (cdf ("exp", x, 5, "upper"), expcdf (x, 5, "upper")) 570s ***** assert (cdf ("F-Distribution", x, 5, 2), fcdf (x, 5, 2)) 570s ***** assert (cdf ("f", x, 5, 2, "upper"), fcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Gamma", x, 5, 2), gamcdf (x, 5, 2)) 570s ***** assert (cdf ("gam", x, 5, 2, "upper"), gamcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Geometric", x, 5), geocdf (x, 5)) 570s ***** assert (cdf ("geo", x, 5, "upper"), geocdf (x, 5, "upper")) 570s ***** assert (cdf ("Generalized Extreme Value", x, 5, 2, 2), gevcdf (x, 5, 2, 2)) 570s ***** assert (cdf ("gev", x, 5, 2, 2, "upper"), gevcdf (x, 5, 2, 2, "upper")) 570s ***** assert (cdf ("Generalized Pareto", x, 5, 2, 2), gpcdf (x, 5, 2, 2)) 570s ***** assert (cdf ("gp", x, 5, 2, 2, "upper"), gpcdf (x, 5, 2, 2, "upper")) 570s ***** assert (cdf ("Gumbel", x, 5, 2), gumbelcdf (x, 5, 2)) 570s ***** assert (cdf ("gumbel", x, 5, 2, "upper"), gumbelcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Half-normal", x, 5, 2), hncdf (x, 5, 2)) 570s ***** assert (cdf ("hn", x, 5, 2, "upper"), hncdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Hypergeometric", x, 5, 2, 2), hygecdf (x, 5, 2, 2)) 570s ***** assert (cdf ("hyge", x, 5, 2, 2, "upper"), hygecdf (x, 5, 2, 2, "upper")) 570s ***** assert (cdf ("Inverse Gaussian", x, 5, 2), invgcdf (x, 5, 2)) 570s ***** assert (cdf ("invg", x, 5, 2, "upper"), invgcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Laplace", x, 5, 2), laplacecdf (x, 5, 2)) 570s ***** assert (cdf ("laplace", x, 5, 2, "upper"), laplacecdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Logistic", x, 5, 2), logicdf (x, 5, 2)) 570s ***** assert (cdf ("logi", x, 5, 2, "upper"), logicdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Log-Logistic", x, 5, 2), loglcdf (x, 5, 2)) 570s ***** assert (cdf ("logl", x, 5, 2, "upper"), loglcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Lognormal", x, 5, 2), logncdf (x, 5, 2)) 570s ***** assert (cdf ("logn", x, 5, 2, "upper"), logncdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Nakagami", x, 5, 2), nakacdf (x, 5, 2)) 570s ***** assert (cdf ("naka", x, 5, 2, "upper"), nakacdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Negative Binomial", x, 5, 2), nbincdf (x, 5, 2)) 570s ***** assert (cdf ("nbin", x, 5, 2, "upper"), nbincdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Noncentral F-Distribution", x, 5, 2, 2), ncfcdf (x, 5, 2, 2)) 570s ***** assert (cdf ("ncf", x, 5, 2, 2, "upper"), ncfcdf (x, 5, 2, 2, "upper")) 570s ***** assert (cdf ("Noncentral Student T", x, 5, 2), nctcdf (x, 5, 2)) 570s ***** assert (cdf ("nct", x, 5, 2, "upper"), nctcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Noncentral Chi-Squared", x, 5, 2), ncx2cdf (x, 5, 2)) 570s ***** assert (cdf ("ncx2", x, 5, 2, "upper"), ncx2cdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Normal", x, 5, 2), normcdf (x, 5, 2)) 570s ***** assert (cdf ("norm", x, 5, 2, "upper"), normcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Poisson", x, 5), poisscdf (x, 5)) 570s ***** assert (cdf ("poiss", x, 5, "upper"), poisscdf (x, 5, "upper")) 570s ***** assert (cdf ("Rayleigh", x, 5), raylcdf (x, 5)) 570s ***** assert (cdf ("rayl", x, 5, "upper"), raylcdf (x, 5, "upper")) 570s ***** assert (cdf ("Student T", x, 5), tcdf (x, 5)) 570s ***** assert (cdf ("t", x, 5, "upper"), tcdf (x, 5, "upper")) 570s ***** assert (cdf ("Triangular", x, 5, 2, 2), tricdf (x, 5, 2, 2)) 570s ***** assert (cdf ("tri", x, 5, 2, 2, "upper"), tricdf (x, 5, 2, 2, "upper")) 570s ***** assert (cdf ("Discrete Uniform", x, 5), unidcdf (x, 5)) 570s ***** assert (cdf ("unid", x, 5, "upper"), unidcdf (x, 5, "upper")) 570s ***** assert (cdf ("Uniform", x, 5, 2), unifcdf (x, 5, 2)) 570s ***** assert (cdf ("unif", x, 5, 2, "upper"), unifcdf (x, 5, 2, "upper")) 570s ***** assert (cdf ("Von Mises", x, 5, 2), vmcdf (x, 5, 2)) 570s ***** assert (cdf ("vm", x, 5, 2, "upper"), vmcdf (x, 5, 2, "upper")) 571s ***** assert (cdf ("Weibull", x, 5, 2), wblcdf (x, 5, 2)) 571s ***** assert (cdf ("wbl", x, 5, 2, "upper"), wblcdf (x, 5, 2, "upper")) 571s ***** error cdf (1) 571s ***** error cdf ({"beta"}) 571s ***** error cdf ("beta", {[1 2 3 4 5]}) 571s ***** error cdf ("beta", "text") 571s ***** error cdf ("beta", 1+i) 571s ***** error ... 571s cdf ("Beta", x, "a", 2) 571s ***** error ... 571s cdf ("Beta", x, 5, "") 571s ***** error ... 571s cdf ("Beta", x, 5, {2}) 571s ***** error cdf ("chi2", x) 571s ***** error cdf ("Beta", x, 5) 571s ***** error cdf ("Burr", x, 5) 571s ***** error cdf ("Burr", x, 5, 2) 571s 82 tests, 82 passed, 0 known failure, 0 skipped 571s [inst/cmdscale.m] 571s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cmdscale.m 571s ***** shared m, n, X, D 571s m = randi(100) + 1; n = randi(100) + 1; X = rand(m, n); D = pdist(X); 571s ***** assert(norm(pdist(cmdscale(D))), norm(D), sqrt(eps)) 571s ***** assert(norm(pdist(cmdscale(squareform(D)))), norm(D), sqrt(eps)) 571s 2 tests, 2 passed, 0 known failure, 0 skipped 571s [inst/multcompare.m] 571s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/multcompare.m 571s ***** demo 571s 571s ## Demonstration using balanced one-way ANOVA from anova1 571s 571s x = ones (50, 4) .* [-2, 0, 1, 5]; 571s randn ("seed", 1); # for reproducibility 571s x = x + normrnd (0, 2, 50, 4); 571s groups = {"A", "B", "C", "D"}; 571s [p, tbl, stats] = anova1 (x, groups, "off"); 571s multcompare (stats); 571s ***** demo 571s 571s ## Demonstration using unbalanced one-way ANOVA example from anovan 571s 571s dv = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 571s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 571s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 571s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 571s 25.694 ]'; 571s g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 ... 571s 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 571s 571s [P,ATAB, STATS] = anovan (dv, g, "varnames", "score", "display", "off"); 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "holm", ... 571s "ControlGroup", 1, "display", "on") 571s 571s ***** demo 571s 571s ## Demonstration using factorial ANCOVA example from anovan 571s 571s score = [95.6 82.2 97.2 96.4 81.4 83.6 89.4 83.8 83.3 85.7 ... 571s 97.2 78.2 78.9 91.8 86.9 84.1 88.6 89.8 87.3 85.4 ... 571s 81.8 65.8 68.1 70.0 69.9 75.1 72.3 70.9 71.5 72.5 ... 571s 84.9 96.1 94.6 82.5 90.7 87.0 86.8 93.3 87.6 92.4 ... 571s 100. 80.5 92.9 84.0 88.4 91.1 85.7 91.3 92.3 87.9 ... 571s 91.7 88.6 75.8 75.7 75.3 82.4 80.1 86.0 81.8 82.5]'; 571s treatment = {"yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 571s "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 571s "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" "yes" ... 571s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no" ... 571s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no" ... 571s "no" "no" "no" "no" "no" "no" "no" "no" "no" "no"}'; 571s exercise = {"lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" ... 571s "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" ... 571s "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" ... 571s "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" "lo" ... 571s "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" "mid" ... 571s "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi" "hi"}'; 571s age = [59 65 70 66 61 65 57 61 58 55 62 61 60 59 55 57 60 63 62 57 ... 571s 58 56 57 59 59 60 55 53 55 58 68 62 61 54 59 63 60 67 60 67 ... 571s 75 54 57 62 65 60 58 61 65 57 56 58 58 58 52 53 60 62 61 61]'; 571s 571s [P, ATAB, STATS] = anovan (score, {treatment, exercise, age}, "model", ... 571s [1 0 0; 0 1 0; 0 0 1; 1 1 0], "continuous", 3, ... 571s "sstype", "h", "display", "off", "contrasts", ... 571s {"simple","poly",""}); 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", [1 2], "ctype", "holm", ... 571s "display", "on") 571s 571s ***** demo 571s 571s ## Demonstration using one-way ANOVA from anovan, with fit by weighted least 571s ## squares to account for heteroskedasticity. 571s 571s g = [1, 1, 1, 1, 1, 1, 1, 1, ... 571s 2, 2, 2, 2, 2, 2, 2, 2, ... 571s 3, 3, 3, 3, 3, 3, 3, 3]'; 571s 571s y = [13, 16, 16, 7, 11, 5, 1, 9, ... 571s 10, 25, 66, 43, 47, 56, 6, 39, ... 571s 11, 39, 26, 35, 25, 14, 24, 17]'; 571s 571s [P,ATAB,STATS] = anovan(y, g, "display", "off"); 571s fitted = STATS.X * STATS.coeffs(:,1); # fitted values 571s b = polyfit (fitted, abs (STATS.resid), 1); 571s v = polyval (b, fitted); # Variance as a function of the fitted values 571s [P,ATAB,STATS] = anovan (y, g, "weights", v.^-1, "display", "off"); 571s [C, M] = multcompare (STATS, "display", "on", "ctype", "mvt") 571s ***** demo 571s 571s ## Demonstration of p-value adjustments to control the false discovery rate 571s ## Data from Westfall (1997) JASA. 92(437):299-306 571s 571s p = [.005708; .023544; .024193; .044895; ... 571s .048805; .221227; .395867; .693051; .775755]; 571s 571s padj = multcompare(p,'ctype','fdr') 571s ***** test 571s 571s ## Tests using unbalanced one-way ANOVA example from anovan and anova1 571s 571s ## Test for anovan - compare pairwise comparisons with matlab for CTYPE "lsd" 571s 571s dv = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 571s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 571s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 571s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 571s 25.694 ]'; 571s g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 ... 571s 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 571s 571s [P, ATAB, STATS] = anovan (dv, g, "varnames", "score", "display", "off"); 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "lsd", ... 571s "display", "off"); 571s assert (C(1,6), 2.85812420217898e-05, 1e-09); 571s assert (C(2,6), 5.22936741204085e-07, 1e-09); 571s assert (C(3,6), 2.12794763209146e-08, 1e-09); 571s assert (C(4,6), 7.82091664406946e-15, 1e-09); 571s assert (C(5,6), 0.546591417210693, 1e-09); 571s assert (C(6,6), 0.0845897945254446, 1e-09); 571s assert (C(7,6), 9.47436557975328e-08, 1e-09); 571s assert (C(8,6), 0.188873478781067, 1e-09); 571s assert (C(9,6), 4.08974010364197e-08, 1e-09); 571s assert (C(10,6), 4.44427348175241e-06, 1e-09); 571s assert (M(1,1), 10, 1e-09); 571s assert (M(2,1), 18, 1e-09); 571s assert (M(3,1), 19, 1e-09); 571s assert (M(4,1), 21.0001428571429, 1e-09); 571s assert (M(5,1), 29.0001111111111, 1e-09); 571s assert (M(1,2), 1.0177537954095, 1e-09); 571s assert (M(2,2), 1.28736803631001, 1e-09); 571s assert (M(3,2), 1.0177537954095, 1e-09); 571s assert (M(4,2), 1.0880245732889, 1e-09); 571s assert (M(5,2), 0.959547480416536, 1e-09); 571s 571s ## Compare "fdr" adjusted p-values to those obtained using p.adjust in R 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "fdr", ... 571s "display", "off"); 571s assert (C(1,6), 4.08303457454140e-05, 1e-09); 571s assert (C(2,6), 1.04587348240817e-06, 1e-09); 571s assert (C(3,6), 1.06397381604573e-07, 1e-09); 571s assert (C(4,6), 7.82091664406946e-14, 1e-09); 571s assert (C(5,6), 5.46591417210693e-01, 1e-09); 571s assert (C(6,6), 1.05737243156806e-01, 1e-09); 571s assert (C(7,6), 2.36859139493832e-07, 1e-09); 571s assert (C(8,6), 2.09859420867852e-01, 1e-09); 571s assert (C(9,6), 1.36324670121399e-07, 1e-09); 571s assert (C(10,6), 7.40712246958735e-06, 1e-09); 571s 571s ## Compare "hochberg" adjusted p-values to those obtained using p.adjust in R 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "hochberg", ... 571s "display", "off"); 571s assert (C(1,6), 1.14324968087159e-04, 1e-09); 571s assert (C(2,6), 3.13762044722451e-06, 1e-09); 571s assert (C(3,6), 1.91515286888231e-07, 1e-09); 571s assert (C(4,6), 7.82091664406946e-14, 1e-09); 571s assert (C(5,6), 5.46591417210693e-01, 1e-09); 571s assert (C(6,6), 2.53769383576334e-01, 1e-09); 571s assert (C(7,6), 6.63205590582730e-07, 1e-09); 571s assert (C(8,6), 3.77746957562134e-01, 1e-09); 571s assert (C(9,6), 3.27179208291358e-07, 1e-09); 571s assert (C(10,6), 2.22213674087620e-05, 1e-09); 571s 571s ## Compare "holm" adjusted p-values to those obtained using p.adjust in R 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "holm", ... 571s "display", "off"); 571s assert (C(1,6), 1.14324968087159e-04, 1e-09); 571s assert (C(2,6), 3.13762044722451e-06, 1e-09); 571s assert (C(3,6), 1.91515286888231e-07, 1e-09); 571s assert (C(4,6), 7.82091664406946e-14, 1e-09); 571s assert (C(5,6), 5.46591417210693e-01, 1e-09); 571s assert (C(6,6), 2.53769383576334e-01, 1e-09); 571s assert (C(7,6), 6.63205590582730e-07, 1e-09); 571s assert (C(8,6), 3.77746957562134e-01, 1e-09); 571s assert (C(9,6), 3.27179208291358e-07, 1e-09); 571s assert (C(10,6), 2.22213674087620e-05, 1e-09); 571s 571s ## Compare "scheffe" adjusted p-values to those obtained using 'scheffe' in Matlab 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "scheffe", ... 571s "display", "off"); 571s assert (C(1,6), 0.00108105386141085, 1e-09); 571s assert (C(2,6), 2.7779386789517e-05, 1e-09); 571s assert (C(3,6), 1.3599854038198e-06, 1e-09); 571s assert (C(4,6), 7.58830197867751e-13, 1e-09); 571s assert (C(5,6), 0.984039948220281, 1e-09); 571s assert (C(6,6), 0.539077018557706, 1e-09); 571s assert (C(7,6), 5.59475764460574e-06, 1e-09); 571s assert (C(8,6), 0.771173490574105, 1e-09); 571s assert (C(9,6), 2.52838425729905e-06, 1e-09); 571s assert (C(10,6), 0.000200719143889168, 1e-09); 571s 571s ## Compare "bonferroni" adjusted p-values to those obtained using p.adjust in R 571s 571s [C, M, H, GNAMES] = multcompare (STATS, "dim", 1, "ctype", "bonferroni", ... 571s "display", "off"); 571s assert (C(1,6), 2.85812420217898e-04, 1e-09); 571s assert (C(2,6), 5.22936741204085e-06, 1e-09); 571s assert (C(3,6), 2.12794763209146e-07, 1e-09); 571s assert (C(4,6), 7.82091664406946e-14, 1e-09); 571s assert (C(5,6), 1.00000000000000e+00, 1e-09); 571s assert (C(6,6), 8.45897945254446e-01, 1e-09); 571s assert (C(7,6), 9.47436557975328e-07, 1e-09); 571s assert (C(8,6), 1.00000000000000e+00, 1e-09); 571s assert (C(9,6), 4.08974010364197e-07, 1e-09); 571s assert (C(10,6), 4.44427348175241e-05, 1e-09); 571s 571s ## Test for anova1 ("equal")- comparison of results from Matlab 571s 571s [P, ATAB, STATS] = anova1 (dv, g, "off", "equal"); 571s [C, M, H, GNAMES] = multcompare (STATS, "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 2.85812420217898e-05, 1e-09); 571s assert (C(2,6), 5.22936741204085e-07, 1e-09); 571s assert (C(3,6), 2.12794763209146e-08, 1e-09); 571s assert (C(4,6), 7.82091664406946e-15, 1e-09); 571s assert (C(5,6), 0.546591417210693, 1e-09); 571s assert (C(6,6), 0.0845897945254446, 1e-09); 571s assert (C(7,6), 9.47436557975328e-08, 1e-09); 571s assert (C(8,6), 0.188873478781067, 1e-09); 571s assert (C(9,6), 4.08974010364197e-08, 1e-09); 571s assert (C(10,6), 4.44427348175241e-06, 1e-09); 571s assert (M(1,1), 10, 1e-09); 571s assert (M(2,1), 18, 1e-09); 571s assert (M(3,1), 19, 1e-09); 571s assert (M(4,1), 21.0001428571429, 1e-09); 571s assert (M(5,1), 29.0001111111111, 1e-09); 571s assert (M(1,2), 1.0177537954095, 1e-09); 571s assert (M(2,2), 1.28736803631001, 1e-09); 571s assert (M(3,2), 1.0177537954095, 1e-09); 571s assert (M(4,2), 1.0880245732889, 1e-09); 571s assert (M(5,2), 0.959547480416536, 1e-09); 571s 571s ## Test for anova1 ("unequal") - comparison with results from GraphPad Prism 8 571s [P, ATAB, STATS] = anova1 (dv, g, "off", "unequal"); 571s [C, M, H, GNAMES] = multcompare (STATS, "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 0.001247025266382, 1e-09); 571s assert (C(2,6), 0.000018037115146, 1e-09); 571s assert (C(3,6), 0.000002974595187, 1e-09); 571s assert (C(4,6), 0.000000000786046, 1e-09); 571s assert (C(5,6), 0.5693192886650109, 1e-09); 571s assert (C(6,6), 0.110501699029776, 1e-09); 571s assert (C(7,6), 0.000131226488700, 1e-09); 571s assert (C(8,6), 0.1912101409715992, 1e-09); 571s assert (C(9,6), 0.000005385256394, 1e-09); 571s assert (C(10,6), 0.000074089106171, 1e-09); 571s ***** test 571s 571s ## Test for anova2 ("interaction") - comparison with results from Matlab for column effect 571s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 571s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 571s [P, ATAB, STATS] = anova2 (popcorn, 3, "off"); 571s [C, M, H, GNAMES] = multcompare (STATS, "estimate", "column",... 571s "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 1.49311100811177e-05, 1e-09); 571s assert (C(2,6), 2.20506904243535e-07, 1e-09); 571s assert (C(3,6), 0.00449897860490058, 1e-09); 571s assert (M(1,1), 6.25, 1e-09); 571s assert (M(2,1), 4.75, 1e-09); 571s assert (M(3,1), 4, 1e-09); 571s assert (M(1,2), 0.152145154862547, 1e-09); 571s assert (M(2,2), 0.152145154862547, 1e-09); 571s assert (M(3,2), 0.152145154862547, 1e-09); 571s ***** test 571s 571s ## Test for anova2 ("linear") - comparison with results from GraphPad Prism 8 571s words = [10 13 13; 6 8 8; 11 14 14; 22 23 25; 16 18 20; ... 571s 15 17 17; 1 1 4; 12 15 17; 9 12 12; 8 9 12]; 571s [P, ATAB, STATS] = anova2 (words, 1, "off", "linear"); 571s [C, M, H, GNAMES] = multcompare (STATS, "estimate", "column",... 571s "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 0.000020799832702, 1e-09); 571s assert (C(2,6), 0.000000035812410, 1e-09); 571s assert (C(3,6), 0.003038942449215, 1e-09); 571s ***** test 571s 571s ## Test for anova2 ("nested") - comparison with results from GraphPad Prism 8 571s data = [4.5924 7.3809 21.322; -0.5488 9.2085 25.0426; ... 571s 6.1605 13.1147 22.66; 2.3374 15.2654 24.1283; ... 571s 5.1873 12.4188 16.5927; 3.3579 14.3951 10.2129; ... 571s 6.3092 8.5986 9.8934; 3.2831 3.4945 10.0203]; 571s [P, ATAB, STATS] = anova2 (data, 4, "off", "nested"); 571s [C, M, H, GNAMES] = multcompare (STATS, "estimate", "column",... 571s "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 0.261031111511073, 1e-09); 571s assert (C(2,6), 0.065879755907745, 1e-09); 571s assert (C(3,6), 0.241874613529270, 1e-09); 571s ***** shared visibility_setting 571s visibility_setting = get (0, "DefaultFigureVisible"); 571s ***** test 571s set (0, "DefaultFigureVisible", "off"); 571s 571s ## Test for kruskalwallis - comparison with results from MATLAB 571s data = [3,2,4; 5,4,4; 4,2,4; 4,2,4; 4,1,5; ... 571s 4,2,3; 4,3,5; 4,2,4; 5,2,4; 5,3,3]; 571s group = [1:3] .* ones (10,3); 571s [P, ATAB, STATS] = kruskalwallis (data(:), group(:), "off"); 571s C = multcompare (STATS, "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 0.000163089828959986, 1e-09); 571s assert (C(2,6), 0.630298044801257, 1e-09); 571s assert (C(3,6), 0.00100567660695682, 1e-09); 571s C = multcompare (STATS, "ctype", "bonferroni", "display", "off"); 571s assert (C(1,6), 0.000489269486879958, 1e-09); 571s assert (C(2,6), 1, 1e-09); 571s assert (C(3,6), 0.00301702982087047, 1e-09); 571s C = multcompare(STATS, "ctype", "scheffe", "display", "off"); 571s assert (C(1,6), 0.000819054880289573, 1e-09); 571s assert (C(2,6), 0.890628039849261, 1e-09); 571s assert (C(3,6), 0.00447816059021654, 1e-09); 571s set (0, "DefaultFigureVisible", visibility_setting); 571s ***** test 571s set (0, "DefaultFigureVisible", "off"); 571s ## Test for friedman - comparison with results from MATLAB 571s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 571s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 571s [P, ATAB, STATS] = friedman (popcorn, 3, "off"); 571s C = multcompare(STATS, "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 0.227424558028569, 1e-09); 571s assert (C(2,6), 0.0327204848315735, 1e-09); 571s assert (C(3,6), 0.353160353315988, 1e-09); 571s C = multcompare(STATS, "ctype", "bonferroni", "display", "off"); 571s assert (C(1,6), 0.682273674085708, 1e-09); 571s assert (C(2,6), 0.0981614544947206, 1e-09); 571s assert (C(3,6), 1, 1e-09); 571s C = multcompare(STATS, "ctype", "scheffe", "display", "off"); 571s assert (C(1,6), 0.482657360384373, 1e-09); 571s assert (C(2,6), 0.102266573027672, 1e-09); 571s assert (C(3,6), 0.649836502233148, 1e-09); 571s set (0, "DefaultFigureVisible", visibility_setting); 571s ***** test 571s set (0, "DefaultFigureVisible", "off"); 571s ## Test for fitlm - same comparisons as for first anovan example 571s y = [ 8.706 10.362 11.552 6.941 10.983 10.092 6.421 14.943 15.931 ... 571s 22.968 18.590 16.567 15.944 21.637 14.492 17.965 18.851 22.891 ... 571s 22.028 16.884 17.252 18.325 25.435 19.141 21.238 22.196 18.038 ... 571s 22.628 31.163 26.053 24.419 32.145 28.966 30.207 29.142 33.212 ... 571s 25.694 ]'; 571s X = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5]'; 571s [TAB,STATS] = fitlm (X,y,"linear","categorical",1,"display","off",... 571s "contrasts","simple"); 571s [C, M] = multcompare(STATS, "ctype", "lsd", "display", "off"); 571s assert (C(1,6), 2.85812420217898e-05, 1e-09); 571s assert (C(2,6), 5.22936741204085e-07, 1e-09); 571s assert (C(3,6), 2.12794763209146e-08, 1e-09); 571s assert (C(4,6), 7.82091664406946e-15, 1e-09); 571s assert (C(5,6), 0.546591417210693, 1e-09); 571s assert (C(6,6), 0.0845897945254446, 1e-09); 571s assert (C(7,6), 9.47436557975328e-08, 1e-09); 571s assert (C(8,6), 0.188873478781067, 1e-09); 571s assert (C(9,6), 4.08974010364197e-08, 1e-09); 571s assert (C(10,6), 4.44427348175241e-06, 1e-09); 571s assert (M(1,1), 10, 1e-09); 571s assert (M(2,1), 18, 1e-09); 571s assert (M(3,1), 19, 1e-09); 571s assert (M(4,1), 21.0001428571429, 1e-09); 571s assert (M(5,1), 29.0001111111111, 1e-09); 571s assert (M(1,2), 1.0177537954095, 1e-09); 571s assert (M(2,2), 1.28736803631001, 1e-09); 571s assert (M(3,2), 1.0177537954095, 1e-09); 571s assert (M(4,2), 1.0880245732889, 1e-09); 571s assert (M(5,2), 0.959547480416536, 1e-09); 571s set (0, "DefaultFigureVisible", visibility_setting); 571s ***** test 571s ## Test p-value adjustments compared to R stats package function p.adjust 571s ## Data from Westfall (1997) JASA. 92(437):299-306 571s p = [.005708; .023544; .024193; .044895; ... 571s .048805; .221227; .395867; .693051; .775755]; 571s padj = multcompare (p); 571s assert (padj(1), 0.051372, 1e-06); 571s assert (padj(2), 0.188352, 1e-06); 571s assert (padj(3), 0.188352, 1e-06); 571s assert (padj(4), 0.269370, 1e-06); 571s assert (padj(5), 0.269370, 1e-06); 571s assert (padj(6), 0.884908, 1e-06); 571s assert (padj(7), 1.000000, 1e-06); 571s assert (padj(8), 1.000000, 1e-06); 571s assert (padj(9), 1.000000, 1e-06); 571s padj = multcompare(p,'ctype','holm'); 571s assert (padj(1), 0.051372, 1e-06); 571s assert (padj(2), 0.188352, 1e-06); 571s assert (padj(3), 0.188352, 1e-06); 571s assert (padj(4), 0.269370, 1e-06); 571s assert (padj(5), 0.269370, 1e-06); 571s assert (padj(6), 0.884908, 1e-06); 571s assert (padj(7), 1.000000, 1e-06); 571s assert (padj(8), 1.000000, 1e-06); 571s assert (padj(9), 1.000000, 1e-06); 571s padj = multcompare(p,'ctype','hochberg'); 571s assert (padj(1), 0.051372, 1e-06); 571s assert (padj(2), 0.169351, 1e-06); 571s assert (padj(3), 0.169351, 1e-06); 571s assert (padj(4), 0.244025, 1e-06); 571s assert (padj(5), 0.244025, 1e-06); 571s assert (padj(6), 0.775755, 1e-06); 571s assert (padj(7), 0.775755, 1e-06); 571s assert (padj(8), 0.775755, 1e-06); 571s assert (padj(9), 0.775755, 1e-06); 571s padj = multcompare(p,'ctype','fdr'); 571s assert (padj(1), 0.0513720, 1e-07); 571s assert (padj(2), 0.0725790, 1e-07); 571s assert (padj(3), 0.0725790, 1e-07); 571s assert (padj(4), 0.0878490, 1e-07); 571s assert (padj(5), 0.0878490, 1e-07); 571s assert (padj(6), 0.3318405, 1e-07); 571s assert (padj(7), 0.5089719, 1e-07); 571s assert (padj(8), 0.7757550, 1e-07); 571s assert (padj(9), 0.7757550, 1e-07); 572s 8 tests, 8 passed, 0 known failure, 0 skipped 572s [inst/mcnemar_test.m] 572s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/mcnemar_test.m 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([101,121;59,33]); 572s assert (h, 1); 572s assert (pval, 3.8151e-06, 1e-10); 572s assert (chisq, 21.356, 1e-3); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80]); 572s assert (h, 1); 572s assert (pval, 0.034690, 1e-6); 572s assert (isempty (chisq), true); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], 0.01); 572s assert (h, 0); 572s assert (pval, 0.034690, 1e-6); 572s assert (isempty (chisq), true); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], "mid-p"); 572s assert (h, 1); 572s assert (pval, 0.034690, 1e-6); 572s assert (isempty (chisq), true); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], "asymptotic"); 572s assert (h, 1); 572s assert (pval, 0.033006, 1e-6); 572s assert (chisq, 4.5455, 1e-4); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], "exact"); 572s assert (h, 0); 572s assert (pval, 0.052479, 1e-6); 572s assert (isempty (chisq), true); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], "corrected"); 572s assert (h, 0); 572s assert (pval, 0.055009, 1e-6); 572s assert (chisq, 3.6818, 1e-4); 572s ***** test 572s [h, pval, chisq] = mcnemar_test ([59,6;16,80], 0.1, "corrected"); 572s assert (h, 1); 572s assert (pval, 0.055009, 1e-6); 572s assert (chisq, 3.6818, 1e-4); 572s ***** error mcnemar_test (59, 6, 16, 80) 572s ***** error mcnemar_test (ones (3, 3)) 572s ***** error ... 572s mcnemar_test ([59,6;16,-80]) 572s ***** error ... 572s mcnemar_test ([59,6;16,4.5]) 572s ***** error ... 572s mcnemar_test ([59,6;16,80], {""}) 572s ***** error ... 572s mcnemar_test ([59,6;16,80], -0.2) 572s ***** error ... 572s mcnemar_test ([59,6;16,80], [0.05, 0.1]) 572s ***** error ... 572s mcnemar_test ([59,6;16,80], 1) 572s ***** error ... 572s mcnemar_test ([59,6;16,80], "") 572s 17 tests, 17 passed, 0 known failure, 0 skipped 572s [inst/regression_ftest.m] 572s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/regression_ftest.m 572s ***** error regression_ftest (); 572s ***** error ... 572s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]'); 573s ***** error ... 573s regression_ftest ([1 2 NaN]', [2 3 4; 3 4 5]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 Inf]', [2 3 4; 3 4 5]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3+i]', [2 3 4; 3 4 5]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 NaN; 3 4 5]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 Inf; 3 4 5]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 3+i]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [], "alpha", 0); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [], "alpha", 1.2); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [], "alpha", [.02 .1]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [], "alpha", "a"); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [], "some", 0.05); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3; 3 4]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2; 3 4]', [2 3; 3 4]', [1 0.5]); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], ones (2)); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], "alpha"); 573s ***** error ... 573s regression_ftest ([1 2 3]', [2 3 4; 3 4 5]', [1 0.5], [1 2]); 573s 18 tests, 18 passed, 0 known failure, 0 skipped 573s [inst/crosstab.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/crosstab.m 573s ***** error crosstab () 573s ***** error crosstab (1) 573s ***** error crosstab (ones (2), [1 1]) 573s ***** error crosstab ([1 1], ones (2)) 573s ***** error crosstab ([1], [1 2]) 573s ***** error crosstab ([1 2], [1]) 573s ***** test 573s load carbig 573s [table, chisq, p, labels] = crosstab (cyl4, when, org); 573s assert (table(2,3,1), 38); 573s assert (labels{3,3}, "Japan"); 573s ***** test 573s load carbig 573s [table, chisq, p, labels] = crosstab (cyl4, when, org); 573s assert (table(2,3,2), 17); 573s assert (labels{1,3}, "USA"); 573s 8 tests, 8 passed, 0 known failure, 0 skipped 573s [inst/manovacluster.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/manovacluster.m 573s ***** demo 573s load carbig 573s X = [MPG Acceleration Weight Displacement]; 573s [d, p, stats] = manova1 (X, Origin); 573s manovacluster (stats) 573s ***** error manovacluster (stats, "some"); 573s ***** shared visibility_setting 573s visibility_setting = get (0, "DefaultFigureVisible"); 573s ***** test 573s set (0, "DefaultFigureVisible", "off"); 573s load carbig 573s X = [MPG Acceleration Weight Displacement]; 573s [d, p, stats] = manova1 (X, Origin); 573s manovacluster (stats); 573s set (0, "DefaultFigureVisible", visibility_setting); 573s 2 tests, 2 passed, 0 known failure, 0 skipped 573s [inst/sigma_pts.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/sigma_pts.m 573s ***** demo 573s K = [1 0.5; 0.5 1]; # covaraince matrix 573s # calculate and build associated ellipse 573s [R,S,~] = svd (K); 573s theta = atan2 (R(2,1), R(1,1)); 573s v = sqrt (diag (S)); 573s v = v .* [cos(theta) sin(theta); -sin(theta) cos(theta)]; 573s t = linspace (0, 2*pi, 100).'; 573s xe = v(1,1) * cos (t) + v(2,1) * sin (t); 573s ye = v(1,2) * cos (t) + v(2,2) * sin (t); 573s 573s figure(1); clf; hold on 573s # Plot ellipse and axes 573s line ([0 0; v(:,1).'],[0 0; v(:,2).']) 573s plot (xe,ye,'-r'); 573s 573s col = 'rgb'; 573s l = [-1.8 -1 1.5]; 573s for li = 1:3 573s p = sigma_pts (2, [], K, l(li)); 573s tmp = plot (p(2:end,1), p(2:end,2), ['x' col(li)], ... 573s p(1,1), p(1,2), ['o' col(li)]); 573s h(li) = tmp(1); 573s endfor 573s hold off 573s axis image 573s legend (h, arrayfun (@(x) sprintf ("l:%.2g", x), l, "unif", 0)); 573s ***** test 573s p = sigma_pts (5); 573s assert (mean (p), zeros(1,5), sqrt(eps)); 573s assert (cov (p), eye(5), sqrt(eps)); 573s ***** test 573s m = randn(1, 5); 573s p = sigma_pts (5, m); 573s assert (mean (p), m, sqrt(eps)); 573s assert (cov (p), eye(5), sqrt(eps)); 573s ***** test 573s x = linspace (0,1,5); 573s K = exp (- (x.' - x).^2/ 0.5); 573s p = sigma_pts (5, [], K); 573s assert (mean (p), zeros(1,5), sqrt(eps)); 573s assert (cov (p), K, sqrt(eps)); 573s ***** error sigma_pts(2,1); 573s ***** error sigma_pts(2,[],1); 573s ***** error sigma_pts(2,1,1); 573s ***** error sigma_pts(2,[0.5 0.5],[-1 0; 0 0]); 573s 7 tests, 7 passed, 0 known failure, 0 skipped 573s [inst/cluster.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cluster.m 573s ***** error cluster () 573s ***** error cluster ([1 1], "Cutoff", 1) 573s ***** error cluster ([1 2 1], "Bogus", 1) 573s ***** error cluster ([1 2 1], "Cutoff", -1) 573s ***** error cluster ([1 2 1], "Cutoff", 1, "Bogus", 1) 573s ***** test 573s 6 tests, 6 passed, 0 known failure, 0 skipped 573s [inst/hist3.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hist3.m 573s ***** demo 573s X = [ 573s 1 1 573s 1 1 573s 1 10 573s 1 10 573s 5 5 573s 5 5 573s 5 5 573s 5 5 573s 5 5 573s 7 3 573s 7 3 573s 7 3 573s 10 10 573s 10 10]; 573s hist3 (X) 573s ***** test 573s N_exp = [ 0 0 0 5 20 573s 0 0 10 15 0 573s 0 15 10 0 0 573s 20 5 0 0 0]; 573s 573s n = 100; 573s x = [1:n]'; 573s y = [n:-1:1]'; 573s D = [x y]; 573s N = hist3 (D, [4 5]); 573s assert (N, N_exp); 573s ***** test 573s N_exp = [0 0 0 0 1 573s 0 0 0 0 1 573s 0 0 0 0 1 573s 1 1 1 1 93]; 573s 573s n = 100; 573s x = [1:n]'; 573s y = [n:-1:1]'; 573s D = [x y]; 573s C{1} = [1 1.7 3 4]; 573s C{2} = [1:5]; 573s N = hist3 (D, C); 573s assert (N, N_exp); 573s ***** test 573s D = [1 1; 3 1; 3 3; 3 1]; 573s [c, nn] = hist3 (D, {0:4, 0:4}); 573s exp_c = zeros (5); 573s exp_c([7 9 19]) = [1 2 1]; 573s assert (c, exp_c); 573s assert (nn, {0:4, 0:4}); 573s ***** test 573s for i = 10 573s assert (size (hist3 (rand (9, 2), "Edges", {[0:.2:1]; [0:.2:1]})), [6 6]) 573s endfor 573s ***** test 573s edge_1 = linspace (0, 10, 10); 573s edge_2 = linspace (0, 50, 10); 573s [c, nn] = hist3 ([1:10; 1:5:50]', "Edges", {edge_1, edge_2}); 573s exp_c = zeros (10, 10); 573s exp_c([1 12 13 24 35 46 57 68 79 90]) = 1; 573s assert (c, exp_c); 573s 573s assert (nn{1}, edge_1 + edge_1(2)/2, eps*10^4) 573s assert (nn{2}, edge_2 + edge_2(2)/2, eps*10^4) 573s ***** shared X 573s X = [ 573s 5 2 573s 5 3 573s 1 4 573s 5 3 573s 4 4 573s 1 2 573s 2 3 573s 3 3 573s 5 4 573s 5 3]; 573s ***** test 573s N = zeros (10); 573s N([1 10 53 56 60 91 98 100]) = [1 1 1 1 3 1 1 1]; 573s C = {(1.2:0.4:4.8), (2.1:0.2:3.9)}; 573s assert (nthargout ([1 2], @hist3, X), {N C}, eps*10^3) 573s ***** test 573s N = zeros (5, 7); 573s N([1 5 17 18 20 31 34 35]) = [1 1 1 1 3 1 1 1]; 573s C = {(1.4:0.8:4.6), ((2+(1/7)):(2/7):(4-(1/7)))}; 573s assert (nthargout ([1 2], @hist3, X, [5 7]), {N C}, eps*10^3) 573s assert (nthargout ([1 2], @hist3, X, "Nbins", [5 7]), {N C}, eps*10^3) 573s ***** test 573s N = [0 1 0; 0 1 0; 0 0 1; 0 0 0]; 573s C = {(2:5), (2.5:1:4.5)}; 573s assert (nthargout ([1 2], @hist3, X, "Edges", {(1.5:4.5), (2:4)}), {N C}) 573s ***** test 573s N = [0 0 1 0 1 0; 0 0 0 1 0 0; 0 0 1 4 2 0]; 573s C = {(1.2:3.2), (0:5)}; 573s assert (nthargout ([1 2], @hist3, X, "Ctrs", C), {N C}) 573s assert (nthargout ([1 2], @hist3, X, C), {N C}) 573s ***** test 573s [~, C] = hist3 (rand (10, 2), "Edges", {[0 .05 .15 .35 .55 .95], 573s [-1 .05 .07 .2 .3 .5 .89 1.2]}); 573s C_exp = {[ 0.025 0.1 0.25 0.45 0.75 1.15], ... 573s [-0.475 0.06 0.135 0.25 0.4 0.695 1.045 1.355]}; 573s assert (C, C_exp, eps*10^2) 573s ***** test 573s Xv = repmat ([1:10]', [1 2]); 573s 573s ## Test Centers 573s assert (hist3 (Xv, "Ctrs", {1:10, 1:10}), eye (10)) 573s 573s N_exp = eye (6); 573s N_exp([1 end]) = 3; 573s assert (hist3 (Xv, "Ctrs", {3:8, 3:8}), N_exp) 573s 573s N_exp = zeros (8, 6); 573s N_exp([1 2 11 20 29 38 47 48]) = [2 1 1 1 1 1 1 2]; 573s assert (hist3 (Xv, "Ctrs", {2:9, 3:8}), N_exp) 573s 573s ## Test Edges 573s assert (hist3 (Xv, "Edges", {1:10, 1:10}), eye (10)) 573s assert (hist3 (Xv, "Edges", {3:8, 3:8}), eye (6)) 573s assert (hist3 (Xv, "Edges", {2:9, 3:8}), [zeros(1, 6); eye(6); zeros(1, 6)]) 573s 573s N_exp = zeros (14); 573s N_exp(3:12, 3:12) = eye (10); 573s assert (hist3 (Xv, "Edges", {-1:12, -1:12}), N_exp) 573s 573s ## Test for Nbins 573s assert (hist3 (Xv), eye (10)) 573s assert (hist3 (Xv, [10 10]), eye (10)) 573s assert (hist3 (Xv, "nbins", [10 10]), eye (10)) 573s assert (hist3 (Xv, [5 5]), eye (5) * 2) 573s 573s N_exp = zeros (7, 5); 573s N_exp([1 9 10 18 26 27 35]) = [2 1 1 2 1 1 2]; 573s assert (hist3 (Xv, [7 5]), N_exp) 573s ***** test # bug #51059 573s D = [1 1; NaN 2; 3 1; 3 3; 1 NaN; 3 1]; 573s [c, nn] = hist3 (D, {0:4, 0:4}); 573s exp_c = zeros (5); 573s exp_c([7 9 19]) = [1 2 1]; 573s assert (c, exp_c) 573s assert (nn, {0:4, 0:4}) 573s ***** test 573s [c, nn] = hist3 ([1 8]); 573s exp_c = zeros (10, 10); 573s exp_c(6, 6) = 1; 573s exp_nn = {-4:5, 3:12}; 573s assert (c, exp_c) 573s assert (nn, exp_nn, eps) 573s 573s [c, nn] = hist3 ([1 8], [10 11]); 573s exp_c = zeros (10, 11); 573s exp_c(6, 6) = 1; 573s exp_nn = {-4:5, 3:13}; 573s assert (c, exp_c) 573s assert (nn, exp_nn, eps) 573s ***** test 573s [c, nn] = hist3 ([1 NaN; 2 3; 6 9; 8 NaN]); 573s exp_c = zeros (10, 10); 573s exp_c(2, 1) = 1; 573s exp_c(8, 10) = 1; 573s exp_nn = {linspace(1.35, 7.65, 10) linspace(3.3, 8.7, 10)}; 573s assert (c, exp_c) 573s assert (nn, exp_nn, eps*100) 573s ***** test 573s [c, nn] = hist3 ([1 NaN; 2 NaN; 6 NaN; 8 NaN]); 573s exp_c = zeros (10, 10); 573s exp_nn = {linspace(1.35, 7.65, 10) NaN(1, 10)}; 573s assert (c, exp_c) 573s assert (nn, exp_nn, eps*100) 573s ***** test 573s [c, nn] = hist3 ([1 NaN; NaN 3; NaN 9; 8 NaN]); 573s exp_c = zeros (10, 10); 573s exp_nn = {linspace(1.35, 7.65, 10) linspace(3.3, 8.7, 10)}; 573s assert (c, exp_c) 573s assert (nn, exp_nn, eps*100) 573s 16 tests, 16 passed, 0 known failure, 0 skipped 573s [inst/shadow9/mean.m] 573s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/shadow9/mean.m 573s ***** test 573s x = -10:10; 573s y = x'; 573s z = [y, y+10]; 573s assert (mean (x), 0); 573s assert (mean (y), 0); 573s assert (mean (z), [0, 10]); 573s ***** assert (mean (magic (3), 1), [5, 5, 5]) 573s ***** assert (mean (magic (3), 2), [5; 5; 5]) 573s ***** assert (mean (logical ([1 0 1 1])), 0.75) 573s ***** assert (mean (single ([1 0 1 1])), single (0.75)) 573s ***** assert (mean ([1 2], 3), [1 2]) 573s ***** test 573s in = [1 2 3]; 573s out = 2; 573s assert (mean (in, "default"), mean (in)); 573s assert (mean (in, "default"), out); 573s assert (mean (in, "double"), out); 573s assert (mean (in, "native"), out); 573s ***** test 573s in = single ([1 2 3]); 573s out = 2; 573s assert (mean (in, "default"), mean (in)); 573s assert (mean (in, "default"), single (out)); 573s assert (mean (in, "double"), out); 573s assert (mean (in, "native"), single (out)); 573s ***** test 573s in = logical ([1 0 1]); 573s out = 2/3; 573s assert (mean (in, "default"), mean (in), eps); 573s assert (mean (in, "default"), out, eps); 573s assert (mean (in, "double"), out, eps); 573s assert (mean (in, "native"), out, eps); 573s ***** test 573s in = char ("ab"); 573s out = 97.5; 573s assert (mean (in, "default"), mean (in), eps); 573s assert (mean (in, "default"), out, eps); 573s assert (mean (in, "double"), out, eps); 573s ***** test 573s in = uint8 ([1 2 3]); 573s out = 2; 573s assert (mean (in, "default"), mean (in)); 573s assert (mean (in, "default"), out); 573s assert (mean (in, "double"), out); 573s assert (mean (in, "native"), uint8 (out)); 573s ***** test 573s in = uint8 ([0 1 2 3]); 573s out = 1.5; 573s out_u8 = 2; 573s assert (mean (in, "default"), mean (in), eps); 573s assert (mean (in, "default"), out, eps); 573s assert (mean (in, "double"), out, eps); 573s assert (mean (in, "native"), uint8 (out_u8)); 573s assert (class (mean (in, "native")), "uint8"); 573s ***** test # internal sum exceeding intmax 573s in = uint8 ([3 141 141 255]); 573s out = 135; 573s assert (mean (in, "default"), mean (in)); 573s assert (mean (in, "default"), out); 573s assert (mean (in, "double"), out); 573s assert (mean (in, "native"), uint8 (out)); 573s assert (class (mean (in, "native")), "uint8"); 573s ***** test # fractional answer with internal sum exceeding intmax 573s in = uint8 ([1 141 141 255]); 573s out = 134.5; 573s out_u8 = 135; 573s assert (mean (in, "default"), mean (in)); 573s assert (mean (in, "default"), out); 573s assert (mean (in, "double"), out); 573s assert (mean (in, "native"), uint8 (out_u8)); 573s assert (class (mean (in, "native")), "uint8"); 573s ***** test <54567> # large int64 sum exceeding intmax and double precision limit 573s in_same = uint64 ([intmax("uint64") intmax("uint64")-2]); 573s out_same = intmax ("uint64")-1; 573s in_opp = int64 ([intmin("int64"), intmax("int64")-1]); 573s out_opp = -1; 573s in_neg = int64 ([intmin("int64") intmin("int64")+2]); 573s out_neg = intmin ("int64")+1; 573s 573s ## both positive 573s assert (mean (in_same, "default"), mean (in_same)); 573s assert (mean (in_same, "default"), double (out_same)); 573s assert (mean (in_same, "double"), double (out_same)); 573s assert (mean (in_same, "native"), uint64 (out_same)); 573s assert (class (mean (in_same, "native")), "uint64"); 573s 573s ## opposite signs 573s assert (mean (in_opp, "default"), mean (in_opp)); 573s assert (mean (in_opp, "default"), double (out_opp)); 573s assert (mean (in_opp, "double"), double (out_opp)); 573s assert (mean (in_opp, "native"), int64 (out_opp)); 573s assert (class (mean (in_opp, "native")), "int64"); 573s 573s ## both negative 573s assert (mean (in_neg, "default"), mean (in_neg)); 573s assert (mean (in_neg, "default"), double(out_neg)); 573s assert (mean (in_neg, "double"), double(out_neg)); 573s assert (mean (in_neg, "native"), int64(out_neg)); 573s assert (class (mean (in_neg, "native")), "int64"); 573s ***** test <54567> 573s in = [(intmin('int64')+5), (intmax('int64'))-5]; 573s assert (mean (in, "native"), int64(-1)); 573s assert (class (mean (in, "native")), "int64"); 573s assert (mean (double(in)), double(0) ); 573s assert (mean (in), double(-0.5) ); 573s assert (mean (in, "default"), double(-0.5) ); 573s assert (mean (in, "double"), double(-0.5) ); 573s assert (mean (in, "all", "native"), int64(-1)); 573s assert (mean (in, 2, "native"), int64(-1)); 573s assert (mean (in, [1 2], "native"), int64(-1)); 573s assert (mean (in, [2 3], "native"), int64(-1)); 573s assert (mean ([intmin("int64"), in, intmax("int64")]), double(-0.5)) 573s assert (mean ([in; int64([1 3])], 2, "native"), int64([-1; 2])); 573s ***** test 573s x = [-10:10]; 573s y = [x;x+5;x-5]; 573s assert (mean (x), 0); 573s assert (mean (y, 2), [0, 5, -5]'); 573s assert (mean (y, "all"), 0); 573s y(2,4) = NaN; 573s assert (mean (y', "omitnan"), [0 5.35 -5]); 573s z = y + 20; 573s assert (mean (z, "all"), NaN); 573s assert (mean (z, "all", "includenan"), NaN); 573s assert (mean (z, "all", "omitnan"), 20.03225806451613, 4e-14); 573s m = [20 NaN 15]; 573s assert (mean (z'), m); 573s assert (mean (z', "includenan"), m); 573s m = [20 25.35 15]; 573s assert (mean (z', "omitnan"), m); 573s assert (mean (z, 2, "omitnan"), m'); 573s assert (mean (z, 2, "native", "omitnan"), m'); 573s assert (mean (z, 2, "omitnan", "native"), m'); 573s ***** test 573s assert (mean (true, "all"), 1); 573s assert (mean (false), 0); 573s assert (mean ([true false true]), 2/3, 4e-14); 573s assert (mean ([true false true], 1), [1 0 1]); 573s assert (mean ([true false NaN], 1), [1 0 NaN]); 573s assert (mean ([true false NaN], 2), NaN); 573s assert (mean ([true false NaN], 2, "omitnan"), 0.5); 573s assert (mean ([true false NaN], 2, "omitnan", "native"), 0.5); 573s ***** assert (mean ("abc"), double (98)) 573s ***** assert (mean ("ab"), double (97.5), eps) 573s ***** assert (mean ("abc", "double"), double (98)) 573s ***** assert (mean ("abc", "default"), double (98)) 573s ***** test 573s x = magic (4); 573s x([2, 9:12]) = NaN; 573s assert (mean (x), [NaN 8.5, NaN, 8.5], eps); 573s assert (mean (x,1), [NaN 8.5, NaN, 8.5], eps); 573s assert (mean (x,2), NaN(4,1), eps); 573s assert (mean (x,3), x, eps); 573s assert (mean (x, 'omitnan'), [29/3, 8.5, NaN, 8.5], eps); 573s assert (mean (x, 1, 'omitnan'), [29/3, 8.5, NaN, 8.5], eps); 573s assert (mean (x, 2, 'omitnan'), [31/3; 9.5; 28/3; 19/3], eps); 573s assert (mean (x, 3, 'omitnan'), x, eps); 574s ***** assert (mean ([]), NaN(1,1)) 574s ***** assert (mean (single([])), NaN(1,1,"single")) 574s ***** assert (mean ([], 1), NaN(1,0)) 574s ***** assert (mean ([], 2), NaN(0,1)) 574s ***** assert (mean ([], 3), NaN(0,0)) 574s ***** assert (mean (ones(1,0)), NaN(1,1)) 574s ***** assert (mean (ones(1,0), 1), NaN(1,0)) 574s ***** assert (mean (ones(1,0), 2), NaN(1,1)) 574s ***** assert (mean (ones(1,0), 3), NaN(1,0)) 574s ***** assert (mean (ones(0,1)), NaN(1,1)) 574s ***** assert (mean (ones(0,1), 1), NaN(1,1)) 574s ***** assert (mean (ones(0,1), 2), NaN(0,1)) 574s ***** assert (mean (ones(0,1), 3), NaN(0,1)) 574s ***** assert (mean (ones(0,1,0)), NaN(1,1,0)) 574s ***** assert (mean (ones(0,1,0), 1), NaN(1,1,0)) 574s ***** assert (mean (ones(0,1,0), 2), NaN(0,1,0)) 574s ***** assert (mean (ones(0,1,0), 3), NaN(0,1,1)) 574s ***** assert (mean (ones(0,0,1,0)), NaN(1,0,1,0)) 574s ***** assert (mean (ones(0,0,1,0), 1), NaN(1,0,1,0)) 574s ***** assert (mean (ones(0,0,1,0), 2), NaN(0,1,1,0)) 574s ***** assert (mean (ones(0,0,1,0), 3), NaN(0,0,1,0)) 574s ***** test 574s x = repmat ([1:20;6:25], [5 2 6 3]); 574s assert (size (mean (x, [3 2])), [10 1 1 3]); 574s assert (size (mean (x, [1 2])), [1 1 6 3]); 574s assert (size (mean (x, [1 2 4])), [1 1 6]); 574s assert (size (mean (x, [1 4 3])), [1 40]); 574s assert (size (mean (x, [1 2 3 4])), [1 1]); 574s ***** assert (mean (ones (2,2), 3), ones (2,2)) 574s ***** assert (mean (ones (2,2,2), 99), ones (2,2,2)) 574s ***** assert (mean (magic (3), 3), magic (3)) 574s ***** assert (mean (magic (3), [1 3]), [5, 5, 5]) 574s ***** assert (mean (magic (3), [1 99]), [5, 5, 5]) 574s ***** test 574s x = repmat ([1:20;6:25], [5 2 6 3]); 574s m = repmat ([10.5;15.5], [5 1 1 3]); 574s assert (mean (x, [3 2]), m, 4e-14); 574s x(2,5,6,3) = NaN; 574s m(2,1,1,3) = NaN; 574s assert (mean (x, [3 2]), m, 4e-14); 574s m(2,1,1,3) = 15.52301255230125; 574s assert (mean (x, [3 2], "omitnan"), m, 4e-14); 574s ***** assert (mean ([1 2 3], "aLL"), 2) 574s ***** assert (mean ([1 2 3], "OmitNan"), 2) 574s ***** assert (mean ([1 2 3], "DOUBle"), 2) 574s ***** assert <*63848> (mean (ones (80e6, 1, "single")), 1, eps) 574s ***** assert <*63848> (mean (ones (80e6, 1, "single"), "all"), 1, eps) 575s ***** assert <*63848> (mean (ones (80e6, 1, "single"), 1), 1, eps) 576s ***** assert <*63848> (mean (ones (80e6, 1, "single"), [1 2]), 1, eps) 576s ***** assert <*63848> (mean (ones (80e6, 1, "single"), [1 3]), 1, eps) 578s ***** assert <63848> (mean ([flintmax("double"), ones(1, 2^8-1, "double")]), ... 578s 35184372088833-1/(2^8), eps(35184372088833)) 578s !!!!! known bug: https://octave.org/testfailure/?63848 578s ASSERT errors for: assert (mean ([flintmax("double"), ones(1, 2 ^ 8 - 1, "double")]),35184372088833 - 1 / (2 ^ 8),eps (35184372088833)) 578s 578s Location | Observed | Expected | Reason 578s () 35184372088832 35184372088833 Abs err 1 exceeds tol 0.0078125 by 1 578s ***** error mean () 578s ***** error mean (1, 2, 3) 579s ***** error mean (1, 2, 3, 4) 579s ***** error mean (1, "all", 3) 579s ***** error mean (1, "b") 579s ***** error mean (1, 1, "foo") 579s ***** error mean ("abc", "native") 579s ***** error mean ({1:5}) 579s ***** error mean (1, ones (2,2)) 579s ***** error mean (1, 1.5) 579s ***** error mean (1, 0) 579s ***** error mean (1, []) 579s ***** error mean (1, -1) 579s ***** error mean (1, -1.5) 579s ***** error mean (1, NaN) 579s ***** error mean (1, Inf) 579s ***** error mean (repmat ([1:20;6:25], [5 2]), -1) 579s ***** error mean (repmat ([1:5;5:9], [5 2]), [1 -1]) 579s ***** error mean (1, ones(1,0)) 579s ***** error mean (1, [2 2]) 579s 80 tests, 79 passed, 0 known failure, 1 skipped 579s [inst/shadow9/var.m] 579s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/shadow9/var.m 579s ***** assert (var (13), 0) 579s ***** assert (var (single (13)), single (0)) 579s ***** assert (var ([1,2,3]), 1) 579s ***** assert (var ([1,2,3], 1), 2/3, eps) 579s ***** assert (var ([1,2,3], [], 1), [0,0,0]) 580s ***** assert (var ([1,2,3], [], 3), [0,0,0]) 580s ***** assert (var (5, 99), 0) 580s ***** assert (var (5, 99, 1), 0) 580s ***** assert (var (5, 99, 2), 0) 580s ***** assert (var ([5 3], [99 99], 2), 1) 580s ***** assert (var ([1:7], [1:7]), 3) 580s ***** assert (var ([eye(3)], [1:3]), [5/36, 2/9, 1/4], eps) 580s ***** assert (var (ones (2,2,2), [1:2], 3), [(zeros (2,2))]) 580s ***** assert (var ([1 2; 3 4], 0, 'all'), var ([1:4])) 580s ***** assert (var (reshape ([1:8], 2, 2, 2), 0, [1 3]), [17/3 17/3], eps) 580s ***** assert (var ([1 2 3;1 2 3], [], [1 2]), 0.8, eps) 580s ***** test 580s x = [-10:10]; 580s y = [x;x+5;x-5]; 580s assert (var (x), 38.5); 580s assert (var (y, [], 2), [38.5; 38.5; 38.5]); 580s assert (var (y, 0, 2), [38.5; 38.5; 38.5]); 580s assert (var (y, 1, 2), ones (3,1) * 36.66666666666666, 1e-14); 580s assert (var (y, "all"), 54.19354838709678, 1e-14); 580s y(2,4) = NaN; 580s assert (var (y, "all"), NaN); 580s assert (var (y, "all", "includenan"), NaN); 580s assert (var (y, "all", "omitnan"), 55.01533580116342, 1e-14); 580s assert (var (y, 0, 2, "includenan"), [38.5; NaN; 38.5]); 580s assert (var (y, [], 2), [38.5; NaN; 38.5]); 580s assert (var (y, [], 2, "omitnan"), [38.5; 37.81842105263158; 38.5], 1e-14); 580s ***** assert (var ([1 NaN 3], [1 2 3], "omitnan"), 0.75, eps) 580s ***** assert (var ([1 2 3], [1 NaN 3], "omitnan"), 0.75, eps) 580s ***** assert (var (magic(3), [1 NaN 3], "omitnan"), [3 12 3], eps) 580s ***** assert (var ([1 NaN 3], [1 2 3], "omitnan", "all"), 0.75, eps) 580s ***** assert (var ([1 NaN 3], [1 2 3], "all", "omitnan"), 0.75, eps) 580s ***** assert (var ([1 2 3], [1 NaN 3], "omitnan", "all"), 0.75, eps) 580s ***** assert (var ([1 NaN 3], [1 2 3], 2, "omitnan"), 0.75, eps) 580s ***** assert (var ([1 2 3], [1 NaN 3], 2, "omitnan"), 0.75, eps) 580s ***** assert (var (magic(3), [1 NaN 3], 1, "omitnan"), [3 12 3], eps) 580s ***** assert (var (magic(3), [1 NaN 3], 2, "omitnan"), [0.75;3;0.75], eps) 580s ***** assert (var ([4 4; 4 6; 6 6], [1 3], 2, 'omitnan'), [0;0.75;0], eps) 580s ***** assert (var ([4 NaN; 4 6; 6 6], [1 2 3], 1, 'omitnan'), [1 0]) 580s ***** assert (var ([4 NaN; 4 6; 6 6], [1 3], 2, 'omitnan'), [0;0.75;0], eps) 580s ***** assert (var (3*reshape(1:18, [3 3 2]), [1 2 3], 1, 'omitnan'), ones(1,3,2)*5) 580s ***** assert (var (reshape(1:18, [3 3 2]), [1 2 3], 2, 'omitnan'), 5*ones(3,1,2)) 580s ***** assert (var (3*reshape(1:18, [3 3 2]), ones (3,3,2), [1 2], 'omitnan'), ... 580s 60 * ones(1,1,2)) 580s ***** assert (var (3*reshape(1:18, [3 3 2]), ones (3,3,2), [1 4], 'omitnan'), ... 580s 6 * ones(1,3,2)) 580s ***** assert (var (6*reshape(1:18, [3 3 2]), ones (3,3,2), [1:3], 'omitnan'), 969) 580s ***** test 580s x = reshape(1:18, [3 3 2]); 580s x([2, 14]) = NaN; 580s w = ones (3,3,2); 580s assert (var (16*x, w, [1:3], 'omitnan'), 6519); 580s ***** test 580s x = reshape(1:18, [3 3 2]); 580s w = ones (3,3,2); 580s w([2, 14]) = NaN; 580s assert (var (16*x, w, [1:3], 'omitnan'), 6519); 580s ***** assert (var ([1 2 3], "aLl"), 1); 580s ***** assert (var ([1 2 3], "OmitNan"), 1); 580s ***** assert (var ([1 2 3], "IncludeNan"), 1); 580s ***** test 580s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 580s assert (size (var (x, 0, [3 2])), [10, 1, 1, 3]); 580s assert (size (var (x, 1, [1 2])), [1, 1, 6, 3]); 580s assert (size (var (x, [], [1 2 4])), [1, 1, 6]); 580s assert (size (var (x, 0, [1 4 3])), [1, 40]); 580s assert (size (var (x, [], [1 2 3 4])), [1, 1]); 580s ***** assert (var (3*magic(3)), [63 144 63]) 580s ***** assert (var (3*magic(3), 'omitnan'), [63 144 63]) 580s ***** assert (var (3*magic(3), 1), [42 96 42]) 580s ***** assert (var (3*magic(3), 1, 'omitnan'), [42 96 42]) 580s ***** assert (var (3*magic(3), ones(1,3), 1), [42 96 42]) 580s ***** assert (var (3*magic(3), ones(1,3), 1, 'omitnan'), [42 96 42]) 580s ***** assert (var (2*magic(3), [1 1 NaN], 1, 'omitnan'), [25 16 1]) 580s ***** assert (var (3*magic(3), ones(3,3)), [42 96 42]) 580s ***** assert (var (3*magic(3), ones(3,3), 'omitnan'), [42 96 42]) 580s ***** assert (var (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1], 'omitnan'), [42 36 42]) 580s ***** assert (var (3*magic(3), ones(3,3), 1), [42 96 42]) 580s ***** assert (var (3*magic(3), ones(3,3), 1, 'omitnan'), [42 96 42]) 580s ***** assert (var (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1], 1, 'omitnan'), [42 36 42]) 580s ***** assert (var (3*magic(3), ones(3,3), [1 4]), [42 96 42]) 580s ***** assert (var (3*magic(3), ones(3,3), [1 4], 'omitnan'), [42 96 42]) 580s ***** assert (var (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1],[1 4],'omitnan'), [42 36 42]) 580s ***** test 580s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 580s v = repmat (33.38912133891213, [10, 1, 1, 3]); 580s assert (var (x, 0, [3, 2]), v, 1e-14); 580s v = repmat (33.250, [10, 1, 1, 3]); 580s assert (var (x, 1, [3, 2]), v, 1e-14); 580s x(2,5,6,3) = NaN; 580s v(2,1,1,3) = NaN; 580s assert (var (x, 1, [3, 2]), v, 4e-14); 580s v = repmat (33.38912133891213, [10 1 1 3]); 580s v(2,1,1,3) = NaN; 580s assert (var (x, [], [3, 2]), v, 4e-14); 580s v(2,1,1,3) = 33.40177912169048; 580s assert (var (x, [], [3, 2], "omitnan"), v, 4e-14); 580s ***** assert (var (ones (2,2,2), [1:2], 3), [(zeros (2, 2))]) 580s ***** assert (var (magic (3), [1:9], "all"), 6.666666666666667, 1e-14) 580s ***** assert (var (ones (2,2), [], 3), zeros (2,2)) 580s ***** assert (var (ones (2,2,2), [], 99), zeros (2,2,2)) 580s ***** assert (var (magic (3), [], 3), zeros (3,3)) 580s ***** assert (var (magic (3), [], 1), [7, 16, 7]) 580s ***** assert (var (magic (3), [], [1 3]), [7, 16, 7]) 580s ***** assert (var (magic (3), [], [1 99]), [7, 16, 7]) 580s ***** assert (var ([]), NaN) 580s ***** assert (class (var (single ([]))), "single") 580s ***** assert (var ([],[],1), NaN(1,0)) 580s ***** assert (var ([],[],2), NaN(0,1)) 580s ***** assert (var ([],[],3), []) 580s ***** assert (class (var (single ([]), [], 1)), "single") 580s ***** assert (var (ones (1,0)), NaN) 580s ***** assert (var (ones (1,0), [], 1), NaN(1,0)) 580s ***** assert (var (ones (1,0), [], 2), NaN) 580s ***** assert (var (ones (1,0), [], 3), NaN(1,0)) 580s ***** assert (class (var (ones (1, 0, "single"), [], 1)), "single") 580s ***** assert (var (ones (0,1)), NaN) 580s ***** assert (var (ones (0,1), [], 1), NaN) 580s ***** assert (var (ones (0,1), [], 2), NaN(0,1)) 580s ***** assert (var (ones (0,1), [], 3), NaN(0,1)) 580s ***** assert (var (ones (1,3,0,2)), NaN(1,1,0,2)) 580s ***** assert (var (ones (1,3,0,2), [], 1), NaN(1,3,0,2)) 580s ***** assert (var (ones (1,3,0,2), [], 2), NaN(1,1,0,2)) 580s ***** assert (var (ones (1,3,0,2), [], 3), NaN(1,3,1,2)) 580s ***** assert (var (ones (1,3,0,2), [], 4), NaN(1,3,0)) 580s ***** test 580s [~, m] = var ([]); 580s assert (m, NaN); 580s ***** test <*62395> 580s [~, m] = var (13); 580s assert (m, 13); 580s [~, m] = var (single(13)); 580s assert (m, single(13)); 580s [~, m] = var ([1, 2, 3; 3 2 1], []); 580s assert (m, [2 2 2]); 580s [~, m] = var ([1, 2, 3; 3 2 1], [], 1); 580s assert (m, [2 2 2]); 580s [~, m] = var ([1, 2, 3; 3 2 1], [], 2); 580s assert (m, [2 2]'); 580s [~, m] = var ([1, 2, 3; 3 2 1], [], 3); 580s assert (m, [1 2 3; 3 2 1]); 580s ***** test <*62395> 580s [~, m] = var (5,99); 580s assert (m, 5); 580s [~, m] = var ([1:7], [1:7]); 580s assert (m, 5); 580s [~, m] = var ([eye(3)], [1:3]); 580s assert (m, [1/6, 1/3, 0.5], eps); 580s [~, m] = var (ones (2,2,2), [1:2], 3); 580s assert (m, ones (2,2)); 580s [~, m] = var ([1 2; 3 4], 0, 'all'); 580s assert (m, 2.5, eps); 580s [~, m] = var (reshape ([1:8], 2, 2, 2), 0, [1 3]); 580s assert (m, [3.5, 5.5], eps); 580s ***** test 580s [v, m] = var (4 * eye (2), [1, 3]); 580s assert (v, [3, 3]); 580s assert (m, [1, 3]); 580s ***** test <*62395> 580s [~, m] = var ([]); 580s assert (m, NaN); 580s ***** test <*62395> 580s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 580s [~, m] = var (x, 0, [3 2]); 580s assert (m, mean (x, [3 2])); 580s [~, m] = var (x, 0, [1 2]); 580s assert (m, mean (x, [1 2])); 580s [~, m] = var (x, 0, [1 3 4]); 580s assert (m, mean (x, [1 3 4])); 580s ***** test 580s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 580s x(2,5,6,3) = NaN; 580s [~, m] = var (x, 0, [3 2], "omitnan"); 580s assert (m, mean (x, [3 2], "omitnan")); 580s ***** test <*63203> 580s [v, m] = var (Inf); 580s assert (v, NaN); 580s assert (m, Inf); 580s ***** test <*63203> 580s [v, m] = var (NaN); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3]); 580s assert (v, NaN); 580s assert (m, Inf); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3]'); 580s assert (v, NaN); 580s assert (m, Inf); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3]); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3]'); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3], [], 1); 580s assert (v, [0, NaN, 0]); 580s assert (m, [1, Inf, 3]); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3], [], 2); 580s assert (v, NaN); 580s assert (m, Inf); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3], [], 3); 580s assert (v, [0, NaN, 0]); 580s assert (m, [1, Inf, 3]); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3], [], 1); 580s assert (v, [0, NaN, 0]); 580s assert (m, [1, NaN, 3]); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3], [], 2); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3], [], 3); 580s assert (v, [0, NaN, 0]); 580s assert (m, [1, NaN, 3]); 580s ***** test <*63203> 580s [v, m] = var ([1, 2, 3; 3, Inf, 5]); 580s assert (v, [2, NaN, 2]); 580s assert (m, [2, Inf, 4]); 580s ***** test <*63203> 580s [v, m] = var ([1, Inf, 3; 3, Inf, 5]); 580s assert (v, [2, NaN, 2]); 580s assert (m, [2, Inf, 4]); 580s ***** test <*63203> 580s [v, m] = var ([1, 2, 3; 3, NaN, 5]); 580s assert (v, [2, NaN, 2]); 580s assert (m, [2, NaN, 4]); 580s ***** test <*63203> 580s [v, m] = var ([1, NaN, 3; 3, NaN, 5]); 580s assert (v, [2, NaN, 2]); 580s assert (m, [2, NaN, 4]); 580s ***** test <*63203> 580s [v, m] = var ([Inf, 2, NaN]); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([Inf, 2, NaN]'); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([NaN, 2, Inf]); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([NaN, 2, Inf]'); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([Inf, 2, NaN], [], 1); 580s assert (v, [NaN, 0, NaN]); 580s assert (m, [Inf, 2, NaN]); 580s ***** test <*63203> 580s [v, m] = var ([Inf, 2, NaN], [], 2); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([NaN, 2, Inf], [], 1); 580s assert (v, [NaN, 0, NaN]); 580s assert (m, [NaN, 2, Inf]); 580s ***** test <*63203> 580s [v, m] = var ([NaN, 2, Inf], [], 2); 580s assert (v, NaN); 580s assert (m, NaN); 580s ***** test <*63203> 580s [v, m] = var ([1, 3, NaN; 3, 5, Inf]); 580s assert (v, [2, 2, NaN]); 580s assert (m, [2, 4, NaN]); 580s ***** test <*63203> 580s [v, m] = var ([1, 3, Inf; 3, 5, NaN]); 580s assert (v, [2, 2, NaN]); 580s assert (m, [2, 4, NaN]); 580s ***** test <*63291> 580s [v, m] = var (2 * eye (2)); 580s assert (v, [2, 2]); 580s assert (m, [1, 1]); 580s ***** test <*63291> 580s [v, m] = var (4 * eye (2), [1, 3]); 580s assert (v, [3, 3]); 580s assert (m, [1, 3]); 580s ***** test <*63291> 580s [v, m] = var (sparse (2 * eye (2))); 580s assert (full (v), [2, 2]); 580s assert (full (m), [1, 1]); 580s ***** test <*63291> 580s [v, m] = var (sparse (4 * eye (2)), [1, 3]); 580s assert (full (v), [3, 3]); 580s assert (full (m), [1, 3]); 580s ***** test<*63291> 580s [v, m] = var (sparse (eye (2))); 580s assert (issparse (v)); 580s assert (issparse (m)); 580s ***** test<*63291> 580s [v, m] = var (sparse (eye (2)), [1, 3]); 580s assert (issparse (v)); 580s assert (issparse (m)); 580s ***** error var () 581s ***** error var (1, 2, "omitnan", 3) 581s ***** error var (1, 2, 3, 4) 581s ***** error var (1, 2, 3, 4, 5) 581s ***** error var (1, "foo") 582s ***** error var (1, [], "foo") 582s ***** error var ([1 2 3], 2) 582s ***** error var ([1 2], 2, "all") 582s ***** error var ([1 2],0.5, "all") 582s ***** error var (1, -1) 582s ***** error var (1, [1 -1]) 582s ***** error ... 582s var ([1 2 3], [1 -1 0]) 582s ***** error var ({1:5}) 582s ***** error var ("char") 582s ***** error var (['A'; 'B']) 582s ***** error var (1, [], ones (2,2)) 582s ***** error var (1, 0, 1.5) 582s ***** error var (1, [], 0) 582s ***** error var (1, [], 1.5) 582s ***** error var ([1 2 3], [], [-1 1]) 582s ***** error ... 582s var (repmat ([1:20;6:25], [5 2 6 3]), 0, [1 2 2 2]) 582s ***** error ... 582s var ([1 2], eye (2)) 582s ***** error ... 582s var ([1 2 3 4], [1 2; 3 4]) 582s ***** error ... 582s var ([1 2 3 4], [1 2; 3 4], 1) 582s ***** error ... 582s var ([1 2 3 4], [1 2; 3 4], [2 3]) 582s ***** error ... 582s var (ones (2, 2), [1 2], [1 2]) 582s ***** error ... 582s var ([1 2 3 4; 5 6 7 8], [1 2 1 2 1; 1 2 1 2 1], 1) 582s ***** error ... 582s var (repmat ([1:20;6:25], [5 2 6 3]), repmat ([1:20;6:25], [5 2 3]), [2 3]) 582s ***** error var ([1 2 3; 2 3 4], [1 3 4]) 582s ***** error var ([1 2], [1 2 3]) 582s ***** error var (1, [1 2]) 582s ***** error var ([1 2 3; 2 3 4], [1 3 4], 1) 582s ***** error var ([1 2 3; 2 3 4], [1 3], 2) 582s ***** error var ([1 2], [1 2], 1) 582s ***** error <'all' flag cannot be used with DIM or VECDIM options> ... 582s var (1, [], 1, "all") 582s ***** error ... 582s var ([1 2 3; 2 3 4], [1 3], "all") 582s ***** error ... 582s var (repmat ([1:20;6:25], [5 2 6 3]), repmat ([1:20;6:25], [5 2 3]), "all") 582s 162 tests, 162 passed, 0 known failure, 0 skipped 582s [inst/shadow9/std.m] 582s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/shadow9/std.m 582s ***** assert (std (13), 0) 582s ***** assert (std (single (13)), single (0)) 582s ***** assert (std ([1,2,3]), 1) 582s ***** assert (std ([1,2,3], 1), sqrt (2/3), eps) 582s ***** assert (std ([1,2,3], [], 1), [0,0,0]) 582s ***** assert (std ([1,2,3], [], 3), [0,0,0]) 582s ***** assert (std (5, 99), 0) 582s ***** assert (std (5, 99, 1), 0) 582s ***** assert (std (5, 99, 2), 0) 582s ***** assert (std ([5 3], [99 99], 2), 1) 582s ***** assert (std ([1:7], [1:7]), sqrt (3)) 582s ***** assert (std ([eye(3)], [1:3]), sqrt ([5/36, 2/9, 1/4]), eps) 582s ***** assert (std (ones (2,2,2), [1:2], 3), [(zeros (2,2))]) 582s ***** assert (std ([1 2; 3 4], 0, 'all'), std ([1:4])) 582s ***** assert (std (reshape ([1:8], 2, 2, 2), 0, [1 3]), sqrt ([17/3 17/3]), eps) 582s ***** assert (std ([1 2 3;1 2 3], [], [1 2]), sqrt (0.8), eps) 582s ***** test 582s x = [-10:10]; 582s y = [x;x+5;x-5]; 582s assert (std (x), sqrt (38.5), 1e-14); 582s assert (std (y, [], 2), sqrt ([38.5; 38.5; 38.5]), 1e-14); 582s assert (std (y, 0, 2), sqrt ([38.5; 38.5; 38.5]), 1e-14); 582s assert (std (y, 1, 2), ones (3,1) * sqrt (36.66666666666666), 1e-14); 582s assert (std (y, "all"), sqrt (54.19354838709678), 1e-14); 582s y(2,4) = NaN; 582s assert (std (y, "all"), NaN); 582s assert (std (y, "all", "includenan"), NaN); 582s assert (std (y, "all", "omitnan"), sqrt (55.01533580116342), 1e-14); 582s assert (std (y, 0, 2, "includenan"), sqrt ([38.5; NaN; 38.5]), 1e-14); 582s assert (std (y, [], 2), sqrt ([38.5; NaN; 38.5]), 1e-14); 582s assert (std (y, [], 2, "omitnan"), ... 582s sqrt ([38.5; 37.81842105263158; 38.5]), 1e-14); 582s ***** assert (std ([4 NaN 6], [1 2 1], "omitnan"), 1, eps) 582s ***** assert (std ([4 5 6], [1 NaN 1], "omitnan"), 1, eps) 582s ***** assert (std (magic(3), [1 NaN 3], "omitnan"), sqrt(3)*[1 2 1], eps) 582s ***** assert (std ([4 NaN 6], [1 2 1], "omitnan", "all"), 1, eps) 582s ***** assert (std ([4 NaN 6], [1 2 1], "all", "omitnan"), 1, eps) 582s ***** assert (std ([4 5 6], [1 NaN 1], "omitnan", "all"), 1, eps) 582s ***** assert (std ([4 NaN 6], [1 2 1], 2, "omitnan"), 1, eps) 582s ***** assert (std ([4 5 6], [1 NaN 1], 2, "omitnan"), 1, eps) 582s ***** assert (std (magic(3), [1 NaN 3], 1, "omitnan"), sqrt(3)*[1 2 1], eps) 582s ***** assert (std (magic(3), [1 NaN 3], 2, "omitnan"), sqrt(3)*[0.5;1;0.5], eps) 582s ***** assert (std (4*[4 5; 6 7; 8 9], [1 3], 2, 'omitnan'), sqrt(3)*[1;1;1], eps) 582s ***** assert (std ([4 NaN; 6 7; 8 9], [1 1 3], 1, 'omitnan'), [1.6 sqrt(3)/2], eps) 582s ***** assert (std (4*[4 NaN; 6 7; 8 9], [1 3], 2, 'omitnan'), sqrt(3)*[0;1;1], eps) 582s ***** assert (std (3*reshape(1:18, [3 3 2]), [1 2 3], 1, 'omitnan'), ... 582s sqrt(5)*ones(1,3,2), eps) 582s ***** assert (std (reshape(1:18, [3 3 2]), [1 2 3], 2, 'omitnan'), ... 582s sqrt(5)*ones(3,1,2), eps) 582s ***** assert (std (3*reshape(1:18, [3 3 2]), ones (3,3,2), [1 2], 'omitnan'), ... 582s sqrt(60)*ones(1,1,2),eps) 582s ***** assert (std (3*reshape(1:18, [3 3 2]), ones (3,3,2), [1 4], 'omitnan'), ... 582s sqrt(6)*ones(1,3,2),eps) 582s ***** assert (std (6*reshape(1:18, [3 3 2]), ones (3,3,2), [1:3], 'omitnan'), ... 582s sqrt(969),eps) 582s ***** test 582s x = reshape(1:18, [3 3 2]); 582s x([2, 14]) = NaN; 582s w = ones (3,3,2); 582s assert (std (16*x, w, [1:3], 'omitnan'), sqrt(6519), eps); 582s ***** test 582s x = reshape(1:18, [3 3 2]); 582s w = ones (3,3,2); 582s w([2, 14]) = NaN; 582s assert (std (16*x, w, [1:3], 'omitnan'), sqrt(6519), eps); 582s ***** assert (std ([1 2 3], "aLl"), 1); 582s ***** assert (std ([1 2 3], "OmitNan"), 1); 582s ***** assert (std ([1 2 3], "IncludeNan"), 1); 582s ***** test 582s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 582s assert (size (std (x, 0, [3 2])), [10, 1, 1, 3]); 582s assert (size (std (x, 1, [1 2])), [1, 1, 6, 3]); 582s assert (size (std (x, [], [1 2 4])), [1, 1, 6]); 582s assert (size (std (x, 0, [1 4 3])), [1, 40]); 582s assert (size (std (x, [], [1 2 3 4])), [1, 1]); 582s ***** assert (std (3*magic(3)), sqrt([63 144 63]), eps) 582s ***** assert (std (3*magic(3), 'omitnan'), sqrt([63 144 63]), eps) 582s ***** assert (std (3*magic(3), 1), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), 1, 'omitnan'), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), ones(1,3), 1), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), ones(1,3), 1, 'omitnan'), sqrt([42 96 42]), eps) 582s ***** assert (std (2*magic(3), [1 1 NaN], 1, 'omitnan'), [5 4 1], eps) 582s ***** assert (std (3*magic(3), ones(3,3)), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), ones(3,3), 'omitnan'), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1], 'omitnan'), ... 582s sqrt([42 36 42]), eps) 582s ***** assert (std (3*magic(3), ones(3,3), 1), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), ones(3,3), 1, 'omitnan'), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1], 1, 'omitnan'), ... 582s sqrt([42 36 42]), eps) 582s ***** assert (std (3*magic(3), ones(3,3), [1 4]), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), ones(3,3), [1 4], 'omitnan'), sqrt([42 96 42]), eps) 582s ***** assert (std (3*magic(3), [1 1 1; 1 1 1; 1 NaN 1],[1 4],'omitnan'), ... 582s sqrt([42 36 42]), eps) 582s ***** test 582s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 582s v = repmat (sqrt (33.38912133891213), [10, 1, 1, 3]); 582s assert (std (x, 0, [3, 2]), v, 1e-14); 582s v = repmat (sqrt (33.250), [10, 1, 1, 3]); 582s assert (std (x, 1, [3, 2]), v, 1e-14); 582s x(2,5,6,3) = NaN; 582s v(2,1,1,3) = NaN; 582s assert (std (x, 1, [3, 2]), v, 1e-14); 582s v = repmat (sqrt (33.38912133891213), [10 1 1 3]); 582s v(2,1,1,3) = NaN; 582s assert (std (x, [], [3, 2]), v, 1e-14); 582s v(2,1,1,3) = sqrt (33.40177912169048); 582s assert (std (x, [], [3, 2], "omitnan"), v, 1e-14); 582s ***** assert (std (ones (2,2,2), [1:2], 3), [(zeros (2, 2))]) 582s ***** assert (std (magic (3), [1:9], "all"), 2.581988897471611, 1e-14) 582s ***** assert (std (ones (2,2), [], 3), zeros (2,2)) 582s ***** assert (std (ones (2,2,2), [], 99), zeros (2,2,2)) 582s ***** assert (std (magic (3), [], 3), zeros (3,3)) 582s ***** assert (std (magic (3), [], 1), sqrt ([7, 16, 7])) 582s ***** assert (std (magic (3), [], [1 3]), sqrt ([7, 16, 7])) 582s ***** assert (std (magic (3), [], [1 99]), sqrt ([7, 16, 7])) 582s ***** assert (std ([]), NaN) 582s ***** assert (class (var (single ([]))), "single") 582s ***** assert (std ([],[],1), NaN(1,0)) 582s ***** assert (std ([],[],2), NaN(0,1)) 582s ***** assert (std ([],[],3), []) 582s ***** assert (class (var (single ([]), [], 1)), "single") 582s ***** assert (std (ones (1,0)), NaN) 582s ***** assert (std (ones (1,0), [], 1), NaN(1,0)) 582s ***** assert (std (ones (1,0), [], 2), NaN) 582s ***** assert (std (ones (1,0), [], 3), NaN(1,0)) 582s ***** assert (class (var (ones (1, 0, "single"), [], 1)), "single") 582s ***** assert (std (ones (0,1)), NaN) 582s ***** assert (std (ones (0,1), [], 1), NaN) 582s ***** assert (std (ones (0,1), [], 2), NaN(0,1)) 583s ***** assert (std (ones (0,1), [], 3), NaN(0,1)) 583s ***** assert (std (ones (1,3,0,2)), NaN(1,1,0,2)) 583s ***** assert (std (ones (1,3,0,2), [], 1), NaN(1,3,0,2)) 583s ***** assert (std (ones (1,3,0,2), [], 2), NaN(1,1,0,2)) 583s ***** assert (std (ones (1,3,0,2), [], 3), NaN(1,3,1,2)) 583s ***** assert (std (ones (1,3,0,2), [], 4), NaN(1,3,0)) 583s ***** test 583s [~, m] = std ([]); 583s assert (m, NaN); 583s ***** test <*62395> 583s [~, m] = std (13); 583s assert (m, 13); 583s [~, m] = std (single(13)); 583s assert (m, single(13)); 583s [~, m] = std ([1, 2, 3; 3 2 1], []); 583s assert (m, [2 2 2]); 583s [~, m] = std ([1, 2, 3; 3 2 1], [], 1); 583s assert (m, [2 2 2]); 583s [~, m] = std ([1, 2, 3; 3 2 1], [], 2); 583s assert (m, [2 2]'); 583s [~, m] = std ([1, 2, 3; 3 2 1], [], 3); 583s assert (m, [1 2 3; 3 2 1]); 583s ***** test <*62395> 583s [~, m] = std (5,99); 583s assert (m, 5); 583s [~, m] = std ([1:7], [1:7]); 583s assert (m, 5); 583s [~, m] = std ([eye(3)], [1:3]); 583s assert (m, [1/6, 1/3, 0.5], eps); 583s [~, m] = std (ones (2,2,2), [1:2], 3); 583s assert (m, ones (2,2)); 583s [~, m] = std ([1 2; 3 4], 0, 'all'); 583s assert (m, 2.5, eps); 583s [~, m] = std (reshape ([1:8], 2, 2, 2), 0, [1 3]); 583s assert (m, [3.5, 5.5], eps); 583s ***** test 583s [v, m] = std (4 * eye (2), [1, 3]); 583s assert (v, sqrt ([3, 3]), 1e-14); 583s assert (m, [1, 3]); 583s ***** test <*62395> 583s [~, m] = std ([]); 583s assert (m, NaN); 583s ***** test 583s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 583s [~, m] = std (x, 0, [3 2]); 583s assert (m, mean (x, [3 2])); 583s [~, m] = std (x, 0, [1 2]); 583s assert (m, mean (x, [1 2])); 583s [~, m] = std (x, 0, [1 3 4]); 583s assert (m, mean (x, [1 3 4])); 583s ***** test 583s x = repmat ([1:20;6:25], [5, 2, 6, 3]); 583s x(2,5,6,3) = NaN; 583s [~, m] = std (x, 0, [3 2], "omitnan"); 583s assert (m, mean (x, [3 2], "omitnan")); 583s ***** test <*63203> 583s [v, m] = std (Inf); 583s assert (v, NaN); 583s assert (m, Inf); 583s ***** test <*63203> 583s [v, m] = std (NaN); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3]); 583s assert (v, NaN); 583s assert (m, Inf); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3]'); 583s assert (v, NaN); 583s assert (m, Inf); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3]); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3]'); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3], [], 1); 583s assert (v, [0, NaN, 0]); 583s assert (m, [1, Inf, 3]); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3], [], 2); 583s assert (v, NaN); 583s assert (m, Inf); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3], [], 3); 583s assert (v, [0, NaN, 0]); 583s assert (m, [1, Inf, 3]); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3], [], 1); 583s assert (v, [0, NaN, 0]); 583s assert (m, [1, NaN, 3]); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3], [], 2); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3], [], 3); 583s assert (v, [0, NaN, 0]); 583s assert (m, [1, NaN, 3]); 583s ***** test <*63203> 583s [v, m] = std ([1, 2, 3; 3, Inf, 5]); 583s assert (v, sqrt ([2, NaN, 2])); 583s assert (m, [2, Inf, 4]); 583s ***** test <*63203> 583s [v, m] = std ([1, Inf, 3; 3, Inf, 5]); 583s assert (v, sqrt ([2, NaN, 2])); 583s assert (m, [2, Inf, 4]); 583s ***** test <*63203> 583s [v, m] = std ([1, 2, 3; 3, NaN, 5]); 583s assert (v, sqrt ([2, NaN, 2])); 583s assert (m, [2, NaN, 4]); 583s ***** test <*63203> 583s [v, m] = std ([1, NaN, 3; 3, NaN, 5]); 583s assert (v, sqrt ([2, NaN, 2])); 583s assert (m, [2, NaN, 4]); 583s ***** test <*63203> 583s [v, m] = std ([Inf, 2, NaN]); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([Inf, 2, NaN]'); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([NaN, 2, Inf]); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([NaN, 2, Inf]'); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([Inf, 2, NaN], [], 1); 583s assert (v, [NaN, 0, NaN]); 583s assert (m, [Inf, 2, NaN]); 583s ***** test <*63203> 583s [v, m] = std ([Inf, 2, NaN], [], 2); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([NaN, 2, Inf], [], 1); 583s assert (v, [NaN, 0, NaN]); 583s assert (m, [NaN, 2, Inf]); 583s ***** test <*63203> 583s [v, m] = std ([NaN, 2, Inf], [], 2); 583s assert (v, NaN); 583s assert (m, NaN); 583s ***** test <*63203> 583s [v, m] = std ([1, 3, NaN; 3, 5, Inf]); 583s assert (v, sqrt ([2, 2, NaN])); 583s assert (m, [2, 4, NaN]); 583s ***** test <*63203> 583s [v, m] = std ([1, 3, Inf; 3, 5, NaN]); 583s assert (v, sqrt ([2, 2, NaN])); 583s assert (m, [2, 4, NaN]); 583s ***** test <*63291> 583s [v, m] = std (2 * eye (2)); 583s assert (v, sqrt ([2, 2])); 583s assert (m, [1, 1]); 583s ***** test <*63291> 583s [v, m] = std (4 * eye (2), [1, 3]); 583s assert (v, sqrt ([3, 3])); 583s assert (m, [1, 3]); 583s ***** test <*63291> 583s [v, m] = std (sparse (2 * eye (2))); 583s assert (full (v), sqrt ([2, 2])); 583s assert (full (m), [1, 1]); 583s ***** test <*63291> 583s [v, m] = std (sparse (4 * eye (2)), [1, 3]); 583s assert (full (v), sqrt ([3, 3])); 583s assert (full (m), [1, 3]); 583s ***** test <*63291> 583s [v, m] = std (sparse (eye (2))); 583s assert (issparse (v)); 583s assert (issparse (m)); 583s ***** test <*63291> 583s [v, m] = std (sparse (eye (2)), [1, 3]); 583s assert (issparse (v)); 583s assert (issparse (m)); 583s ***** error std () 583s ***** error std (1, 2, "omitnan", 3) 583s ***** error std (1, 2, 3, 4) 583s ***** error std (1, 2, 3, 4, 5) 584s ***** error std (1, "foo") 585s ***** error std (1, [], "foo") 586s ***** error std ([1 2 3], 2) 586s ***** error std ([1 2], 2, "all") 586s ***** error std ([1 2],0.5, "all") 586s ***** error std (1, -1) 586s ***** error std (1, [1 -1]) 586s ***** error ... 586s std ([1 2 3], [1 -1 0]) 586s ***** error std ({1:5}) 586s ***** error std ("char") 586s ***** error std (['A'; 'B']) 586s ***** error std (1, [], ones (2,2)) 586s ***** error std (1, 0, 1.5) 586s ***** error std (1, [], 0) 586s ***** error std (1, [], 1.5) 586s ***** error std ([1 2 3], [], [-1 1]) 586s ***** error ... 586s std (repmat ([1:20;6:25], [5 2 6 3]), 0, [1 2 2 2]) 586s ***** error ... 586s std ([1 2], eye (2)) 586s ***** error ... 586s std ([1 2 3 4], [1 2; 3 4]) 586s ***** error ... 586s std ([1 2 3 4], [1 2; 3 4], 1) 586s ***** error ... 586s std ([1 2 3 4], [1 2; 3 4], [2 3]) 586s ***** error ... 586s std (ones (2, 2), [1 2], [1 2]) 586s ***** error ... 586s std ([1 2 3 4; 5 6 7 8], [1 2 1 2 1; 1 2 1 2 1], 1) 586s ***** error ... 586s std (repmat ([1:20;6:25], [5 2 6 3]), repmat ([1:20;6:25], [5 2 3]), [2 3]) 586s ***** error std ([1 2 3; 2 3 4], [1 3 4]) 586s ***** error std ([1 2], [1 2 3]) 586s ***** error std (1, [1 2]) 586s ***** error std ([1 2 3; 2 3 4], [1 3 4], 1) 586s ***** error std ([1 2 3; 2 3 4], [1 3], 2) 586s ***** error std ([1 2], [1 2], 1) 586s ***** error <'all' flag cannot be used with DIM or VECDIM options> ... 586s std (1, [], 1, "all") 586s ***** error ... 586s std ([1 2 3; 2 3 4], [1 3], "all") 586s ***** error ... 586s std (repmat ([1:20;6:25], [5 2 6 3]), repmat ([1:20;6:25], [5 2 3]), "all") 586s 162 tests, 162 passed, 0 known failure, 0 skipped 586s [inst/shadow9/median.m] 586s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/shadow9/median.m 586s ***** assert (median (1), 1) 586s ***** assert (median ([1,2,3]), 2) 586s ***** assert (median ([1,2,3]'), 2) 586s ***** assert (median (cat(3,3,1,2)), 2) 586s ***** assert (median ([3,1,2]), 2) 586s ***** assert (median ([2,4,6,8]), 5) 586s ***** assert (median ([8,2,6,4]), 5) 586s ***** assert (median (single ([1,2,3])), single (2)) 586s ***** assert (median ([1,2], 3), [1,2]) 586s ***** test 586s x = [1, 2, 3, 4, 5, 6]; 586s x2 = x'; 586s y = [1, 2, 3, 4, 5, 6, 7]; 586s y2 = y'; 586s 586s assert (median (x) == median (x2) && median (x) == 3.5); 586s assert (median (y) == median (y2) && median (y) == 4); 586s assert (median ([x2, 2 * x2]), [3.5, 7]); 586s assert (median ([y2, 3 * y2]), [4, 12]); 586s ***** test 586s in = [1 2 3]; 586s out = 2; 586s assert (median (in, "default"), median (in)); 586s assert (median (in, "default"), out); 586s ***** test 586s in = single ([1 2 3]); 586s out = 2; 586s assert (median (in, "default"), single (median (in))); 586s assert (median (in, "default"), single (out)); 586s assert (median (in, "double"), double (out)); 586s assert (median (in, "native"), single (out)); 586s ***** test 586s in = uint8 ([1 2 3]); 586s out = 2; 586s assert (median (in, "default"), double (median (in))); 586s assert (median (in, "default"), double (out)); 586s assert (median (in, "double"), out); 586s assert (median (in, "native"), uint8 (out)); 586s ***** test 586s in = logical ([1 0 1]); 586s out = 1; 586s assert (median (in, "default"), double (median (in))); 586s assert (median (in, "default"), double (out)); 586s assert (median (in, "double"), double (out)); 586s assert (median (in, "native"), double (out)); 586s ***** test 586s x = repmat ([2 2.1 2.2 2 NaN; 3 1 2 NaN 5; 1 1.1 1.4 5 3], [1, 1, 4]); 586s y = repmat ([2 1.1 2 NaN NaN], [1, 1, 4]); 586s assert (median (x), y); 586s assert (median (x, 1), y); 586s y = repmat ([2 1.1 2 3.5 4], [1, 1, 4]); 586s assert (median (x, "omitnan"), y); 586s assert (median (x, 1, "omitnan"), y); 586s y = repmat ([2.05; 2.5; 1.4], [1, 1, 4]); 586s assert (median (x, 2, "omitnan"), y); 586s y = repmat ([NaN; NaN; 1.4], [1, 1, 4]); 586s assert (median (x, 2), y); 586s assert (median (x, "all"), NaN); 586s assert (median (x, "all", "omitnan"), 2); 586s ***** assert (median (cat (3, 3, 1, NaN, 2), "omitnan"), 2) 586s ***** assert (median (cat (3, 3, 1, NaN, 2), 3, "omitnan"), 2) 586s ***** test 586s assert (median (true, "all"), logical (1)); 586s assert (median (false), logical (0)); 586s assert (median ([true false true]), true); 586s assert (median ([true false true], 2), true); 586s assert (median ([true false true], 1), logical ([1 0 1])); 586s assert (median ([true false NaN], 1), [1 0 NaN]); 586s assert (median ([true false NaN], 2), NaN); 586s assert (median ([true false NaN], 2, "omitnan"), 0.5); 586s assert (median ([true false NaN], 2, "omitnan", "native"), double(0.5)); 586s ***** test 586s x = repmat ([1:20;6:25], [5 2 6 3]); 586s assert (size (median (x, [3 2])), [10 1 1 3]); 586s assert (size (median (x, [1 2])), [1 1 6 3]); 586s assert (size (median (x, [1 2 4])), [1 1 6]); 586s assert (size (median (x, [1 4 3])), [1 40]); 586s assert (size (median (x, [1 2 3 4])), [1 1]); 586s ***** assert (median (ones (2,2), 3), ones (2,2)) 586s ***** assert (median (ones (2,2,2), 99), ones (2,2,2)) 586s ***** assert (median (magic (3), 3), magic (3)) 586s ***** assert (median (magic (3), [1 3]), [4, 5, 6]) 586s ***** assert (median (magic (3), [1 99]), [4, 5, 6]) 586s ***** test 586s x = repmat ([2 2.1 2.2 2 NaN; 3 1 2 NaN 5; 1 1.1 1.4 5 3], [1, 1, 4]); 586s assert (median (x, [3 2]), [NaN NaN 1.4]'); 586s assert (median (x, [3 2], "omitnan"), [2.05 2.5 1.4]'); 586s assert (median (x, [1 3]), [2 1.1 2 NaN NaN]); 586s assert (median (x, [1 3], "omitnan"), [2 1.1 2 3.5 4]); 586s ***** assert (median (NaN), NaN) 586s ***** assert (median (NaN, "omitnan"), NaN) 586s ***** assert (median (NaN (2)), [NaN NaN]) 586s ***** assert (median (NaN (2), "omitnan"), [NaN NaN]) 586s ***** assert (median ([1 NaN 3]), NaN) 586s ***** assert (median ([1 NaN 3], 1), [1 NaN 3]) 586s ***** assert (median ([1 NaN 3], 2), NaN) 586s ***** assert (median ([1 NaN 3]'), NaN) 586s ***** assert (median ([1 NaN 3]', 1), NaN) 586s ***** assert (median ([1 NaN 3]', 2), [1; NaN; 3]) 586s ***** assert (median ([1 NaN 3], "omitnan"), 2) 586s ***** assert (median ([1 NaN 3]', "omitnan"), 2) 586s ***** assert (median ([1 NaN 3], 1, "omitnan"), [1 NaN 3]) 586s ***** assert (median ([1 NaN 3], 2, "omitnan"), 2) 586s ***** assert (median ([1 NaN 3]', 1, "omitnan"), 2) 586s ***** assert (median ([1 NaN 3]', 2, "omitnan"), [1; NaN; 3]) 586s ***** assert (median ([1 2 NaN 3]), NaN) 586s ***** assert (median ([1 2 NaN 3], "omitnan"), 2) 586s ***** assert (median ([1,2,NaN;4,5,6;NaN,8,9]), [NaN, 5, NaN]) 586s ***** assert <*64011> (median ([1,2,NaN;4,5,6;NaN,8,9], "omitnan"), [2.5, 5, 7.5], eps) 586s ***** assert (median ([1 2 ; NaN 4]), [NaN 3]) 586s ***** assert (median ([1 2 ; NaN 4], "omitnan"), [1 3]) 586s ***** assert (median ([1 2 ; NaN 4], 1, "omitnan"), [1 3]) 586s ***** assert (median ([1 2 ; NaN 4], 2, "omitnan"), [1.5; 4], eps) 586s ***** assert (median ([1 2 ; NaN 4], 3, "omitnan"), [1 2 ; NaN 4]) 586s ***** assert (median ([NaN 2 ; NaN 4]), [NaN 3]) 586s ***** assert (median ([NaN 2 ; NaN 4], "omitnan"), [NaN 3]) 586s ***** assert (median (ones (1, 0, 3)), NaN (1, 1, 3)) 586s ***** assert (median (NaN("single")), NaN("single")) 586s ***** assert (median (NaN("single"), "omitnan"), NaN("single")) 586s ***** assert (median (NaN("single"), "double"), NaN("double")) 586s ***** assert (median (single([1 2 ; NaN 4])), single([NaN 3])) 586s ***** assert (median (single([1 2 ; NaN 4]), "double"), double([NaN 3])) 586s ***** assert (median (single([1 2 ; NaN 4]), "omitnan"), single([1 3])) 586s ***** assert (median (single([1 2 ; NaN 4]), "omitnan", "double"), double([1 3])) 586s ***** assert (median (single([NaN 2 ; NaN 4]), "double"), double([NaN 3])) 586s ***** assert (median (single([NaN 2 ; NaN 4]), "omitnan"), single([NaN 3])) 586s ***** assert (median (single([NaN 2 ; NaN 4]), "omitnan", "double"), double([NaN 3])) 586s ***** test <*64011> 586s x = [magic(3), magic(3)]; 586s x([3, 7, 11, 12, 16, 17]) = NaN; 586s ynan = [NaN, 5, NaN, NaN, 5, NaN]; 586s yomitnan = [5.5, 5, 4.5, 8, 5, 2]; 586s assert (median (x), ynan); 586s assert (median (x, "omitnan"), yomitnan, eps); 586s assert (median (cat (3, x, x)), cat (3, ynan, ynan)); 586s assert (median (cat (3, x, x), "omitnan"), cat (3, yomitnan, yomitnan), eps); 586s ***** assert (median (Inf), Inf) 586s ***** assert (median (-Inf), -Inf) 586s ***** assert (median ([-Inf Inf]), NaN) 586s ***** assert (median ([3 Inf]), Inf) 586s ***** assert (median ([3 4 Inf]), 4) 586s ***** assert (median ([Inf 3 4]), 4) 586s ***** assert (median ([Inf 3 Inf]), Inf) 586s ***** assert (median ([]), NaN) 586s ***** assert (median (ones(1,0)), NaN) 586s ***** assert (median (ones(0,1)), NaN) 586s ***** assert (median ([], 1), NaN(1,0)) 586s ***** assert (median ([], 2), NaN(0,1)) 586s ***** assert (median ([], 3), NaN(0,0)) 586s ***** assert (median (ones(1,0), 1), NaN(1,0)) 586s ***** assert (median (ones(1,0), 2), NaN(1,1)) 586s ***** assert (median (ones(1,0), 3), NaN(1,0)) 586s ***** assert (median (ones(0,1), 1), NaN(1,1)) 586s ***** assert (median (ones(0,1), 2), NaN(0,1)) 586s ***** assert (median (ones(0,1), 3), NaN(0,1)) 586s ***** assert (median (ones(0,1,0,1), 1), NaN(1,1,0)) 586s ***** assert (median (ones(0,1,0,1), 2), NaN(0,1,0)) 586s ***** assert (median (ones(0,1,0,1), 3), NaN(0,1,1)) 586s ***** assert (median (ones(0,1,0,1), 4), NaN(0,1,0)) 586s ***** assert (median([1 3 3i 2 1i]), 2) 586s ***** assert (median([1 2 4i; 3 2i 4]), [2, 1+1i, 2+2i]) 586s ***** shared a, b, x, y 586s old_state = rand ("state"); 586s restore_state = onCleanup (@() rand ("state", old_state)); 586s rand ("state", 2); 586s a = rand (2,3,4,5); 586s b = rand (3,4,6,5); 586s x = sort (a, 4); 586s y = sort (b, 3); 586s ***** assert <*35679> (median (a, 4), x(:, :, :, 3)) 586s ***** assert <*35679> (median (b, 3), (y(:, :, 3, :) + y(:, :, 4, :))/2) 586s ***** shared ## Clear shared to prevent variable echo for any later test failures 586s ***** test 586s x = ones(15,1,4); 586s x([13,15],1,:) = NaN; 586s assert (median (x, 1, "omitnan"), ones (1,1,4)) 586s ***** assert (median ([true, false]), true) 586s ***** assert (median (logical ([])), false) 586s ***** assert (median (uint8 ([1, 3])), uint8 (2)) 586s ***** assert (median (uint8 ([])), uint8 (NaN)) 586s ***** assert (median (uint8 ([NaN 10])), uint8 (5)) 586s ***** assert (median (int8 ([1, 3, 4])), int8 (3)) 586s ***** assert (median (int8 ([])), int8 (NaN)) 586s ***** assert (median (single ([1, 3, 4])), single (3)) 586s ***** assert (median (single ([1, 3, NaN])), single (NaN)) 586s ***** assert <54567> (median (uint8 ([253, 255])), uint8 (254)) 586s ***** assert <54567> (median (uint8 ([253, 254])), uint8 (254)) 586s ***** assert <54567> (median (int8 ([127, 126, 125, 124; 1 3 5 9])), ... 586s int8 ([64 65 65 67])) 586s ***** assert <54567> (median (int8 ([127, 126, 125, 124; 1 3 5 9]), 2), ... 586s int8 ([126; 4])) 586s ***** assert <54567> (median (int64 ([intmax("int64"), intmax("int64")-2])), ... 586s intmax ("int64") - 1) 586s ***** assert <54567> (median ( ... 586s int64 ([intmax("int64"), intmax("int64")-2; 1 2]), 2), ... 586s int64([intmax("int64") - 1; 2])) 586s ***** assert <54567> (median (uint64 ([intmax("uint64"), intmax("uint64")-2])), ... 586s intmax ("uint64") - 1) 586s ***** assert <54567> (median ( ... 586s uint64 ([intmax("uint64"), intmax("uint64")-2; 1 2]), 2), ... 586s uint64([intmax("uint64") - 1; 2])) 586s ***** assert <54567> (median (... 586s [intmin('int8') intmin('int8')+5 intmax('int8')-5 intmax('int8')]), ... 586s int8(-1)) 586s ***** assert <54567> (median ([int8([1 2 3 4]); ... 586s intmin('int8') intmin('int8')+5 intmax('int8')-5 intmax('int8')], 2), ... 586s int8([3;-1])) 586s ***** assert <54567> (median (... 586s [intmin('int64') intmin('int64')+5 intmax('int64')-5 intmax('int64')]), ... 586s int64(-1)) 586s ***** assert <54567> (median ([int64([1 2 3 4]); ... 586s intmin('int64') intmin('int64')+5 intmax('int64')-5 intmax('int64')], 2), ... 586s int64([3;-1])) 586s ***** assert <54567> (median ([intmax("uint64"), intmax("uint64")-2]), ... 586s intmax("uint64")-1) 586s ***** assert <54567> (median ([intmax("uint64"), intmax("uint64")-2], "default"), ... 586s double(intmax("uint64")-1)) 586s ***** assert <54567> (median ([intmax("uint64"), intmax("uint64")-2], "double"), ... 586s double(intmax("uint64")-1)) 586s ***** assert <54567> (median ([intmax("uint64"), intmax("uint64")-2], "native"), ... 586s intmax("uint64")-1) 586s ***** assert (median ([1 2 3], "aLL"), 2) 586s ***** assert (median ([1 2 3], "OmitNan"), 2) 586s ***** assert (median ([1 2 3], "DOUBle"), 2) 586s ***** error median () 586s ***** error median (1, 2, 3) 586s ***** error median (1, 2, 3, 4) 586s ***** error median (1, "all", 3) 586s ***** error median (1, "b") 586s ***** error median (1, 1, "foo") 586s ***** error <'all' cannot be used with> median (1, 3, "all") 586s ***** error <'all' cannot be used with> median (1, [2 3], "all") 586s ***** error median ({1:5}) 586s ***** error median ("char") 586s ***** error median(1, "double", "native") 586s ***** error median (1, ones (2,2)) 586s ***** error median (1, 1.5) 586s ***** error median (1, 0) 586s ***** error median ([1 2 3], [-1 1]) 586s ***** error median(1, [1 2 2]) 586s 136 tests, 136 passed, 0 known failure, 0 skipped 586s [inst/shadow9/mad.m] 586s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/shadow9/mad.m 586s ***** assert (mad (1), 0) 586s ***** assert (mad (1,1), 0) 586s ***** assert (mad (1,0,3), 0) 586s ***** assert (mad (1,1,3), 0) 586s ***** assert (mad (1,[],5), 0) 586s ***** assert (mad ([1,2,3]), 2/3) 586s ***** assert (mad ([1,2,3],[]), 2/3) 586s ***** assert (mad ([1,2,3],0), 2/3) 586s ***** assert (mad ([1,2,3],1), 1) 586s ***** assert (mad ([1,2,3],0,2), 2/3) 586s ***** assert (mad ([1,2,3],[],2), 2/3) 586s ***** assert (mad ([1,2,3],1,2), 1) 586s ***** assert (mad ([1,2,3],0,1), zeros (1,3)) 586s ***** assert (mad ([1,2,3],1,1), zeros (1,3)) 586s ***** assert (mad ([1,2,3]',0,2), zeros (3,1)) 586s ***** assert (mad ([1,2,3]',1,2), zeros (3,1)) 586s ***** assert (mad ([1,2,3]',0,1), 2/3) 586s ***** assert (mad ([1,2,3]',1,1), 1) 586s ***** assert (mad ([1,2,3]',1,1), 1) 586s ***** test 586s A = [57, 59, 60, 100, 59, 58, 57, 58, 300, 61, 62, 60, 62, 58, 57]; 586s AA = [A;2*A;3*A]; 586s m0 = [38.000, 39.333, 40.000, 66.667, 39.333, 38.667, 38.000, 38.667, ... 586s 200.000, 40.667, 41.333, 40.000, 41.333, 38.667, 38.000]; 586s m1 = [32.569;65.138; 97.707]; 586s 586s assert (mad (AA), m0, 1e-3); 586s assert (mad (AA,1), A); 586s assert (mad (AA,1,1), A); 586s assert (mad (AA,0,2), m1, 1e-3); 586s assert (mad (AA,1,2), [2;4;6]); 586s assert (mad (A,0,1), zeros (size (A))); 586s assert (mad (A,1,1), zeros (size (A))); 586s ***** test 586s x = repmat ([2 2.1 2.2 2 NaN; 3 1 2 NaN 5; 1 1.1 1.4 5 3], [1, 1, 4]); 586s m0 = repmat ([0.6667, 0.4667, 0.3111, 1.5, 1], [1, 1, 4]); 586s m1 = repmat ([1, 0.1, 0.2, 1.5, 1], [1, 1, 4]); 586s assert (mad (x), m0, 1e-4); 586s assert (mad (x, 1), m1, 1e-14); 586s assert (mad (x, [], [1, 2]), 1.0036 * ones(1,1,4), 1e-4) 586s assert (mad (x, 1, [1, 2]), 0.9 * ones(1,1,4), 1e-14) 586s assert (mad (x, 0, [1, 3]), m0(1,:,1), 1e-4) 586s assert (mad (x, 1, [1, 3]), m1(1,:,1), 1e-14) 586s assert (mad (x, 0, [2, 3]), [0.075; 1.25; 1.36], 1e-14) 586s assert (mad (x, 1, [2, 3]), [0.05; 1; 0.4], 1e-14) 586s assert (mad (x, 0, [1, 2, 3]) == mad (x, 0, "All")) 586s assert (mad (x, 1, [1, 2, 3]) == mad (x, 1, "All")) 586s ***** test 586s x = repmat ([1:20;6:25], [5 2 6 3]); 586s assert (size (mad (x, [], [3 2])), [10 1 1 3]); 586s assert (size (mad (x, 0, [1 2])), [1 1 6 3]); 586s assert (size (mad (x, 1, [1 2 4])), [1 1 6]); 586s assert (size (mad (x, [], [1 4 3])), [1 40]); 586s assert (size (mad (x, 1, [1 2 3 4])), [1 1]); 586s ***** assert (mad (ones (2,2), 0, 3), zeros (2,2)) 586s ***** assert (mad (ones (2,2,2), 1, 99), zeros (2,2,2)) 586s ***** assert (mad (magic (3), 1, 3), zeros (3)) 586s ***** assert (mad (magic (3), 1, [1 3]), [1, 4, 1]) 586s ***** assert (mad (magic (3), 1, [1 99]), [1, 4, 1]) 586s ***** assert (mad ([]), NaN) 586s ***** assert (mad ([], 1), NaN) 586s ***** assert (mad (NaN), NaN) 586s ***** assert (mad (NaN, 1), NaN) 586s ***** assert (mad (Inf), NaN) 586s ***** assert (mad (Inf, 1), NaN) 586s ***** assert (mad (-Inf), NaN) 586s ***** assert (mad (-Inf, 1), NaN) 586s ***** assert (mad ([-Inf Inf]), NaN) 586s ***** assert (mad ([-Inf Inf], 1), NaN) 586s ***** assert (mad ([3 Inf]), Inf) 586s ***** assert (mad ([3 4 Inf]), Inf) 586s ***** assert (mad ([3 4 Inf], 1), Inf) 586s ***** assert (mad ([Inf 3 4]), Inf) 586s ***** assert (mad ([Inf 3 4], 1), Inf) 586s ***** assert (mad ([Inf 3 Inf]), Inf) 586s ***** assert (mad ([Inf 3 Inf], 1), Inf) 586s ***** assert (mad ([1 2; 3 Inf]), [1 Inf]) 586s ***** assert (mad ([1 2; 3 Inf], 1), [1 Inf]) 586s ***** assert (mad ([]), NaN) 586s ***** assert (mad (ones(1,0)), NaN) 586s ***** assert (mad (ones(0,1)), NaN) 586s ***** assert (mad ([], 0, 1), NaN(1,0)) 586s ***** assert (mad ([], 0, 2), NaN(0,1)) 586s ***** assert (mad ([], 0, 3), NaN(0,0)) 586s ***** assert (mad (ones(1,0), 0, 1), NaN(1,0)) 586s ***** assert (mad (ones(1,0), 0, 2), NaN(1,1)) 586s ***** assert (mad (ones(1,0), 0, 3), NaN(1,0)) 586s ***** assert (mad (ones(0,1), 0, 1), NaN(1,1)) 586s ***** assert (mad (ones(0,1), 0, 2), NaN(0,1)) 586s ***** assert (mad (ones(0,1), 0, 3), NaN(0,1)) 586s ***** assert (mad (ones(0,1,0,1), 0, 1), NaN(1,1,0)) 586s ***** assert (mad (ones(0,1,0,1), 0, 2), NaN(0,1,0)) 586s ***** assert (mad (ones(0,1,0,1), 0, 3), NaN(0,1,1)) 586s ***** assert (mad (ones(0,1,0,1), 0, 4), NaN(0,1,0)) 586s ***** assert (mad([1 3 3i 2 1i]), 1.5297, 1e-4) 586s ***** assert (mad([1 3 3i 2 1i], 1), 1) 586s ***** assert (mad([1 2 4i; 3 2i 4]), [1, 1.4142, 2.8284], 1e-4) 586s ***** assert (mad([1 2 4i; 3 2i 4], 1), [1, 1.4142, 2.8284], 1e-4) 586s ***** assert (mad([1 2 4i; 3 2i 4], 1, 2), [1; 1]) 587s ***** assert (mad([1 2 4i; 3 2i 4], 0, 2), [1.9493; 1.8084], 1e-4) 587s ***** assert (mad ([1 2 3], 0, "aLL"), 2/3) 587s ***** assert (mad ([1 2 3], 1, "aLL"), 1) 587s ***** error mad () 587s ***** error mad (1, 2, 3, 4) 587s ***** error mad ("text") 587s ***** error mad ({2 3 4}) 587s ***** error mad (1, "all", 3) 587s ***** error mad (1, "b") 587s ***** error mad (1, 1, "foo") 587s ***** error mad (1, [] ,ones (2,2)) 587s ***** error mad (1, [], 1.5) 587s ***** error mad (1, [], 0) 587s ***** error mad ([1 2 3], [], [-1 1]) 587s ***** error mad(1, [], [1 2 2]) 587s 82 tests, 82 passed, 0 known failure, 0 skipped 587s [inst/silhouette.m] 587s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/silhouette.m 587s ***** error silhouette (); 588s ***** error silhouette ([1 2; 1 1]); 588s ***** error silhouette ([1 2; 1 1], [1 2 3]'); 588s ***** error silhouette ([1 2; 1 1], [1 2]', "xxx"); 588s ***** demo 588s load fisheriris; 588s X = meas(:,3:4); 588s cidcs = kmeans (X, 3, "Replicates", 5); 588s silhouette (X, cidcs); 588s y_labels(cidcs([1 51 101])) = unique (species); 588s set (gca, "yticklabel", y_labels); 588s title ("Fisher's iris data"); 588s 4 tests, 4 passed, 0 known failure, 0 skipped 588s [inst/isoutlier.m] 588s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/isoutlier.m 588s ***** demo 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s TF = isoutlier (A, "mean") 588s ***** demo 588s ## Use a moving detection method to detect local outliers in a sine wave 588s 588s x = -2*pi:0.1:2*pi; 588s A = sin(x); 588s A(47) = 0; 588s time = datenum (2023,1,1,0,0,0) + (1/24)*[0:length(x)-1] - 730485; 588s TF = isoutlier (A, "movmedian", 5*(1/24), "SamplePoints", time); 588s plot (time, A) 588s hold on 588s plot (time(TF), A(TF), "x") 588s datetick ('x', 20, 'keepticks') 588s legend ("Original Data", "Outlier Data") 588s ***** demo 588s ## Locate an outlier in a vector of data and visualize the outlier 588s 588s x = 1:10; 588s A = [60 59 49 49 58 100 61 57 48 58]; 588s [TF, L, U, C] = isoutlier (A); 588s plot (x, A); 588s hold on 588s plot (x(TF), A(TF), "x"); 588s xlim ([1,10]); 588s line ([1,10], [L, L], "Linestyle", ":"); 588s text (1.1, L-2, "Lower Threshold"); 588s line ([1,10], [U, U], "Linestyle", ":"); 588s text (1.1, U-2, "Upper Threshold"); 588s line ([1,10], [C, C], "Linestyle", ":"); 588s text (1.1, C-3, "Center Value"); 588s legend ("Original Data", "Outlier Data"); 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s assert (isoutlier (A, "mean"), logical([zeros(1,8) 1 zeros(1,6)])) 588s assert (isoutlier (A, "median"), ... 588s logical([zeros(1,3) 1 zeros(1,4) 1 zeros(1,6)])) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "mean"); 588s assert (L, -109.2459044922864, 1e-12) 588s assert (U, 264.9792378256198, 1e-12) 588s assert (C, 77.8666666666666, 1e-12) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "median"); 588s assert (L, 50.104386688966386, 1e-12) 588s assert (U, 67.895613311033610, 1e-12) 588s assert (C, 59) 588s ***** test 588s A = magic(5) + diag(200*ones(1,5)); 588s T = logical (eye (5)); 588s assert (isoutlier (A, 2), T) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "movmedian", 5); 588s l = [54.5522, 52.8283, 54.5522, 54.5522, 54.5522, 53.5522, 53.5522, ... 588s 53.5522, 47.6566, 56.5522, 57.5522, 56.5522, 51.1044, 52.3283, 53.5522]; 588s u = [63.4478, 66.1717, 63.4478, 63.4478, 63.4478, 62.4478, 62.4478, ... 588s 62.4478, 74.3434, 65.4478, 66.4478, 65.4478, 68.8956, 65.6717, 62.4478]; 588s c = [59, 59.5, 59, 59, 59, 58, 58, 58, 61, 61, 62, 61, 60, 59, 58]; 588s assert (L, l, 1e-4) 588s assert (U, u, 1e-4) 588s assert (C, c) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "movmedian", 5, "SamplePoints", [1:15]); 588s l = [54.5522, 52.8283, 54.5522, 54.5522, 54.5522, 53.5522, 53.5522, ... 588s 53.5522, 47.6566, 56.5522, 57.5522, 56.5522, 51.1044, 52.3283, 53.5522]; 588s u = [63.4478, 66.1717, 63.4478, 63.4478, 63.4478, 62.4478, 62.4478, ... 588s 62.4478, 74.3434, 65.4478, 66.4478, 65.4478, 68.8956, 65.6717, 62.4478]; 588s c = [59, 59.5, 59, 59, 59, 58, 58, 58, 61, 61, 62, 61, 60, 59, 58]; 588s assert (L, l, 1e-4) 588s assert (U, u, 1e-4) 588s assert (C, c) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "movmean", 5); 588s l = [54.0841, 6.8872, 11.5608, 12.1518, 11.0210, 10.0112, -218.2840, ... 588s -217.2375, -215.1239, -213.4890, -211.3264, 55.5800, 52.9589, ... 588s 52.5979, 51.0627]; 588s u = [63.2492, 131.1128, 122.4392, 122.2482, 122.5790, 122.7888, 431.0840, ... 588s 430.8375, 430.3239, 429.8890, 429.3264, 65.6200, 66.6411, 65.9021, ... 588s 66.9373]; 588s c = [58.6667, 69, 67, 67.2, 66.8, 66.4, 106.4, 106.8, 107.6, 108.2, 109, ... 588s 60.6, 59.8, 59.25, 59]; 588s assert (L, l, 1e-4) 588s assert (U, u, 1e-4) 588s assert (C, c, 1e-4) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "movmean", 5, "SamplePoints", [1:15]); 588s l = [54.0841, 6.8872, 11.5608, 12.1518, 11.0210, 10.0112, -218.2840, ... 588s -217.2375, -215.1239, -213.4890, -211.3264, 55.5800, 52.9589, ... 588s 52.5979, 51.0627]; 588s u = [63.2492, 131.1128, 122.4392, 122.2482, 122.5790, 122.7888, 431.0840, ... 588s 430.8375, 430.3239, 429.8890, 429.3264, 65.6200, 66.6411, 65.9021, ... 588s 66.9373]; 588s c = [58.6667, 69, 67, 67.2, 66.8, 66.4, 106.4, 106.8, 107.6, 108.2, 109, ... 588s 60.6, 59.8, 59.25, 59]; 588s assert (L, l, 1e-4) 588s assert (U, u, 1e-4) 588s assert (C, c, 1e-4) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "gesd"); 588s assert (TF, logical ([0 0 0 1 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 34.235977035439944, 1e-12) 588s assert (U, 89.764022964560060, 1e-12) 588s assert (C, 62) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "gesd", "ThresholdFactor", 0.01); 588s assert (TF, logical ([0 0 0 1 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 31.489256770616173, 1e-12) 588s assert (U, 92.510743229383820, 1e-12) 588s assert (C, 62) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "gesd", "ThresholdFactor", 5e-10); 588s assert (TF, logical ([0 0 0 0 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 23.976664158788935, 1e-12) 588s assert (U, 100.02333584121110, 1e-12) 588s assert (C, 62) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "grubbs"); 588s assert (TF, logical ([0 0 0 1 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 54.642809574646606, 1e-12) 588s assert (U, 63.511036579199555, 1e-12) 588s assert (C, 59.076923076923080, 1e-12) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "grubbs", "ThresholdFactor", 0.01); 588s assert (TF, logical ([0 0 0 1 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 54.216083184201850, 1e-12) 588s assert (U, 63.937762969644310, 1e-12) 588s assert (C, 59.076923076923080, 1e-12) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "percentiles", [10 90]); 588s assert (TF, logical ([0 0 0 0 0 0 0 0 1 0 0 0 0 0 0])) 588s assert (L, 57) 588s assert (U, 100) 588s assert (C, 78.5) 588s ***** test 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s [TF, L, U, C] = isoutlier (A, "percentiles", [20 80]); 588s assert (TF, logical ([1 0 0 1 0 0 1 0 1 0 0 0 0 0 1])) 588s assert (L, 57.5) 588s assert (U, 62) 588s assert (C, 59.75) 588s ***** shared A 588s A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57]; 588s ***** error ... 588s isoutlier (A, "movmedian", 0); 588s ***** error ... 588s isoutlier (A, "movmedian", []); 588s ***** error ... 588s isoutlier (A, "movmedian", [2 3 4]); 588s ***** error ... 588s isoutlier (A, "movmedian", 1.4); 588s ***** error ... 588s isoutlier (A, "movmedian", [0 1]); 588s ***** error ... 588s isoutlier (A, "movmedian", [2 -1]); 588s ***** error ... 588s isoutlier (A, "movmedian", {2 3}); 588s ***** error ... 588s isoutlier (A, "movmedian", "char"); 588s 588s ***** error ... 588s isoutlier (A, "movmean", 0); 588s ***** error ... 588s isoutlier (A, "movmean", []); 588s ***** error ... 588s isoutlier (A, "movmean", [2 3 4]); 588s ***** error ... 588s isoutlier (A, "movmean", 1.4); 588s ***** error ... 588s isoutlier (A, "movmean", [0 1]); 588s ***** error ... 588s isoutlier (A, "movmean", [2 -1]); 588s ***** error ... 588s isoutlier (A, "movmean", {2 3}); 588s ***** error ... 588s isoutlier (A, "movmean", "char"); 588s 588s ***** error ... 588s isoutlier (A, "percentiles", [-1 90]); 588s ***** error ... 588s isoutlier (A, "percentiles", [10 -90]); 588s ***** error ... 588s isoutlier (A, "percentiles", [90]); 588s ***** error ... 588s isoutlier (A, "percentiles", [90 20]); 588s ***** error ... 588s isoutlier (A, "percentiles", [90 20]); 588s ***** error ... 588s isoutlier (A, "percentiles", [10 20 90]); 588s ***** error ... 588s isoutlier (A, "percentiles", {10 90}); 588s ***** error ... 588s isoutlier (A, "percentiles", "char"); 588s 588s ***** error ... 588s isoutlier (A, "movmean", 5, "SamplePoints", ones(3,15)); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "SamplePoints", 15); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "SamplePoints", [1,1:14]); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "SamplePoints", [2,1,3:15]); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "SamplePoints", [1:14]); 588s 588s ***** error ... 588s isoutlier (A, "movmean", 5, "ThresholdFactor", [1:14]); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "ThresholdFactor", -1); 588s ***** error ... 588s isoutlier (A, "gesd", "ThresholdFactor", 3); 588s ***** error ... 588s isoutlier (A, "grubbs", "ThresholdFactor", 3); 588s 588s ***** error ... 588s isoutlier (A, "movmean", 5, "MaxNumOutliers", [1:14]); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "MaxNumOutliers", -1); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "MaxNumOutliers", 0); 588s ***** error ... 588s isoutlier (A, "movmean", 5, "MaxNumOutliers", 1.5); 588s 588s ***** error ... 588s isoutlier (A, {"movmean"}, 5, "SamplePoints", [1:15]); 588s ***** error isoutlier (A, {1}); 588s ***** error isoutlier (A, true); 588s ***** error isoutlier (A, false); 588s ***** error isoutlier (A, 0); 588s ***** error isoutlier (A, [1 2]); 588s ***** error isoutlier (A, -2); 588s 59 tests, 59 passed, 0 known failure, 0 skipped 588s [inst/crossval.m] 588s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/crossval.m 588s ***** test 588s load fisheriris 588s y = meas(:, 1); 588s X = [ones(size(y)) meas(:, 2:4)]; 588s f = @(X1, y1, X2, y2) meansq (y2 - X2*regress(y1, X1)); 588s results0 = crossval (f, X, y); 588s results1 = crossval (f, X, y, 'KFold', 10); 588s folds = 5; 588s results2 = crossval (f, X, y, 'KFold', folds); 588s results3 = crossval (f, X, y, 'Partition', cvpartition (numel (y), 'KFold', folds)); 588s results4 = crossval (f, X, y, 'LeaveOut', 1); 588s mcreps = 2; n_holdout = 20; 588s results5 = crossval (f, X, y, 'HoldOut', n_holdout, 'mcreps', mcreps); 588s 588s ## ensure equal representation of iris species in the training set -- tends 588s ## to slightly reduce cross-validation mean square error 588s results6 = crossval (f, X, y, 'KFold', 5, 'stratify', grp2idx(species)); 588s 588s assert (results0, results1, 2e-15); 588s assert (results2, results3, 5e-17); 588s assert (size(results4), [1 numel(y)]); 588s assert (mean(results4), 0.1018, 1e-4); 588s assert (size(results5), [mcreps 1]); 588s warning: strmatch is obsolete; use strncmp or strcmp instead 589s 1 test, 1 passed, 0 known failure, 0 skipped 589s [inst/squareform.m] 589s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/squareform.m 589s ***** shared v, m 589s v = 1:6; 589s m = [0 1 2 3;1 0 4 5;2 4 0 6;3 5 6 0]; 589s ***** assert (squareform (v), m) 589s ***** assert (squareform (squareform (v)), v) 589s ***** assert (squareform (m), v) 589s ***** assert (squareform (v'), m) 589s ***** assert (squareform (1), [0 1;1 0]) 589s ***** assert (squareform (1, "tomatrix"), [0 1; 1 0]) 589s ***** assert (squareform (0, "tovector"), zeros (1, 0)) 589s ***** warning squareform ([0 1 2; 3 0 4; 5 6 0]); 589s ***** test 589s for c = {@single, @double, @uint8, @uint32, @uint64} 589s f = c{1}; 589s assert (squareform (f (v)), f (m)) 589s assert (squareform (f (m)), f (v)) 589s endfor 589s 9 tests, 9 passed, 0 known failure, 0 skipped 589s [inst/linkage.m] 589s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/linkage.m 589s ***** shared x, t 589s x = reshape (mod (magic (6),5), [], 3); 589s t = 1e-6; 589s ***** assert (cond (linkage (pdist (x))), 34.119045, t); 589s ***** assert (cond (linkage (pdist (x), "complete")), 21.793345, t); 589s ***** assert (cond (linkage (pdist (x), "average")), 27.045012, t); 589s ***** assert (cond (linkage (pdist (x), "weighted")), 27.412889, t); 589s lastwarn(); # Clear last warning before the test 589s ***** warning linkage (pdist (x), "centroid"); 589s ***** test 589s warning off Octave:clustering 589s assert (cond (linkage (pdist (x), "centroid")), 27.457477, t); 589s warning on Octave:clustering 589s ***** warning linkage (pdist (x), "median"); 589s ***** test 589s warning off Octave:clustering 589s assert (cond (linkage (pdist (x), "median")), 27.683325, t); 589s warning on Octave:clustering 589s ***** assert (cond (linkage (pdist (x), "ward")), 17.195198, t); 589s ***** assert (cond (linkage (x, "ward", "euclidean")), 17.195198, t); 589s ***** assert (cond (linkage (x, "ward", {"euclidean"})), 17.195198, t); 589s ***** assert (cond (linkage (x, "ward", {"minkowski", 2})), 17.195198, t); 589s 12 tests, 12 passed, 0 known failure, 0 skipped 589s [inst/histfit.m] 589s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/histfit.m 589s ***** demo 589s histfit (randn (100, 1)) 589s ***** shared visibility_setting 589s visibility_setting = get (0, "DefaultFigureVisible"); 589s ***** test 589s set (0, "DefaultFigureVisible", "off"); 589s x = [2, 4, 3, 2, 4, 3, 2, 5, 6, 4, 7, 5, 9, 8, 10, 4, 11]; 589s histfit (x); 589s x = [2, 4, 3, 2, NaN, 3, 2, 5, 6, 4, 7, 5, 9, 8, 10, 4, 11]; 589s histfit (x); 589s histfit (x, 3); 589s set (0, "DefaultFigureVisible", visibility_setting); 589s ***** error histfit (); 589s ***** error histfit ([x',x']); 589s 3 tests, 3 passed, 0 known failure, 0 skipped 589s [inst/grpstats.m] 589s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/grpstats.m 589s ***** demo 589s load carsmall; 589s [m,p,g] = grpstats (Weight, Model_Year, {"mean", "predci", "gname"}) 589s n = length(m); 589s errorbar((1:n)',m,p(:,2)-m); 589s set (gca, "xtick", 1:n, "xticklabel", g); 589s title ("95% prediction intervals for mean weight by year"); 589s ***** demo 589s load carsmall; 589s [m,p,g] = grpstats ([Acceleration,Weight/1000],Cylinders, ... 589s {"mean", "meanci", "gname"}, 0.05) 589s [c,r] = size (m); 589s errorbar((1:c)'.*ones(c,r),m,p(:,[(1:r)])-m); 589s set (gca, "xtick", 1:c, "xticklabel", g); 589s title ("95% prediction intervals for mean weight by year"); 589s ***** test 589s load carsmall 589s means = grpstats (Acceleration, Origin); 589s assert (means, [14.4377; 18.0500; 15.8867; 16.3778; 16.6000; 15.5000], 0.001); 589s ***** test 589s load carsmall 589s [grpMin,grpMax,grp] = grpstats (Acceleration, Origin, {"min","max","gname"}); 589s assert (grpMin, [8.0; 15.3; 13.9; 12.2; 15.7; 15.5]); 589s assert (grpMax, [22.2; 21.9; 18.2; 24.6; 17.5; 15.5]); 589s ***** test 589s load carsmall 589s [grpMin,grpMax,grp] = grpstats (Acceleration, Origin, {"min","max","gname"}); 589s assert (grp', {"USA", "France", "Japan", "Germany", "Sweden", "Italy"}); 589s ***** test 589s load carsmall 589s [m,p,g] = grpstats ([Acceleration,Weight/1000], Cylinders, ... 589s {"mean", "meanci", "gname"}, 0.05); 589s assert (p(:,1), [11.17621760075134, 16.13845847655224, 16.16222663683362]', ... 589s [1e-14, 2e-14, 1e-14]'); 589s 4 tests, 4 passed, 0 known failure, 0 skipped 589s [inst/ppplot.m] 589s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ppplot.m 589s ***** error ppplot () 590s ***** error ppplot (ones (2,2)) 590s ***** error ppplot (1, 2) 590s ***** error ppplot ([1 2 3 4], 2) 590s ***** shared visibility_setting 590s visibility_setting = get (0, "DefaultFigureVisible"); 590s ***** test 590s set (0, "DefaultFigureVisible", "off"); 590s ppplot ([2 3 3 4 4 5 6 5 6 7 8 9 8 7 8 9 0 8 7 6 5 4 6 13 8 15 9 9]); 590s set (0, "DefaultFigureVisible", visibility_setting); 590s 5 tests, 5 passed, 0 known failure, 0 skipped 590s [inst/jackknife.m] 590s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/jackknife.m 590s ***** demo 590s for k = 1:1000 590s rand ("seed", k); # for reproducibility 590s x = rand (10, 1); 590s s(k) = std (x); 590s jackstat = jackknife (@std, x); 590s j(k) = 10 * std (x) - 9 * mean (jackstat); 590s endfor 590s figure(); 590s hist ([s', j'], 0:sqrt(1/12)/10:2*sqrt(1/12)) 590s ***** demo 590s for k = 1:1000 590s randn ("seed", k); # for reproducibility 590s x = randn (1, 50); 590s rand ("seed", k); # for reproducibility 590s y = rand (1, 50); 590s jackstat = jackknife (@(x) std(x{1})/std(x{2}), y, x); 590s j(k) = 50 * std (y) / std (x) - 49 * mean (jackstat); 590s v(k) = sumsq ((50 * std (y) / std (x) - 49 * jackstat) - j(k)) / (50 * 49); 590s endfor 590s t = (j - sqrt (1 / 12)) ./ sqrt (v); 590s figure(); 590s plot (sort (tcdf (t, 49)), ... 590s "-;Almost linear mapping indicates good fit with t-distribution.;") 590s ***** test 590s ##Example from Quenouille, Table 1 590s d=[0.18 4.00 1.04 0.85 2.14 1.01 3.01 2.33 1.57 2.19]; 590s jackstat = jackknife ( @(x) 1/mean(x), d ); 590s assert ( 10 / mean(d) - 9 * mean(jackstat), 0.5240, 1e-5 ); 590s 1 test, 1 passed, 0 known failure, 0 skipped 590s [inst/mahal.m] 590s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/mahal.m 590s ***** error mahal () 590s ***** error mahal (1, 2, 3) 590s ***** error mahal ("A", "B") 590s ***** error mahal ([1, 2], ["A", "B"]) 590s ***** error mahal (ones (2, 2, 2)) 590s ***** error mahal (ones (2, 2), ones (2, 2, 2)) 590s ***** error mahal (ones (2, 2), ones (2, 3)) 590s ***** test 590s X = [1 0; 0 1; 1 1; 0 0]; 590s assert (mahal (X, X), [1.5; 1.5; 1.5; 1.5], 10*eps) 590s assert (mahal (X, X+1), [7.5; 7.5; 1.5; 13.5], 10*eps) 590s ***** assert (mahal ([true; true], [false; true]), [0.5; 0.5], eps) 590s 9 tests, 9 passed, 0 known failure, 0 skipped 590s [inst/standardizeMissing.m] 590s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/standardizeMissing.m 590s ***** assert (standardizeMissing (1, 1), NaN) 590s ***** assert (standardizeMissing (1, 0), 1) 590s ***** assert (standardizeMissing (eye(2), 1), [NaN 0;0 NaN]) 590s ***** assert (standardizeMissing ([1:3;4:6], [2 3; 4 5]), [1, NaN, NaN; NaN, NaN, 6]) 590s ***** assert (standardizeMissing (cat (3,1,2,3,4), 3), cat (3,1,2,NaN,4)) 590s ***** assert (standardizeMissing ('foo', 'a'), 'foo') 590s ***** assert (standardizeMissing ('foo', 'f'), ' oo') 590s ***** assert (standardizeMissing ('foo', 'o'), 'f ') 590s ***** assert (standardizeMissing ('foo', 'oo'), 'f ') 590s ***** assert (standardizeMissing ({'foo'}, 'f'), {'foo'}) 590s ***** assert (standardizeMissing ({'foo'}, {'f'}), {'foo'}) 590s ***** assert (standardizeMissing ({'foo'}, 'test'), {'foo'}) 590s ***** assert (standardizeMissing ({'foo'}, {'test'}), {'foo'}) 590s ***** assert (standardizeMissing ({'foo'}, 'foo'), {''}) 590s ***** assert (standardizeMissing ({'foo'}, {'foo'}), {''}) 590s ***** assert (standardizeMissing (['foo';'bar'], 'oar'), ['f ';'b ']) 590s ***** assert (standardizeMissing (['foo';'bar'], ['o';'a';'r']), ['f ';'b ']) 590s ***** assert (standardizeMissing (['foo';'bar'], ['o ';'ar']), ['f ';'b ']) 590s ***** assert (standardizeMissing ({'foo','bar'}, 'foo'), {'','bar'}) 590s ***** assert (standardizeMissing ({'foo','bar'}, 'f'), {'foo','bar'}) 590s ***** assert (standardizeMissing ({'foo','bar'}, {'foo', 'a'}), {'','bar'}) 590s ***** assert (standardizeMissing ({'foo'}, {'f', 'oo'}), {'foo'}) 590s ***** assert (standardizeMissing ({'foo','bar'}, {'foo'}), {'','bar'}) 590s ***** assert (standardizeMissing ({'foo','bar'}, {'foo', 'a'}), {'','bar'}) 590s ***** assert (standardizeMissing (double (1), single (1)), double (NaN)) 590s ***** assert (standardizeMissing (single (1), single (1)), single (NaN)) 590s ***** assert (standardizeMissing (single (1), double (1)), single (NaN)) 590s ***** assert (standardizeMissing (single (1), true), single (NaN)) 590s ***** assert (standardizeMissing (double (1), int32(1)), double (NaN)) 590s ***** assert (standardizeMissing (true, true), true) 590s ***** assert (standardizeMissing (true, 1), true) 590s ***** assert (standardizeMissing (int32 (1), int32 (1)), int32 (1)) 590s ***** assert (standardizeMissing (int32 (1), 1), int32 (1)) 590s ***** assert (standardizeMissing (uint32 (1), uint32 (1)), uint32 (1)) 590s ***** assert (standardizeMissing (uint32 (1), 1), uint32 (1)) 590s ***** error standardizeMissing (); 591s ***** error standardizeMissing (1); 591s ***** error standardizeMissing (1,2,3); 591s ***** error standardizeMissing ({'abc', 1}, 1); 591s ***** error standardizeMissing (struct ('a','b'), 1); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ([1 2 3], {1}); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ([1 2 3], 'a'); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ([1 2 3], struct ('a', 1)); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ('foo', 1); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ('foo', {1}); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ('foo', {'f'}); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ('foo', struct ('a', 1)); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ({'foo'}, 1); 591s ***** error <'indicator' and 'A' must have > standardizeMissing ({'foo'}, 1); 591s 49 tests, 49 passed, 0 known failure, 0 skipped 591s [inst/ecdf.m] 591s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ecdf.m 591s ***** demo 591s y = exprnd (10, 50, 1); ## random failure times are exponential(10) 591s d = exprnd (20, 50, 1); ## drop-out times are exponential(20) 591s t = min (y, d); ## we observe the minimum of these times 591s censored = (y > d); ## we also observe whether the subject failed 591s 591s ## Calculate and plot the empirical cdf and confidence bounds 591s [f, x, flo, fup] = ecdf (t, "censoring", censored); 591s stairs (x, f); 591s hold on; 591s stairs (x, flo, "r:"); stairs (x, fup, "r:"); 591s 591s ## Superimpose a plot of the known true cdf 591s xx = 0:.1:max (t); yy = 1 - exp (-xx / 10); plot (xx, yy, "g-"); 591s hold off; 591s ***** demo 591s R = wblrnd (100, 2, 100, 1); 591s ecdf (R, "Function", "survivor", "Alpha", 0.01, "Bounds", "on"); 591s hold on 591s x = 1:1:250; 591s wblsurv = 1 - cdf ("weibull", x, 100, 2); 591s plot (x, wblsurv, "g-", "LineWidth", 2) 591s legend ("Empirical survivor function", "Lower confidence bound", ... 591s "Upper confidence bound", "Weibull survivor function", ... 591s "Location", "northeast"); 591s hold off 591s ***** error ecdf (); 591s ***** error ecdf (randi (15,2)); 591s ***** error ecdf ([3,2,4,3+2i,5]); 591s ***** error kstest ([2,3,4,5,6],"tail"); 591s ***** error kstest ([2,3,4,5,6],"tail", "whatever"); 591s ***** error kstest ([2,3,4,5,6],"function", ""); 591s ***** error kstest ([2,3,4,5,6],"badoption", 0.51); 591s ***** error kstest ([2,3,4,5,6],"tail", 0); 591s ***** error kstest ([2,3,4,5,6],"alpha", 0); 591s ***** error kstest ([2,3,4,5,6],"alpha", NaN); 591s ***** error kstest ([NaN,NaN,NaN,NaN,NaN],"tail", "unequal"); 591s ***** error kstest ([2,3,4,5,6],"alpha", 0.05, "CDF", [2,3,4;1,3,4;1,2,1]); 591s ***** shared visibility_setting 591s visibility_setting = get (0, "DefaultFigureVisible"); 591s ***** test 591s set (0, "DefaultFigureVisible", "off"); 591s x = [2, 3, 4, 3, 5, 4, 6, 5, 8, 3, 7, 8, 9, 0]; 591s [F, x, Flo, Fup] = ecdf (x); 591s F_out = [0; 0.0714; 0.1429; 0.3571; 0.5; 0.6429; 0.7143; 0.7857; 0.9286; 1]; 591s assert (F, F_out, ones (10,1) * 1e-4); 591s x_out = [0 0 2 3 4 5 6 7 8 9]'; 591s assert (x, x_out); 591s Flo_out = [NaN, 0, 0, 0.1061, 0.2381, 0.3919, 0.4776, 0.5708, 0.7937, NaN]'; 591s assert (Flo, Flo_out, ones (10,1) * 1e-4); 591s Fup_out = [NaN, 0.2063, 0.3262, 0.6081, 0.7619, 0.8939, 0.9509, 1, 1, NaN]'; 591s assert (Fup, Fup_out, ones (10,1) * 1e-4); 591s set (0, "DefaultFigureVisible", visibility_setting); 591s ***** test 591s set (0, "DefaultFigureVisible", "off"); 591s x = [2, 3, 4, 3, 5, 4, 6, 5, 8, 3, 7, 8, 9, 0]; 591s ecdf (x); 591s set (0, "DefaultFigureVisible", visibility_setting); 591s 14 tests, 14 passed, 0 known failure, 0 skipped 591s [inst/optimalleaforder.m] 591s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/optimalleaforder.m 591s ***** demo 591s randn ("seed", 5) # for reproducibility 591s X = randn (10, 2); 591s D = pdist (X); 591s tree = linkage(D, 'average'); 591s optimalleaforder (tree, D, 'Transformation', 'linear') 591s ***** error optimalleaforder () 591s ***** error optimalleaforder (1) 591s ***** error optimalleaforder (ones (2, 2), 1) 591s ***** error optimalleaforder ([1 2 3], [1 2; 3 4], "criteria", 5) 591s ***** error optimalleaforder ([1 2 1], [1 2 3]) 592s ***** error optimalleaforder ([1 2 1], 1, "xxx", "xxx") 592s ***** error optimalleaforder ([1 2 1], 1, "Transformation", "xxx") 592s 7 tests, 7 passed, 0 known failure, 0 skipped 592s [inst/gmdistribution.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/gmdistribution.m 592s ***** test 592s mu = eye(2); 592s Sigma = eye(2); 592s GM = gmdistribution (mu, Sigma); 592s density = GM.pdf ([0 0; 1 1]); 592s assert (density(1) - density(2), 0, 1e-6); 592s 592s [idx, nlogl, P, logpdf,M] = cluster (GM, eye(2)); 592s assert (idx, [1; 2]); 592s [idx2,nlogl2,P2,logpdf2] = GM.cluster (eye(2)); 592s assert (nlogl - nlogl2, 0, 1e-6); 592s [idx3,nlogl3,P3] = cluster (GM, eye(2)); 592s assert (P - P3, zeros (2), 1e-6); 592s [idx4,nlogl4] = cluster (GM, eye(2)); 592s assert (size (nlogl4), [1 1]); 592s idx5 = cluster (GM, eye(2)); 592s assert (idx - idx5, zeros (2,1)); 592s 592s D = GM.mahal ([1;0]); 592s assert (D - M(1,:), zeros (1,2), 1e-6); 592s 592s P = GM.posterior ([0 1]); 592s assert (P - P2(2,:), zeros (1,2), 1e-6); 592s 592s R = GM.random(20); 592s assert (size(R), [20, 2]); 592s 592s R = GM.random(); 592s assert (size(R), [1, 2]); 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/adtest.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/adtest.m 592s ***** error adtest (); 592s ***** error adtest (ones (20,2)); 592s ***** error adtest ([1+i,0-3i]); 592s ***** error ... 592s adtest (ones (20,1), "Distribution", "normal"); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"normal", 5, 3}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"norm", 5}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"exp", 5, 4}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"ev", 5}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"logn", 5, 3, 2}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"Weibull", 5}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", 35); 592s ***** error ... 592s adtest (rand (20,1), "Name", "norm"); 592s ***** error ... 592s adtest (rand (20,1), "Name", {"norm", 75, 10}); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", "norm", "Asymptotic", true); 592s ***** error ... 592s adtest (rand (20,1), "MCTol", 0.001, "Asymptotic", true); 592s ***** error ... 592s adtest (rand (20,1), "Distribution", {"norm", 5, 3}, "MCTol", 0.001, ... 592s "Asymptotic", true); 592s ***** error ... 592s [h, pval, ADstat, CV] = adtest (ones (20,1), "Distribution", {"norm",5,3},... 592s "Alpha", 0.000000001); 592s ***** error ... 592s [h, pval, ADstat, CV] = adtest (ones (20,1), "Distribution", {"norm",5,3},... 592s "Alpha", 0.999999999); 592s ***** error ... 592s adtest (10); 592s ***** warning ... 592s adtest (ones (20,1), "Alpha", 0.000001); 592s ***** warning ... 592s adtest (normrnd(0,1,100,1), "Alpha", 0.99999); 592s ***** warning ... 592s adtest (normrnd(0,1,100,1), "Alpha", 0.00001); 592s ***** test 592s load examgrades 592s x = grades(:,1); 592s [h, pval, adstat, cv] = adtest (x); 592s assert (h, false); 592s assert (pval, 0.1854, 1e-4); 592s assert (adstat, 0.5194, 1e-4); 592s assert (cv, 0.7470, 1e-4); 592s ***** test 592s load examgrades 592s x = grades(:,1); 592s [h, pval, adstat, cv] = adtest (x, "Distribution", "ev"); 592s assert (h, false); 592s assert (pval, 0.071363, 1e-6); 592s ***** test 592s load examgrades 592s x = grades(:,1); 592s [h, pval, adstat, cv] = adtest (x, "Distribution", {"norm", 75, 10}); 592s assert (h, false); 592s assert (pval, 0.4687, 1e-4); 592s 25 tests, 25 passed, 0 known failure, 0 skipped 592s [inst/runstest.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/runstest.m 592s ***** test 592s ## NIST beam deflection data 592s ## http://www.itl.nist.gov/div898/handbook/eda/section4/eda425.htm 592s data = [-213, -564, -35, -15, 141, 115, -420, -360, 203, -338, -431, ... 592s 194, -220, -513, 154, -125, -559, 92, -21, -579, -52, 99, -543, ... 592s -175, 162, -457, -346, 204, -300, -474, 164, -107, -572, -8, 83, ... 592s -541, -224, 180, -420, -374, 201, -236, -531, 83, 27, -564, -112, ... 592s 131, -507, -254, 199, -311, -495, 143, -46, -579, -90, 136, ... 592s -472, -338, 202, -287, -477, 169, -124, -568, 17, 48, -568, -135, ... 592s 162, -430, -422, 172, -74, -577, -13, 92, -534, -243, 194, -355, ... 592s -465, 156, -81, -578, -64, 139, -449, -384, 193, -198, -538, 110, ... 592s -44, -577, -6, 66, -552, -164, 161, -460, -344, 205, -281, -504, ... 592s 134, -28, -576, -118, 156, -437, -381, 200, -220, -540, 83, 11, ... 592s -568, -160, 172, -414, -408, 188, -125, -572, -32, 139, -492, ... 592s -321, 205, -262, -504, 142, -83, -574, 0, 48, -571, -106, 137, ... 592s -501, -266, 190, -391, -406, 194, -186, -553, 83, -13, -577, -49, ... 592s 103, -515, -280, 201, 300, -506, 131, -45, -578, -80, 138, -462, ... 592s -361, 201, -211, -554, 32, 74, -533, -235, 187, -372, -442, 182, ... 592s -147, -566, 25, 68, -535, -244, 194, -351, -463, 174, -125, -570, ... 592s 15, 72, -550, -190, 172, -424, -385, 198, -218, -536, 96]; 592s [h, p, stats] = runstest (data, median (data)); 592s expected_h = 1; 592s expected_p = 0.008562; 592s expected_z = 2.6229; 592s assert (h, expected_h); 592s assert (p, expected_p, 1E-6); 592s assert (stats.z, expected_z, 1E-4); 592s ***** shared x 592s x = [45, -60, 1.225, 55.4, -9 27]; 592s ***** test 592s [h, p, stats] = runstest (x); 592s assert (h, 0); 592s assert (p, 0.6, 1e-14); 592s assert (stats.nruns, 5); 592s assert (stats.n1, 3); 592s assert (stats.n0, 3); 592s assert (stats.z, 0.456435464587638, 1e-14); 592s ***** test 592s [h, p, stats] = runstest (x, [], "method", "approximate"); 592s assert (h, 0); 592s assert (p, 0.6481, 1e-4); 592s assert (stats.z, 0.456435464587638, 1e-14); 592s ***** test 592s [h, p, stats] = runstest (x, [], "tail", "left"); 592s assert (h, 0); 592s assert (p, 0.9, 1e-14); 592s assert (stats.z, 1.369306393762915, 1e-14); 592s ***** error runstest (ones (2,20)) 592s ***** error runstest (["asdasda"]) 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], "updown") 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "alpha", 0) 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "alpha", [0.02 0.2]) 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "alpha", 1.2) 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "alpha", -0.05) 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "method", "some") 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "tail", "some") 592s ***** error ... 592s runstest ([2 3 4 3 2 3 4], [], "option", "some") 592s 14 tests, 14 passed, 0 known failure, 0 skipped 592s [inst/confusionmat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/confusionmat.m 592s ***** test 592s Yt = [8 5 6 8 5 3 1 6 4 2 5 3 1 4]'; 592s Yp = [8 5 6 8 5 2 3 4 4 5 5 7 2 6]'; 592s C = [0 1 1 0 0 0 0 0; 0 0 0 0 1 0 0 0; 0 1 0 0 0 0 1 0; 0 0 0 1 0 1 0 0; ... 592s 0 0 0 0 3 0 0 0; 0 0 0 1 0 1 0 0; 0 0 0 0 0 0 0 0; 0 0 0 0 0 0 0 2]; 592s assert (confusionmat (Yt, Yp), C) 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/pdist2.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pdist2.m 592s ***** function dist = euclidean_distance (x, y) 592s [m, p] = size (X); 592s [n, p] = size (Y); 592s D = zeros (m, n); 592s for i = 1:n 592s d = X - repmat (Y(i,:), [m 1]); 592s D(:,i) = sumsq (d, 2); 592s endfor 592s ***** endfunction 592s ***** test 592s x = [1 1 1; 2 2 2; 3 3 3]; 592s y = [0 0 0; 1 2 3; 0 2 4; 4 7 1]; 592s d = sqrt([ 3 5 11 45 592s 12 2 8 30 592s 27 5 11 21]); 592s assert (pdist2 (x, y), d) 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/gevstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/gevstat.m 592s ***** test 592s k = [-1, -0.5, 0, 0.2, 0.4, 0.5, 1]; 592s sigma = 2; 592s mu = 1; 592s [m, v] = gevstat (k, sigma, mu); 592s expected_m = [1, 1.4551, 2.1544, 2.6423, 3.4460, 4.0898, Inf]; 592s expected_v = [4, 3.4336, 6.5797, 13.3761, 59.3288, Inf, Inf]; 592s assert (m, expected_m, -0.001); 592s assert (v, expected_v, -0.001); 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/binostat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/binostat.m 592s ***** test 592s n = 1:6; 592s p = 0:0.2:1; 592s [m, v] = binostat (n, p); 592s expected_m = [0.00, 0.40, 1.20, 2.40, 4.00, 6.00]; 592s expected_v = [0.00, 0.32, 0.72, 0.96, 0.80, 0.00]; 592s assert (m, expected_m, 0.001); 592s assert (v, expected_v, 0.001); 592s ***** test 592s n = 1:6; 592s [m, v] = binostat (n, 0.5); 592s expected_m = [0.50, 1.00, 1.50, 2.00, 2.50, 3.00]; 592s expected_v = [0.25, 0.50, 0.75, 1.00, 1.25, 1.50]; 592s assert (m, expected_m, 0.001); 592s assert (v, expected_v, 0.001); 592s ***** test 592s n = [-Inf -3 5 0.5 3 NaN 100, Inf]; 592s [m, v] = binostat (n, 0.5); 592s assert (isnan (m), [true true false true false true false false]) 592s assert (isnan (v), [true true false true false true false false]) 592s assert (m(end), Inf); 592s assert (v(end), Inf); 592s ***** assert (nthargout (1:2, @binostat, 5, []), {[], []}) 592s ***** assert (nthargout (1:2, @binostat, [], 5), {[], []}) 592s ***** assert (nthargout (1:2, @binostat, "", 5), {[], []}) 592s ***** assert (nthargout (1:2, @binostat, true, 5), {NaN, NaN}) 592s ***** assert (nthargout (1:2, @binostat, 5, true), {5, 0}) 592s ***** assert (size (binostat (randi (100, 10, 5, 4), rand (10, 5, 4))), [10 5 4]) 592s ***** assert (size (binostat (randi (100, 10, 5, 4), 7)), [10 5 4]) 592s 10 tests, 10 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/gpstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/gpstat.m 592s ***** shared x, y 592s x = [-Inf, -1, 0, 1/2, 1, Inf]; 592s y = [0, 0.5, 1, 2, Inf, Inf]; 592s ***** assert (gpstat (x, ones (1,6), zeros (1,6)), y, eps) 592s ***** assert (gpstat (single (x), 1, 0), single (y), eps("single")) 592s ***** assert (gpstat (x, single (1), 0), single (y), eps("single")) 592s ***** assert (gpstat (x, single (1)), single (y), eps("single")) 592s ***** assert (gpstat (x, 1, single (0)), single (y), eps("single")) 592s ***** assert (gpstat (single ([x, NaN]), 1, 0), single ([y, NaN]), eps("single")) 592s ***** assert (gpstat ([x, NaN], single (1), 0), single ([y, NaN]), eps("single")) 592s ***** assert (gpstat ([x, NaN], single (1)), single ([y, NaN]), eps("single")) 592s ***** assert (gpstat ([x, NaN], 1, single (0)), single ([y, NaN]), eps("single")) 592s ***** error gpstat () 592s ***** error gpstat (1) 592s ***** error ... 592s gpstat (1, ones (2), ones (3)) 592s ***** error ... 592s gpstat (rand (3), ones (2), ones (3)) 592s ***** error gpstat (i, 2, 2) 592s ***** error gpstat (2, i, 2) 592s ***** error gpstat (2, 2, i) 592s 16 tests, 16 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/hygestat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/hygestat.m 592s ***** test 592s t = 4:9; 592s m = 0:5; 592s n = 1:6; 592s [mn, v] = hygestat (t, m, n); 592s expected_mn = [0.0000, 0.4000, 1.0000, 1.7143, 2.5000, 3.3333]; 592s expected_v = [0.0000, 0.2400, 0.4000, 0.4898, 0.5357, 0.5556]; 592s assert (mn, expected_mn, 0.001); 592s assert (v, expected_v, 0.001); 592s ***** test 592s t = 4:9; 592s m = 0:5; 592s [mn, v] = hygestat (t, m, 2); 592s expected_mn = [0.0000, 0.4000, 0.6667, 0.8571, 1.0000, 1.1111]; 592s expected_v = [0.0000, 0.2400, 0.3556, 0.4082, 0.4286, 0.4321]; 592s assert (mn, expected_mn, 0.001); 592s assert (v, expected_v, 0.001); 592s 2 tests, 2 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/evstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/evstat.m 592s ***** error evstat () 592s ***** error evstat (1) 592s ***** error evstat (i, 2) 592s ***** error evstat (2, i) 592s ***** error ... 592s evstat (ones (3), ones (2)) 592s ***** shared x, y0, y1 592s x = [-5, 0, 1, 2, 3]; 592s y0 = [NaN, NaN, 0.4228, 0.8456, 1.2684]; 592s y1 = [-5.5772, -3.4633, -3.0405, -2.6177, -2.1949]; 592s ***** assert (evstat (x, x), y0, 1e-4) 592s ***** assert (evstat (x, x+6), y1, 1e-4) 592s ***** assert (evstat (x, x-6), NaN (1,5)) 592s 8 tests, 8 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/chi2stat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/chi2stat.m 592s ***** test 592s n = 1:6; 592s [m, v] = chi2stat (n); 592s assert (m, n); 592s assert (v, [2, 4, 6, 8, 10, 12], 0.001); 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/nbinstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/nbinstat.m 592s ***** test 592s n = 1:4; 592s p = 0.2:0.2:0.8; 592s [m, v] = nbinstat (n, p); 592s expected_m = [ 4.0000, 3.0000, 2.0000, 1.0000]; 592s expected_v = [20.0000, 7.5000, 3.3333, 1.2500]; 592s assert (m, expected_m, 0.001); 592s assert (v, expected_v, 0.001); 592s ***** test 592s n = 1:4; 592s [m, v] = nbinstat (n, 0.5); 592s expected_m = [1, 2, 3, 4]; 592s expected_v = [2, 4, 6, 8]; 592s assert (m, expected_m, 0.001); 592s assert (v, expected_v, 0.001); 592s 2 tests, 2 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/raylstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/raylstat.m 592s ***** test 592s sigma = 1:6; 592s [m, v] = raylstat (sigma); 592s expected_m = [1.2533, 2.5066, 3.7599, 5.0133, 6.2666, 7.5199]; 592s expected_v = [0.4292, 1.7168, 3.8628, 6.8673, 10.7301, 15.4513]; 592s assert (m, expected_m, 0.001); 592s assert (v, expected_v, 0.001); 592s 1 test, 1 passed, 0 known failure, 0 skipped 592s [inst/dist_stat/nctstat.m] 592s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/nctstat.m 592s ***** error p = nctstat (); 592s ***** error p = nctstat (1); 592s ***** error p = nctstat ([4, 3], [3, 4, 5]); 592s ***** shared df, d1 592s df = [2, 0, -1, 1, 4]; 592s d1 = [1, NaN, 3, -1, 2]; 592s ***** assert (nctstat (df, d1), [1.7725, NaN, NaN, NaN, 2.5066], 1e-4); 592s ***** assert (nctstat ([df(1:2), df(4:5)], 1), [1.7725, NaN, NaN, 1.2533], 1e-4); 592s ***** assert (nctstat ([df(1:2), df(4:5)], 3), [5.3174, NaN, NaN, 3.7599], 1e-4); 592s ***** assert (nctstat ([df(1:2), df(4:5)], 2), [3.5449, NaN, NaN, 2.5066], 1e-4); 592s ***** assert (nctstat (2, [d1(1), d1(3:5)]), [1.7725,5.3174,-1.7725,3.5449], 1e-4); 592s ***** assert (nctstat (0, [d1(1), d1(3:5)]), [NaN, NaN, NaN, NaN]); 592s ***** assert (nctstat (1, [d1(1), d1(3:5)]), [NaN, NaN, NaN, NaN]); 592s ***** assert (nctstat (4, [d1(1), d1(3:5)]), [1.2533,3.7599,-1.2533,2.5066], 1e-4); 593s 11 tests, 11 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/unidstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/unidstat.m 593s ***** test 593s n = 1:6; 593s [m, v] = unidstat (n); 593s expected_m = [1.0000, 1.5000, 2.0000, 2.5000, 3.0000, 3.5000]; 593s expected_v = [0.0000, 0.2500, 0.6667, 1.2500, 2.0000, 2.9167]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/tstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/tstat.m 593s ***** test 593s n = 3:8; 593s [m, v] = tstat (n); 593s expected_m = [0, 0, 0, 0, 0, 0]; 593s expected_v = [3.0000, 2.0000, 1.6667, 1.5000, 1.4000, 1.3333]; 593s assert (m, expected_m); 593s assert (v, expected_v, 0.001); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/normstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/normstat.m 593s ***** test 593s m = 1:6; 593s s = 0.2:0.2:1.2; 593s [mn, v] = normstat (m, s); 593s expected_v = [0.0400, 0.1600, 0.3600, 0.6400, 1.0000, 1.4400]; 593s assert (mn, m); 593s assert (v, expected_v, 0.001); 593s ***** test 593s s = 0.2:0.2:1.2; 593s [mn, v] = normstat (0, s); 593s expected_mn = [0, 0, 0, 0, 0, 0]; 593s expected_v = [0.0400, 0.1600, 0.3600, 0.6400, 1.0000, 1.4400]; 593s assert (mn, expected_mn, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/expstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/expstat.m 593s ***** test 593s l = 1:6; 593s [m, v] = expstat (l); 593s assert (m, [1, 2, 3, 4, 5, 6], 0.001); 593s assert (v, [1, 4, 9, 16, 25, 36], 0.001); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/lognstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/lognstat.m 593s ***** test 593s mu = 0:0.2:1; 593s sigma = 0.2:0.2:1.2; 593s [m, v] = lognstat (mu, sigma); 593s expected_m = [1.0202, 1.3231, 1.7860, 2.5093, 3.6693, 5.5845]; 593s expected_v = [0.0425, 0.3038, 1.3823, 5.6447, 23.1345, 100.4437]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s ***** test 593s sigma = 0.2:0.2:1.2; 593s [m, v] = lognstat (0, sigma); 593s expected_m = [1.0202, 1.0833, 1.1972, 1.3771, 1.6487, 2.0544]; 593s expected_v = [0.0425, 0.2036, 0.6211, 1.7002, 4.6708, 13.5936]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/fstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/fstat.m 593s ***** test 593s m = 1:6; 593s n = 5:10; 593s [mn, v] = fstat (m, n); 593s expected_mn = [1.6667, 1.5000, 1.4000, 1.3333, 1.2857, 1.2500]; 593s expected_v = [22.2222, 6.7500, 3.4844, 2.2222, 1.5869, 1.2153]; 593s assert (mn, expected_mn, 0.001); 593s assert (v, expected_v, 0.001); 593s ***** test 593s m = 1:6; 593s [mn, v] = fstat (m, 5); 593s expected_mn = [1.6667, 1.6667, 1.6667, 1.6667, 1.6667, 1.6667]; 593s expected_v = [22.2222, 13.8889, 11.1111, 9.7222, 8.8889, 8.3333]; 593s assert (mn, expected_mn, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/geostat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/geostat.m 593s ***** test 593s p = 1 ./ (1:6); 593s [m, v] = geostat (p); 593s assert (m, [0, 1, 2, 3, 4, 5], 0.001); 593s assert (v, [0, 2, 6, 12, 20, 30], 0.001); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/wblstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/wblstat.m 593s ***** test 593s scale = 3:8; 593s shape = 1:6; 593s [m, v] = wblstat (scale, shape); 593s expected_m = [3.0000, 3.5449, 4.4649, 5.4384, 6.4272, 7.4218]; 593s expected_v = [9.0000, 3.4336, 2.6333, 2.3278, 2.1673, 2.0682]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s ***** test 593s shape = 1:6; 593s [m, v] = wblstat (6, shape); 593s expected_m = [ 6.0000, 5.3174, 5.3579, 5.4384, 5.5090, 5.5663]; 593s expected_v = [36.0000, 7.7257, 3.7920, 2.3278, 1.5923, 1.1634]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/ncx2stat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/ncx2stat.m 593s ***** error p = ncx2stat (); 593s ***** error p = ncx2stat (1); 593s ***** error p = ncx2stat ([4, 3], [3, 4, 5]); 593s ***** shared df, d1 593s df = [2, 0, -1, 1, 4]; 593s d1 = [1, NaN, 3, -1, 2]; 593s ***** assert (ncx2stat (df, d1), [3, NaN, NaN, NaN, 6]); 593s ***** assert (ncx2stat ([df(1:2), df(4:5)], 1), [3, NaN, 2, 5]); 593s ***** assert (ncx2stat ([df(1:2), df(4:5)], 3), [5, NaN, 4, 7]); 593s ***** assert (ncx2stat ([df(1:2), df(4:5)], 2), [4, NaN, 3, 6]); 593s ***** assert (ncx2stat (2, [d1(1), d1(3:5)]), [3, 5, NaN, 4]); 593s ***** assert (ncx2stat (0, [d1(1), d1(3:5)]), [NaN, NaN, NaN, NaN]); 593s ***** assert (ncx2stat (1, [d1(1), d1(3:5)]), [2, 4, NaN, 3]); 593s ***** assert (ncx2stat (4, [d1(1), d1(3:5)]), [5, 7, NaN, 6]); 593s 11 tests, 11 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/gamstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/gamstat.m 593s ***** test 593s a = 1:6; 593s b = 1:0.2:2; 593s [m, v] = gamstat (a, b); 593s expected_m = [1.00, 2.40, 4.20, 6.40, 9.00, 12.00]; 593s expected_v = [1.00, 2.88, 5.88, 10.24, 16.20, 24.00]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s ***** test 593s a = 1:6; 593s [m, v] = gamstat (a, 1.5); 593s expected_m = [1.50, 3.00, 4.50, 6.00, 7.50, 9.00]; 593s expected_v = [2.25, 4.50, 6.75, 9.00, 11.25, 13.50]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/betastat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/betastat.m 593s ***** test 593s a = -2:6; 593s b = 0.4:0.2:2; 593s [m, v] = betastat (a, b); 593s expected_m = [NaN NaN NaN 1/2 2/3.2 3/4.4 4/5.6 5/6.8 6/8]; 593s expected_v = [NaN NaN NaN 0.0833, 0.0558, 0.0402, 0.0309, 0.0250, 0.0208]; 593s assert (m, expected_m, eps*100); 593s assert (v, expected_v, 0.001); 593s ***** test 593s a = -2:1:6; 593s [m, v] = betastat (a, 1.5); 593s expected_m = [NaN NaN NaN 1/2.5 2/3.5 3/4.5 4/5.5 5/6.5 6/7.5]; 593s expected_v = [NaN NaN NaN 0.0686, 0.0544, 0.0404, 0.0305, 0.0237, 0.0188]; 593s assert (m, expected_m); 593s assert (v, expected_v, 0.001); 593s ***** test 593s a = [14 Inf 10 NaN 10]; 593s b = [12 9 NaN Inf 12]; 593s [m, v] = betastat (a, b); 593s expected_m = [14/26 NaN NaN NaN 10/22]; 593s expected_v = [168/18252 NaN NaN NaN 120/11132]; 593s assert (m, expected_m); 593s assert (v, expected_v); 593s ***** assert (nthargout (1:2, @betastat, 5, []), {[], []}) 593s ***** assert (nthargout (1:2, @betastat, [], 5), {[], []}) 593s ***** assert (nthargout (1:2, @betastat, "", 5), {[], []}) 593s ***** assert (nthargout (1:2, @betastat, true, 5), {1/6, 5/252}) 593s ***** assert (size (betastat (rand (10, 5, 4), rand (10, 5, 4))), [10 5 4]) 593s ***** assert (size (betastat (rand (10, 5, 4), 7)), [10 5 4]) 593s 9 tests, 9 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/poisstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/poisstat.m 593s ***** test 593s lambda = 1 ./ (1:6); 593s [m, v] = poisstat (lambda); 593s assert (m, lambda); 593s assert (v, lambda); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/unifstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/unifstat.m 593s ***** test 593s a = 1:6; 593s b = 2:2:12; 593s [m, v] = unifstat (a, b); 593s expected_m = [1.5000, 3.0000, 4.5000, 6.0000, 7.5000, 9.0000]; 593s expected_v = [0.0833, 0.3333, 0.7500, 1.3333, 2.0833, 3.0000]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s ***** test 593s a = 1:6; 593s [m, v] = unifstat (a, 10); 593s expected_m = [5.5000, 6.0000, 6.5000, 7.0000, 7.5000, 8.0000]; 593s expected_v = [6.7500, 5.3333, 4.0833, 3.0000, 2.0833, 1.3333]; 593s assert (m, expected_m, 0.001); 593s assert (v, expected_v, 0.001); 593s 2 tests, 2 passed, 0 known failure, 0 skipped 593s [inst/dist_stat/ncfstat.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_stat/ncfstat.m 593s ***** error p = ncfstat (); 593s ***** error p = ncfstat (1); 593s ***** error p = ncfstat (1, 2); 593s ***** error p = ncfstat (5, [4, 3], [3, 4, 5]); 593s ***** shared df1, df2, delta 593s df1 = [2, 0, -1, 1, 4, 5]; 593s df2 = [2, 4, -1, 5, 6, 7]; 593s delta = [1, NaN, 3, 0, 2, -1]; 593s ***** assert (ncfstat (df1, df2, delta), [NaN, NaN, NaN, 1.6667, 2.25, 1.12], 1e-4); 593s ***** assert (ncfstat (df1(4:6), df2(4:6), 1), [3.3333, 1.8750, 1.6800], 1e-4); 593s ***** assert (ncfstat (df1(4:6), df2(4:6), 2), [5.0000, 2.2500, 1.9600], 1e-4); 593s ***** assert (ncfstat (df1(4:6), df2(4:6), 3), [6.6667, 2.6250, 2.2400], 1e-4); 593s ***** assert (ncfstat (2, [df2(1), df2(4:6)], 5), [NaN,5.8333,5.2500,4.9000], 1e-4); 593s ***** assert (ncfstat (0, [df2(1), df2(4:6)], 5), [NaN, Inf, Inf, Inf]); 593s ***** assert (ncfstat (1, [df2(1), df2(4:6)], 5), [NaN, 10, 9, 8.4], 1e-14); 593s ***** assert (ncfstat (4, [df2(1), df2(4:6)], 5), [NaN, 3.75, 3.375, 3.15], 1e-14); 593s 12 tests, 12 passed, 0 known failure, 0 skipped 593s [inst/signtest.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/signtest.m 593s ***** error signtest (); 593s ***** error signtest ([]); 593s ***** error signtest (ones(1,10), ones(1,8)); 593s ***** error signtest (ones(1,10), ones(2,10)); 593s ***** error signtest (ones(2,10), 0); 593s ***** error signtest (ones(1,10), zeros(1,10), "alpha", 1.4) 593s ***** error signtest (ones(1,10), zeros(1,10), "tail", "<") 593s ***** error signtest (ones(1,10), zeros(1,10), "method", "some") 593s ***** test 593s [pval, h, stats] = signtest ([-ones(1, 1000) 1], 0, "tail", "left"); 593s assert (pval, 1.091701889420221e-218, 1e-14); 593s assert (h, 1); 593s assert (stats.zval, -31.5437631079266, 1e-14); 593s ***** test 593s [pval, h, stats] = signtest ([-2 -1 0 2 1 3 1], 0); 593s assert (pval, 0.6875000000000006, 1e-14); 593s assert (h, 0); 593s assert (stats.zval, NaN); 593s assert (stats.sign, 4); 593s ***** test 593s [pval, h, stats] = signtest ([-2 -1 0 2 1 3 1], 0, "method", "approximate"); 593s assert (pval, 0.6830913983096086, 1e-14); 593s assert (h, 0); 593s assert (stats.zval, 0.4082482904638631, 1e-14); 593s assert (stats.sign, 4); 593s 11 tests, 11 passed, 0 known failure, 0 skipped 593s [inst/kruskalwallis.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/kruskalwallis.m 593s ***** demo 593s x = meshgrid (1:6); 593s x = x + normrnd (0, 1, 6, 6); 593s kruskalwallis (x, [], 'off'); 593s ***** demo 593s x = meshgrid (1:6); 593s x = x + normrnd (0, 1, 6, 6); 593s [p, atab] = kruskalwallis(x); 593s ***** demo 593s x = ones (30, 4) .* [-2, 0, 1, 5]; 593s x = x + normrnd (0, 2, 30, 4); 593s group = {"A", "B", "C", "D"}; 593s kruskalwallis (x, group); 593s ***** test 593s data = [1.006, 0.996, 0.998, 1.000, 0.992, 0.993, 1.002, 0.999, 0.994, 1.000, ... 593s 0.998, 1.006, 1.000, 1.002, 0.997, 0.998, 0.996, 1.000, 1.006, 0.988, ... 593s 0.991, 0.987, 0.997, 0.999, 0.995, 0.994, 1.000, 0.999, 0.996, 0.996, ... 593s 1.005, 1.002, 0.994, 1.000, 0.995, 0.994, 0.998, 0.996, 1.002, 0.996, ... 593s 0.998, 0.998, 0.982, 0.990, 1.002, 0.984, 0.996, 0.993, 0.980, 0.996, ... 593s 1.009, 1.013, 1.009, 0.997, 0.988, 1.002, 0.995, 0.998, 0.981, 0.996, ... 593s 0.990, 1.004, 0.996, 1.001, 0.998, 1.000, 1.018, 1.010, 0.996, 1.002, ... 593s 0.998, 1.000, 1.006, 1.000, 1.002, 0.996, 0.998, 0.996, 1.002, 1.006, ... 593s 1.002, 0.998, 0.996, 0.995, 0.996, 1.004, 1.004, 0.998, 0.999, 0.991, ... 593s 0.991, 0.995, 0.984, 0.994, 0.997, 0.997, 0.991, 0.998, 1.004, 0.997]; 593s group = [1:10] .* ones (10,10); 593s group = group(:); 593s [p, tbl] = kruskalwallis (data, group, "off"); 593s assert (p, 0.048229, 1e-6); 593s assert (tbl{2,5}, 17.03124, 1e-5); 593s assert (tbl{2,3}, 9, 0); 593s assert (tbl{4,2}, 82655.5, 1e-16); 593s data = reshape (data, 10, 10); 593s [p, tbl, stats] = kruskalwallis (data, [], "off"); 593s assert (p, 0.048229, 1e-6); 593s assert (tbl{2,5}, 17.03124, 1e-5); 593s assert (tbl{2,3}, 9, 0); 593s assert (tbl{4,2}, 82655.5, 1e-16); 593s means = [51.85, 60.45, 37.6, 51.1, 29.5, 54.25, 64.55, 66.7, 53.65, 35.35]; 593s N = 10 * ones (1, 10); 593s assert (stats.meanranks, means, 1e-6); 593s assert (length (stats.gnames), 10, 0); 593s assert (stats.n, N, 0); 593s 1 test, 1 passed, 0 known failure, 0 skipped 593s [inst/cdfplot.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cdfplot.m 593s ***** demo 593s x = randn(100,1); 593s cdfplot (x); 593s ***** shared visibility_setting 593s visibility_setting = get (0, "DefaultFigureVisible"); 593s ***** test 593s set (0, "DefaultFigureVisible", "off"); 593s x = [2, 4, 3, 2, 4, 3, 2, 5, 6, 4]; 593s [hCDF, stats] = cdfplot (x); 593s assert (stats.min, 2); 593s assert (stats.max, 6); 593s assert (stats.median, 3.5); 593s assert (stats.std, 1.35400640077266, 1e-14); 593s set (0, "DefaultFigureVisible", visibility_setting); 593s ***** test 593s set (0, "DefaultFigureVisible", "off"); 593s x = randn(100,1); 593s cdfplot (x); 593s set (0, "DefaultFigureVisible", visibility_setting); 593s ***** error cdfplot (); 593s ***** error cdfplot ([x',x']); 593s ***** error cdfplot ([NaN, NaN, NaN, NaN]); 593s 5 tests, 5 passed, 0 known failure, 0 skipped 593s [inst/mhsample.m] 593s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/mhsample.m 593s ***** demo 593s ## Define function to sample 593s d = 2; 593s mu = [-1; 2]; 593s rand ("seed", 5) # for reproducibility 593s Sigma = rand (d); 593s Sigma = (Sigma + Sigma'); 593s Sigma += eye (d) * abs (eigs (Sigma, 1, "sa")) * 1.1; 593s pdf = @(x)(2*pi)^(-d/2)*det(Sigma)^-.5*exp(-.5*sum((x.'-mu).*(Sigma\(x.'-mu)),1)); 593s ## Inputs 593s start = ones (1, 2); 593s nsamples = 500; 593s sym = true; 593s K = 500; 593s m = 10; 593s rand ("seed", 8) # for reproducibility 593s proprnd = @(x) (rand (size (x)) - .5) * 3 + x; 593s [smpl, accept] = mhsample (start, nsamples, "pdf", pdf, "proprnd", proprnd, ... 593s "symmetric", sym, "burnin", K, "thin", m); 593s figure; 593s hold on; 593s plot (smpl(:, 1), smpl(:, 2), 'x'); 593s [x, y] = meshgrid (linspace (-6, 4), linspace(-3, 7)); 593s z = reshape (pdf ([x(:), y(:)]), size(x)); 593s mesh (x, y, z, "facecolor", "None"); 593s ## Using sample points to find the volume of half a sphere with radius of .5 593s f = @(x) ((.25-(x(:,1)+1).^2-(x(:,2)-2).^2).^.5.*(((x(:,1)+1).^2+(x(:,2)-2).^2)<.25)).'; 593s int = mean (f (smpl) ./ pdf (smpl)); 593s errest = std (f (smpl) ./ pdf (smpl)) / nsamples ^ .5; 593s trueerr = abs (2 / 3 * pi * .25 ^ (3 / 2) - int); 593s printf ("Monte Carlo integral estimate int f(x) dx = %f\n", int); 593s printf ("Monte Carlo integral error estimate %f\n", errest); 593s printf ("The actual error %f\n", trueerr); 593s mesh (x, y, reshape (f([x(:), y(:)]), size(x)), "facecolor", "None"); 593s ***** demo 593s ## Integrate truncated normal distribution to find normilization constant 593s pdf = @(x) exp (-.5*x.^2)/(pi^.5*2^.5); 593s nsamples = 1e3; 593s rand ("seed", 5) # for reproducibility 593s proprnd = @(x) (rand (size (x)) - .5) * 3 + x; 593s [smpl, accept] = mhsample (1, nsamples, "pdf", pdf, "proprnd", proprnd, ... 593s "symmetric", true, "thin", 4); 593s f = @(x) exp(-.5 * x .^ 2) .* (x >= -2 & x <= 2); 593s x = linspace (-3, 3, 1000); 593s area(x, f(x)); 593s xlabel ('x'); 593s ylabel ('f(x)'); 593s int = mean (f (smpl) ./ pdf (smpl)); 593s errest = std (f (smpl) ./ pdf (smpl)) / nsamples^ .5; 593s trueerr = abs (erf (2 ^ .5) * 2 ^ .5 * pi ^ .5 - int); 593s printf ("Monte Carlo integral estimate int f(x) dx = %f\n", int); 593s printf ("Monte Carlo integral error estimate %f\n", errest); 593s printf ("The actual error %f\n", trueerr); 593s ***** test 593s nchain = 1e4; 593s start = rand (nchain, 1); 593s nsamples = 1e3; 593s pdf = @(x) exp (-.5*(x-1).^2)/(2*pi)^.5; 593s proppdf = @(x, y) 1/3; 593s proprnd = @(x) 3 * (rand (size (x)) - .5) + x; 593s [smpl, accept] = mhsample (start, nsamples, "pdf", pdf, "proppdf", proppdf, ... 593s "proprnd", proprnd, "thin", 2, "nchain", nchain, ... 593s "burnin", 0); 593s assert (mean (mean (smpl, 1), 3), 1, .01); 593s assert (mean (var (smpl, 1), 3), 1, .01) 599s ***** error mhsample (); 599s ***** error mhsample (1); 599s ***** error mhsample (1, 1); 600s ***** error mhsample (1, 1, "pdf", @(x)x); 600s ***** error mhsample (1, 1, "pdf", @(x)x, "proprnd", @(x)x+rand(size(x))); 600s 6 tests, 6 passed, 0 known failure, 0 skipped 600s [inst/cl_multinom.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/cl_multinom.m 600s ***** demo 600s CL = cl_multinom ([27; 43; 19; 11], 10000, 0.05) 600s ***** error cl_multinom (); 600s ***** error cl_multinom (1, 2, 3, 4, 5); 600s ***** error ... 600s cl_multinom (1, 2, 3, 4); 600s ***** error ... 600s cl_multinom (1, 2, 3, "some string"); 600s 4 tests, 4 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/invgfit.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/invgfit.m 600s ***** demo 600s ## Sample 3 populations from different inverse Gaussian distibutions 600s rand ("seed", 5); randn ("seed", 5); # for reproducibility 600s r1 = invgrnd (1, 0.2, 2000, 1); 600s rand ("seed", 2); randn ("seed", 2); # for reproducibility 600s r2 = invgrnd (1, 3, 2000, 1); 600s rand ("seed", 7); randn ("seed", 7); # for reproducibility 600s r3 = invgrnd (3, 1, 2000, 1); 600s r = [r1, r2, r3]; 600s 600s ## Plot them normalized and fix their colors 600s hist (r, [0.1:0.1:3.2], 9); 600s h = findobj (gca, "Type", "patch"); 600s set (h(1), "facecolor", "c"); 600s set (h(2), "facecolor", "g"); 600s set (h(3), "facecolor", "r"); 600s ylim ([0, 3]); 600s xlim ([0, 3]); 600s hold on 600s 600s ## Estimate their MU and LAMBDA parameters 600s mu_lambdaA = invgfit (r(:,1)); 600s mu_lambdaB = invgfit (r(:,2)); 600s mu_lambdaC = invgfit (r(:,3)); 600s 600s ## Plot their estimated PDFs 600s x = [0:0.1:3]; 600s y = invgpdf (x, mu_lambdaA(1), mu_lambdaA(2)); 600s plot (x, y, "-pr"); 600s y = invgpdf (x, mu_lambdaB(1), mu_lambdaB(2)); 600s plot (x, y, "-sg"); 600s y = invgpdf (x, mu_lambdaC(1), mu_lambdaC(2)); 600s plot (x, y, "-^c"); 600s hold off 600s legend ({"Normalized HIST of sample 1 with μ=1 and λ=0.5", ... 600s "Normalized HIST of sample 2 with μ=2 and λ=0.3", ... 600s "Normalized HIST of sample 3 with μ=4 and λ=0.5", ... 600s sprintf("PDF for sample 1 with estimated μ=%0.2f and λ=%0.2f", ... 600s mu_lambdaA(1), mu_lambdaA(2)), ... 600s sprintf("PDF for sample 2 with estimated μ=%0.2f and λ=%0.2f", ... 600s mu_lambdaB(1), mu_lambdaB(2)), ... 600s sprintf("PDF for sample 3 with estimated μ=%0.2f and λ=%0.2f", ... 600s mu_lambdaC(1), mu_lambdaC(2))}) 600s title ("Three population samples from different inverse Gaussian distibutions") 600s hold off 600s ***** test 600s paramhat = invgfit ([1:50]); 600s paramhat_out = [25.5, 19.6973]; 600s assert (paramhat, paramhat_out, 1e-4); 600s ***** test 600s paramhat = invgfit ([1:5]); 600s paramhat_out = [3, 8.1081]; 600s assert (paramhat, paramhat_out, 1e-4); 600s ***** error invgfit (ones (2,5)); 600s ***** error invgfit ([-1 2 3 4]); 600s ***** error invgfit ([1, 2, 3, 4, 5], 1.2); 600s ***** error invgfit ([1, 2, 3, 4, 5], 0); 600s ***** error invgfit ([1, 2, 3, 4, 5], "alpha"); 600s ***** error ... 600s invgfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 600s ***** error ... 600s invgfit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 600s ***** error ... 600s invgfit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 600s ***** error ... 600s invgfit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 600s ***** error ... 600s invgfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 600s 12 tests, 12 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/gumbelfit.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gumbelfit.m 600s ***** demo 600s ## Sample 3 populations from different Gumbel distibutions 600s rand ("seed", 1); # for reproducibility 600s r1 = gumbelrnd (2, 5, 400, 1); 600s rand ("seed", 11); # for reproducibility 600s r2 = gumbelrnd (-5, 3, 400, 1); 600s rand ("seed", 16); # for reproducibility 600s r3 = gumbelrnd (14, 8, 400, 1); 600s r = [r1, r2, r3]; 600s 600s ## Plot them normalized and fix their colors 600s hist (r, 25, 0.32); 600s h = findobj (gca, "Type", "patch"); 600s set (h(1), "facecolor", "c"); 600s set (h(2), "facecolor", "g"); 600s set (h(3), "facecolor", "r"); 600s ylim ([0, 0.28]) 600s xlim ([-11, 50]); 600s hold on 600s 600s ## Estimate their MU and BETA parameters 600s mu_betaA = gumbelfit (r(:,1)); 600s mu_betaB = gumbelfit (r(:,2)); 600s mu_betaC = gumbelfit (r(:,3)); 600s 600s ## Plot their estimated PDFs 600s x = [min(r(:)):max(r(:))]; 600s y = gumbelpdf (x, mu_betaA(1), mu_betaA(2)); 600s plot (x, y, "-pr"); 600s y = gumbelpdf (x, mu_betaB(1), mu_betaB(2)); 600s plot (x, y, "-sg"); 600s y = gumbelpdf (x, mu_betaC(1), mu_betaC(2)); 600s plot (x, y, "-^c"); 600s legend ({"Normalized HIST of sample 1 with μ=2 and β=5", ... 600s "Normalized HIST of sample 2 with μ=-5 and β=3", ... 600s "Normalized HIST of sample 3 with μ=14 and β=8", ... 600s sprintf("PDF for sample 1 with estimated μ=%0.2f and β=%0.2f", ... 600s mu_betaA(1), mu_betaA(2)), ... 600s sprintf("PDF for sample 2 with estimated μ=%0.2f and β=%0.2f", ... 600s mu_betaB(1), mu_betaB(2)), ... 600s sprintf("PDF for sample 3 with estimated μ=%0.2f and β=%0.2f", ... 600s mu_betaC(1), mu_betaC(2))}) 600s title ("Three population samples from different Gumbel distibutions") 600s hold off 600s ***** test 600s x = 1:50; 600s [paramhat, paramci] = gumbelfit (x); 600s paramhat_out = [18.3188, 13.0509]; 600s paramci_out = [14.4882, 10.5294; 22.1495, 16.1763]; 600s assert (paramhat, paramhat_out, 1e-4); 600s assert (paramci, paramci_out, 1e-4); 600s ***** test 600s x = 1:50; 600s [paramhat, paramci] = gumbelfit (x, 0.01); 600s paramci_out = [13.2845, 9.8426; 23.3532, 17.3051]; 600s assert (paramci, paramci_out, 1e-4); 600s ***** error gumbelfit (ones (2,5)); 600s ***** error ... 600s gumbelfit (single (ones (1,5))); 600s ***** error ... 600s gumbelfit ([1, 2, 3, 4, NaN]); 600s ***** error gumbelfit ([1, 2, 3, 4, 5], 1.2); 600s ***** error ... 600s gumbelfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 600s ***** error ... 600s gumbelfit ([1, 2, 3, 4, 5], 0.05, [], [1 1 0]); 600s ***** error ... 600s gumbelfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 600s 9 tests, 9 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/gumbellike.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gumbellike.m 600s ***** test 600s x = 1:50; 600s [nlogL, avar] = gumbellike ([2.3, 1.2], x); 600s avar_out = [-1.2778e-13, 3.1859e-15; 3.1859e-15, -7.9430e-17]; 600s assert (nlogL, 3.242264755689906e+17, 1e-14); 600s assert (avar, avar_out, 1e-3); 600s ***** test 600s x = 1:50; 600s [nlogL, avar] = gumbellike ([2.3, 1.2], x * 0.5); 600s avar_out = [-7.6094e-05, 3.9819e-06; 3.9819e-06, -2.0836e-07]; 600s assert (nlogL, 481898704.0472211, 1e-6); 600s assert (avar, avar_out, 1e-3); 600s ***** test 600s x = 1:50; 600s [nlogL, avar] = gumbellike ([21, 15], x); 600s avar_out = [11.73913876598908, -5.9546128523121216; ... 600s -5.954612852312121, 3.708060045170236]; 600s assert (nlogL, 223.7612479380652, 1e-13); 600s assert (avar, avar_out, 1e-14); 600s ***** error gumbellike ([12, 15]); 600s ***** error gumbellike ([12, 15, 3], [1:50]); 600s ***** error gumbellike ([12, 3], ones (10, 2)); 600s ***** error gumbellike ([12, 15], [1:50], [1, 2, 3]); 600s ***** error gumbellike ([12, 15], [1:50], [], [1, 2, 3]); 600s 8 tests, 8 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/nbinlike.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/nbinlike.m 600s ***** assert (nbinlike ([2.42086, 0.0867043],[1:50]), 205.5942, 1e-4) 600s ***** assert (nbinlike ([3.58823, 0.254697], [1:20]), 63.6435, 1e-4) 600s ***** assert (nbinlike ([8.80671, 0.615565], [1:10]), 24.7410, 1e-4) 600s ***** assert (nbinlike ([22.1756, 0.831306], [1:8]), 17.9528, 1e-4) 600s ***** error nbinlike (3.25) 600s ***** error nbinlike ([5, 0.2], ones (2)) 600s ***** error nbinlike ([5, 0.2], [-1, 3]) 600s ***** error ... 600s nbinlike ([1, 0.2, 3], [1, 3, 5, 7]) 600s ***** error nbinlike ([-5, 0.2], [1:15]) 600s ***** error nbinlike ([0, 0.2], [1:15]) 600s ***** error nbinlike ([5, 1.2], [3, 5]) 600s ***** error nbinlike ([5, -0.2], [3, 5]) 600s 12 tests, 12 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/gevlike.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gevlike.m 600s ***** test 600s x = 1; 600s k = 0.2; 600s sigma = 0.3; 600s mu = 0.5; 600s [L, D, C] = gevlike ([k sigma mu], x); 600s expected_L = 0.75942; 600s expected_D = [0.53150; -0.67790; -2.40674]; 600s expected_C = [-0.12547 1.77884 1.06731; 1.77884 16.40761 8.48877; 1.06731 8.48877 0.27979]; 600s assert (L, expected_L, 0.001); 600s assert (D, expected_D, 0.001); 600s assert (C, inv (expected_C), 0.001); 600s ***** test 600s x = 1; 600s k = 0; 600s sigma = 0.3; 600s mu = 0.5; 600s [L, D, C] = gevlike ([k sigma mu], x); 600s expected_L = 0.65157; 600s expected_D = [0.54011; -1.17291; -2.70375]; 600s expected_C = [0.090036 3.41229 2.047337; 3.412229 24.760027 12.510190; 2.047337 12.510190 2.098618]; 600s assert (L, expected_L, 0.001); 600s assert (D, expected_D, 0.001); 600s assert (C, inv (expected_C), 0.001); 600s ***** test 600s x = -5:-1; 600s k = -0.2; 600s sigma = 0.3; 600s mu = 0.5; 600s [L, D, C] = gevlike ([k sigma mu], x); 600s expected_L = 3786.4; 600s expected_D = [6.4511e+04; -4.8194e+04; 3.0633e+03]; 600s expected_C = [1.6802e-07, 4.6110e-06, 8.7297e-05; ... 600s 4.6110e-06, 7.5693e-06, 1.2034e-05; ... 600s 8.7297e-05, 1.2034e-05, -0.0019125]; 600s assert (L, expected_L, -0.001); 600s assert (D, expected_D, -0.001); 600s assert (C, expected_C, -0.001); 600s ***** error gevlike (3.25) 600s ***** error gevlike ([1, 2, 3], ones (2)) 600s ***** error ... 600s gevlike ([1, 2], [1, 3, 5, 7]) 600s ***** error ... 600s gevlike ([1, 2, 3, 4], [1, 3, 5, 7]) 600s 7 tests, 7 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/hnfit.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/hnfit.m 600s ***** demo 600s ## Sample 2 populations from different half-normal distibutions 600s rand ("seed", 1); # for reproducibility 600s r1 = hnrnd (0, 5, 5000, 1); 600s rand ("seed", 2); # for reproducibility 600s r2 = hnrnd (0, 2, 5000, 1); 600s r = [r1, r2]; 600s 600s ## Plot them normalized and fix their colors 600s hist (r, [0.5:20], 1); 600s h = findobj (gca, "Type", "patch"); 600s set (h(1), "facecolor", "c"); 600s set (h(2), "facecolor", "g"); 600s hold on 600s 600s ## Estimate their shape parameters 600s mu_sigmaA = hnfit (r(:,1), 0); 600s mu_sigmaB = hnfit (r(:,2), 0); 600s 600s ## Plot their estimated PDFs 600s x = [0:0.2:10]; 600s y = hnpdf (x, mu_sigmaA(1), mu_sigmaA(2)); 600s plot (x, y, "-pr"); 600s y = hnpdf (x, mu_sigmaB(1), mu_sigmaB(2)); 600s plot (x, y, "-sg"); 600s xlim ([0, 10]) 600s ylim ([0, 0.5]) 600s legend ({"Normalized HIST of sample 1 with μ=0 and σ=5", ... 600s "Normalized HIST of sample 2 with μ=0 and σ=2", ... 600s sprintf("PDF for sample 1 with estimated μ=%0.2f and σ=%0.2f", ... 600s mu_sigmaA(1), mu_sigmaA(2)), ... 600s sprintf("PDF for sample 2 with estimated μ=%0.2f and σ=%0.2f", ... 600s mu_sigmaB(1), mu_sigmaB(2))}) 600s title ("Two population samples from different half-normal distibutions") 600s hold off 600s ***** test 600s x = 1:20; 600s [paramhat, paramci] = hnfit (x, 0); 600s assert (paramhat, [0, 11.9791], 1e-4); 600s assert (paramci, [0, 9.1648; 0, 17.2987], 1e-4); 600s ***** test 600s x = 1:20; 600s [paramhat, paramci] = hnfit (x, 0, 0.01); 600s assert (paramci, [0, 8.4709; 0, 19.6487], 1e-4); 600s ***** error hnfit () 600s ***** error hnfit (1) 600s ***** error hnfit ([0.2, 0.5+i], 0); 600s ***** error hnfit (ones (2,2) * 0.5, 0); 600s ***** error ... 600s hnfit ([0.5, 1.2], [0, 1]); 600s ***** error ... 600s hnfit ([0.5, 1.2], 5+i); 600s ***** error ... 600s hnfit ([1:5], 2); 600s ***** error hnfit ([0.01:0.1:0.99], 0, 1.2); 600s ***** error hnfit ([0.01:0.1:0.99], 0, i); 600s ***** error hnfit ([0.01:0.1:0.99], 0, -1); 600s ***** error hnfit ([0.01:0.1:0.99], 0, [0.05, 0.01]); 600s 13 tests, 13 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/binolike.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/binolike.m 600s ***** assert (binolike ([3, 0.333], [0:3]), 6.8302, 1e-4) 600s ***** assert (binolike ([3, 0.333], 0), 1.2149, 1e-4) 600s ***** assert (binolike ([3, 0.333], 1), 0.8109, 1e-4) 600s ***** assert (binolike ([3, 0.333], 2), 1.5056, 1e-4) 600s ***** assert (binolike ([3, 0.333], 3), 3.2988, 1e-4) 600s ***** test 600s [nlogL, acov] = binolike ([3, 0.333], 3); 600s assert (acov(4), 0.0740, 1e-4) 600s ***** error binolike (3.25) 600s ***** error binolike ([5, 0.2], ones (2)) 600s ***** error binolike ([5, 0.2], [-1, 3]) 600s ***** error ... 600s binolike ([1, 0.2, 3], [1, 3, 5, 7]) 600s ***** error binolike ([1.5, 0.2], 1) 600s ***** error binolike ([-1, 0.2], 1) 600s ***** error binolike ([Inf, 0.2], 1) 600s ***** error binolike ([5, 1.2], [3, 5]) 600s ***** error binolike ([5, -0.2], [3, 5]) 600s ***** error binolike ([5, 0.2], [3, 5, 7]) 600s 16 tests, 16 passed, 0 known failure, 0 skipped 600s [inst/dist_fit/raylfit.m] 600s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/raylfit.m 600s ***** demo 600s ## Sample 3 populations from 3 different Rayleigh distibutions 600s rand ("seed", 2); # for reproducibility 600s r1 = raylrnd (1, 1000, 1); 600s rand ("seed", 2); # for reproducibility 600s r2 = raylrnd (2, 1000, 1); 600s rand ("seed", 3); # for reproducibility 600s r3 = raylrnd (4, 1000, 1); 600s r = [r1, r2, r3]; 600s 600s ## Plot them normalized and fix their colors 600s hist (r, [0.5:0.5:10.5], 2); 600s h = findobj (gca, "Type", "patch"); 600s set (h(1), "facecolor", "c"); 600s set (h(2), "facecolor", "g"); 600s set (h(3), "facecolor", "r"); 600s hold on 600s 600s ## Estimate their lambda parameter 600s sigmaA = raylfit (r(:,1)); 600s sigmaB = raylfit (r(:,2)); 600s sigmaC = raylfit (r(:,3)); 600s 600s ## Plot their estimated PDFs 600s x = [0:0.1:10]; 600s y = raylpdf (x, sigmaA); 600s plot (x, y, "-pr"); 600s y = raylpdf (x, sigmaB); 600s plot (x, y, "-sg"); 600s y = raylpdf (x, sigmaC); 600s plot (x, y, "-^c"); 600s xlim ([0, 10]) 600s ylim ([0, 0.7]) 600s legend ({"Normalized HIST of sample 1 with σ=1", ... 600s "Normalized HIST of sample 2 with σ=2", ... 600s "Normalized HIST of sample 3 with σ=4", ... 600s sprintf("PDF for sample 1 with estimated σ=%0.2f", ... 600s sigmaA), ... 600s sprintf("PDF for sample 2 with estimated σ=%0.2f", ... 600s sigmaB), ... 600s sprintf("PDF for sample 3 with estimated σ=%0.2f", ... 600s sigmaC)}) 600s title ("Three population samples from different Rayleigh distibutions") 600s hold off 600s ***** test 600s x = [1 3 2 4 5 4 3 4]; 600s [shat, sci] = raylfit (x); 600s assert (shat, 2.4495, 1e-4) 600s assert (sci, [1.8243; 3.7279], 1e-4) 600s ***** test 600s x = [1 3 2 4 5 4 3 4]; 600s [shat, sci] = raylfit (x, 0.01); 600s assert (shat, 2.4495, 1e-4) 600s assert (sci, [1.6738; 4.3208], 1e-4) 600s ***** test 600s x = [1 2 3 4 5]; 600s f = [1 1 2 3 1]; 600s [shat, sci] = raylfit (x, [], [], f); 600s assert (shat, 2.4495, 1e-4) 600s assert (sci, [1.8243; 3.7279], 1e-4) 600s ***** test 600s x = [1 2 3 4 5]; 600s f = [1 1 2 3 1]; 600s [shat, sci] = raylfit (x, 0.01, [], f); 600s assert (shat, 2.4495, 1e-4) 600s assert (sci, [1.6738; 4.3208], 1e-4) 600s ***** test 600s x = [1 2 3 4 5 6]; 600s c = [0 0 0 0 0 1]; 600s f = [1 1 2 3 1 1]; 600s [shat, sci] = raylfit (x, 0.01, c, f); 600s assert (shat, 2.4495, 1e-4) 600s assert (sci, [1.6738; 4.3208], 1e-4) 600s ***** error raylfit (ones (2,5)); 601s ***** error raylfit ([1 2 -1 3]) 601s ***** error raylfit ([1 2 3], 0) 601s ***** error raylfit ([1 2 3], 1.2) 601s ***** error raylfit ([1 2 3], [0.02 0.05]) 601s ***** error ... 601s raylfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 601s ***** error ... 601s raylfit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 601s ***** error ... 601s raylfit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 601s ***** error ... 601s raylfit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 601s ***** error 601s raylfit ([1 2 3], [], [], [1 5]) 601s ***** error 601s raylfit ([1 2 3], [], [], [1 5 -1]) 601s 16 tests, 16 passed, 0 known failure, 0 skipped 601s [inst/dist_fit/nakafit.m] 601s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/nakafit.m 601s ***** demo 601s ## Sample 3 populations from different Nakagami distibutions 601s randg ("seed", 5) # for reproducibility 601s r1 = nakarnd (0.5, 1, 2000, 1); 601s randg ("seed", 2) # for reproducibility 601s r2 = nakarnd (5, 1, 2000, 1); 601s randg ("seed", 7) # for reproducibility 601s r3 = nakarnd (2, 2, 2000, 1); 601s r = [r1, r2, r3]; 601s 601s ## Plot them normalized and fix their colors 601s hist (r, [0.05:0.1:3.5], 10); 601s h = findobj (gca, "Type", "patch"); 601s set (h(1), "facecolor", "c"); 601s set (h(2), "facecolor", "g"); 601s set (h(3), "facecolor", "r"); 601s ylim ([0, 2.5]); 601s xlim ([0, 3.0]); 601s hold on 601s 601s ## Estimate their MU and LAMBDA parameters 601s mu_omegaA = nakafit (r(:,1)); 601s mu_omegaB = nakafit (r(:,2)); 601s mu_omegaC = nakafit (r(:,3)); 601s 601s ## Plot their estimated PDFs 601s x = [0.01:0.1:3.01]; 601s y = nakapdf (x, mu_omegaA(1), mu_omegaA(2)); 601s plot (x, y, "-pr"); 601s y = nakapdf (x, mu_omegaB(1), mu_omegaB(2)); 601s plot (x, y, "-sg"); 601s y = nakapdf (x, mu_omegaC(1), mu_omegaC(2)); 601s plot (x, y, "-^c"); 601s legend ({"Normalized HIST of sample 1 with μ=0.5 and ω=1", ... 601s "Normalized HIST of sample 2 with μ=5 and ω=1", ... 601s "Normalized HIST of sample 3 with μ=2 and ω=2", ... 601s sprintf("PDF for sample 1 with estimated μ=%0.2f and ω=%0.2f", ... 601s mu_omegaA(1), mu_omegaA(2)), ... 601s sprintf("PDF for sample 2 with estimated μ=%0.2f and ω=%0.2f", ... 601s mu_omegaB(1), mu_omegaB(2)), ... 601s sprintf("PDF for sample 3 with estimated μ=%0.2f and ω=%0.2f", ... 601s mu_omegaC(1), mu_omegaC(2))}) 601s title ("Three population samples from different Nakagami distibutions") 601s hold off 601s ***** test 601s paramhat = nakafit ([1:50]); 601s paramhat_out = [0.7355, 858.5]; 601s assert (paramhat, paramhat_out, 1e-4); 601s ***** test 601s paramhat = nakafit ([1:5]); 601s paramhat_out = [1.1740, 11]; 601s assert (paramhat, paramhat_out, 1e-4); 601s ***** test 601s paramhat = nakafit ([1:6], [], [], [1 1 1 1 1 0]); 601s paramhat_out = [1.1740, 11]; 601s assert (paramhat, paramhat_out, 1e-4); 601s ***** test 601s paramhat = nakafit ([1:5], [], [], [1 1 1 1 2]); 601s paramhat_out = nakafit ([1:5, 5]); 601s assert (paramhat, paramhat_out, 1e-4); 601s ***** error nakafit (ones (2,5)); 601s ***** error nakafit ([1, 2, 3, 4, 5], 1.2); 601s ***** error nakafit ([1, 2, 3, 4, 5], 0); 601s ***** error nakafit ([1, 2, 3, 4, 5], "alpha"); 601s ***** error ... 601s nakafit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 601s ***** error ... 601s nakafit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 601s ***** error ... 601s nakafit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 601s ***** error ... 601s nakafit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 601s ***** error ... 601s nakafit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 601s 13 tests, 13 passed, 0 known failure, 0 skipped 601s [inst/dist_fit/gpfit.m] 601s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gpfit.m 601s ***** demo 601s ## Sample 2 populations from different generalized Pareto distibutions 601s ## Assume location parameter is known 601s mu = 0; 601s rand ("seed", 5); # for reproducibility 601s r1 = gprnd (1, 2, mu, 20000, 1); 601s rand ("seed", 2); # for reproducibility 601s r2 = gprnd (3, 1, mu, 20000, 1); 601s r = [r1, r2]; 601s 601s ## Plot them normalized and fix their colors 601s hist (r, [0.1:0.2:100], 5); 601s h = findobj (gca, "Type", "patch"); 601s set (h(1), "facecolor", "r"); 601s set (h(2), "facecolor", "c"); 601s ylim ([0, 1]); 601s xlim ([0, 5]); 601s hold on 601s 601s ## Estimate their α and β parameters 601s k_sigmaA = gpfit (r(:,1)); 601s k_sigmaB = gpfit (r(:,2)); 601s 601s ## Plot their estimated PDFs 601s x = [0.01, 0.1:0.2:18]; 601s y = gppdf (x, k_sigmaA(1), k_sigmaA(2), mu); 601s plot (x, y, "-pc"); 601s y = gppdf (x, k_sigmaB(1), k_sigmaB(2), mu); 601s plot (x, y, "-sr"); 601s hold off 601s legend ({"Normalized HIST of sample 1 with k=1 and σ=2", ... 601s "Normalized HIST of sample 2 with k=2 and σ=2", ... 601s sprintf("PDF for sample 1 with estimated k=%0.2f and σ=%0.2f", ... 601s k_sigmaA(1), k_sigmaA(2)), ... 601s sprintf("PDF for sample 3 with estimated k=%0.2f and σ=%0.2f", ... 601s k_sigmaB(1), k_sigmaB(2))}) 601s title ("Three population samples from different generalized Pareto distibutions") 601s text (2, 0.7, "Known location parameter μ = 0") 601s hold off 601s ***** test 601s shape = 5; scale = 2; 601s x = gprnd (shape, scale, 0, 1, 100000); 601s [hat, ci] = gpfit (x); 601s assert (hat, [shape, scale], 1e-1); 601s assert (ci, [shape, scale; shape, scale], 2e-1); 601s ***** test 601s shape = 1; scale = 1; 601s x = gprnd (shape, scale, 0, 1, 100000); 601s [hat, ci] = gpfit (x); 601s assert (hat, [shape, scale], 1e-1); 601s assert (ci, [shape, scale; shape, scale], 1e-1); 602s ***** test 602s shape = 3; scale = 2; 602s x = gprnd (shape, scale, 0, 1, 100000); 602s [hat, ci] = gpfit (x); 602s assert (hat, [shape, scale], 1e-1); 602s assert (ci, [shape, scale; shape, scale], 1e-1); 602s ***** error gpfit (ones (2)) 602s ***** error gpfit ([-1, 2]) 602s ***** error gpfit ([0, 1, 2]) 602s ***** error gpfit ([1, 2], 0) 603s ***** error gpfit ([1, 2], 1.2) 603s ***** error ... 603s gpfit ([1:10], 0.05, 5) 603s 9 tests, 9 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/hnlike.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/hnlike.m 603s ***** test 603s x = 1:20; 603s paramhat = hnfit (x, 0); 603s [nlogL, acov] = hnlike (paramhat, x); 603s assert (nlogL, 64.179177404891300, 1e-14); 603s ***** error ... 603s hnlike ([12, 15]); 603s ***** error hnlike ([12, 15, 3], [1:50]); 603s ***** error hnlike ([3], [1:50]); 603s ***** error ... 603s hnlike ([0, 3], ones (2)); 603s ***** error ... 603s hnlike ([0, 3], [1, 2, 3, 4, 5+i]); 603s 6 tests, 6 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/expfit.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/expfit.m 603s ***** demo 603s ## Sample 3 populations from 3 different exponential distibutions 603s rande ("seed", 1); # for reproducibility 603s r1 = exprnd (2, 4000, 1); 603s rande ("seed", 2); # for reproducibility 603s r2 = exprnd (5, 4000, 1); 603s rande ("seed", 3); # for reproducibility 603s r3 = exprnd (12, 4000, 1); 603s r = [r1, r2, r3]; 603s 603s ## Plot them normalized and fix their colors 603s hist (r, 48, 0.52); 603s h = findobj (gca, "Type", "patch"); 603s set (h(1), "facecolor", "c"); 603s set (h(2), "facecolor", "g"); 603s set (h(3), "facecolor", "r"); 603s hold on 603s 603s ## Estimate their mu parameter 603s muhat = expfit (r); 603s 603s ## Plot their estimated PDFs 603s x = [0:max(r(:))]; 603s y = exppdf (x, muhat(1)); 603s plot (x, y, "-pr"); 603s y = exppdf (x, muhat(2)); 603s plot (x, y, "-sg"); 603s y = exppdf (x, muhat(3)); 603s plot (x, y, "-^c"); 603s ylim ([0, 0.6]) 603s xlim ([0, 40]) 603s legend ({"Normalized HIST of sample 1 with μ=2", ... 603s "Normalized HIST of sample 2 with μ=5", ... 603s "Normalized HIST of sample 3 with μ=12", ... 603s sprintf("PDF for sample 1 with estimated μ=%0.2f", muhat(1)), ... 603s sprintf("PDF for sample 2 with estimated μ=%0.2f", muhat(2)), ... 603s sprintf("PDF for sample 3 with estimated μ=%0.2f", muhat(3))}) 603s title ("Three population samples from different exponential distibutions") 603s hold off 603s ***** assert (expfit (1), 1) 603s ***** assert (expfit (1:3), 2) 603s ***** assert (expfit ([1:3]'), 2) 603s ***** assert (expfit (1:3, []), 2) 603s ***** assert (expfit (1:3, [], [], []), 2) 603s ***** assert (expfit (magic (3)), [5 5 5]) 603s ***** assert (expfit (cat (3, magic (3), 2*magic (3))), cat (3,[5 5 5], [10 10 10])) 603s ***** assert (expfit (1:3, 0.1, [0 0 0], [1 1 1]), 2) 603s ***** assert (expfit ([1:3]', 0.1, [0 0 0]', [1 1 1]'), 2) 603s ***** assert (expfit (1:3, 0.1, [0 0 0]', [1 1 1]'), 2) 603s ***** assert (expfit (1:3, 0.1, [1 0 0], [1 1 1]), 3) 603s ***** assert (expfit (1:3, 0.1, [0 0 0], [4 1 1]), 1.5) 603s ***** assert (expfit (1:3, 0.1, [1 0 0], [4 1 1]), 4.5) 603s ***** assert (expfit (1:3, 0.1, [1 0 1], [4 1 1]), 9) 603s ***** assert (expfit (1:3, 0.1, [], [-1 1 1]), 4) 603s ***** assert (expfit (1:3, 0.1, [], [0.5 1 1]), 2.2) 603s ***** assert (expfit (1:3, 0.1, [1 1 1]), NaN) 603s ***** assert (expfit (1:3, 0.1, [], [0 0 0]), NaN) 603s ***** assert (expfit (reshape (1:9, [3 3])), [2 5 8]) 603s ***** assert (expfit (reshape (1:9, [3 3]), [], eye(3)), [3 7.5 12]) 603s ***** assert (expfit (reshape (1:9, [3 3]), [], 2*eye(3)), [3 7.5 12]) 603s ***** assert (expfit (reshape (1:9, [3 3]), [], [], [2 2 2; 1 1 1; 1 1 1]), ... 603s [1.75 4.75 7.75]) 603s ***** assert (expfit (reshape (1:9, [3 3]), [], [], [2 2 2; 1 1 1; 1 1 1]), ... 603s [1.75 4.75 7.75]) 603s ***** assert (expfit (reshape (1:9, [3 3]), [], eye(3), [2 2 2; 1 1 1; 1 1 1]), ... 603s [3.5 19/3 31/3]) 603s ***** assert ([~,muci] = expfit (1:3, 0), [0; Inf]) 603s ***** assert ([~,muci] = expfit (1:3, 2), [Inf; 0]) 603s ***** assert ([~,muci] = expfit (1:3, 0.1, [1 1 1]), [NaN; NaN]) 603s ***** assert ([~,muci] = expfit (1:3, 0.1, [], [0 0 0]), [NaN; NaN]) 603s ***** assert ([~,muci] = expfit (1:3, -1), [NaN; NaN]) 603s ***** assert ([~,muci] = expfit (1:3, 5), [NaN; NaN]) 603s ***** assert ([~,muci] = expfit (1:3), [0.830485728373393; 9.698190330474096], ... 603s 1000*eps) 603s ***** assert ([~,muci] = expfit (1:3, 0.1), ... 603s [0.953017262058213; 7.337731146400207], 1000*eps) 603s ***** assert ([~,muci] = expfit ([1:3;2:4]), ... 603s [0.538440777613095, 0.897401296021825, 1.256361814430554; ... 603s 12.385982973214016, 20.643304955356694, 28.900626937499371], ... 603s 1000*eps) 603s ***** assert ([~,muci] = expfit ([1:3;2:4], [], [1 1 1; 0 0 0]), ... 603s 100*[0.008132550920455, 0.013554251534091, 0.018975952147727; ... 603s 1.184936706156216, 1.974894510260360, 2.764852314364504], ... 603s 1000*eps) 603s ***** assert ([~,muci] = expfit ([1:3;2:4], [], [], [3 3 3; 1 1 1]), ... 603s [0.570302756652583, 1.026544961974649, 1.482787167296715; ... 603s 4.587722594914109, 8.257900670845396, 11.928078746776684], ... 603s 1000*eps) 603s ***** assert ([~,muci] = expfit ([1:3;2:4], [], [0 0 0; 1 1 1], [3 3 3; 1 1 1]), ... 603s [0.692071440311161, 1.245728592560089, 1.799385744809018; ... 603s 8.081825275395081, 14.547285495711145, 21.012745716027212], ... 603s 1000*eps) 603s ***** test 603s x = reshape (1:8, [4 2]); 603s x(4) = NaN; 603s [muhat,muci] = expfit (x); 603s assert ({muhat, muci}, {[NaN, 6.5], ... 603s [NaN, 2.965574334593430;NaN, 23.856157493553368]}, 1000*eps); 603s ***** test 603s x = magic (3); 603s censor = [0 1 0; 0 1 0; 0 1 0]; 603s freq = [1 1 0; 1 1 0; 1 1 0]; 603s [muhat,muci] = expfit (x, [], censor, freq); 603s assert ({muhat, muci}, {[5 NaN NaN], ... 603s [[2.076214320933482; 24.245475826185242],NaN(2)]}, 1000*eps); 603s ***** error expfit () 603s ***** error expfit (1,2,3,4,5) 603s ***** error [a b censor] = expfit (1) 603s ***** error expfit (1, [1 2]) 603s ***** error expfit ([-1 2 3 4 5]) 603s ***** error expfit ([1:5], [], "test") 603s ***** error expfit ([1:5], [], [], "test") 603s ***** error expfit ([1:5], [], [0 0 0 0]) 603s ***** error expfit ([1:5], [], [], [1 1 1 1]) 603s 47 tests, 47 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/poisslike.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/poisslike.m 603s ***** test 603s x = [1 3 2 4 5 4 3 4]; 603s [nlogL, avar] = poisslike (3.25, x); 603s assert (nlogL, 13.9533, 1e-4) 603s ***** test 603s x = [1 2 3 4 5]; 603s f = [1 1 2 3 1]; 603s [nlogL, avar] = poisslike (3.25, x, f); 603s assert (nlogL, 13.9533, 1e-4) 603s ***** error poisslike (1) 603s ***** error poisslike ([1 2 3], [1 2]) 603s ***** error ... 603s poisslike (3.25, ones (10, 2)) 603s ***** error ... 603s poisslike (3.25, [1 2 3 -4 5]) 603s ***** error ... 603s poisslike (3.25, ones (10, 1), ones (8,1)) 603s ***** error ... 603s poisslike (3.25, ones (1, 8), [1 1 1 1 1 1 1 -1]) 603s 8 tests, 8 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/gplike.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gplike.m 603s ***** assert (gplike ([2, 3], 4), 3.047536764863501, 1e-14) 603s ***** assert (gplike ([1, 2], 4), 2.890371757896165, 1e-14) 603s ***** assert (gplike ([2, 3], [1:10]), 32.57864322725392, 1e-14) 603s ***** assert (gplike ([1, 2], [1:10]), 31.65666282460443, 1e-14) 603s ***** assert (gplike ([1, NaN], [1:10]), NaN) 603s ***** error gplike () 603s ***** error gplike (1) 603s ***** error gplike ([1, 2], []) 603s ***** error gplike ([1, 2], ones (2)) 603s ***** error gplike (2, [1:10]) 603s 10 tests, 10 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/lognfit.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/lognfit.m 603s ***** demo 603s ## Sample 3 populations from 3 different log-normal distibutions 603s randn ("seed", 1); # for reproducibility 603s r1 = lognrnd (0, 0.25, 1000, 1); 603s randn ("seed", 2); # for reproducibility 603s r2 = lognrnd (0, 0.5, 1000, 1); 603s randn ("seed", 3); # for reproducibility 603s r3 = lognrnd (0, 1, 1000, 1); 603s r = [r1, r2, r3]; 603s 603s ## Plot them normalized and fix their colors 603s hist (r, 30, 2); 603s h = findobj (gca, "Type", "patch"); 603s set (h(1), "facecolor", "c"); 603s set (h(2), "facecolor", "g"); 603s set (h(3), "facecolor", "r"); 603s hold on 603s 603s ## Estimate their mu and sigma parameters 603s mu_sigmaA = lognfit (r(:,1)); 603s mu_sigmaB = lognfit (r(:,2)); 603s mu_sigmaC = lognfit (r(:,3)); 603s 603s ## Plot their estimated PDFs 603s x = [0:0.1:6]; 603s y = lognpdf (x, mu_sigmaA(1), mu_sigmaA(2)); 603s plot (x, y, "-pr"); 603s y = lognpdf (x, mu_sigmaB(1), mu_sigmaB(2)); 603s plot (x, y, "-sg"); 603s y = lognpdf (x, mu_sigmaC(1), mu_sigmaC(2)); 603s plot (x, y, "-^c"); 603s ylim ([0, 2]) 603s xlim ([0, 6]) 603s hold off 603s legend ({"Normalized HIST of sample 1 with mu=0, σ=0.25", ... 603s "Normalized HIST of sample 2 with mu=0, σ=0.5", ... 603s "Normalized HIST of sample 3 with mu=0, σ=1", ... 603s sprintf("PDF for sample 1 with estimated mu=%0.2f and σ=%0.2f", ... 603s mu_sigmaA(1), mu_sigmaA(2)), ... 603s sprintf("PDF for sample 2 with estimated mu=%0.2f and σ=%0.2f", ... 603s mu_sigmaB(1), mu_sigmaB(2)), ... 603s sprintf("PDF for sample 3 with estimated mu=%0.2f and σ=%0.2f", ... 603s mu_sigmaC(1), mu_sigmaC(2))}, "location", "northeast") 603s title ("Three population samples from different log-normal distibutions") 603s hold off 603s ***** test 603s x = lognrnd (3, 5, [1000, 1]); 603s [paramhat, paramci] = lognfit (x, 0.01); 603s assert (paramci(1,1) < 3); 603s assert (paramci(1,2) > 3); 603s assert (paramci(2,1) < 5); 603s assert (paramci(2,2) > 5); 603s ***** error ... 603s lognfit (ones (20,3)) 603s ***** error ... 603s lognfit ({1, 2, 3, 4, 5}) 603s ***** error ... 603s lognfit ([-1, 2, 3, 4, 5]) 603s ***** error lognfit (ones (20,1), 0) 603s ***** error lognfit (ones (20,1), -0.3) 603s ***** error lognfit (ones (20,1), 1.2) 603s ***** error lognfit (ones (20,1), [0.05, 0.1]) 603s ***** error lognfit (ones (20,1), 0.02+i) 603s ***** error ... 603s lognfit (ones (20,1), [], zeros(15,1)) 603s ***** error ... 603s lognfit (ones (20,1), [], zeros(20,1), ones(25,1)) 603s ***** error lognfit (ones (20,1), [], zeros(20,1), ones(20,1), "options") 603s 12 tests, 12 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/geofit.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/geofit.m 603s ***** demo 603s ## Sample 2 populations from different geometric distibutions 603s rande ("seed", 1); # for reproducibility 603s r1 = geornd (0.15, 1000, 1); 603s rande ("seed", 2); # for reproducibility 603s r2 = geornd (0.5, 1000, 1); 603s r = [r1, r2]; 603s 603s ## Plot them normalized and fix their colors 603s hist (r, 0:0.5:20.5, 1); 603s h = findobj (gca, "Type", "patch"); 603s set (h(1), "facecolor", "c"); 603s set (h(2), "facecolor", "g"); 603s hold on 603s 603s ## Estimate their probability of success 603s pshatA = geofit (r(:,1)); 603s pshatB = geofit (r(:,2)); 603s 603s ## Plot their estimated PDFs 603s x = [0:15]; 603s y = geopdf (x, pshatA); 603s plot (x, y, "-pg"); 603s y = geopdf (x, pshatB); 603s plot (x, y, "-sc"); 603s xlim ([0, 15]) 603s ylim ([0, 0.6]) 603s legend ({"Normalized HIST of sample 1 with ps=0.15", ... 603s "Normalized HIST of sample 2 with ps=0.50", ... 603s sprintf("PDF for sample 1 with estimated ps=%0.2f", ... 603s mean (pshatA)), ... 603s sprintf("PDF for sample 2 with estimated ps=%0.2f", ... 603s mean (pshatB))}) 603s title ("Two population samples from different geometric distibutions") 603s hold off 603s ***** test 603s x = 0:5; 603s [pshat, psci] = geofit (x); 603s assert (pshat, 0.2857, 1e-4); 603s assert (psci, [0.092499; 0.478929], 1e-5); 603s ***** test 603s x = 0:5; 603s [pshat, psci] = geofit (x, [], [1 1 1 1 1 1]); 603s assert (pshat, 0.2857, 1e-4); 603s assert (psci, [0.092499; 0.478929], 1e-5); 603s ***** assert (geofit ([1 1 2 3]), geofit ([1 2 3], [] ,[2 1 1])) 603s ***** error geofit () 603s ***** error geofit (-1, [1 2 3 3]) 603s ***** error geofit (1, 0) 603s ***** error geofit (1, 1.2) 603s ***** error geofit (1, [0.02 0.05]) 603s ***** error ... 603s geofit ([1.5, 0.2], [], [0, 0, 0, 0, 0]) 603s ***** error ... 603s geofit ([1.5, 0.2], [], [1, 1, 1]) 603s 10 tests, 10 passed, 0 known failure, 0 skipped 603s [inst/dist_fit/logifit.m] 603s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/logifit.m 603s ***** demo 603s ## Sample 3 populations from different logistic distibutions 603s rand ("seed", 5) # for reproducibility 603s r1 = logirnd (2, 1, 2000, 1); 603s rand ("seed", 2) # for reproducibility 603s r2 = logirnd (5, 2, 2000, 1); 603s rand ("seed", 7) # for reproducibility 603s r3 = logirnd (9, 4, 2000, 1); 603s r = [r1, r2, r3]; 603s 603s ## Plot them normalized and fix their colors 603s hist (r, [-6:20], 1); 603s h = findobj (gca, "Type", "patch"); 603s set (h(1), "facecolor", "c"); 603s set (h(2), "facecolor", "g"); 603s set (h(3), "facecolor", "r"); 603s ylim ([0, 0.3]); 603s xlim ([-5, 20]); 603s hold on 603s 603s ## Estimate their MU and LAMBDA parameters 603s mu_sA = logifit (r(:,1)); 603s mu_sB = logifit (r(:,2)); 603s mu_sC = logifit (r(:,3)); 603s 603s ## Plot their estimated PDFs 603s x = [-5:0.5:20]; 603s y = logipdf (x, mu_sA(1), mu_sA(2)); 603s plot (x, y, "-pr"); 603s y = logipdf (x, mu_sB(1), mu_sB(2)); 603s plot (x, y, "-sg"); 603s y = logipdf (x, mu_sC(1), mu_sC(2)); 603s plot (x, y, "-^c"); 603s hold off 603s legend ({"Normalized HIST of sample 1 with μ=1 and s=0.5", ... 603s "Normalized HIST of sample 2 with μ=2 and s=0.3", ... 603s "Normalized HIST of sample 3 with μ=4 and s=0.5", ... 603s sprintf("PDF for sample 1 with estimated μ=%0.2f and s=%0.2f", ... 603s mu_sA(1), mu_sA(2)), ... 603s sprintf("PDF for sample 2 with estimated μ=%0.2f and s=%0.2f", ... 603s mu_sB(1), mu_sB(2)), ... 603s sprintf("PDF for sample 3 with estimated μ=%0.2f and s=%0.2f", ... 603s mu_sC(1), mu_sC(2))}) 603s title ("Three population samples from different logistic distibutions") 603s hold off 603s ***** test 603s paramhat = logifit ([1:50]); 603s paramhat_out = [25.5, 8.7724]; 603s assert (paramhat, paramhat_out, 1e-4); 603s ***** test 603s paramhat = logifit ([1:5]); 603s paramhat_out = [3, 0.8645]; 603s assert (paramhat, paramhat_out, 1e-4); 603s ***** test 603s paramhat = logifit ([1:6], [], [], [1 1 1 1 1 0]); 603s paramhat_out = [3, 0.8645]; 603s assert (paramhat, paramhat_out, 1e-4); 603s ***** test 603s paramhat = logifit ([1:5], [], [], [1 1 1 1 2]); 603s paramhat_out = logifit ([1:5, 5]); 603s assert (paramhat, paramhat_out, 1e-4); 604s ***** error logifit (ones (2,5)); 604s ***** error logifit ([1, 2, 3, 4, 5], 1.2); 604s ***** error logifit ([1, 2, 3, 4, 5], 0); 604s ***** error logifit ([1, 2, 3, 4, 5], "alpha"); 604s ***** error ... 604s logifit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 604s ***** error ... 604s logifit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 604s ***** error ... 604s logifit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 604s ***** error ... 604s logifit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 604s ***** error ... 604s logifit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 604s 13 tests, 13 passed, 0 known failure, 0 skipped 604s [inst/dist_fit/logilike.m] 604s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/logilike.m 604s ***** test 604s nlogL = logilike ([25.5, 8.7725], [1:50]); 604s assert (nlogL, 206.6769, 1e-4); 604s ***** test 604s nlogL = logilike ([3, 0.8645], [1:5]); 604s assert (nlogL, 9.0699, 1e-4); 604s ***** error logilike (3.25) 604s ***** error logilike ([5, 0.2], ones (2)) 604s ***** error ... 604s logilike ([1, 0.2, 3], [1, 3, 5, 7]) 604s ***** error ... 604s logilike ([1.5, 0.2], [1:5], [0, 0, 0]) 604s ***** error ... 604s logilike ([1.5, 0.2], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 604s ***** error ... 604s logilike ([1.5, 0.2], [1:5], [], [1, 1, 1]) 604s 8 tests, 8 passed, 0 known failure, 0 skipped 604s [inst/dist_fit/betafit.m] 604s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/betafit.m 604s ***** demo 604s ## Sample 2 populations from different Beta distibutions 604s randg ("seed", 1); # for reproducibility 604s r1 = betarnd (2, 5, 500, 1); 604s randg ("seed", 2); # for reproducibility 604s r2 = betarnd (2, 2, 500, 1); 604s r = [r1, r2]; 604s 604s ## Plot them normalized and fix their colors 604s hist (r, 12, 15); 604s h = findobj (gca, "Type", "patch"); 604s set (h(1), "facecolor", "c"); 604s set (h(2), "facecolor", "g"); 604s hold on 604s 604s ## Estimate their shape parameters 604s a_b_A = betafit (r(:,1)); 604s a_b_B = betafit (r(:,2)); 604s 604s ## Plot their estimated PDFs 604s x = [min(r(:)):0.01:max(r(:))]; 604s y = betapdf (x, a_b_A(1), a_b_A(2)); 604s plot (x, y, "-pr"); 604s y = betapdf (x, a_b_B(1), a_b_B(2)); 604s plot (x, y, "-sg"); 604s ylim ([0, 4]) 604s legend ({"Normalized HIST of sample 1 with α=2 and β=5", ... 604s "Normalized HIST of sample 2 with α=2 and β=2", ... 604s sprintf("PDF for sample 1 with estimated α=%0.2f and β=%0.2f", ... 604s a_b_A(1), a_b_A(2)), ... 604s sprintf("PDF for sample 2 with estimated α=%0.2f and β=%0.2f", ... 604s a_b_B(1), a_b_B(2))}) 604s title ("Two population samples from different Beta distibutions") 604s hold off 604s ***** test 604s x = 0.01:0.02:0.99; 604s [paramhat, paramci] = betafit (x); 604s paramhat_out = [1.0199, 1.0199]; 604s paramci_out = [0.6947, 0.6947; 1.4974, 1.4974]; 604s assert (paramhat, paramhat_out, 1e-4); 604s assert (paramci, paramci_out, 1e-4); 604s ***** test 604s x = 0.01:0.02:0.99; 604s [paramhat, paramci] = betafit (x, 0.01); 604s paramci_out = [0.6157, 0.6157; 1.6895, 1.6895]; 604s assert (paramci, paramci_out, 1e-4); 604s ***** test 604s x = 0.00:0.02:1; 604s [paramhat, paramci] = betafit (x); 604s paramhat_out = [0.0875, 0.1913]; 604s paramci_out = [0.0822, 0.1490; 0.0931, 0.2455]; 604s assert (paramhat, paramhat_out, 1e-4); 604s assert (paramci, paramci_out, 1e-4); 604s ***** error betafit ([0.2, 0.5+i]); 604s ***** error betafit (ones (2,2) * 0.5); 604s ***** error betafit ([0.5, 1.2]); 604s ***** error betafit ([0.1, 0.1]); 604s ***** error betafit ([0.01:0.1:0.99], 1.2); 604s 8 tests, 8 passed, 0 known failure, 0 skipped 604s [inst/dist_fit/normfit.m] 604s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/normfit.m 604s ***** demo 604s ## Sample 3 populations from 3 different normal distibutions 604s randn ("seed", 1); # for reproducibility 604s r1 = normrnd (2, 5, 5000, 1); 604s randn ("seed", 2); # for reproducibility 604s r2 = normrnd (5, 2, 5000, 1); 604s randn ("seed", 3); # for reproducibility 604s r3 = normrnd (9, 4, 5000, 1); 604s r = [r1, r2, r3]; 604s 604s ## Plot them normalized and fix their colors 604s hist (r, 15, 0.4); 604s h = findobj (gca, "Type", "patch"); 604s set (h(1), "facecolor", "c"); 604s set (h(2), "facecolor", "g"); 604s set (h(3), "facecolor", "r"); 604s hold on 604s 604s ## Estimate their mu and sigma parameters 604s [muhat, sigmahat] = normfit (r); 604s 604s ## Plot their estimated PDFs 604s x = [min(r(:)):max(r(:))]; 604s y = normpdf (x, muhat(1), sigmahat(1)); 604s plot (x, y, "-pr"); 604s y = normpdf (x, muhat(2), sigmahat(2)); 604s plot (x, y, "-sg"); 604s y = normpdf (x, muhat(3), sigmahat(3)); 604s plot (x, y, "-^c"); 604s ylim ([0, 0.5]) 604s xlim ([-20, 20]) 604s hold off 604s legend ({"Normalized HIST of sample 1 with mu=2, σ=5", ... 604s "Normalized HIST of sample 2 with mu=5, σ=2", ... 604s "Normalized HIST of sample 3 with mu=9, σ=4", ... 604s sprintf("PDF for sample 1 with estimated mu=%0.2f and σ=%0.2f", ... 604s muhat(1), sigmahat(1)), ... 604s sprintf("PDF for sample 2 with estimated mu=%0.2f and σ=%0.2f", ... 604s muhat(2), sigmahat(2)), ... 604s sprintf("PDF for sample 3 with estimated mu=%0.2f and σ=%0.2f", ... 604s muhat(3), sigmahat(3))}, "location", "northwest") 604s title ("Three population samples from different normal distibutions") 604s hold off 604s ***** test 604s load lightbulb 604s idx = find (lightbulb(:,2) == 0); 604s censoring = lightbulb(idx,3) == 1; 604s [muHat, sigmaHat] = normfit (lightbulb(idx,1), [], censoring); 604s assert (muHat, 9496.59586737857, 1e-11); 604s assert (sigmaHat, 3064.021012796456, 2e-12); 604s ***** test 604s x = normrnd (3, 5, [1000, 1]); 604s [muHat, sigmaHat, muCI, sigmaCI] = normfit (x, 0.01); 604s assert (muCI(1) < 3); 604s assert (muCI(2) > 3); 604s assert (sigmaCI(1) < 5); 604s assert (sigmaCI(2) > 5); 604s ***** error ... 604s normfit (ones (3,3,3)) 604s ***** error ... 604s normfit (ones (20,3), [], zeros (20,1)) 604s ***** error normfit (ones (20,1), 0) 604s ***** error normfit (ones (20,1), -0.3) 604s ***** error normfit (ones (20,1), 1.2) 604s ***** error normfit (ones (20,1), [0.05 0.1]) 604s ***** error normfit (ones (20,1), 0.02+i) 604s ***** error ... 604s normfit (ones (20,1), [], zeros(15,1)) 604s ***** error ... 604s normfit (ones (20,1), [], zeros(20,1), ones(25,1)) 604s ***** error normfit (ones (20,1), [], zeros(20,1), ones(20,1), "options") 604s 12 tests, 12 passed, 0 known failure, 0 skipped 604s [inst/dist_fit/wbllike.m] 604s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/wbllike.m 604s ***** test 604s x = 1:50; 604s [nlogL, acov] = wbllike ([2.3, 1.2], x); 604s avar_out = [0.0250, 0.0062; 0.0062, 0.0017]; 604s assert (nlogL, 945.9589180651594, 1e-12); 604s assert (acov, avar_out, 1e-4); 604s ***** test 604s x = 1:50; 604s [nlogL, acov] = wbllike ([2.3, 1.2], x * 0.5); 604s avar_out = [-0.3238, -0.1112; -0.1112, -0.0376]; 604s assert (nlogL, 424.9879809704742, 6e-14); 604s assert (acov, avar_out, 1e-4); 604s ***** test 604s x = 1:50; 604s [nlogL, acov] = wbllike ([21, 15], x); 604s avar_out = [-0.00001236, -0.00001166; -0.00001166, -0.00001009]; 604s assert (nlogL, 1635190.328991511, 1e-8); 604s assert (acov, avar_out, 1e-8); 604s ***** error wbllike ([12, 15]); 604s ***** error wbllike ([12, 15, 3], [1:50]); 604s ***** error wbllike ([12, 3], ones (10, 2)); 604s ***** error wbllike ([12, 15], [1:50], [1, 2, 3]); 604s ***** error wbllike ([12, 15], [1:50], [], [1, 2, 3]); 604s 8 tests, 8 passed, 0 known failure, 0 skipped 604s [inst/dist_fit/burrfit.m] 604s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/burrfit.m 604s ***** demo 604s ## Sample 3 populations from different Burr type XII distibutions 604s rand ("seed", 4); # for reproducibility 604s r1 = burrrnd (3.5, 2, 2.5, 10000, 1); 604s rand ("seed", 2); # for reproducibility 604s r2 = burrrnd (1, 3, 1, 10000, 1); 604s rand ("seed", 9); # for reproducibility 604s r3 = burrrnd (0.5, 2, 3, 10000, 1); 604s r = [r1, r2, r3]; 604s 604s ## Plot them normalized and fix their colors 604s hist (r, [0.1:0.2:20], [18, 5, 3]); 604s h = findobj (gca, "Type", "patch"); 604s set (h(1), "facecolor", "c"); 604s set (h(2), "facecolor", "g"); 604s set (h(3), "facecolor", "r"); 604s ylim ([0, 3]); 604s xlim ([0, 5]); 604s hold on 604s 604s ## Estimate their α and β parameters 604s lambda_c_kA = burrfit (r(:,1)); 604s lambda_c_kB = burrfit (r(:,2)); 604s lambda_c_kC = burrfit (r(:,3)); 604s 604s ## Plot their estimated PDFs 604s x = [0.01:0.15:15]; 604s y = burrpdf (x, lambda_c_kA(1), lambda_c_kA(2), lambda_c_kA(3)); 604s plot (x, y, "-pr"); 604s y = burrpdf (x, lambda_c_kB(1), lambda_c_kB(2), lambda_c_kB(3)); 604s plot (x, y, "-sg"); 604s y = burrpdf (x, lambda_c_kC(1), lambda_c_kC(2), lambda_c_kC(3)); 604s plot (x, y, "-^c"); 604s hold off 604s legend ({"Normalized HIST of sample 1 with λ=3.5, c=2, and k=2.5", ... 604s "Normalized HIST of sample 2 with λ=1, c=3, and k=1", ... 604s "Normalized HIST of sample 3 with λ=0.5, c=2, and k=3", ... 604s sprintf("PDF for sample 1 with estimated λ=%0.2f, c=%0.2f, and k=%0.2f", ... 604s lambda_c_kA(1), lambda_c_kA(2), lambda_c_kA(3)), ... 604s sprintf("PDF for sample 2 with estimated λ=%0.2f, c=%0.2f, and k=%0.2f", ... 604s lambda_c_kB(1), lambda_c_kB(2), lambda_c_kB(3)), ... 604s sprintf("PDF for sample 3 with estimated λ=%0.2f, c=%0.2f, and k=%0.2f", ... 604s lambda_c_kC(1), lambda_c_kC(2), lambda_c_kC(3))}) 604s title ("Three population samples from different Burr type XII distibutions") 604s hold off 604s ***** test 604s l = 1; c = 2; k = 3; 604s r = burrrnd (l, c, k, 100000, 1); 604s lambda_c_kA = burrfit (r); 604s assert (lambda_c_kA(1), l, 0.2); 604s assert (lambda_c_kA(2), c, 0.2); 604s assert (lambda_c_kA(3), k, 0.3); 607s ***** test 607s l = 0.5; c = 1; k = 3; 607s r = burrrnd (l, c, k, 100000, 1); 607s lambda_c_kA = burrfit (r); 607s assert (lambda_c_kA(1), l, 0.2); 607s assert (lambda_c_kA(2), c, 0.2); 607s assert (lambda_c_kA(3), k, 0.3); 609s ***** test 609s l = 1; c = 3; k = 1; 609s r = burrrnd (l, c, k, 100000, 1); 609s lambda_c_kA = burrfit (r); 609s assert (lambda_c_kA(1), l, 0.2); 609s assert (lambda_c_kA(2), c, 0.2); 609s assert (lambda_c_kA(3), k, 0.3); 612s ***** test 612s l = 3; c = 2; k = 1; 612s r = burrrnd (l, c, k, 100000, 1); 612s lambda_c_kA = burrfit (r); 612s assert (lambda_c_kA(1), l, 0.2); 612s assert (lambda_c_kA(2), c, 0.2); 612s assert (lambda_c_kA(3), k, 0.3); 614s ***** test 614s l = 4; c = 2; k = 4; 614s r = burrrnd (l, c, k, 100000, 1); 614s lambda_c_kA = burrfit (r); 614s assert (lambda_c_kA(1), l, 0.2); 614s assert (lambda_c_kA(2), c, 0.2); 614s assert (lambda_c_kA(3), k, 0.3); 617s ***** error burrfit (ones (2,5)); 617s ***** error burrfit ([-1 2 3 4]); 617s ***** error burrfit ([1, 2, 3, 4, 5], 1.2); 617s ***** error burrfit ([1, 2, 3, 4, 5], 0); 617s ***** error burrfit ([1, 2, 3, 4, 5], "alpha"); 617s ***** error ... 617s burrfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 617s ***** error ... 617s burrfit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 617s ***** error ... 617s burrfit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 617s ***** error ... 617s burrfit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 617s ***** error ... 617s burrfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 617s 15 tests, 15 passed, 0 known failure, 0 skipped 617s [inst/dist_fit/nakalike.m] 617s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/nakalike.m 617s ***** test 617s nlogL = nakalike ([0.735504, 858.5], [1:50]); 617s assert (nlogL, 202.8689, 1e-4); 617s ***** test 617s nlogL = nakalike ([1.17404, 11], [1:5]); 617s assert (nlogL, 8.6976, 1e-4); 617s ***** error nakalike (3.25) 617s ***** error nakalike ([5, 0.2], ones (2)) 617s ***** error ... 617s nakalike ([1, 0.2, 3], [1, 3, 5, 7]) 617s ***** error ... 617s nakalike ([1.5, 0.2], [1:5], [0, 0, 0]) 617s ***** error ... 617s nakalike ([1.5, 0.2], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 617s ***** error ... 617s nakalike ([1.5, 0.2], [1:5], [], [1, 1, 1]) 617s 8 tests, 8 passed, 0 known failure, 0 skipped 617s [inst/dist_fit/gamlike.m] 617s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gamlike.m 617s ***** test 617s [nlogL, acov] = gamlike([2, 3], [2, 3, 4, 5, 6, 7, 8, 9]); 617s assert (nlogL, 19.4426, 1e-4); 617s assert (acov, [2.7819, -5.0073; -5.0073, 9.6882], 1e-4); 617s ***** test 617s [nlogL, acov] = gamlike([2, 3], [5:45]); 617s assert (nlogL, 305.8070, 1e-4); 617s assert (acov, [0.0423, -0.0087; -0.0087, 0.0167], 1e-4); 617s ***** test 617s [nlogL, acov] = gamlike([2, 13], [5:45]); 617s assert (nlogL, 163.2261, 1e-4); 617s assert (acov, [0.2362, -1.6631; -1.6631, 13.9440], 1e-4); 617s ***** error ... 617s gamlike ([12, 15]) 617s ***** error gamlike ([12, 15, 3], [1:50]) 617s ***** error gamlike ([12, 3], ones (10, 2)) 617s ***** error ... 617s gamlike ([12, 15], [1:50], [1, 2, 3]) 617s ***** error ... 617s gamlike ([12, 15], [1:50], [], [1, 2, 3]) 617s 8 tests, 8 passed, 0 known failure, 0 skipped 617s [inst/dist_fit/gevfit.m] 617s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gevfit.m 617s ***** demo 617s ## Sample 2 populations from 2 different exponential distibutions 617s rand ("seed", 1); # for reproducibility 617s r1 = gevrnd (-0.5, 1, 2, 5000, 1); 617s rand ("seed", 2); # for reproducibility 617s r2 = gevrnd (0, 1, -4, 5000, 1); 617s r = [r1, r2]; 617s 617s ## Plot them normalized and fix their colors 617s hist (r, 50, 5); 617s h = findobj (gca, "Type", "patch"); 617s set (h(1), "facecolor", "c"); 617s set (h(2), "facecolor", "g"); 617s hold on 617s 617s ## Estimate their k, sigma, and mu parameters 617s k_sigma_muA = gevfit (r(:,1)); 617s k_sigma_muB = gevfit (r(:,2)); 617s 617s ## Plot their estimated PDFs 617s x = [-10:0.5:20]; 617s y = gevpdf (x, k_sigma_muA(1), k_sigma_muA(2), k_sigma_muA(3)); 617s plot (x, y, "-pr"); 617s y = gevpdf (x, k_sigma_muB(1), k_sigma_muB(2), k_sigma_muB(3)); 617s plot (x, y, "-sg"); 617s ylim ([0, 0.7]) 617s xlim ([-7, 5]) 617s legend ({"Normalized HIST of sample 1 with ξ=-0.5, σ=1, μ=2", ... 617s "Normalized HIST of sample 2 with ξ=0, σ=1, μ=-4", 617s sprintf("PDF for sample 1 with estimated ξ=%0.2f, σ=%0.2f, μ=%0.2f", ... 617s k_sigma_muA(1), k_sigma_muA(2), k_sigma_muA(3)), ... 617s sprintf("PDF for sample 3 with estimated ξ=%0.2f, σ=%0.2f, μ=%0.2f", ... 617s k_sigma_muB(1), k_sigma_muB(2), k_sigma_muB(3))}) 617s title ("Two population samples from different exponential distibutions") 617s hold off 617s ***** test 617s x = 1:50; 617s [pfit, pci] = gevfit (x); 617s pfit_out = [-0.4407, 15.1923, 21.5309]; 617s pci_out = [-0.7532, 11.5878, 16.5686; -0.1282, 19.9183, 26.4926]; 617s assert (pfit, pfit_out, 1e-3); 617s assert (pci, pci_out, 1e-3); 617s ***** test 617s x = 1:2:50; 617s [pfit, pci] = gevfit (x); 617s pfit_out = [-0.4434, 15.2024, 21.0532]; 617s pci_out = [-0.8904, 10.3439, 14.0168; 0.0035, 22.3429, 28.0896]; 617s assert (pfit, pfit_out, 1e-3); 617s assert (pci, pci_out, 1e-3); 617s ***** error gevfit (ones (2,5)); 617s ***** error gevfit ([1, 2, 3, 4, 5], 1.2); 617s ***** error gevfit ([1, 2, 3, 4, 5], 0); 617s ***** error gevfit ([1, 2, 3, 4, 5], "alpha"); 617s 6 tests, 6 passed, 0 known failure, 0 skipped 617s [inst/dist_fit/logllike.m] 617s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/logllike.m 617s ***** test 617s nlogL = logllike ([exp(3.09717), 1/0.468525], [1:50]); 617s assert (nlogL, 211.2965, 1e-4); 617s ***** test 617s nlogL = logllike ([exp(1.01124), 1/0.336449], [1:5]); 617s assert (nlogL, 9.2206, 1e-4); 617s ***** error logllike (3.25) 617s ***** error logllike ([5, 0.2], ones (2)) 617s ***** error ... 617s logllike ([1, 0.2, 3], [1, 3, 5, 7]) 617s ***** error ... 617s logllike ([1.5, 0.2], [1:5], [0, 0, 0]) 617s ***** error ... 617s logllike ([1.5, 0.2], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 617s ***** error ... 617s logllike ([1.5, 0.2], [1:5], [], [1, 1, 1]) 617s 8 tests, 8 passed, 0 known failure, 0 skipped 617s [inst/dist_fit/bisafit.m] 617s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/bisafit.m 617s ***** demo 617s ## Sample 3 populations from different Birnbaum-Saunders distibutions 617s rand ("seed", 5); # for reproducibility 617s r1 = bisarnd (1, 0.5, 2000, 1); 617s rand ("seed", 2); # for reproducibility 617s r2 = bisarnd (2, 0.3, 2000, 1); 617s rand ("seed", 7); # for reproducibility 617s r3 = bisarnd (4, 0.5, 2000, 1); 617s r = [r1, r2, r3]; 617s 617s ## Plot them normalized and fix their colors 617s hist (r, 80, 4.2); 617s h = findobj (gca, "Type", "patch"); 617s set (h(1), "facecolor", "c"); 617s set (h(2), "facecolor", "g"); 617s set (h(3), "facecolor", "r"); 617s ylim ([0, 1.1]); 617s xlim ([0, 8]); 617s hold on 617s 617s ## Estimate their α and β parameters 617s beta_gammaA = bisafit (r(:,1)); 617s beta_gammaB = bisafit (r(:,2)); 617s beta_gammaC = bisafit (r(:,3)); 617s 617s ## Plot their estimated PDFs 617s x = [0:0.1:8]; 617s y = bisapdf (x, beta_gammaA(1), beta_gammaA(2)); 617s plot (x, y, "-pr"); 617s y = bisapdf (x, beta_gammaB(1), beta_gammaB(2)); 617s plot (x, y, "-sg"); 617s y = bisapdf (x, beta_gammaC(1), beta_gammaC(2)); 617s plot (x, y, "-^c"); 617s hold off 617s legend ({"Normalized HIST of sample 1 with β=1 and γ=0.5", ... 617s "Normalized HIST of sample 2 with β=2 and γ=0.3", ... 617s "Normalized HIST of sample 3 with β=4 and γ=0.5", ... 617s sprintf("PDF for sample 1 with estimated β=%0.2f and γ=%0.2f", ... 617s beta_gammaA(1), beta_gammaA(2)), ... 617s sprintf("PDF for sample 2 with estimated β=%0.2f and γ=%0.2f", ... 617s beta_gammaB(1), beta_gammaB(2)), ... 617s sprintf("PDF for sample 3 with estimated β=%0.2f and γ=%0.2f", ... 617s beta_gammaC(1), beta_gammaC(2))}) 617s title ("Three population samples from different Birnbaum-Saunders distibutions") 617s hold off 617s ***** test 617s paramhat = bisafit ([1:50]); 617s paramhat_out = [16.2649, 1.0156]; 617s assert (paramhat, paramhat_out, 1e-4); 617s ***** test 617s paramhat = bisafit ([1:5]); 617s paramhat_out = [2.5585, 0.5839]; 617s assert (paramhat, paramhat_out, 1e-4); 617s ***** error bisafit (ones (2,5)); 617s ***** error bisafit ([-1 2 3 4]); 617s ***** error bisafit ([1, 2, 3, 4, 5], 1.2); 617s ***** error bisafit ([1, 2, 3, 4, 5], 0); 617s ***** error bisafit ([1, 2, 3, 4, 5], "alpha"); 617s ***** error ... 617s bisafit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 617s ***** error ... 617s bisafit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 617s ***** error ... 617s bisafit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 617s ***** error ... 617s bisafit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 617s ***** error ... 617s bisafit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 618s 12 tests, 12 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/lognlike.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/lognlike.m 618s ***** test 618s x = 1:50; 618s [nlogL, avar] = lognlike ([0, 0.25], x); 618s avar_out = [-5.4749e-03, 2.8308e-04; 2.8308e-04, -1.1916e-05]; 618s assert (nlogL, 3962.330333301793, 1e-10); 618s assert (avar, avar_out, 1e-7); 618s ***** test 618s x = 1:50; 618s [nlogL, avar] = lognlike ([0, 0.25], x * 0.5); 618s avar_out = [-7.6229e-03, 4.8722e-04; 4.8722e-04, -2.6754e-05]; 618s assert (nlogL, 2473.183051225747, 1e-10); 618s assert (avar, avar_out, 1e-7); 618s ***** test 618s x = 1:50; 618s [nlogL, avar] = lognlike ([0, 0.5], x); 618s avar_out = [-2.1152e-02, 2.2017e-03; 2.2017e-03, -1.8535e-04]; 618s assert (nlogL, 1119.072424020455, 1e-12); 618s assert (avar, avar_out, 1e-6); 618s ***** test 618s x = 1:50; 618s censor = ones (1, 50); 618s censor([2, 4, 6, 8, 12, 14]) = 0; 618s [nlogL, avar] = lognlike ([0, 0.5], x, censor); 618s avar_out = [-1.9823e-02, 2.0370e-03; 2.0370e-03, -1.6618e-04]; 618s assert (nlogL, 1091.746371145497, 1e-12); 618s assert (avar, avar_out, 1e-6); 618s ***** test 618s x = 1:50; 618s censor = ones (1, 50); 618s censor([2, 4, 6, 8, 12, 14]) = 0; 618s [nlogL, avar] = lognlike ([0, 1], x, censor); 618s avar_out = [-6.8634e-02, 1.3968e-02; 1.3968e-02, -2.1664e-03]; 618s assert (nlogL, 349.3969104144271, 1e-12); 618s assert (avar, avar_out, 1e-6); 618s ***** error ... 618s lognlike ([12, 15]); 618s ***** error lognlike ([12, 15], ones (2)); 618s ***** error ... 618s lognlike ([12, 15, 3], [1:50]); 618s ***** error ... 618s lognlike ([12, 15], [1:50], [1, 2, 3]); 618s ***** error ... 618s lognlike ([12, 15], [1:50], [], [1, 2, 3]); 618s 10 tests, 10 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/evfit.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/evfit.m 618s ***** demo 618s ## Sample 3 populations from different extreme value distibutions 618s rand ("seed", 1); # for reproducibility 618s r1 = evrnd (2, 5, 400, 1); 618s rand ("seed", 12); # for reproducibility 618s r2 = evrnd (-5, 3, 400, 1); 618s rand ("seed", 13); # for reproducibility 618s r3 = evrnd (14, 8, 400, 1); 618s r = [r1, r2, r3]; 618s 618s ## Plot them normalized and fix their colors 618s hist (r, 25, 0.4); 618s h = findobj (gca, "Type", "patch"); 618s set (h(1), "facecolor", "c"); 618s set (h(2), "facecolor", "g"); 618s set (h(3), "facecolor", "r"); 618s ylim ([0, 0.28]) 618s xlim ([-30, 30]); 618s hold on 618s 618s ## Estimate their MU and SIGMA parameters 618s mu_sigmaA = evfit (r(:,1)); 618s mu_sigmaB = evfit (r(:,2)); 618s mu_sigmaC = evfit (r(:,3)); 618s 618s ## Plot their estimated PDFs 618s x = [min(r(:)):max(r(:))]; 618s y = evpdf (x, mu_sigmaA(1), mu_sigmaA(2)); 618s plot (x, y, "-pr"); 618s y = evpdf (x, mu_sigmaB(1), mu_sigmaB(2)); 618s plot (x, y, "-sg"); 618s y = evpdf (x, mu_sigmaC(1), mu_sigmaC(2)); 618s plot (x, y, "-^c"); 618s legend ({"Normalized HIST of sample 1 with μ=2 and σ=5", ... 618s "Normalized HIST of sample 2 with μ=-5 and σ=3", ... 618s "Normalized HIST of sample 3 with μ=14 and σ=8", ... 618s sprintf("PDF for sample 1 with estimated μ=%0.2f and σ=%0.2f", ... 618s mu_sigmaA(1), mu_sigmaA(2)), ... 618s sprintf("PDF for sample 2 with estimated μ=%0.2f and σ=%0.2f", ... 618s mu_sigmaB(1), mu_sigmaB(2)), ... 618s sprintf("PDF for sample 3 with estimated μ=%0.2f and σ=%0.2f", ... 618s mu_sigmaC(1), mu_sigmaC(2))}) 618s title ("Three population samples from different extreme value distibutions") 618s hold off 618s ***** test 618s x = 1:50; 618s [paramhat, paramci] = evfit (x); 618s paramhat_out = [32.6811, 13.0509]; 618s paramci_out = [28.8504, 10.5294; 36.5118, 16.1763]; 618s assert (paramhat, paramhat_out, 1e-4); 618s assert (paramci, paramci_out, 1e-4); 618s ***** test 618s x = 1:50; 618s [paramhat, paramci] = evfit (x, 0.01); 618s paramci_out = [27.6468, 9.8426; 37.7155, 17.3051]; 618s assert (paramci, paramci_out, 1e-4); 618s ***** error evfit (ones (2,5)); 618s ***** error evfit (single (ones (1,5))); 618s ***** error evfit ([1, 2, 3, 4, NaN]); 618s ***** error evfit ([1, 2, 3, 4, 5], 1.2); 618s ***** error ... 618s evfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 618s ***** error ... 618s evfit ([1, 2, 3, 4, 5], 0.05, [], [1 1 0]); 618s ***** error evfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 618s 9 tests, 9 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/explike.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/explike.m 618s ***** test 618s x = 12; 618s beta = 5; 618s [L, V] = explike (beta, x); 618s expected_L = 4.0094; 618s expected_V = 6.5789; 618s assert (L, expected_L, 0.001); 618s assert (V, expected_V, 0.001); 618s ***** test 618s x = 1:5; 618s beta = 2; 618s [L, V] = explike (beta, x); 618s expected_L = 10.9657; 618s expected_V = 0.4; 618s assert (L, expected_L, 0.001); 618s assert (V, expected_V, 0.001); 618s ***** error explike () 618s ***** error explike (2) 618s ***** error explike ([12, 3], [1:50]) 618s ***** error explike (3, ones (10, 2)) 618s ***** error ... 618s explike (3, [1:50], [1, 2, 3]) 618s ***** error ... 618s explike (3, [1:50], [], [1, 2, 3]) 618s 8 tests, 8 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/poissfit.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/poissfit.m 618s ***** demo 618s ## Sample 3 populations from 3 different Poisson distibutions 618s randp ("seed", 2); # for reproducibility 618s r1 = poissrnd (1, 1000, 1); 618s randp ("seed", 2); # for reproducibility 618s r2 = poissrnd (4, 1000, 1); 618s randp ("seed", 3); # for reproducibility 618s r3 = poissrnd (10, 1000, 1); 618s r = [r1, r2, r3]; 618s 618s ## Plot them normalized and fix their colors 618s hist (r, [0:20], 1); 618s h = findobj (gca, "Type", "patch"); 618s set (h(1), "facecolor", "c"); 618s set (h(2), "facecolor", "g"); 618s set (h(3), "facecolor", "r"); 618s hold on 618s 618s ## Estimate their lambda parameter 618s lambdahat = poissfit (r); 618s 618s ## Plot their estimated PDFs 618s x = [0:20]; 618s y = poisspdf (x, lambdahat(1)); 618s plot (x, y, "-pr"); 618s y = poisspdf (x, lambdahat(2)); 618s plot (x, y, "-sg"); 618s y = poisspdf (x, lambdahat(3)); 618s plot (x, y, "-^c"); 618s xlim ([0, 20]) 618s ylim ([0, 0.4]) 618s legend ({"Normalized HIST of sample 1 with λ=1", ... 618s "Normalized HIST of sample 2 with λ=4", ... 618s "Normalized HIST of sample 3 with λ=10", ... 618s sprintf("PDF for sample 1 with estimated λ=%0.2f", ... 618s lambdahat(1)), ... 618s sprintf("PDF for sample 2 with estimated λ=%0.2f", ... 618s lambdahat(2)), ... 618s sprintf("PDF for sample 3 with estimated λ=%0.2f", ... 618s lambdahat(3))}) 618s title ("Three population samples from different Poisson distibutions") 618s hold off 618s ***** test 618s x = [1 3 2 4 5 4 3 4]; 618s [lhat, lci] = poissfit (x); 618s assert (lhat, 3.25) 618s assert (lci, [2.123007901949543; 4.762003010390628], 1e-14) 618s ***** test 618s x = [1 3 2 4 5 4 3 4]; 618s [lhat, lci] = poissfit (x, 0.01); 618s assert (lhat, 3.25) 618s assert (lci, [1.842572740234582; 5.281369033298528], 1e-14) 618s ***** test 618s x = [1 2 3 4 5]; 618s f = [1 1 2 3 1]; 618s [lhat, lci] = poissfit (x, [], f); 618s assert (lhat, 3.25) 618s assert (lci, [2.123007901949543; 4.762003010390628], 1e-14) 618s ***** test 618s x = [1 2 3 4 5]; 618s f = [1 1 2 3 1]; 618s [lhat, lci] = poissfit (x, 0.01, f); 618s assert (lhat, 3.25) 618s assert (lci, [1.842572740234582; 5.281369033298528], 1e-14) 618s ***** error poissfit ([1 2 -1 3]) 618s ***** error poissfit ([1 2 3], 0) 618s ***** error poissfit ([1 2 3], 1.2) 618s ***** error poissfit ([1 2 3], [0.02 0.05]) 618s ***** error 618s poissfit ([1 2 3], [], [1 5]) 618s ***** error 618s poissfit ([1 2 3], [], [1 5 -1]) 618s 10 tests, 10 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/burrlike.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/burrlike.m 618s ***** error burrlike (3.25) 618s ***** error burrlike ([1, 2, 3], ones (2)) 618s ***** error burrlike ([1, 2, 3], [-1, 3]) 618s ***** error ... 618s burrlike ([1, 2], [1, 3, 5, 7]) 618s ***** error ... 618s burrlike ([1, 2, 3, 4], [1, 3, 5, 7]) 618s ***** error ... 618s burrlike ([1, 2, 3], [1:5], [0, 0, 0]) 618s ***** error ... 618s burrlike ([1, 2, 3], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 618s ***** error ... 618s burrlike ([1, 2, 3], [1:5], [], [1, 1, 1]) 618s 8 tests, 8 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/gevfit_lmom.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gevfit_lmom.m 618s ***** xtest <31070> 618s data = 1:50; 618s [pfit, pci] = gevfit_lmom (data); 618s expected_p = [-0.28 15.01 20.22]'; 618s assert (pfit, expected_p, 0.1); 618s 1 test, 1 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/gamfit.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/gamfit.m 618s ***** demo 618s ## Sample 3 populations from different Gamma distibutions 618s randg ("seed", 5); # for reproducibility 618s r1 = gamrnd (1, 2, 2000, 1); 618s randg ("seed", 2); # for reproducibility 618s r2 = gamrnd (2, 2, 2000, 1); 618s randg ("seed", 7); # for reproducibility 618s r3 = gamrnd (7.5, 1, 2000, 1); 618s r = [r1, r2, r3]; 618s 618s ## Plot them normalized and fix their colors 618s hist (r, 75, 4); 618s h = findobj (gca, "Type", "patch"); 618s set (h(1), "facecolor", "c"); 618s set (h(2), "facecolor", "g"); 618s set (h(3), "facecolor", "r"); 618s ylim ([0, 0.62]); 618s xlim ([0, 12]); 618s hold on 618s 618s ## Estimate their α and β parameters 618s k_thetaA = gamfit (r(:,1)); 618s k_thetaB = gamfit (r(:,2)); 618s k_thetaC = gamfit (r(:,3)); 618s 618s ## Plot their estimated PDFs 618s x = [0.01,0.1:0.2:18]; 618s y = gampdf (x, k_thetaA(1), k_thetaA(2)); 618s plot (x, y, "-pr"); 618s y = gampdf (x, k_thetaB(1), k_thetaB(2)); 618s plot (x, y, "-sg"); 618s y = gampdf (x, k_thetaC(1), k_thetaC(2)); 618s plot (x, y, "-^c"); 618s hold off 618s legend ({"Normalized HIST of sample 1 with k=1 and θ=2", ... 618s "Normalized HIST of sample 2 with k=2 and θ=2", ... 618s "Normalized HIST of sample 3 with k=7.5 and θ=1", ... 618s sprintf("PDF for sample 1 with estimated k=%0.2f and θ=%0.2f", ... 618s k_thetaA(1), k_thetaA(2)), ... 618s sprintf("PDF for sample 2 with estimated k=%0.2f and θ=%0.2f", ... 618s k_thetaB(1), k_thetaB(2)), ... 618s sprintf("PDF for sample 3 with estimated k=%0.2f and θ=%0.2f", ... 618s k_thetaC(1), k_thetaC(2))}) 618s title ("Three population samples from different Gamma distibutions") 618s hold off 618s ***** shared x 618s x = [1.2 1.6 1.7 1.8 1.9 2.0 2.2 2.6 3.0 3.5 4.0 4.8 5.6 6.6 7.6]; 618s ***** test 618s [paramhat, paramci] = gamfit (x); 618s assert (paramhat, [3.4248, 0.9752], 1e-4); 618s assert (paramci, [1.7287, 0.4670; 6.7852, 2.0366], 1e-4); 618s ***** test 618s [paramhat, paramci] = gamfit (x, 0.01); 618s assert (paramhat, [3.4248, 0.9752], 1e-4); 618s assert (paramci, [1.3945, 0.3705; 8.4113, 2.5668], 1e-4); 618s ***** test 618s freq = [1 1 1 1 2 1 1 1 1 2 1 1 1 1 2]; 618s [paramhat, paramci] = gamfit (x, [], [], freq); 618s assert (paramhat, [3.3025, 1.0615], 1e-4); 618s assert (paramci, [1.7710, 0.5415; 6.1584, 2.0806], 1e-4); 618s ***** test 618s [paramhat, paramci] = gamfit (x, [], [], [1:15]); 618s assert (paramhat, [4.4484, 0.9689], 1e-4); 618s assert (paramci, [3.4848, 0.7482; 5.6785, 1.2546], 1e-4); 618s ***** test 618s [paramhat, paramci] = gamfit (x, 0.01, [], [1:15]); 618s assert (paramhat, [4.4484, 0.9689], 1e-4); 618s assert (paramci, [3.2275, 0.6899; 6.1312, 1.3608], 1e-4); 618s ***** test 618s cens = [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0]; 618s [paramhat, paramci] = gamfit (x, [], cens, [1:15]); 618s assert (paramhat, [4.7537, 0.9308], 1e-4); 618s assert (paramci, [3.7123, 0.7162; 6.0872, 1.2097], 1e-4); 618s ***** test 618s cens = [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0]; 618s freq = [1 1 1 1 2 1 1 1 1 2 1 1 1 1 2]; 618s [paramhat, paramci] = gamfit (x, [], cens, freq); 618s assert (paramhat, [3.4736, 1.0847], 1e-4); 618s assert (paramci, [1.8286, 0.5359; 6.5982, 2.1956], 1e-4); 618s ***** test 618s [paramhat, paramci] = gamfit ([1 1 1 1 1 1]); 618s assert (paramhat, [Inf, 0]); 618s assert (paramci, [Inf, 0; Inf, 0]); 618s ***** test 618s [paramhat, paramci] = gamfit ([1 1 1 1 1 1], [], [1 1 1 1 1 1]); 618s assert (paramhat, [NaN, NaN]); 618s assert (paramci, [NaN, NaN; NaN, NaN]); 618s ***** test 618s [paramhat, paramci] = gamfit ([1 1 1 1 1 1], [], [], [1 1 1 1 1 1]); 618s assert (paramhat, [Inf, 0]); 618s assert (paramci, [Inf, 0; Inf, 0]); 618s ***** assert (class (gamfit (single (x))), "single") 618s ***** error gamfit (ones (2)) 618s ***** error gamfit (x, 1) 618s ***** error gamfit (x, -1) 618s ***** error gamfit (x, {0.05}) 618s ***** error gamfit (x, "k") 618s ***** error gamfit (x, i) 618s ***** error gamfit (x, [0.01 0.02]) 618s ***** error gamfit (x, [], [1 1]) 618s ***** error gamfit (x, [], [], [1 1]) 618s ***** error gamfit ([1 2 3 -4]) 618s ***** error gamfit ([1 2 0], [], [1 0 0]) 618s 22 tests, 22 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/nbinfit.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/nbinfit.m 618s ***** demo 618s ## Sample 2 populations from different negative binomial distibutions 618s randp ("seed", 5); randg ("seed", 5); # for reproducibility 618s r1 = nbinrnd (2, 0.15, 5000, 1); 618s randp ("seed", 8); randg ("seed", 8); # for reproducibility 618s r2 = nbinrnd (5, 0.2, 5000, 1); 618s r = [r1, r2]; 618s 618s ## Plot them normalized and fix their colors 618s hist (r, [0:51], 1); 618s h = findobj (gca, "Type", "patch"); 618s set (h(1), "facecolor", "c"); 618s set (h(2), "facecolor", "g"); 618s hold on 618s 618s ## Estimate their probability of success 618s r_psA = nbinfit (r(:,1)); 618s r_psB = nbinfit (r(:,2)); 618s 618s ## Plot their estimated PDFs 618s x = [0:40]; 618s y = nbinpdf (x, r_psA(1), r_psA(2)); 618s plot (x, y, "-pg"); 618s x = [min(r(:,2)):max(r(:,2))]; 618s y = nbinpdf (x, r_psB(1), r_psB(2)); 618s plot (x, y, "-sc"); 618s ylim ([0, 0.1]) 618s xlim ([0, 50]) 618s legend ({"Normalized HIST of sample 1 with r=2 and ps=0.15", ... 618s "Normalized HIST of sample 2 with r=5 and ps=0.2", ... 618s sprintf("PDF for sample 1 with estimated r=%0.2f and ps=%0.2f", ... 618s r_psA(1), r_psA(2)), ... 618s sprintf("PDF for sample 2 with estimated r=%0.2f and ps=%0.2f", ... 618s r_psB(1), r_psB(2))}) 618s title ("Two population samples from negative different binomial distibutions") 618s hold off 618s ***** test 618s [paramhat, paramci] = nbinfit ([1:50]); 618s assert (paramhat, [2.420857, 0.086704], 1e-6); 618s assert (paramci(:,1), [1.382702; 3.459012], 1e-6); 618s assert (paramci(:,2), [0.049676; 0.123732], 1e-6); 618s ***** test 618s [paramhat, paramci] = nbinfit ([1:20]); 618s assert (paramhat, [3.588233, 0.254697], 1e-6); 618s assert (paramci(:,1), [0.451693; 6.724774], 1e-6); 618s assert (paramci(:,2), [0.081143; 0.428251], 1e-6); 618s ***** test 618s [paramhat, paramci] = nbinfit ([1:10]); 618s assert (paramhat, [8.8067, 0.6156], 1e-4); 618s assert (paramci(:,1), [0; 30.7068], 1e-4); 618s assert (paramci(:,2), [0.0217; 1], 1e-4); 618s ***** error nbinfit ([-1 2 3 3]) 618s ***** error nbinfit (ones (2)) 618s ***** error nbinfit ([1 2 1.2 3]) 618s ***** error nbinfit ([1 2 3], 0) 618s ***** error nbinfit ([1 2 3], 1.2) 618s ***** error nbinfit ([1 2 3], [0.02 0.05]) 618s ***** error ... 618s nbinfit ([1, 2, 3, 4, 5], 0.05, 2); 618s 10 tests, 10 passed, 0 known failure, 0 skipped 618s [inst/dist_fit/bisalike.m] 618s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/bisalike.m 618s ***** test 618s nlogL = bisalike ([16.2649, 1.0156], [1:50]); 618s assert (nlogL, 215.5905, 1e-4); 618s ***** test 618s nlogL = bisalike ([2.5585, 0.5839], [1:5]); 618s assert (nlogL, 8.9950, 1e-4); 619s ***** error bisalike (3.25) 619s ***** error bisalike ([5, 0.2], ones (2)) 619s ***** error bisalike ([5, 0.2], [-1, 3]) 619s ***** error ... 619s bisalike ([1, 0.2, 3], [1, 3, 5, 7]) 619s ***** error ... 619s bisalike ([1.5, 0.2], [1:5], [0, 0, 0]) 619s ***** error ... 619s bisalike ([1.5, 0.2], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 619s ***** error ... 619s bisalike ([1.5, 0.2], [1:5], [], [1, 1, 1]) 619s 9 tests, 9 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/loglfit.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/loglfit.m 619s ***** demo 619s ## Sample 3 populations from different log-logistic distibutions 619s rand ("seed", 5) # for reproducibility 619s r1 = loglrnd (1, 1, 2000, 1); 619s rand ("seed", 2) # for reproducibility 619s r2 = loglrnd (1, 2, 2000, 1); 619s rand ("seed", 7) # for reproducibility 619s r3 = loglrnd (1, 8, 2000, 1); 619s r = [r1, r2, r3]; 619s 619s ## Plot them normalized and fix their colors 619s hist (r, [0.05:0.1:2.5], 10); 619s h = findobj (gca, "Type", "patch"); 619s set (h(1), "facecolor", "c"); 619s set (h(2), "facecolor", "g"); 619s set (h(3), "facecolor", "r"); 619s ylim ([0, 3.5]); 619s xlim ([0, 2.0]); 619s hold on 619s 619s ## Estimate their MU and LAMBDA parameters 619s a_bA = loglfit (r(:,1)); 619s a_bB = loglfit (r(:,2)); 619s a_bC = loglfit (r(:,3)); 619s 619s ## Plot their estimated PDFs 619s x = [0.01:0.1:2.01]; 619s y = loglpdf (x, a_bA(1), a_bA(2)); 619s plot (x, y, "-pr"); 619s y = loglpdf (x, a_bB(1), a_bB(2)); 619s plot (x, y, "-sg"); 619s y = loglpdf (x, a_bC(1), a_bC(2)); 619s plot (x, y, "-^c"); 619s legend ({"Normalized HIST of sample 1 with α=1 and β=1", ... 619s "Normalized HIST of sample 2 with α=1 and β=2", ... 619s "Normalized HIST of sample 3 with α=1 and β=8", ... 619s sprintf("PDF for sample 1 with estimated α=%0.2f and β=%0.2f", ... 619s a_bA(1), a_bA(2)), ... 619s sprintf("PDF for sample 2 with estimated α=%0.2f and β=%0.2f", ... 619s a_bB(1), a_bB(2)), ... 619s sprintf("PDF for sample 3 with estimated α=%0.2f and β=%0.2f", ... 619s a_bC(1), a_bC(2))}) 619s title ("Three population samples from different log-logistic distibutions") 619s hold off 619s ***** test 619s paramhat = loglfit ([1:50]); 619s paramhat_out = [exp(3.097175), 1/0.468525]; 619s assert (paramhat, paramhat_out, 1e-4); 619s ***** test 619s paramhat = loglfit ([1:5]); 619s paramhat_out = [exp(1.01124), 1/0.336449]; 619s assert (paramhat, paramhat_out, 1e-4); 619s ***** test 619s paramhat = loglfit ([1:6], [], [], [1 1 1 1 1 0]); 619s paramhat_out = [exp(1.01124), 1/0.336449]; 619s assert (paramhat, paramhat_out, 1e-4); 619s ***** test 619s paramhat = loglfit ([1:5], [], [], [1 1 1 1 2]); 619s paramhat_out = loglfit ([1:5, 5]); 619s assert (paramhat, paramhat_out, 1e-4); 619s ***** error loglfit (ones (2,5)); 619s ***** error loglfit ([1, 2, 3, 4, 5], 1.2); 619s ***** error loglfit ([1, 2, 3, 4, 5], 0); 619s ***** error loglfit ([1, 2, 3, 4, 5], "alpha"); 619s ***** error ... 619s loglfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 619s ***** error ... 619s loglfit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 619s ***** error ... 619s loglfit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 619s ***** error ... 619s loglfit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 619s ***** error ... 619s loglfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 619s 13 tests, 13 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/binofit.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/binofit.m 619s ***** demo 619s ## Sample 2 populations from different binomial distibutions 619s rand ("seed", 1); # for reproducibility 619s r1 = binornd (50, 0.15, 1000, 1); 619s rand ("seed", 2); # for reproducibility 619s r2 = binornd (100, 0.5, 1000, 1); 619s r = [r1, r2]; 619s 619s ## Plot them normalized and fix their colors 619s hist (r, 23, 0.35); 619s h = findobj (gca, "Type", "patch"); 619s set (h(1), "facecolor", "c"); 619s set (h(2), "facecolor", "g"); 619s hold on 619s 619s ## Estimate their probability of success 619s pshatA = binofit (r(:,1), 50); 619s pshatB = binofit (r(:,2), 100); 619s 619s ## Plot their estimated PDFs 619s x = [min(r(:,1)):max(r(:,1))]; 619s y = binopdf (x, 50, mean (pshatA)); 619s plot (x, y, "-pg"); 619s x = [min(r(:,2)):max(r(:,2))]; 619s y = binopdf (x, 100, mean (pshatB)); 619s plot (x, y, "-sc"); 619s ylim ([0, 0.2]) 619s legend ({"Normalized HIST of sample 1 with ps=0.15", ... 619s "Normalized HIST of sample 2 with ps=0.50", ... 619s sprintf("PDF for sample 1 with estimated ps=%0.2f", ... 619s mean (pshatA)), ... 619s sprintf("PDF for sample 2 with estimated ps=%0.2f", ... 619s mean (pshatB))}) 619s title ("Two population samples from different binomial distibutions") 619s hold off 619s ***** test 619s x = 0:3; 619s [pshat, psci] = binofit (x, 3); 619s assert (pshat, [0, 0.3333, 0.6667, 1], 1e-4); 619s assert (psci(1,:), [0, 0.7076], 1e-4); 619s assert (psci(2,:), [0.0084, 0.9057], 1e-4); 619s assert (psci(3,:), [0.0943, 0.9916], 1e-4); 619s assert (psci(4,:), [0.2924, 1.0000], 1e-4); 619s ***** error ... 619s binofit ([1 2 3 4]) 619s ***** error binofit (-1, [1 2 3 3]) 619s ***** error binofit (1, [1 2 -1 3]) 619s ***** error binofit (1, [1 2 3], 0) 619s ***** error binofit (1, [1 2 3], 1.2) 619s ***** error binofit (1, [1 2 3], [0.02 0.05]) 619s 7 tests, 7 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/unifit.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/unifit.m 619s ***** demo 619s ## Sample 2 populations from different continuous uniform distibutions 619s rand ("seed", 5); # for reproducibility 619s r1 = unifrnd (2, 5, 2000, 1); 619s rand ("seed", 6); # for reproducibility 619s r2 = unifrnd (3, 9, 2000, 1); 619s r = [r1, r2]; 619s 619s ## Plot them normalized and fix their colors 619s hist (r, 0:0.5:10, 2); 619s h = findobj (gca, "Type", "patch"); 619s set (h(1), "facecolor", "c"); 619s set (h(2), "facecolor", "g"); 619s hold on 619s 619s ## Estimate their probability of success 619s a_bA = unifit (r(:,1)); 619s a_bB = unifit (r(:,2)); 619s 619s ## Plot their estimated PDFs 619s x = [0:10]; 619s y = unifpdf (x, a_bA(1), a_bA(2)); 619s plot (x, y, "-pg"); 619s y = unifpdf (x, a_bB(1), a_bB(2)); 619s plot (x, y, "-sc"); 619s xlim ([1, 10]) 619s ylim ([0, 0.5]) 619s legend ({"Normalized HIST of sample 1 with a=2 and b=5", ... 619s "Normalized HIST of sample 2 with a=3 and b=9", ... 619s sprintf("PDF for sample 1 with estimated a=%0.2f and b=%0.2f", ... 619s a_bA(1), a_bA(2)), ... 619s sprintf("PDF for sample 2 with estimated a=%0.2f and b=%0.2f", ... 619s a_bB(1), a_bB(2))}) 619s title ("Two population samples from different continuous uniform distibutions") 619s hold off 619s ***** test 619s x = 0:5; 619s [paramhat, paramci] = unifit (x); 619s assert (paramhat, [0, 5]); 619s assert (paramci, [-3.2377, 8.2377; 0, 5], 1e-4); 619s ***** test 619s x = 0:5; 619s [paramhat, paramci] = unifit (x, [], [1 1 1 1 1 1]); 619s assert (paramhat, [0, 5]); 619s assert (paramci, [-3.2377, 8.2377; 0, 5], 1e-4); 619s ***** assert (unifit ([1 1 2 3]), unifit ([1 2 3], [] ,[2 1 1])) 619s ***** error unifit () 619s ***** error unifit (-1, [1 2 3 3]) 619s ***** error unifit (1, 0) 619s ***** error unifit (1, 1.2) 619s ***** error unifit (1, [0.02 0.05]) 619s ***** error ... 619s unifit ([1.5, 0.2], [], [0, 0, 0, 0, 0]) 619s ***** error ... 619s unifit ([1.5, 0.2], [], [1, 1, 1]) 619s 10 tests, 10 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/betalike.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/betalike.m 619s ***** test 619s x = 0.01:0.02:0.99; 619s [nlogL, avar] = betalike ([2.3, 1.2], x); 619s avar_out = [0.03691678, 0.02803056; 0.02803056, 0.03965629]; 619s assert (nlogL, 17.873477715879040, 3e-14); 619s assert (avar, avar_out, 1e-7); 619s ***** test 619s x = 0.01:0.02:0.99; 619s [nlogL, avar] = betalike ([1, 4], x); 619s avar_out = [0.02793282, 0.02717274; 0.02717274, 0.03993361]; 619s assert (nlogL, 79.648061114839550, 1e-13); 619s assert (avar, avar_out, 1e-7); 619s ***** test 619s x = 0.00:0.02:1; 619s [nlogL, avar] = betalike ([1, 4], x); 619s avar_out = [0.00000801564765, 0.00000131397245; ... 619s 0.00000131397245, 0.00070827639442]; 619s assert (nlogL, 573.2008434477486, 1e-10); 619s assert (avar, avar_out, 1e-14); 619s ***** error ... 619s betalike ([12, 15]); 619s ***** error betalike ([12, 15, 3], [1:50]); 619s 5 tests, 5 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/unidfit.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/unidfit.m 619s ***** demo 619s ## Sample 2 populations from different discrete uniform distibutions 619s rand ("seed", 1); # for reproducibility 619s r1 = unidrnd (5, 1000, 1); 619s rand ("seed", 2); # for reproducibility 619s r2 = unidrnd (9, 1000, 1); 619s r = [r1, r2]; 619s 619s ## Plot them normalized and fix their colors 619s hist (r, 0:0.5:20.5, 1); 619s h = findobj (gca, "Type", "patch"); 619s set (h(1), "facecolor", "c"); 619s set (h(2), "facecolor", "g"); 619s hold on 619s 619s ## Estimate their probability of success 619s NhatA = unidfit (r(:,1)); 619s NhatB = unidfit (r(:,2)); 619s 619s ## Plot their estimated PDFs 619s x = [0:10]; 619s y = unidpdf (x, NhatA); 619s plot (x, y, "-pg"); 619s y = unidpdf (x, NhatB); 619s plot (x, y, "-sc"); 619s xlim ([0, 10]) 619s ylim ([0, 0.4]) 619s legend ({"Normalized HIST of sample 1 with N=5", ... 619s "Normalized HIST of sample 2 with N=9", ... 619s sprintf("PDF for sample 1 with estimated N=%0.2f", NhatA), ... 619s sprintf("PDF for sample 2 with estimated N=%0.2f", NhatB)}) 619s title ("Two population samples from different discrete uniform distibutions") 619s hold off 619s ***** test 619s x = 0:5; 619s [Nhat, Nci] = unidfit (x); 619s assert (Nhat, 5); 619s assert (Nci, [5; 9]); 619s ***** test 619s x = 0:5; 619s [Nhat, Nci] = unidfit (x, [], [1 1 1 1 1 1]); 619s assert (Nhat, 5); 619s assert (Nci, [5; 9]); 619s ***** assert (unidfit ([1 1 2 3]), unidfit ([1 2 3], [] ,[2 1 1])) 619s ***** error unidfit () 619s ***** error unidfit (-1, [1 2 3 3]) 619s ***** error unidfit (1, 0) 619s ***** error unidfit (1, 1.2) 619s ***** error unidfit (1, [0.02 0.05]) 619s ***** error ... 619s unidfit ([1.5, 0.2], [], [0, 0, 0, 0, 0]) 619s ***** error ... 619s unidfit ([1.5, 0.2], [], [1, 1, 1]) 619s 10 tests, 10 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/evlike.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/evlike.m 619s ***** test 619s x = 1:50; 619s [nlogL, acov] = evlike ([2.3, 1.2], x); 619s avar_out = [-1.2778e-13, 3.1859e-15; 3.1859e-15, -7.9430e-17]; 619s assert (nlogL, 3.242264755689906e+17, 1e-14); 619s assert (acov, avar_out, 1e-3); 619s ***** test 619s x = 1:50; 619s [nlogL, acov] = evlike ([2.3, 1.2], x * 0.5); 619s avar_out = [-7.6094e-05, 3.9819e-06; 3.9819e-06, -2.0836e-07]; 619s assert (nlogL, 481898704.0472211, 1e-6); 619s assert (acov, avar_out, 1e-3); 619s ***** test 619s x = 1:50; 619s [nlogL, acov] = evlike ([21, 15], x); 619s avar_out = [11.73913876598908, -5.9546128523121216; ... 619s -5.954612852312121, 3.708060045170236]; 619s assert (nlogL, 223.7612479380652, 1e-13); 619s assert (acov, avar_out, 1e-14); 619s ***** error evlike ([12, 15]) 619s ***** error evlike ([12, 15, 3], [1:50]) 619s ***** error evlike ([12, 3], ones (10, 2)) 619s ***** error ... 619s evlike ([12, 15], [1:50], [1, 2, 3]) 619s ***** error ... 619s evlike ([12, 15], [1:50], [], [1, 2, 3]) 619s 8 tests, 8 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/invglike.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/invglike.m 619s ***** test 619s nlogL = invglike ([25.5, 19.6973], [1:50]); 619s assert (nlogL, 219.1516, 1e-4); 619s ***** test 619s nlogL = invglike ([3, 8.1081], [1:5]); 619s assert (nlogL, 9.0438, 1e-4); 619s ***** error invglike (3.25) 619s ***** error invglike ([5, 0.2], ones (2)) 619s ***** error invglike ([5, 0.2], [-1, 3]) 619s ***** error ... 619s invglike ([1, 0.2, 3], [1, 3, 5, 7]) 619s ***** error ... 619s invglike ([1.5, 0.2], [1:5], [0, 0, 0]) 619s ***** error ... 619s invglike ([1.5, 0.2], [1:5], [0, 0, 0, 0, 0], [1, 1, 1]) 619s ***** error ... 619s invglike ([1.5, 0.2], [1:5], [], [1, 1, 1]) 619s 9 tests, 9 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/wblfit.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/wblfit.m 619s ***** demo 619s ## Sample 3 populations from 3 different Weibull distibutions 619s rande ("seed", 1); # for reproducibility 619s r1 = wblrnd(2, 4, 2000, 1); 619s rande ("seed", 2); # for reproducibility 619s r2 = wblrnd(5, 2, 2000, 1); 619s rande ("seed", 5); # for reproducibility 619s r3 = wblrnd(1, 5, 2000, 1); 619s r = [r1, r2, r3]; 619s 619s ## Plot them normalized and fix their colors 619s hist (r, 30, [2.5 2.1 3.2]); 619s h = findobj (gca, "Type", "patch"); 619s set (h(1), "facecolor", "c"); 619s set (h(2), "facecolor", "g"); 619s set (h(3), "facecolor", "r"); 619s ylim ([0, 2]); 619s xlim ([0, 10]); 619s hold on 619s 619s ## Estimate their lambda parameter 619s lambda_kA = wblfit (r(:,1)); 619s lambda_kB = wblfit (r(:,2)); 619s lambda_kC = wblfit (r(:,3)); 619s 619s ## Plot their estimated PDFs 619s x = [0:0.1:15]; 619s y = wblpdf (x, lambda_kA(1), lambda_kA(2)); 619s plot (x, y, "-pr"); 619s y = wblpdf (x, lambda_kB(1), lambda_kB(2)); 619s plot (x, y, "-sg"); 619s y = wblpdf (x, lambda_kC(1), lambda_kC(2)); 619s plot (x, y, "-^c"); 619s hold off 619s legend ({"Normalized HIST of sample 1 with λ=2 and k=4", ... 619s "Normalized HIST of sample 2 with λ=5 and k=2", ... 619s "Normalized HIST of sample 3 with λ=1 and k=5", ... 619s sprintf("PDF for sample 1 with estimated λ=%0.2f and k=%0.2f", ... 619s lambda_kA(1), lambda_kA(2)), ... 619s sprintf("PDF for sample 2 with estimated λ=%0.2f and k=%0.2f", ... 619s lambda_kB(1), lambda_kB(2)), ... 619s sprintf("PDF for sample 3 with estimated λ=%0.2f and k=%0.2f", ... 619s lambda_kC(1), lambda_kC(2))}) 619s title ("Three population samples from different Weibull distibutions") 619s hold off 619s ***** test 619s x = 1:50; 619s [paramhat, paramci] = wblfit (x); 619s paramhat_out = [28.3636, 1.7130]; 619s paramci_out = [23.9531, 1.3551; 33.5861, 2.1655]; 619s assert (paramhat, paramhat_out, 1e-4); 619s assert (paramci, paramci_out, 1e-4); 619s ***** test 619s x = 1:50; 619s [paramhat, paramci] = wblfit (x, 0.01); 619s paramci_out = [22.7143, 1.2589; 35.4179, 2.3310]; 619s assert (paramci, paramci_out, 1e-4); 619s ***** error wblfit (ones (2,5)); 619s ***** error wblfit ([-1 2 3 4]); 619s ***** error wblfit ([1, 2, 3, 4, 5], 1.2); 619s ***** error wblfit ([1, 2, 3, 4, 5], 0); 619s ***** error wblfit ([1, 2, 3, 4, 5], "alpha"); 619s ***** error ... 619s wblfit ([1, 2, 3, 4, 5], 0.05, [1 1 0]); 619s ***** error ... 619s wblfit ([1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 619s ***** error ... 619s wblfit ([1, 2, 3, 4, 5], 0.05, zeros (1,5), [1 1 0]); 619s ***** error ... 619s wblfit ([1, 2, 3, 4, 5], [], [], [1 1 0 1 1]'); 619s ***** error ... 619s wblfit ([1, 2, 3, 4, 5], 0.05, [], [], 2); 619s 12 tests, 12 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/normlike.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/normlike.m 619s ***** error normlike ([12, 15]); 619s ***** error normlike ([12, 15], ones (2)); 619s ***** error ... 619s normlike ([12, 15, 3], [1:50]); 619s ***** error ... 619s normlike ([12, 15], [1:50], [1, 2, 3]); 619s ***** error ... 619s normlike ([12, 15], [1:50], [], [1, 2, 3]); 619s ***** test 619s x = 1:50; 619s [nlogL, avar] = normlike ([2.3, 1.2], x); 619s avar_out = [7.5767e-01, -1.8850e-02; -1.8850e-02, 4.8750e-04]; 619s assert (nlogL, 13014.95883783327, 1e-10); 619s assert (avar, avar_out, 1e-4); 619s ***** test 619s x = 1:50; 619s [nlogL, avar] = normlike ([2.3, 1.2], x * 0.5); 619s avar_out = [3.0501e-01, -1.5859e-02; -1.5859e-02, 9.1057e-04]; 619s assert (nlogL, 2854.802587833265, 1e-10); 619s assert (avar, avar_out, 1e-4); 619s ***** test 619s x = 1:50; 619s [nlogL, avar] = normlike ([21, 15], x); 619s avar_out = [5.460474308300396, -1.600790513833993; ... 619s -1.600790513833993, 2.667984189723321]; 619s assert (nlogL, 206.738325604233, 1e-12); 619s assert (avar, avar_out, 1e-14); 619s ***** test 619s x = 1:50; 619s censor = ones (1, 50); 619s censor([2, 4, 6, 8, 12, 14]) = 0; 619s [nlogL, avar] = normlike ([2.3, 1.2], x, censor); 619s avar_out = [3.0501e-01, -1.5859e-02; -1.5859e-02, 9.1057e-04]; 619s assert (nlogL, Inf); 619s assert (avar, [NaN, NaN; NaN, NaN]); 619s ***** test 619s x = 1:50; 619s censor = ones (1, 50); 619s censor([2, 4, 6, 8, 12, 14]) = 0; 619s [nlogL, avar] = normlike ([21, 15], x, censor); 619s avar_out = [24.4824488866131, -10.6649544179636; ... 619s -10.6649544179636, 6.22827849965737]; 619s assert (nlogL, 86.9254371829733, 1e-12); 619s assert (avar, avar_out, 8e-14); 619s 10 tests, 10 passed, 0 known failure, 0 skipped 619s [inst/dist_fit/rayllike.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/dist_fit/rayllike.m 619s ***** test 619s x = [1 3 2 4 5 4 3 4]; 619s [nlogL, acov] = rayllike (3.25, x); 619s assert (nlogL, 14.7442, 1e-4) 619s ***** test 619s x = [1 2 3 4 5]; 619s f = [1 1 2 3 1]; 619s [nlogL, acov] = rayllike (3.25, x, [], f); 619s assert (nlogL, 14.7442, 1e-4) 619s ***** test 619s x = [1 2 3 4 5 6]; 619s f = [1 1 2 3 1 0]; 619s [nlogL, acov] = rayllike (3.25, x, [], f); 619s assert (nlogL, 14.7442, 1e-4) 619s ***** test 619s x = [1 2 3 4 5 6]; 619s c = [0 0 0 0 0 1]; 619s f = [1 1 2 3 1 0]; 619s [nlogL, acov] = rayllike (3.25, x, c, f); 619s assert (nlogL, 14.7442, 1e-4) 619s ***** error rayllike (1) 619s ***** error rayllike ([1 2 3], [1 2]) 619s ***** error ... 619s rayllike (3.25, ones (10, 2)) 619s ***** error ... 619s rayllike (3.25, [1 2 3 -4 5]) 619s ***** error ... 619s rayllike (3.25, [1, 2, 3, 4, 5], [1 1 0]); 619s ***** error ... 619s rayllike (3.25, [1, 2, 3, 4, 5], [1 1 0 1 1]'); 619s ***** error ... 619s rayllike (3.25, [1, 2, 3, 4, 5], zeros (1,5), [1 1 0]); 619s ***** error ... 619s rayllike (3.25, [1, 2, 3, 4, 5], [], [1 1 0 1 1]'); 619s ***** error ... 619s rayllike (3.25, ones (1, 8), [], [1 1 1 1 1 1 1 -1]) 619s 13 tests, 13 passed, 0 known failure, 0 skipped 619s [inst/sampsizepwr.m] 619s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/sampsizepwr.m 619s ***** demo 619s ## Compute the mean closest to 100 that can be determined to be 619s ## significantly different from 100 using a t-test with a sample size 619s ## of 60 and a power of 0.8. 619s mu1 = sampsizepwr ("t", [100, 10], [], 0.8, 60); 619s disp (mu1); 619s ***** demo 619s ## Compute the sample sizes required to distinguish mu0 = 100 from 619s ## mu1 = 110 by a two-sample t-test with a ratio of the larger and the 619s ## smaller sample sizes of 1.5 and a power of 0.6. 619s [N1,N2] = sampsizepwr ("t2", [100, 10], 110, 0.6, [], "ratio", 1.5) 619s ***** demo 619s ## Compute the sample size N required to distinguish p=.26 from p=.2 619s ## with a binomial test. The result is approximate, so make a plot to 619s ## see if any smaller N values also have the required power of 0.6. 619s Napprox = sampsizepwr ("p", 0.2, 0.26, 0.6); 619s nn = 1:250; 619s pwr = sampsizepwr ("p", 0.2, 0.26, [], nn); 619s Nexact = min (nn(pwr >= 0.6)); 619s plot(nn,pwr,'b-', [Napprox Nexact],pwr([Napprox Nexact]),'ro'); 619s grid on 619s ***** demo 619s ## The company must test 52 bottles to detect the difference between a mean 619s ## volume of 100 mL and 102 mL with a power of 0.80. Generate a power curve 619s ## to visualize how the sample size affects the power of the test. 619s 619s nout = sampsizepwr('t',[100 5],102,0.80); 619s nn = 1:100; 619s pwrout = sampsizepwr('t',[100 5],102,[],nn); 619s 619s figure; 619s plot (nn, pwrout, "b-", nout, 0.8, "ro") 619s title ("Power versus Sample Size") 619s xlabel ("Sample Size") 619s ylabel ("Power") 619s ***** error ... 619s out = sampsizepwr ([], [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr (3, [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ({"t", "t2"}, [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("reg", [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("t", ["a", "e"], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("z", 100, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("t", 100, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("t2", 60, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("var", [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("p", [100, 10], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", [100, 10], [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("z", [100, 10], [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("t", [100, 10], [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("var", 2, [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("p", 0.1, [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("r", 0.5, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 0], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("z", [100, -5], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("t", [100, 0], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("t", [100, -5], [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("t2", [100, 0], [], 0.8, 60); 619s ***** error ... 619s [out, N1] = sampsizepwr ("t2", [100, -5], [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("var", 0, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("var", -5, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("p", 0, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("p", 1.2, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", -1.5, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", -1, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", 1.2, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", 0, [], 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "alpha", -0.2); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "alpha", 0); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "alpha", 1.5); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "alpha", "zero"); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "tail", 1.5); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "tail", {"both", "left"}); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "tail", "other"); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "ratio", "some"); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "ratio", 0.5); 619s ***** error ... 619s out = sampsizepwr ("r", 0.2, [], 0.8, 60, "ratio", [2, 1.3, 0.3]); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], [], [], 60); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], 110, [], []); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], [], 0.8, []); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], 110, 0.8, 60); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], "mu", [], 60); 619s ***** error ... 619s out = sampsizepwr ("var", 5, -1, [], 60); 619s ***** error ... 619s out = sampsizepwr ("p", 0.8, 1.2, [], 60, "tail", "right"); 619s ***** error ... 619s out = sampsizepwr ("r", 0.8, 1.2, [], 60); 619s ***** error ... 619s out = sampsizepwr ("r", 0.8, -1.2, [], 60); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], 110, 1.2); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], 110, 0); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], 110, 0.05, [], "alpha", 0.1); 619s ***** error ... 619s out = sampsizepwr ("z", [100, 5], [], [0.8, 0.7], [60, 80, 100]); 619s ***** error ... 619s out = sampsizepwr ("t", [100, 5], 100, 0.8, []); 619s ***** error ... 619s out = sampsizepwr ("t", [100, 5], 110, 0.8, [], "tail", "left"); 619s ***** error ... 619s out = sampsizepwr ("t", [100, 5], 90, 0.8, [], "tail", "right"); 619s ***** warning ... 619s Napprox = sampsizepwr ("p", 0.2, 0.26, 0.6); 619s ***** warning ... 619s Napprox = sampsizepwr ("p", 0.30, 0.36, 0.8); 620s ***** test 620s mu1 = sampsizepwr ("t", [100, 10], [], 0.8, 60); 620s assert (mu1, 103.67704316, 1e-8); 620s ***** test 620s [N1,N2] = sampsizepwr ("t2", [100, 10], 110, 0.6, [], "ratio", 1.5); 620s assert (N1, 9); 620s assert (N2, 14); 621s ***** test 621s nn = 1:250; 621s pwr = sampsizepwr ("p", 0.2, 0.26, [], nn); 621s pwr_out = [0, 0.0676, 0.0176, 0.0566, 0.0181, 0.0431, 0.0802, 0.0322]; 621s assert (pwr([1:8]), pwr_out, 1e-4 * ones (1,8)); 621s pwr_out = [0.59275, 0.6073, 0.62166, 0.6358, 0.6497, 0.6087, 0.6229, 0.6369]; 621s assert (pwr([243:end]), pwr_out, 1e-4 * ones (1,8)); 621s ***** test 621s nout = sampsizepwr ("t", [100, 5], 102, 0.80); 621s assert (nout, 52); 621s ***** test 621s power = sampsizepwr ("t", [20, 5], 25, [], 5, "Tail", "right"); 621s assert (power, 0.5797373588621888, 1e-14); 621s ***** test 621s nout = sampsizepwr ("t", [20, 5], 25, 0.99, [], "Tail", "right"); 621s assert (nout, 18); 621s ***** test 621s p1out = sampsizepwr ("t", [20, 5], [], 0.95, 10, "Tail", "right"); 621s assert (p1out, 25.65317979360237, 1e-14); 621s ***** test 621s pwr = sampsizepwr ("t2", [1.4, 0.2], 1.7, [], 5, "Ratio", 2); 621s assert (pwr, 0.716504004686586, 1e-14); 621s ***** test 621s n = sampsizepwr ("t2", [1.4, 0.2], 1.7, 0.9, []); 621s assert (n, 11); 622s ***** test 622s [n1, n2] = sampsizepwr ("t2", [1.4, 0.2], 1.7, 0.9, [], "Ratio", 2); 622s assert ([n1, n2], [8, 16]); 623s 68 tests, 68 passed, 0 known failure, 0 skipped 623s [inst/hmmgenerate.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hmmgenerate.m 623s ***** test 623s len = 25; 623s transprob = [0.8, 0.2; 0.4, 0.6]; 623s outprob = [0.2, 0.4, 0.4; 0.7, 0.2, 0.1]; 623s [sequence, states] = hmmgenerate (len, transprob, outprob); 623s assert (length (sequence), len); 623s assert (length (states), len); 623s assert (min (sequence) >= 1); 623s assert (max (sequence) <= columns (outprob)); 623s assert (min (states) >= 1); 623s assert (max (states) <= rows (transprob)); 623s ***** test 623s len = 25; 623s transprob = [0.8, 0.2; 0.4, 0.6]; 623s outprob = [0.2, 0.4, 0.4; 0.7, 0.2, 0.1]; 623s symbols = {"A", "B", "C"}; 623s statenames = {"One", "Two"}; 623s [sequence, states] = hmmgenerate (len, transprob, outprob, ... 623s "symbols", symbols, "statenames", statenames); 623s assert (length (sequence), len); 623s assert (length (states), len); 623s assert (strcmp (sequence, "A") + strcmp (sequence, "B") + ... 623s strcmp (sequence, "C") == ones (1, len)); 623s assert (strcmp (states, "One") + strcmp (states, "Two") == ones (1, len)); 623s 2 tests, 2 passed, 0 known failure, 0 skipped 623s [inst/tiedrank.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/tiedrank.m 623s ***** test 623s mileage = [33.3, 34.5, 37.4; 33.4, 34.8, 36.8; ... 623s 32.9, 33.8, 37.6; 32.6, 33.4, 36.6; ... 623s 32.5, 33.7, 37.0; 33.0, 33.9, 36.7]; 623s [r,tieadj] = tiedrank([10, 20, 30, 40, 50]); 623s assert (r, [1, 2, 3, 4, 5]); 623s assert (tieadj, 0); 623s [r,tieadj] = tiedrank([10, 20, 30, 40, 50]'); 623s assert (r, [1; 2; 3; 4; 5]); 623s ***** test 623s mileage = [33.3, 34.5, 37.4; 33.4, 34.8, 36.8; ... 623s 32.9, 33.8, 37.6; 32.6, 33.4, 36.6; ... 623s 32.5, 33.7, 37.0; 33.0, 33.9, 36.7]; 623s [r,tieadj] = tiedrank([10, 20, 30, 40, 50], 1); 623s assert (r, [1, 2, 3, 4, 5]); 623s assert (tieadj, [0 0 0]'); 623s 2 tests, 2 passed, 0 known failure, 0 skipped 623s [inst/ztest.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ztest.m 623s ***** error ztest (); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 2, -0.5); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", 0); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", 1.2); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", "val"); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "tail", "val"); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", 0.01, "tail", "val"); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "dim", 3); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", 0.01, "tail", "both", "dim", 3); 623s ***** error ... 623s ztest ([1, 2, 3, 4], 1, 2, "alpha", 0.01, "tail", "both", "badoption", 3); 623s ***** test 623s load carsmall 623s [h, pval, ci] = ztest (MPG, mean (MPG, "omitnan"), std (MPG, "omitnan")); 623s assert (h, 0); 623s assert (pval, 1, 1e-14); 623s assert (ci, [22.094; 25.343], 1e-3); 623s ***** test 623s load carsmall 623s [h, pval, ci] = ztest (MPG, 26, 8); 623s assert (h, 1); 623s assert (pval, 0.00568359158544743, 1e-14); 623s assert (ci, [22.101; 25.335], 1e-3); 623s ***** test 623s load carsmall 623s [h, pval, ci] = ztest (MPG, 26, 4); 623s assert (h, 1); 623s assert (pval, 3.184168011941316e-08, 1e-14); 623s assert (ci, [22.909; 24.527], 1e-3); 623s 13 tests, 13 passed, 0 known failure, 0 skipped 623s [inst/pcares.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pcares.m 623s ***** demo 623s x = [ 7 26 6 60; 623s 1 29 15 52; 623s 11 56 8 20; 623s 11 31 8 47; 623s 7 52 6 33; 623s 11 55 9 22; 623s 3 71 17 6; 623s 1 31 22 44; 623s 2 54 18 22; 623s 21 47 4 26; 623s 1 40 23 34; 623s 11 66 9 12; 623s 10 68 8 12]; 623s 623s ## As we increase the number of principal components, the norm 623s ## of the residuals matrix will decrease 623s r1 = pcares (x,1); 623s n1 = norm (r1) 623s r2 = pcares (x,2); 623s n2 = norm (r2) 623s r3 = pcares (x,3); 623s n3 = norm (r3) 623s r4 = pcares (x,4); 623s n4 = norm (r4) 623s ***** test 623s load hald 623s r1 = pcares (ingredients,1); 623s r2 = pcares (ingredients,2); 623s r3 = pcares (ingredients,3); 623s assert (r1(1,:), [2.0350, 2.8304, -6.8378, 3.0879], 1e-4); 623s assert (r2(1,:), [-2.4037, 2.6930, -1.6482, 2.3425], 1e-4); 623s assert (r3(1,:), [ 0.2008, 0.1957, 0.2045, 0.1921], 1e-4); 623s ***** error pcares (ones (20, 3)) 623s ***** error ... 623s pcares (ones (30, 2), 3) 623s 3 tests, 3 passed, 0 known failure, 0 skipped 623s [inst/harmmean.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/harmmean.m 623s ***** test 623s x = [0:10]; 623s y = [x;x+5;x+10]; 623s assert (harmmean (x), 0); 623s m = [0 8.907635160795225 14.30854471766802]; 623s assert (harmmean (y, 2), m', 4e-14); 623s assert (harmmean (y, "all"), 0); 623s y(2,4) = NaN; 623s m(2) = 9.009855936313949; 623s assert (harmmean (y, 2), [0 NaN m(3)]', 4e-14); 623s assert (harmmean (y', "omitnan"), m, 4e-14); 623s z = y + 20; 623s assert (harmmean (z, "all"), NaN); 623s assert (harmmean (z, "all", "includenan"), NaN); 623s assert (harmmean (z, "all", "omitnan"), 29.1108719858295, 4e-14); 623s m = [24.59488458841874 NaN 34.71244385944397]; 623s assert (harmmean (z'), m, 4e-14); 623s assert (harmmean (z', "includenan"), m, 4e-14); 623s m(2) = 29.84104075528277; 623s assert (harmmean (z', "omitnan"), m, 4e-14); 623s assert (harmmean (z, 2, "omitnan"), m', 4e-14); 623s ***** test 623s x = repmat ([1:20;6:25], [5 2 6 3]); 623s assert (size (harmmean (x, [3 2])), [10 1 1 3]); 623s assert (size (harmmean (x, [1 2])), [1 1 6 3]); 623s assert (size (harmmean (x, [1 2 4])), [1 1 6]); 623s assert (size (harmmean (x, [1 4 3])), [1 40]); 623s assert (size (harmmean (x, [1 2 3 4])), [1 1]); 623s ***** test 623s x = repmat ([1:20;6:25], [5 2 6 3]); 623s m = repmat ([5.559045930488016;13.04950789021461], [5 1 1 3]); 623s assert (harmmean (x, [3 2]), m, 4e-14); 623s x(2,5,6,3) = NaN; 623s m(2,3) = NaN; 623s assert (harmmean (x, [3 2]), m, 4e-14); 623s m(2,3) = 13.06617961315406; 623s assert (harmmean (x, [3 2], "omitnan"), m, 4e-14); 623s ***** error harmmean ("char") 623s ***** error harmmean ([1 -1 3]) 623s ***** error ... 623s harmmean (repmat ([1:20;6:25], [5 2 6 3 5]), -1) 623s ***** error ... 623s harmmean (repmat ([1:20;6:25], [5 2 6 3 5]), 0) 623s ***** error ... 623s harmmean (repmat ([1:20;6:25], [5 2 6 3 5]), [1 1]) 623s 8 tests, 8 passed, 0 known failure, 0 skipped 623s [inst/monotone_smooth.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/monotone_smooth.m 623s ***** error ... 623s monotone_smooth (1) 623s ***** error ... 623s monotone_smooth ("char", 1) 623s ***** error ... 623s monotone_smooth ({1,2,3}, 1) 623s ***** error ... 623s monotone_smooth (ones(20,3), 1) 623s ***** error ... 623s monotone_smooth (1, "char") 623s ***** error ... 623s monotone_smooth (1, {1,2,3}) 623s ***** error ... 623s monotone_smooth (1, ones(20,3)) 623s ***** error monotone_smooth (ones (10,1), ones(10,1), [1, 2]) 623s ***** error monotone_smooth (ones (10,1), ones(10,1), {2}) 623s ***** error monotone_smooth (ones (10,1), ones(10,1), "char") 623s 10 tests, 10 passed, 0 known failure, 0 skipped 623s [inst/randsample.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/randsample.m 623s ***** test 623s n = 20; 623s k = 5; 623s x = randsample(n, k); 623s assert (size(x), [1 k]); 623s x = randsample(n, k, true); 623s assert (size(x), [1 k]); 623s x = randsample(n, k, false); 623s assert (size(x), [1 k]); 623s x = randsample(n, k, true, ones(n, 1)); 623s assert (size(x), [1 k]); 623s x = randsample(1:n, k); 623s assert (size(x), [1 k]); 623s x = randsample(1:n, k, true); 623s assert (size(x), [1 k]); 623s x = randsample(1:n, k, false); 623s assert (size(x), [1 k]); 623s x = randsample(1:n, k, true, ones(n, 1)); 623s assert (size(x), [1 k]); 623s x = randsample((1:n)', k); 623s assert (size(x), [k 1]); 623s x = randsample((1:n)', k, true); 623s assert (size(x), [k 1]); 623s x = randsample((1:n)', k, false); 623s assert (size(x), [k 1]); 623s x = randsample((1:n)', k, true, ones(n, 1)); 623s assert (size(x), [k 1]); 623s n = 10; 623s k = 100; 623s x = randsample(n, k, true, 1:n); 623s assert (size(x), [1 k]); 623s x = randsample((1:n)', k, true); 623s assert (size(x), [k 1]); 623s x = randsample(k, k, false, 1:k); 623s assert (size(x), [1 k]); 623s 1 test, 1 passed, 0 known failure, 0 skipped 623s [inst/ztest2.m] 623s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ztest2.m 623s ***** error ztest2 (); 623s ***** error ztest2 (1); 624s ***** error ztest2 (1, 2); 624s ***** error ztest2 (1, 2, 3); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha") 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha", 0); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha", 1.2); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha", "val"); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "tail", "val"); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha", 0.01, "tail", "val"); 624s ***** error ... 624s ztest2 (1, 2, 3, 4, "alpha", 0.01, "tail", "both", "badoption", 3); 624s 11 tests, 11 passed, 0 known failure, 0 skipped 624s [inst/ff2n.m] 624s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ff2n.m 624s ***** error ff2n (); 624s ***** error ff2n (2, 5); 624s ***** error ff2n (2.5); 624s ***** error ff2n (0); 624s ***** error ff2n (-3); 624s ***** error ff2n (3+2i); 624s ***** error ff2n (Inf); 624s ***** error ff2n (NaN); 624s ***** test 624s A = ff2n (3); 624s assert (A, fullfact (3)); 624s ***** test 624s A = ff2n (8); 624s assert (A, fullfact (8)); 624s 10 tests, 10 passed, 0 known failure, 0 skipped 624s [inst/princomp.m] 624s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/princomp.m 624s ***** shared COEFF,SCORE,latent,tsquare,m,x,R,V,lambda,i,S,F 624s ***** test 624s x=[7 4 3 624s 4 1 8 624s 6 3 5 624s 8 6 1 624s 8 5 7 624s 7 2 9 624s 5 3 3 624s 9 5 8 624s 7 4 5 624s 8 2 2]; 624s R = corrcoef (x); 624s [V, lambda] = eig (R); 624s [~, i] = sort(diag(lambda), "descend"); #arrange largest PC first 624s S = V(:, i) * diag(sqrt(diag(lambda)(i))); 624s ## contribution of first 2 PCs to each original variable 624s ***** assert(diag(S(:, 1:2)*S(:, 1:2)'), [0.8662; 0.8420; 0.9876], 1E-4); 624s B = V(:, i) * diag( 1./ sqrt(diag(lambda)(i))); 624s F = zscore(x)*B; 624s [COEFF,SCORE,latent,tsquare] = princomp(zscore(x, 1)); 624s ***** assert(tsquare,sumsq(F, 2),1E4*eps); 624s ***** test 624s x=[1,2,3;2,1,3]'; 624s [COEFF,SCORE,latent,tsquare] = princomp(x); 624s m=[sqrt(2),sqrt(2);sqrt(2),-sqrt(2);-2*sqrt(2),0]/2; 624s m(:,1) = m(:,1)*sign(COEFF(1,1)); 624s m(:,2) = m(:,2)*sign(COEFF(1,2)); 624s ***** assert(COEFF,m(1:2,:),10*eps); 624s ***** assert(SCORE,-m,10*eps); 624s ***** assert(latent,[1.5;.5],10*eps); 624s ***** assert(tsquare,[4;4;4]/3,10*eps); 624s ***** test 624s x=x'; 624s [COEFF,SCORE,latent,tsquare] = princomp(x); 624s m=[sqrt(2),sqrt(2),0;-sqrt(2),sqrt(2),0;0,0,2]/2; 624s m(:,1) = m(:,1)*sign(COEFF(1,1)); 624s m(:,2) = m(:,2)*sign(COEFF(1,2)); 624s m(:,3) = m(:,3)*sign(COEFF(3,3)); 624s ***** assert(COEFF,m,10*eps); 624s ***** assert(SCORE(:,1),-m(1:2,1),10*eps); 624s ***** assert(SCORE(:,2:3),zeros(2),10*eps); 624s ***** assert(latent,[1;0;0],10*eps); 624s ***** assert(tsquare,[0.5;0.5],10*eps) 624s ***** test 624s [COEFF,SCORE,latent,tsquare] = princomp(x, "econ"); 624s ***** assert(COEFF,m(:, 1),10*eps); 624s ***** assert(SCORE,-m(1:2,1),10*eps); 624s ***** assert(latent,[1],10*eps); 624s ***** assert(tsquare,[0.5;0.5],10*eps) 624s 19 tests, 19 passed, 0 known failure, 0 skipped 624s [inst/wblplot.m] 624s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/wblplot.m 624s ***** demo 624s x = [16 34 53 75 93 120]; 624s wblplot (x); 624s ***** demo 624s x = [2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67]'; 624s c = [0 1 0 1 0 1 1 1 0 0 1 0 1 0 1 1 0 1 1]'; 624s [h, p] = wblplot (x, c); 624s p 624s ***** demo 624s x = [16, 34, 53, 75, 93, 120, 150, 191, 240 ,339]; 624s [h, p] = wblplot (x, [], [], 0.05); 624s p 624s ## Benchmark Reliasoft eta = 146.2545 beta 1.1973 rho = 0.9999 624s ***** demo 624s x = [46 64 83 105 123 150 150]; 624s c = [0 0 0 0 0 0 1]; 624s f = [1 1 1 1 1 1 4]; 624s wblplot (x, c, f, 0.05); 624s ***** demo 624s x = [46 64 83 105 123 150 150]; 624s c = [0 0 0 0 0 0 1]; 624s f = [1 1 1 1 1 1 4]; 624s ## Subtract 30.92 from x to simulate a 3 parameter wbl with gamma = 30.92 624s wblplot (x - 30.92, c, f, 0.05); 624s ***** shared visibility_setting 624s visibility_setting = get (0, "DefaultFigureVisible"); 624s ***** test 624s set (0, "DefaultFigureVisible", "off"); 624s x = [16, 34, 53, 75, 93, 120, 150, 191, 240 ,339]; 624s [h, p] = wblplot (x, [], [], 0.05); 624s assert (numel (h), 4) 624s assert (p(1), 146.2545, 1E-4) 624s assert (p(2), 1.1973, 1E-4) 624s assert (p(3), 0.9999, 5E-5) 624s set (0, "DefaultFigureVisible", visibility_setting); 625s 1 test, 1 passed, 0 known failure, 0 skipped 625s [inst/binotest.m] 625s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/binotest.m 625s ***** demo 625s % flip a coin 1000 times, showing 475 heads 625s % Hypothesis: coin is fair, i.e. p=1/2 625s [h,p_val,ci] = binotest(475,1000,0.5) 625s % Result: h = 0 : null hypothesis not rejected, coin could be fair 625s % P value 0.12, i.e. hypothesis not rejected for alpha up to 12% 625s % 0.444 <= p <= 0.506 with 95% confidence 625s ***** demo 625s % flip a coin 100 times, showing 65 heads 625s % Hypothesis: coin shows less than 50% heads, i.e. p<=1/2 625s [h,p_val,ci] = binotest(65,100,0.5,'tail','left','alpha',0.01) 625s % Result: h = 1 : null hypothesis is rejected, i.e. coin shows more heads than tails 625s % P value 0.0018, i.e. hypothesis not rejected for alpha up to 0.18% 625s % 0 <= p <= 0.76 with 99% confidence 625s ***** test #example from https://en.wikipedia.org/wiki/Binomial_test 625s [h,p_val,ci] = binotest (51,235,1/6); 625s assert (p_val, 0.0437, 0.00005) 625s [h,p_val,ci] = binotest (51,235,1/6,'tail','left'); 625s assert (p_val, 0.027, 0.0005) 625s 1 test, 1 passed, 0 known failure, 0 skipped 625s [inst/normalise_distribution.m] 625s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/normalise_distribution.m 625s ***** test 625s v = normalise_distribution ([1 2 3], [], 1); 625s assert (v, [0 0 0]) 625s ***** test 625s v = normalise_distribution ([1 2 3], [], 2); 625s assert (v, norminv ([1 3 5] / 6), 3 * eps) 625s ***** test 625s v = normalise_distribution ([1 2 3]', [], 2); 625s assert (v, [0 0 0]') 625s ***** test 625s v = normalise_distribution ([1 2 3]', [], 1); 625s assert (v, norminv ([1 3 5]' / 6), 3 * eps) 625s ***** test 625s v = normalise_distribution ([1 1 2 2 3 3], [], 2); 625s assert (v, norminv ([3 3 7 7 11 11] / 12), 3 * eps) 625s ***** test 625s v = normalise_distribution ([1 1 2 2 3 3]', [], 1); 625s assert (v, norminv ([3 3 7 7 11 11]' / 12), 3 * eps) 625s ***** test 625s A = randn ( 10 ); 625s N = normalise_distribution (A, @normcdf); 625s assert (A, N, 10000 * eps) 625s ***** test 625s A = exprnd (1, 100); 625s N = normalise_distribution (A, @(x)(expcdf (x, 1))); 625s assert (mean (vec (N)), 0, 0.1) 625s assert (std (vec (N)), 1, 0.1) 625s ***** test 625s A = rand (1000,1); 625s N = normalise_distribution (A, {@(x)(unifcdf (x, 0, 1))}); 625s assert (mean (vec (N)), 0, 0.2) 625s assert (std (vec (N)), 1, 0.1) 625s ***** test 625s A = [rand(1000,1), randn(1000, 1)]; 625s N = normalise_distribution (A, {@(x)(unifcdf (x, 0, 1)), @normcdf}); 625s assert (mean (N), [0, 0], 0.2) 625s assert (std (N), [1, 1], 0.1) 625s ***** test 625s A = [rand(1000,1), randn(1000, 1), exprnd(1, 1000, 1)]'; 625s N = normalise_distribution (A, {@(x)(unifcdf (x, 0, 1)); @normcdf; @(x)(expcdf (x, 1))}, 2); 625s assert (mean (N, 2), [0, 0, 0]', 0.2); 625s assert (std (N, [], 2), [1, 1, 1]', 0.1); 625s ***** xtest 625s A = exprnd (1, 1000, 9); A (300:500, 4:6) = 17; 625s N = normalise_distribution (A); 625s assert (mean (N), [0 0 0 0.38 0.38 0.38 0 0 0], 0.1); 625s assert (var (N), [1 1 1 2.59 2.59 2.59 1 1 1], 0.1); 625s ***** test 625s ***** error normalise_distribution (zeros (3, 4), ... 625s {@(x)(unifcdf (x, 0, 1)); @normcdf; @(x)(expcdf (x,1))}); 625s 14 tests, 14 passed, 0 known failure, 0 skipped 625s [inst/barttest.m] 625s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/barttest.m 625s ***** error barttest () 625s ***** error barttest ([2,NaN;3,4]) 625s ***** error barttest (ones (30, 4), "alpha") 625s ***** error barttest (ones (30, 4), 0) 625s ***** error barttest (ones (30, 4), 1.2) 625s ***** error barttest (ones (30, 4), [0.2, 0.05]) 625s ***** error barttest (ones (30, 1)) 625s ***** error barttest (ones (30, 1), 0.05) 625s ***** test 625s x = [2, 3, 4, 5, 6, 7, 8, 9; 1, 2, 3, 4, 5, 6, 7, 8]'; 625s [ndim, pval, chisq] = barttest (x); 625s assert (ndim, 2); 625s assert (pval, 0); 625s ## assert (chisq, 512.0558, 1e-4); Result differs between octave 6 and 7 ? 625s ***** test 625s x = [0.53767, 0.62702, -0.10224, -0.25485, 1.4193, 1.5237 ; ... 625s 1.8339, 1.6452, -0.24145, -0.23444, 0.29158, 0.1634 ; ... 625s -2.2588, -2.1351, 0.31286, 0.39396, 0.19781, 0.20995 ; ... 625s 0.86217, 1.0835, 0.31286, 0.46499, 1.5877, 1.495 ; ... 625s 0.31877, 0.38454, -0.86488, -0.63839, -0.80447, -0.7536 ; ... 625s -1.3077, -1.1487, -0.030051, -0.017629, 0.69662, 0.60497 ; ... 625s -0.43359, -0.32672, -0.16488, -0.37364, 0.83509, 0.89586 ; ... 625s 0.34262, 0.29639, 0.62771, 0.51672, -0.24372, -0.13698 ; ... 625s 3.5784, 3.5841, 1.0933, 0.93258, 0.21567, 0.455 ; ... 625s 2.7694, 2.6307, 1.1093, 1.4298, -1.1658, -1.1816 ; ... 625s -1.3499, -1.2111, -0.86365, -0.94186, -1.148, -1.4381 ; ... 625s 3.0349, 2.8428, 0.077359, 0.18211, 0.10487, -0.014613; ... 625s 0.7254, 0.56737, -1.2141, -1.2291, 0.72225, 0.90612 ; ... 625s -0.063055,-0.17662, -1.1135, -0.97701, 2.5855, 2.4084 ; ... 625s 0.71474, 0.29225, -0.0068493, -0.11468, -0.66689, -0.52466 ; ... 625s -0.20497, -7.8874e-06, 1.5326, 1.3195, 0.18733, 0.20296 ; ... 625s -0.12414, -0.077029, -0.76967, -0.96262, -0.082494, 0.121 ; ... 625s 1.4897, 1.3683, 0.37138, 0.43653, -1.933, -2.1903 ; ... 625s 1.409, 1.5882, -0.22558, -0.24835, -0.43897, -0.46247 ; ... 625s 1.4172, 1.1616, 1.1174, 1.0785, -1.7947, -1.9471 ]; 625s [ndim, pval, chisq] = barttest (x); 625s assert (ndim, 3); 625s assert (pval, [0; 0; 0; 0.52063; 0.34314], 1e-5); 625s chisq_out = [251.6802; 210.2670; 153.1773; 4.2026; 2.1392]; 625s assert (chisq, chisq_out, 1e-4); 625s 10 tests, 10 passed, 0 known failure, 0 skipped 625s [inst/grp2idx.m] 625s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/grp2idx.m 625s ***** test 625s in = [true false false true]; 625s out = {[1; 2; 2; 1] {"1"; "0"} [true; false]}; 625s assert (nthargout (1:3, @grp2idx, in), out) 625s assert (nthargout (1:3, @grp2idx, in), nthargout (1:3, @grp2idx, in')) 625s ***** test 625s assert (nthargout (1:3, @grp2idx, [false, true]), 625s {[1; 2] {"0"; "1"} [false; true]}); 625s assert (nthargout (1:3, @grp2idx, [true, false]), 625s {[1; 2] {"1"; "0"} [true; false]}); 625s ***** assert (nthargout (1:3, @grp2idx, ["oct"; "sci"; "oct"; "oct"; "sci"]), 625s {[1; 2; 1; 1; 2] {"oct"; "sci"} ["oct"; "sci"]}); 625s ***** assert (nthargout (1:3, @grp2idx, {"oct"; "sci"; "oct"; "oct"; "sci"}), 625s {[1; 2; 1; 1; 2] {"oct"; "sci"} {"oct"; "sci"}}); 625s ***** assert (nthargout (1:3, @grp2idx, [ 1 -3 -2 -3 -3 2 1 -1 3 -3]), 625s {[1; 2; 3; 2; 2; 4; 1; 5; 6; 2], {"1"; "-3"; "-2"; "2"; "-1"; "3"}, ... 625s [1; -3; -2; 2; -1; 3]}); 625s ***** assert (nthargout (1:3, @grp2idx, [2 2 3 NaN 2 3]), 625s {[1; 1; 2; NaN; 1; 2] {"2"; "3"} [2; 3]}) 625s ***** assert (nthargout (1:3, @grp2idx, {"et" "sa" "sa" "" "et"}), 625s {[1; 2; 2; NaN; 1] {"et"; "sa"} {"et"; "sa"}}) 625s ***** test assert (nthargout (1:3, @grp2idx, ["sci"; "oct"; "sci"; "oct"; "oct"]), 625s {[1; 2; 1; 2; 2] {"sci"; "oct"} ["sci"; "oct"]}); 625s ***** test assert (nthargout (1:3, @grp2idx, {"sci"; "oct"; "sci"; "oct"; "oct"}), 625s {[1; 2; 1; 2; 2] {"sci"; "oct"} {"sci"; "oct"}}); 625s ***** test assert (nthargout (1:3, @grp2idx, {"sa" "et" "et" "" "sa"}), 625s {[1; 2; 2; NaN; 1] {"sa"; "et"} {"sa"; "et"}}) 625s 10 tests, 10 passed, 0 known failure, 0 skipped 625s [inst/rmmissing.m] 625s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/rmmissing.m 625s ***** assert (rmmissing ([1,NaN,3]), [1,3]) 625s ***** assert (rmmissing ('abcd f'), 'abcdf') 625s ***** assert (rmmissing ({'xxx','','xyz'}), {'xxx','xyz'}) 625s ***** assert (rmmissing ({'xxx','';'xyz','yyy'}), {'xyz','yyy'}) 625s ***** assert (rmmissing ({'xxx','';'xyz','yyy'}, 2), {'xxx';'xyz'}) 626s ***** assert (rmmissing ([1,2;NaN,2]), [1,2]) 626s ***** assert (rmmissing ([1,2;NaN,2], 2), [2,2]') 626s ***** assert (rmmissing ([1,2;NaN,4;NaN,NaN],"MinNumMissing", 2), [1,2;NaN,4]) 626s ***** test 626s x = [1:6]; 626s x([2,4]) = NaN; 626s [~, idx] = rmmissing (x); 626s assert (idx, logical ([0, 1, 0, 1, 0, 0])); 626s assert (class(idx), 'logical'); 626s x = reshape (x, [2, 3]); 626s [~, idx] = rmmissing (x); 626s assert (idx, logical ([0; 1])); 626s assert (class(idx), 'logical'); 626s [~, idx] = rmmissing (x, 2); 626s assert (idx, logical ([1, 1, 0])); 626s assert (class(idx), 'logical'); 626s [~, idx] = rmmissing (x, 1, "MinNumMissing", 2); 626s assert (idx, logical ([0; 1])); 626s assert (class(idx), 'logical'); 626s [~, idx] = rmmissing (x, 2, "MinNumMissing", 2); 626s assert (idx, logical ([0, 0, 0])); 626s assert (class(idx), 'logical'); 626s ***** assert (rmmissing (single ([1 2 NaN; 3 4 5])), single ([3 4 5])) 626s ***** assert (rmmissing (logical (ones (3))), logical (ones (3))) 626s ***** assert (rmmissing (int32 (ones (3))), int32 (ones (3))) 626s ***** assert (rmmissing (uint32 (ones (3))), uint32 (ones (3))) 626s ***** assert (rmmissing ({1, 2, 3}), {1, 2, 3}) 626s ***** assert (rmmissing ([struct, struct, struct]), [struct, struct, struct]) 626s ***** assert (rmmissing ([]), []) 626s ***** assert (rmmissing (ones (1,0)), ones (1,0)) 626s ***** assert (rmmissing (ones (1,0), 1), ones (1,0)) 626s ***** assert (rmmissing (ones (1,0), 2), ones (1,0)) 626s ***** assert (rmmissing (ones (0,1)), ones (0,1)) 626s ***** assert (rmmissing (ones (0,1), 1), ones (0,1)) 626s ***** assert (rmmissing (ones (0,1), 2), ones (0,1)) 626s ***** error rmmissing (ones (0,1,2)) 626s ***** error rmmissing () 626s ***** error rmmissing (ones(2,2,2)) 626s ***** error rmmissing ([1 2; 3 4], 5) 626s ***** error rmmissing ([1 2; 3 4], "XXX", 1) 626s ***** error <'MinNumMissing'> rmmissing ([1 2; 3 4], 2, "MinNumMissing", -2) 626s ***** error <'MinNumMissing'> rmmissing ([1 2; 3 4], "MinNumMissing", 3.8) 626s ***** error <'MinNumMissing'> rmmissing ([1 2; 3 4], "MinNumMissing", [1 2 3]) 626s ***** error <'MinNumMissing'> rmmissing ([1 2; 3 4], "MinNumMissing", 'xxx') 626s 31 tests, 31 passed, 0 known failure, 0 skipped 626s [inst/datasample.m] 626s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/datasample.m 626s ***** error datasample(); 626s ***** error datasample(1); 626s ***** error datasample({1, 2, 3}, 1); 626s ***** error datasample([1 2], -1); 626s ***** error datasample([1 2], 1.5); 626s ***** error datasample([1 2], [1 1]); 626s ***** error datasample([1 2], 'g', [1 1]); 626s ***** error datasample([1 2], 1, -1); 626s ***** error datasample([1 2], 1, 1.5); 626s ***** error datasample([1 2], 1, [1 1]); 626s ***** error datasample([1 2], 1, 1, "Replace", -2); 626s ***** error datasample([1 2], 1, 1, "Weights", "abc"); 626s ***** error datasample([1 2], 1, 1, "Weights", [1 -2 3]); 626s ***** error datasample([1 2], 1, 1, "Weights", ones (2)); 626s ***** error datasample([1 2], 1, 1, "Weights", [1 2 3]); 626s ***** test 626s dat = randn (10, 4); 626s assert (size (datasample (dat, 3, 1)), [3 4]); 626s ***** test 626s dat = randn (10, 4); 626s assert (size (datasample (dat, 3, 2)), [10 3]); 626s 17 tests, 17 passed, 0 known failure, 0 skipped 626s [inst/regression_ttest.m] 626s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/regression_ttest.m 626s ***** error regression_ttest (); 626s ***** error regression_ttest (1); 627s ***** error ... 627s regression_ttest ([1 2 NaN]', [2 3 4]'); 627s ***** error ... 627s regression_ttest ([1 2 Inf]', [2 3 4]'); 627s ***** error ... 627s regression_ttest ([1 2 3+i]', [2 3 4]'); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 NaN]'); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 Inf]'); 627s ***** error ... 627s regression_ttest ([1 2 3]', [3 4 3+i]'); 627s ***** error ... 627s regression_ttest ([1 2 3]', [3 4 4 5]'); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "alpha", 0); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "alpha", 1.2); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "alpha", [.02 .1]); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "alpha", "a"); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "some", 0.05); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "tail", "val"); 627s ***** error ... 627s regression_ttest ([1 2 3]', [2 3 4]', "alpha", 0.01, "tail", "val"); 627s 16 tests, 16 passed, 0 known failure, 0 skipped 627s [inst/anova1.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/anova1.m 627s ***** demo 627s x = meshgrid (1:6); 627s randn ("seed", 15); # for reproducibility 627s x = x + normrnd (0, 1, 6, 6); 627s anova1 (x, [], 'off'); 627s ***** demo 627s x = meshgrid (1:6); 627s randn ("seed", 15); # for reproducibility 627s x = x + normrnd (0, 1, 6, 6); 627s [p, atab] = anova1(x); 627s ***** demo 627s x = ones (50, 4) .* [-2, 0, 1, 5]; 627s randn ("seed", 13); # for reproducibility 627s x = x + normrnd (0, 2, 50, 4); 627s groups = {"A", "B", "C", "D"}; 627s anova1 (x, groups); 627s ***** demo 627s y = [54 87 45; 23 98 39; 45 64 51; 54 77 49; 45 89 50; 47 NaN 55]; 627s g = [1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ]; 627s anova1 (y(:), g(:), "on", "unequal"); 627s ***** test 627s data = [1.006, 0.996, 0.998, 1.000, 0.992, 0.993, 1.002, 0.999, 0.994, 1.000, ... 627s 0.998, 1.006, 1.000, 1.002, 0.997, 0.998, 0.996, 1.000, 1.006, 0.988, ... 627s 0.991, 0.987, 0.997, 0.999, 0.995, 0.994, 1.000, 0.999, 0.996, 0.996, ... 627s 1.005, 1.002, 0.994, 1.000, 0.995, 0.994, 0.998, 0.996, 1.002, 0.996, ... 627s 0.998, 0.998, 0.982, 0.990, 1.002, 0.984, 0.996, 0.993, 0.980, 0.996, ... 627s 1.009, 1.013, 1.009, 0.997, 0.988, 1.002, 0.995, 0.998, 0.981, 0.996, ... 627s 0.990, 1.004, 0.996, 1.001, 0.998, 1.000, 1.018, 1.010, 0.996, 1.002, ... 627s 0.998, 1.000, 1.006, 1.000, 1.002, 0.996, 0.998, 0.996, 1.002, 1.006, ... 627s 1.002, 0.998, 0.996, 0.995, 0.996, 1.004, 1.004, 0.998, 0.999, 0.991, ... 627s 0.991, 0.995, 0.984, 0.994, 0.997, 0.997, 0.991, 0.998, 1.004, 0.997]; 627s group = [1:10] .* ones (10,10); 627s group = group(:); 627s [p, tbl] = anova1 (data, group, "off"); 627s assert (p, 0.022661, 1e-6); 627s assert (tbl{2,5}, 2.2969, 1e-4); 627s assert (tbl{2,3}, 9, 0); 627s assert (tbl{4,2}, 0.003903, 1e-6); 627s data = reshape (data, 10, 10); 627s [p, tbl, stats] = anova1 (data, [], "off"); 627s assert (p, 0.022661, 1e-6); 627s assert (tbl{2,5}, 2.2969, 1e-4); 627s assert (tbl{2,3}, 9, 0); 627s assert (tbl{4,2}, 0.003903, 1e-6); 627s means = [0.998, 0.9991, 0.9954, 0.9982, 0.9919, 0.9988, 1.0015, 1.0004, 0.9983, 0.9948]; 627s N = 10 * ones (1, 10); 627s assert (stats.means, means, 1e-6); 627s assert (length (stats.gnames), 10, 0); 627s assert (stats.n, N, 0); 627s ***** test 627s y = [54 87 45; 23 98 39; 45 64 51; 54 77 49; 45 89 50; 47 NaN 55]; 627s g = [1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ; 1 2 3 ]; 627s [p, tbl] = anova1 (y(:), g(:), "off", "equal"); 627s assert (p, 0.00004163, 1e-6); 627s assert (tbl{2,5}, 22.573418, 1e-6); 627s assert (tbl{2,3}, 2, 0); 627s assert (tbl{3,3}, 14, 0); 627s [p, tbl] = anova1 (y(:), g(:), "off", "unequal"); 627s assert (p, 0.00208877, 1e-8); 627s assert (tbl{2,5}, 15.523192, 1e-6); 627s assert (tbl{2,3}, 2, 0); 627s assert (tbl{2,4}, 7.5786897, 1e-6); 627s 2 tests, 2 passed, 0 known failure, 0 skipped 627s [inst/logit.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/logit.m 627s ***** test 627s p = [0.01:0.01:0.99]; 627s assert (logit (p), log (p ./ (1-p)), 25*eps); 627s ***** assert (logit ([-1, 0, 0.5, 1, 2]), [NaN, -Inf, 0, +Inf, NaN]) 627s ***** error logit () 627s ***** error logit (1, 2) 627s 4 tests, 4 passed, 0 known failure, 0 skipped 627s [inst/fishertest.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/fishertest.m 627s ***** demo 627s ## A Fisher's exact test example 627s 627s x = [3, 1; 1, 3] 627s [h, p, stats] = fishertest(x) 627s ***** assert (fishertest ([3, 4; 5, 7]), false); 627s ***** assert (isa (fishertest ([3, 4; 5, 7]), "logical"), true); 627s ***** test 627s [h, pval, stats] = fishertest ([3, 4; 5, 7]); 627s assert (pval, 1, 1e-14); 627s assert (stats.OddsRatio, 1.05); 627s CI = [0.159222057151289, 6.92429189601808]; 627s assert (stats.ConfidenceInterval, CI, 1e-14) 627s ***** test 627s [h, pval, stats] = fishertest ([3, 4; 5, 0]); 627s assert (pval, 0.08080808080808080, 1e-14); 627s assert (stats.OddsRatio, 0); 627s assert (stats.ConfidenceInterval, [-Inf, Inf]) 627s ***** error fishertest (); 627s ***** error fishertest (1, 2, 3, 4, 5, 6); 627s ***** error ... 627s fishertest (ones (2, 2, 2)); 627s ***** error ... 627s fishertest ([1, 2; -3, 4]); 627s ***** error ... 627s fishertest ([1, 2; 3, 4+i]); 627s ***** error ... 627s fishertest ([1, 2; 3, 4.2]); 627s ***** error ... 627s fishertest ([NaN, 2; 3, 4]); 627s ***** error ... 627s fishertest ([1, Inf; 3, 4]); 627s ***** error ... 627s fishertest (ones (2) * 1e8); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "alpha", 0); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "alpha", 1.2); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "alpha", "val"); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "tail", "val"); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "alpha", 0.01, "tail", "val"); 627s ***** error ... 627s fishertest ([1, 2; 3, 4], "alpha", 0.01, "badoption", 3); 627s 19 tests, 19 passed, 0 known failure, 0 skipped 627s [inst/ConfusionMatrixChart.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ConfusionMatrixChart.m 627s ***** demo 627s ## Create a simple ConfusionMatrixChart Object 627s 627s cm = ConfusionMatrixChart (gca, [1 2; 1 2], {"A","B"},{"XLabel","LABEL A"}) 627s NormalizedValues = cm.NormalizedValues 627s ClassLabels = cm.ClassLabels 627s ***** shared visibility_setting 627s visibility_setting = get (0, "DefaultFigureVisible"); 627s ***** xtest 627s set (0, "DefaultFigureVisible", "off"); 627s cm = ConfusionMatrixChart (gca, [1 2; 1 2], {"A","B"},{"XLabel","LABEL A"}); 627s assert (isa (cm, "ConfusionMatrixChart"), true); 627s set (0, "DefaultFigureVisible", visibility_setting); 627s warning: Non-positive limit for logarithmic axis ignored 627s !!!!! known failure 627s set: "cameratarget" must be finite 627s 1 test, 0 passed, 1 known failure, 0 skipped 627s [inst/boxplot.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/boxplot.m 627s ***** demo 627s axis ([0, 3]); 627s randn ("seed", 1); # for reproducibility 627s girls = randn (10, 1) * 5 + 140; 627s randn ("seed", 2); # for reproducibility 627s boys = randn (13, 1) * 8 + 135; 627s boxplot ({girls, boys}); 627s set (gca (), "xtick", [1 2], "xticklabel", {"girls", "boys"}) 627s title ("Grade 3 heights"); 627s ***** demo 627s randn ("seed", 7); # for reproducibility 627s A = randn (10, 1) * 5 + 140; 627s randn ("seed", 8); # for reproducibility 627s B = randn (25, 1) * 8 + 135; 627s randn ("seed", 9); # for reproducibility 627s C = randn (20, 1) * 6 + 165; 627s data = [A; B; C]; 627s groups = [(ones (10, 1)); (ones (25, 1) * 2); (ones (20, 1) * 3)]; 627s labels = {"Team A", "Team B", "Team C"}; 627s pos = [2, 1, 3]; 627s boxplot (data, groups, "Notch", "on", "Labels", labels, "Positions", pos, ... 627s "OutlierTags", "on", "BoxStyle", "filled"); 627s title ("Example of Group splitting with paired vectors"); 627s ***** demo 627s randn ("seed", 1); # for reproducibility 627s data = randn (100, 9); 627s boxplot (data, "notch", "on", "boxstyle", "filled", ... 627s "colors", "ygcwkmb", "whisker", 1.2); 627s title ("Example of different colors specified with characters"); 627s ***** demo 627s randn ("seed", 5); # for reproducibility 627s data = randn (100, 13); 627s colors = [0.7 0.7 0.7; ... 627s 0.0 0.4 0.9; ... 627s 0.7 0.4 0.3; ... 627s 0.7 0.1 0.7; ... 627s 0.8 0.7 0.4; ... 627s 0.1 0.8 0.5; ... 627s 0.9 0.9 0.2]; 627s boxplot (data, "notch", "on", "boxstyle", "filled", ... 627s "colors", colors, "whisker", 1.3, "boxwidth", "proportional"); 627s title ("Example of different colors specified as RGB values"); 627s ***** error boxplot ("a") 627s ***** error boxplot ({[1 2 3], "a"}) 627s ***** error boxplot ([1 2 3], 1, {2, 3}) 627s ***** error boxplot ([1 2 3], {"a", "b"}) 627s ***** error <'Notch' input argument accepts> boxplot ([1:10], "notch", "any") 627s ***** error boxplot ([1:10], "notch", i) 627s ***** error boxplot ([1:10], "notch", {}) 627s ***** error boxplot (1, "symbol", 1) 627s ***** error <'Orientation' input argument accepts only> boxplot (1, "orientation", "diagonal") 627s ***** error boxplot (1, "orientation", {}) 627s ***** error <'Whisker' input argument accepts only> boxplot (1, "whisker", "a") 627s ***** error <'Whisker' input argument accepts only> boxplot (1, "whisker", [1 3]) 627s ***** error <'OutlierTags' input argument accepts only> boxplot (3, "OutlierTags", "maybe") 627s ***** error boxplot (3, "OutlierTags", {}) 627s ***** error <'Sample_IDs' input argument accepts only> boxplot (1, "sample_IDs", 1) 627s ***** error <'BoxWidth' input argument accepts only> boxplot (1, "boxwidth", 2) 627s ***** error <'BoxWidth' input argument accepts only> boxplot (1, "boxwidth", "anything") 627s ***** error <'Widths' input argument accepts only> boxplot (5, "widths", "a") 627s ***** error <'Widths' input argument accepts only> boxplot (5, "widths", [1:4]) 627s ***** error <'Widths' input argument accepts only> boxplot (5, "widths", []) 627s ***** error <'CapWidths' input argument accepts only> boxplot (5, "capwidths", "a") 627s ***** error <'CapWidths' input argument accepts only> boxplot (5, "capwidths", [1:4]) 627s ***** error <'CapWidths' input argument accepts only> boxplot (5, "capwidths", []) 627s ***** error <'BoxStyle' input argument accepts only> boxplot (1, "Boxstyle", 1) 627s ***** error <'BoxStyle' input argument accepts only> boxplot (1, "Boxstyle", "garbage") 627s ***** error <'Positions' input argument accepts only> boxplot (1, "positions", "aa") 627s ***** error <'Labels' input argument accepts only> boxplot (3, "labels", [1 5]) 627s ***** error <'Colors' input argument accepts only> boxplot (1, "colors", {}) 627s ***** error <'Colors' input argument accepts only> boxplot (2, "colors", [1 2 3 4]) 627s ***** error boxplot (randn (10, 3), 'Sample_IDs', {"a", "b"}) 627s ***** error boxplot (rand (3, 3), [1 2]) 627s ***** shared visibility_setting 627s visibility_setting = get (0, "DefaultFigureVisible"); 627s ***** test 627s set (0, "DefaultFigureVisible", "off"); 627s [a, b] = boxplot (rand (10, 3)); 627s assert (size (a), [7, 3]); 627s assert (numel (b.box), 3); 627s assert (numel (b.whisker), 12); 627s assert (numel (b.median), 3); 627s set (0, "DefaultFigureVisible", visibility_setting); 627s error: set: "cameratarget" must be finite 627s error: called from 627s __gnuplot_legend__>cb_restore_axes at line 1290 column 14 627s delete at line 73 column 5 627s __gnuplot_legend__>cb_axes_deleted at line 1262 column 5 627s delete at line 73 column 5 627s newplot at line 208 column 11 627s plot at line 234 column 9 627s boxplot at line 690 column 7 627s __test__ at line 4 column 9 627s test at line 682 column 11 627s /tmp/tmp.CA8h9c0vqy at line 2854 column 31 627s !!!!! test failed 627s set: "cameratarget" must be finite 627s shared variables visibility_setting = off 627s ***** test 627s set (0, "DefaultFigureVisible", "off"); 627s [~, b] = boxplot (rand (10, 3), "BoxStyle", "filled", "colors", "ybc"); 627s assert (numel (b.box_fill), 3); 627s set (0, "DefaultFigureVisible", visibility_setting); 627s !!!!! test failed 627s set: "cameratarget" must be finite 627s shared variables visibility_setting = off 627s 33 tests, 31 passed, 0 known failure, 0 skipped 627s [inst/ismissing.m] 627s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/ismissing.m 627s ***** assert (ismissing ([1,NaN,3]), [false,true,false]) 627s ***** assert (ismissing ('abcd f'), [false,false,false,false,true,false]) 627s ***** assert (ismissing ({'xxx','','xyz'}), [false,true,false]) 627s ***** assert (ismissing ({'x','','y'}), [false,true,false]) 627s ***** assert (ismissing ({'x','','y';'z','a',''}), logical([0,1,0;0,0,1])) 627s ***** assert (ismissing ([1,2;NaN,2]), [false,false;true,false]) 627s ***** assert (ismissing ([1,2;NaN,2], 2), [false,true;false,true]) 627s ***** assert (ismissing ([1,2;NaN,2], [1 2]), [true,true;false,true]) 627s ***** assert (ismissing ([1,2;NaN,2], NaN), [false,false;true,false]) 627s ***** assert (ismissing (cat(3,magic(2),magic(2))), logical (zeros (2,2,2))) 627s ***** assert (ismissing (cat(3,magic(2),[1 2;3 NaN])), logical (cat(3,[0,0;0,0],[0,0;0,1]))) 627s ***** assert (ismissing ([1 2; 3 4], [5 1; 2 0]), logical([1 1; 0 0])) 627s ***** assert (ismissing (cat(3,'f oo','ba r')), logical(cat(3,[0 1 0 0],[0 0 1 0]))) 627s ***** assert (ismissing (cat(3,{'foo'},{''},{'bar'})), logical(cat(3,0,1,0))) 627s ***** assert (ismissing (double (NaN)), true) 627s ***** assert (ismissing (single (NaN)), true) 627s ***** assert (ismissing (' '), true) 627s ***** assert (ismissing ({''}), true) 627s ***** assert (ismissing ({' '}), false) 627s ***** assert (ismissing (double (eye(3)), single (1)), logical(eye(3))) 627s ***** assert (ismissing (double (eye(3)), true), logical(eye(3))) 627s ***** assert (ismissing (double (eye(3)), int32 (1)), logical(eye(3))) 627s ***** assert (ismissing (single (eye(3)), true), logical(eye(3))) 627s ***** assert (ismissing (single (eye(3)), double (1)), logical(eye(3))) 627s ***** assert (ismissing (single(eye(3)), int32 (1)), logical(eye(3))) 627s ***** assert (ismissing ({'123', '', 123}), [false false false]) 627s ***** assert (ismissing (logical ([1 0 1])), [false false false]) 627s ***** assert (ismissing (int32 ([1 2 3])), [false false false]) 627s ***** assert (ismissing (uint32 ([1 2 3])), [false false false]) 627s ***** assert (ismissing ({1, 2, 3}), [false false false]) 627s ***** assert (ismissing ([struct struct struct]), [false false false]) 627s ***** assert (ismissing (logical (eye(3)), true), logical(eye(3))) 627s ***** assert (ismissing (logical (eye(3)), double (1)), logical(eye(3))) 627s ***** assert (ismissing (logical (eye(3)), single (1)), logical(eye(3))) 627s ***** assert (ismissing (logical (eye(3)), int32 (1)), logical(eye(3))) 627s ***** assert (ismissing (int32 (eye(3)), int32 (1)), logical(eye(3))) 627s ***** assert (ismissing (int32 (eye(3)), true), logical(eye(3))) 627s ***** assert (ismissing (int32 (eye(3)), double (1)), logical(eye(3))) 627s ***** assert (ismissing (int32 (eye(3)), single (1)), logical(eye(3))) 627s ***** assert (ismissing ([]), logical([])) 627s ***** assert (ismissing (''), logical([])) 627s ***** assert (ismissing (ones (0,1)), logical(ones(0,1))) 627s ***** assert (ismissing (ones (1,0)), logical(ones(1,0))) 627s ***** assert (ismissing (ones (1,2,0)), logical(ones(1,2,0))) 627s ***** error ismissing () 628s ***** error <'indicator' and 'A' must have the same> ismissing ([1 2; 3 4], "abc") 628s ***** error <'indicator' and 'A' must have the same> ismissing ({"", "", ""}, 1) 628s ***** error <'indicator' and 'A' must have the same> ismissing (1, struct) 628s ***** error ismissing (struct, 1) 628s 49 tests, 49 passed, 0 known failure, 0 skipped 628s [inst/anova2.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/anova2.m 628s ***** demo 628s 628s # Factorial (Crossed) Two-way ANOVA with Interaction 628s 628s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 628s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 628s 628s [p, atab, stats] = anova2(popcorn, 3, "on"); 628s ***** demo 628s 628s # One-way Repeated Measures ANOVA (Rows are a crossed random factor) 628s 628s data = [54, 43, 78, 111; 628s 23, 34, 37, 41; 628s 45, 65, 99, 78; 628s 31, 33, 36, 35; 628s 15, 25, 30, 26]; 628s 628s [p, atab, stats] = anova2 (data, 1, "on", "linear"); 628s ***** demo 628s 628s # Balanced Nested One-way ANOVA (Rows are a nested random factor) 628s 628s data = [4.5924 7.3809 21.322; -0.5488 9.2085 25.0426; ... 628s 6.1605 13.1147 22.66; 2.3374 15.2654 24.1283; ... 628s 5.1873 12.4188 16.5927; 3.3579 14.3951 10.2129; ... 628s 6.3092 8.5986 9.8934; 3.2831 3.4945 10.0203]; 628s 628s [p, atab, stats] = anova2 (data, 4, "on", "nested"); 628s ***** test 628s ## Test for anova2 ("interaction") 628s ## comparison with results from Matlab for column effect 628s popcorn = [5.5, 4.5, 3.5; 5.5, 4.5, 4.0; 6.0, 4.0, 3.0; ... 628s 6.5, 5.0, 4.0; 7.0, 5.5, 5.0; 7.0, 5.0, 4.5]; 628s [p, atab, stats] = anova2 (popcorn, 3, "off"); 628s assert (p(1), 7.678957383294716e-07, 1e-14); 628s assert (p(2), 0.0001003738963050171, 1e-14); 628s assert (p(3), 0.7462153966366274, 1e-14); 628s assert (atab{2,5}, 56.700, 1e-14); 628s assert (atab{2,3}, 2, 0); 628s assert (atab{4,2}, 0.08333333333333348, 1e-14); 628s assert (atab{5,4}, 0.1388888888888889, 1e-14); 628s assert (atab{5,2}, 1.666666666666667, 1e-14); 628s assert (atab{6,2}, 22); 628s assert (stats.source, "anova2"); 628s assert (stats.colmeans, [6.25, 4.75, 4]); 628s assert (stats.inter, 1, 0); 628s assert (stats.pval, 0.7462153966366274, 1e-14); 628s assert (stats.df, 12); 628s ***** test 628s ## Test for anova2 ("linear") - comparison with results from GraphPad Prism 8 628s data = [54, 43, 78, 111; 628s 23, 34, 37, 41; 628s 45, 65, 99, 78; 628s 31, 33, 36, 35; 628s 15, 25, 30, 26]; 628s [p, atab, stats] = anova2 (data, 1, "off", "linear"); 628s assert (atab{2,2}, 2174.95, 1e-10); 628s assert (atab{3,2}, 8371.7, 1e-10); 628s assert (atab{4,2}, 2404.3, 1e-10); 628s assert (atab{5,2}, 12950.95, 1e-10); 628s assert (atab{2,4}, 724.983333333333, 1e-10); 628s assert (atab{3,4}, 2092.925, 1e-10); 628s assert (atab{4,4}, 200.358333333333, 1e-10); 628s assert (atab{2,5}, 3.61843363972882, 1e-10); 628s assert (atab{3,5}, 10.445909412303, 1e-10); 628s assert (atab{2,6}, 0.087266112738617, 1e-10); 628s assert (atab{3,6}, 0.000698397753556, 1e-10); 628s ***** test 628s ## Test for anova2 ("nested") - comparison with results from GraphPad Prism 8 628s data = [4.5924 7.3809 21.322; -0.5488 9.2085 25.0426; ... 628s 6.1605 13.1147 22.66; 2.3374 15.2654 24.1283; ... 628s 5.1873 12.4188 16.5927; 3.3579 14.3951 10.2129; ... 628s 6.3092 8.5986 9.8934; 3.2831 3.4945 10.0203]; 628s [p, atab, stats] = anova2 (data, 4, "off", "nested"); 628s assert (atab{2,2}, 745.360306290833, 1e-10); 628s assert (atab{3,2}, 278.01854140125, 1e-10); 628s assert (atab{4,2}, 180.180377467501, 1e-10); 628s assert (atab{5,2}, 1203.55922515958, 1e-10); 628s assert (atab{2,4}, 372.680153145417, 1e-10); 628s assert (atab{3,4}, 92.67284713375, 1e-10); 628s assert (atab{4,4}, 10.0100209704167, 1e-10); 628s assert (atab{2,5}, 4.02146005730833, 1e-10); 628s assert (atab{3,5}, 9.25800729165627, 1e-10); 628s assert (atab{2,6}, 0.141597630656771, 1e-10); 628s assert (atab{3,6}, 0.000636643812875719, 1e-10); 628s 3 tests, 3 passed, 0 known failure, 0 skipped 628s [inst/pcacov.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/pcacov.m 628s ***** demo 628s x = [ 7 26 6 60; 628s 1 29 15 52; 628s 11 56 8 20; 628s 11 31 8 47; 628s 7 52 6 33; 628s 11 55 9 22; 628s 3 71 17 6; 628s 1 31 22 44; 628s 2 54 18 22; 628s 21 47 4 26; 628s 1 40 23 34; 628s 11 66 9 12; 628s 10 68 8 12 628s ]; 628s Kxx = cov (x); 628s [coeff, latent, explained] = pcacov (Kxx) 628s ***** test 628s load hald 628s Kxx = cov (ingredients); 628s [coeff,latent,explained] = pcacov(Kxx); 628s c_out = [-0.0678, -0.6460, 0.5673, 0.5062; ... 628s -0.6785, -0.0200, -0.5440, 0.4933; ... 628s 0.0290, 0.7553, 0.4036, 0.5156; ... 628s 0.7309, -0.1085, -0.4684, 0.4844]; 628s l_out = [517.7969; 67.4964; 12.4054; 0.2372]; 628s e_out = [ 86.5974; 11.2882; 2.0747; 0.0397]; 628s assert (coeff, c_out, 1e-4); 628s assert (latent, l_out, 1e-4); 628s assert (explained, e_out, 1e-4); 628s ***** error pcacov (ones (2,3)) 628s ***** error pcacov (ones (3,3,3)) 628s 3 tests, 3 passed, 0 known failure, 0 skipped 628s [inst/clusterdata.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/clusterdata.m 628s ***** demo 628s randn ("seed", 1) # for reproducibility 628s r1 = randn (10, 2) * 0.25 + 1; 628s randn ("seed", 5) # for reproducibility 628s r2 = randn (20, 2) * 0.5 - 1; 628s X = [r1; r2]; 628s 628s wnl = warning ("off", "Octave:linkage_savemem", "local"); 628s T = clusterdata (X, "linkage", "ward", "MaxClust", 2); 628s scatter (X(:,1), X(:,2), 36, T, "filled"); 628s ***** error ... 628s clusterdata () 628s ***** error ... 628s clusterdata (1) 628s ***** error clusterdata ([1 1], "Bogus", 1) 628s ***** error clusterdata ([1 1], "Depth", 1) 628s 4 tests, 4 passed, 0 known failure, 0 skipped 628s [inst/hmmestimate.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/hmmestimate.m 628s ***** test 628s sequence = [1, 2, 1, 1, 1, 2, 2, 1, 2, 3, 3, ... 628s 3, 3, 2, 3, 1, 1, 1, 1, 3, 3, 2, 3, 1, 3]; 628s states = [1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, ... 628s 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1]; 628s [transprobest, outprobest] = hmmestimate (sequence, states); 628s expectedtransprob = [0.88889, 0.11111; 0.28571, 0.71429]; 628s expectedoutprob = [0.16667, 0.33333, 0.50000; 1.00000, 0.00000, 0.00000]; 628s assert (transprobest, expectedtransprob, 0.001); 628s assert (outprobest, expectedoutprob, 0.001); 628s ***** test 628s sequence = {"A", "B", "A", "A", "A", "B", "B", "A", "B", "C", "C", "C", ... 628s "C", "B", "C", "A", "A", "A", "A", "C", "C", "B", "C", "A", "C"}; 628s states = {"One", "One", "Two", "Two", "Two", "One", "One", "One", "One", ... 628s "One", "One", "One", "One", "One", "One", "Two", "Two", "Two", ... 628s "Two", "One", "One", "One", "One", "One", "One"}; 628s symbols = {"A", "B", "C"}; 628s statenames = {"One", "Two"}; 628s [transprobest, outprobest] = hmmestimate (sequence, states, "symbols", ... 628s symbols, "statenames", statenames); 628s expectedtransprob = [0.88889, 0.11111; 0.28571, 0.71429]; 628s expectedoutprob = [0.16667, 0.33333, 0.50000; 1.00000, 0.00000, 0.00000]; 628s assert (transprobest, expectedtransprob, 0.001); 628s assert (outprobest, expectedoutprob, 0.001); 628s ***** test 628s sequence = [1, 2, 1, 1, 1, 2, 2, 1, 2, 3, 3, 3, ... 628s 3, 2, 3, 1, 1, 1, 1, 3, 3, 2, 3, 1, 3]; 628s states = [1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, ... 628s 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1]; 628s pseudotransitions = [8, 2; 4, 6]; 628s pseudoemissions = [2, 4, 4; 7, 2, 1]; 628s [transprobest, outprobest] = hmmestimate (sequence, states, ... 628s "pseudotransitions", pseudotransitions, "pseudoemissions", pseudoemissions); 628s expectedtransprob = [0.85714, 0.14286; 0.35294, 0.64706]; 628s expectedoutprob = [0.178571, 0.357143, 0.464286; ... 628s 0.823529, 0.117647, 0.058824]; 628s assert (transprobest, expectedtransprob, 0.001); 628s assert (outprobest, expectedoutprob, 0.001); 628s 3 tests, 3 passed, 0 known failure, 0 skipped 628s [inst/tabulate.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/tabulate.m 628s ***** demo 628s ## Generate a frequency table for a vector of data in a cell array 628s load patients 628s 628s ## Display the first seven entries of the Gender variable 628s gender = Gender(1:7) 628s 628s ## Compute the equency table that shows the number and 628s ## percentage of Male and Female patients 628s tabulate (Gender) 628s ***** demo 628s ## Create a frequency table for a vector of positive integers 628s load patients 628s 628s ## Display the first seven entries of the Gender variable 628s height = Height(1:7) 628s 628s ## Create a frequency table that shows, in its second and third columns, 628s ## the number and percentage of patients with a particular height. 628s table = tabulate (Height); 628s 628s ## Display the first and last seven entries of the frequency table 628s first = table(1:7,:) 628s 628s last = table(end-6:end,:) 628s ***** demo 628s ## Create a frequency table from a character array 628s load carsmall 628s 628s ## Tabulate the data in the Origin variable, which shows the 628s ## country of origin of each car in the data set 628s tabulate (Origin) 628s ***** demo 628s ## Create a frequency table from a numeric vector with NaN values 628s load carsmall 628s 628s ## The carsmall dataset contains measurements of 100 cars 628s total_cars = length (MPG) 628s ## For six cars, the MPG value is missing 628s missingMPG = length (MPG(isnan (MPG))) 628s 628s ## Create a frequency table using MPG 628s tabulate (MPG) 628s table = tabulate (MPG); 628s 628s ## Only 94 cars were used 628s valid_cars = sum (table(:,2)) 628s ***** test 628s load patients 628s table = tabulate (Gender); 628s assert (table{1,1}, "Male"); 628s assert (table{2,1}, "Female"); 628s assert (table{1,2}, 47); 628s assert (table{2,2}, 53); 628s ***** test 628s load patients 628s table = tabulate (Height); 628s assert (table(end-4,:), [68, 15, 15]); 628s assert (table(end-3,:), [69, 8, 8]); 628s assert (table(end-2,:), [70, 11, 11]); 628s assert (table(end-1,:), [71, 10, 10]); 628s assert (table(end,:), [72, 4, 4]); 628s ***** error tabulate (ones (3)) 628s ***** error tabulate ({1, 2, 3, 4}) 628s ***** error ... 628s tabulate ({"a", "b"; "a", "c"}) 628s 5 tests, 5 passed, 0 known failure, 0 skipped 628s [inst/bartlett_test.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/bartlett_test.m 628s ***** error bartlett_test () 628s ***** error ... 628s bartlett_test (1, 2, 3, 4); 628s ***** error bartlett_test (randn (50, 2), 0); 628s ***** error ... 628s bartlett_test (randn (50, 2), [1, 2, 3]); 628s ***** error ... 628s bartlett_test (randn (50, 1), ones (55, 1)); 628s ***** error ... 628s bartlett_test (randn (50, 1), ones (50, 2)); 628s ***** error ... 628s bartlett_test (randn (50, 2), [], 1.2); 628s ***** error ... 628s bartlett_test (randn (50, 2), [], "alpha"); 628s ***** error ... 628s bartlett_test (randn (50, 1), [ones(25, 1); 2*ones(25, 1)], 1.2); 628s ***** error ... 628s bartlett_test (randn (50, 1), [ones(25, 1); 2*ones(25, 1)], "err"); 628s ***** warning ... 628s bartlett_test (randn (50, 1), [ones(24, 1); 2*ones(25, 1); 3]); 628s ***** test 628s load examgrades 628s [h, pval, chisq, df] = bartlett_test (grades); 628s assert (h, 1); 628s assert (pval, 7.908647337018238e-08, 1e-14); 628s assert (chisq, 38.73324, 1e-5); 628s assert (df, 4); 628s ***** test 628s load examgrades 628s [h, pval, chisq, df] = bartlett_test (grades(:,[2:4])); 628s assert (h, 1); 628s assert (pval, 0.01172, 1e-5); 628s assert (chisq, 8.89274, 1e-5); 628s assert (df, 2); 628s ***** test 628s load examgrades 628s [h, pval, chisq, df] = bartlett_test (grades(:,[1,4])); 628s assert (h, 0); 628s assert (pval, 0.88118, 1e-5); 628s assert (chisq, 0.02234, 1e-5); 628s assert (df, 1); 628s ***** test 628s load examgrades 628s grades = [grades; nan(10, 5)]; 628s [h, pval, chisq, df] = bartlett_test (grades(:,[1,4])); 628s assert (h, 0); 628s assert (pval, 0.88118, 1e-5); 628s assert (chisq, 0.02234, 1e-5); 628s assert (df, 1); 628s ***** test 628s load examgrades 628s [h, pval, chisq, df] = bartlett_test (grades(:,[2,5]), 0.01); 628s assert (h, 0); 628s assert (pval, 0.01791, 1e-5); 628s assert (chisq, 5.60486, 1e-5); 628s assert (df, 1); 628s 16 tests, 16 passed, 0 known failure, 0 skipped 628s [inst/einstein.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/einstein.m 628s ***** demo 628s einstein (0.4, 0.6) 628s ***** demo 628s einstein (0.2, 0.5) 628s ***** demo 628s einstein (0.6, 0.1) 628s ***** shared visibility_setting 628s visibility_setting = get (0, "DefaultFigureVisible"); 628s ***** test 628s set (0, "DefaultFigureVisible", "off"); 628s tiles = einstein (0.4, 0.6); 628s assert (isstruct (tiles), true); 628s set (0, "DefaultFigureVisible", visibility_setting); 628s warning: Non-positive limit for logarithmic axis ignored 628s ***** error einstein 628s ***** error einstein (0.5) 628s ***** error einstein (0, 0.9) 628s ***** error einstein (0.4, 1) 628s ***** error einstein (-0.4, 1) 628s 6 tests, 6 passed, 0 known failure, 0 skipped 628s [inst/normplot.m] 628s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/inst/normplot.m 628s ***** demo 628s h = normplot([1:20]); 628s ***** demo 628s h = normplot([1:20;5:2:44]'); 628s ***** demo 628s ax = newplot(); 628s h = normplot(ax, [1:20]); 628s ax = gca; 628s h = normplot(ax, [-10:10]); 628s set (ax, "xlim", [-11, 21]); 628s ***** test 628s ***** error normplot (); 628s ***** error normplot (23); 628s ***** error normplot (23, [1:20]); 628s ***** error normplot (ones(3,4,5)); 628s ***** shared visibility_setting 628s visibility_setting = get (0, "DefaultFigureVisible"); 628s ***** test 628s set (0, "DefaultFigureVisible", "off"); 628s ax = newplot(); 628s h = normplot(ax, [1:20]); 628s ax = gca; 628s h = normplot(ax, [-10:10]); 628s set (ax, "xlim", [-11, 21]); 628s set (0, "DefaultFigureVisible", visibility_setting); 629s ***** test 629s set (0, "DefaultFigureVisible", "off"); 629s h = normplot([1:20;5:2:44]'); 629s set (0, "DefaultFigureVisible", visibility_setting); 629s 7 tests, 7 passed, 0 known failure, 0 skipped 629s Checking C++ files ... 629s [src/svmpredict.cc] 629s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/src/svmpredict.cc 629s ***** test 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s model = svmtrain (L, D, '-c 1 -g 0.07'); 629s [predict_label, accuracy, dec_values] = svmpredict (L, D, model); 629s assert (size (predict_label), size (dec_values)); 629s assert (accuracy, [86.666, 0.533, 0.533]', [1e-3, 1e-3, 1e-3]'); 629s assert (dec_values(1), 1.225836001973273, 1e-14); 629s assert (dec_values(2), -0.3212992933043805, 1e-14); 629s assert (predict_label(1), 1); 629s ***** shared L, D, model 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s model = svmtrain (L, D, '-c 1 -g 0.07'); 629s ***** error ... 629s [p, a] = svmpredict (L, D, model); 629s ***** error p = svmpredict (L, D); 629s ***** error ... 629s p = svmpredict (single (L), D, model); 629s ***** error p = svmpredict (L, D, 123); 629s 5 tests, 5 passed, 0 known failure, 0 skipped 629s [src/libsvmwrite.cc] 629s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/src/libsvmwrite.cc 629s ***** shared L, D 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s ***** error libsvmwrite ("", L, D); 629s ***** error ... 629s libsvmwrite (tempname (), [L;L], D); 629s ***** error ... 629s OUT = libsvmwrite (tempname (), L, D); 629s ***** error ... 629s libsvmwrite (tempname (), single (L), D); 629s ***** error libsvmwrite (13412, L, D); 629s ***** error ... 629s libsvmwrite (tempname (), L, full (D)); 629s ***** error ... 629s libsvmwrite (tempname (), L, D, D); 629s 7 tests, 7 passed, 0 known failure, 0 skipped 629s [src/svmtrain.cc] 629s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/src/svmtrain.cc 629s ***** test 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s model = svmtrain(L, D, '-c 1 -g 0.07'); 629s [predict_label, accuracy, dec_values] = svmpredict(L, D, model); 629s assert (isstruct (model), true); 629s assert (isfield (model, "Parameters"), true); 629s assert (model.totalSV, 130); 629s assert (model.nr_class, 2); 629s assert (size (model.Label), [2, 1]); 629s ***** shared L, D 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s ***** error [L, D] = svmtrain (L, D); 629s ***** error ... 629s model = svmtrain (single (L), D); 629s ***** error ... 629s model = svmtrain (L, D, "", ""); 629s 4 tests, 4 passed, 0 known failure, 0 skipped 629s [src/libsvmread.cc] 629s >>>>> /tmp/autopkgtest.BbfEU4/build.TYE/src/src/libsvmread.cc 629s ***** error [L, D] = libsvmread (24); 629s ***** error ... 629s D = libsvmread ("filename"); 629s ***** test 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s assert (size (L), [270, 1]); 629s assert (size (D), [270, 13]); 629s ***** test 629s [L, D] = libsvmread (file_in_loadpath ("heart_scale.dat")); 629s assert (issparse (L), false); 629s assert (issparse (D), true); 629s 4 tests, 4 passed, 0 known failure, 0 skipped 629s Done running the unit tests. 629s Summary: 6651 tests, 6645 passed, 2 known failures, 2 skipped 629s Some tests failed. Giving up... 630s autopkgtest [20:49:30]: test command1: -----------------------] 631s command1 FAIL non-zero exit status 1 631s autopkgtest [20:49:31]: test command1: - - - - - - - - - - results - - - - - - - - - - 632s autopkgtest [20:49:32]: @@@@@@@@@@@@@@@@@@@@ summary 632s command1 FAIL non-zero exit status 1 644s Creating nova instance adt-noble-s390x-octave-statistics-20240327-203900-juju-7f2275-prod-proposed-migration-environment-2-27b136dd-ac0f-4aa9-a5a8-d35bbea4d24a from image adt/ubuntu-noble-s390x-server-20240327.img (UUID 4dc0c4c2-a3ae-40cd-8411-e7fc228c10ae)...