Search PubMedSearch

PubMed · 6897216

A Pascal program for weighted least squares regression on a microcomputer.

Abstract

Weighted least-squares regression has been programmed in Pascal for a microcomputer. A double precision Pascal compiler and the Motorola 6809 assembler produce a fast machine-code program occupying 22,000 bytes of memory when appended to the Pascal run-time module. Large data sets fit in the remaining memory. A regression with 72 observations and 24 parameters runs in 7 min, excluding optional print out of large matrices. The maximum dimensions of the design matrix, X, can be altered by modifying two Pascal constants. Minor changes to the Pascal source program will make it compatible with other Pascal compilers. The program optionally orthogonalises the X matrix to detect linearly-dependent columns in X, and/or generate orthogonal parameter estimates. After orthogonalizing X and fitting the model, the parameter estimates for the original X can be retrieved by the program. Regressions on a repeatedly reduced model are performed through elimination of columns in X until the minimum adequate model is obtained.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

H Tyson, H Henderson, M McKenna. 1982. A Pascal program for weighted least squares regression on a microcomputer.. https://doi.org/10.1016/0010-468x(82)90066-6

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related citations

Data note system for capturing laboratory data.

The complexity of genome data limits the usefulness of traditional database management systems. The highly interconnected structure of genome data can be captured in a data representation language based on the mathematical formalism of graphs. We have tailored graphs for describing genome data and have developed a database management system, called the Data Note System, for developing small databases to capture data from genome laboratories. To simplify the use of the Data Note System, a series of tools with graphical user interfaces has been developed. The system is designed to be easy to install and use by novice database developers with a minimal amount of computer expertise. We describe the tools and present examples of their use. The system consists of a storage facility, a schema editing tool to simplify the design of small databases, and three tools for data entry and querying.

Computers